Castor is one of the important oil crop, the shelling process of which directly affects the quality of castor seeds. In the process of shelling, the shelling force of castor is an important index to study its damage. The castor capsule model was established and the shelling test machine was established based on the discrete element method. Then the extrusion law of castor capsule during shelling was analyzed. The shelling process is divided into three stages, which are the Initial stage, stable shelling stage and the final stage. The force law of shelling process is analyzed. The results show that with the increase of rotating speed, the maximum force decreases from 68.78 to 68.10 N, the maximum speed increases from 8.92 to 12.99 m/s, the force of inner drum increases from 509.34 to 533.14 N, and then decreases to 456.15 N. The shelling increases from 91.23% to 91.28%, and then decreases to 88.89%. With the increase of filling amount, the maximum force increases from 55.86 to 76.93 N, the maximum speed decreases from 12.99 to 10.86 m/s, the force of inner drum increases from 338.58 to 603.364 N, and the shelling rate changes from 91% to 90.05%. This study can provide theoretical support for the design of castor shelling machine.