How to add Rotating Drum to LIGGGHTS DEM

Submitted by alexjs on Sun, 12/15/2024 - 21:01

I am currently trying to model a static screw auger. I have successfully imported my STL files for the relavent geometry, however in my sims, I havent had any luck getting the particles to interact with the rotating geometry. The box.stl and auger.stl are static bodies, and the drum.stl is meant to rotate. Here is the current code snippet:
# New pair style
pair_style gran model hertz tangential history # Hertzian without cohesion
pair_coeff * *

timestep 0.00001

fix gravi all gravity 9.81 vector 0.0 -1.0 0.0 # Gravity along the Y-axis

# Granular walls
fix bx all mesh/surface file meshes/box.stl type 1
fix bxx all mesh/surface file meshes/auger.stl type 1
fix bxxx all mesh/surface file meshes/drum.stl type 1

# Move the drum mesh, rotate around the y-axis (this simulates rotation)
fix movecad_drum all move/mesh mesh bxxx rotate origin 0.0 0.0 0.0 axis 0.0 1.0 0.0 period 250.0

# Insertion face
fix inface all mesh/surface file meshes/insertion_face.stl type 1

# Granular wall model for the static auger and box
fix wall all wall/gran model hertz tangential history mesh n_meshes 2 meshes bx bxx

fix drum_wall all wall/gran model hertz tangential history mesh n_meshes 1 meshes bxxx

I cannot for the life of me figure out the correct way to have two different contact models. AI tools like GPT are useless in constructing this type of code as well. Any help on this matter would be greatly appreciated. thank you

AttachmentSize
Plain text icon full code current3.03 KB