Forums
Hi,
Since I am new to DEM, I have a very basic question. Is there a way to fill a geometry with particles by using insert/pack? Maybe define the Geometry as a Region in some way?
Any help appreciated. Thanks. Regards,
Leandro
What type of geometry?
Hello,
At the end of the day, you will be needing to use the region command. From here you can keep things simple or go complicated.
Let's say you have a stl file of a box for your geometry. To fill this box, you would use the region command and create a block (like you do when defining the simulation domain).
Now let's say you have the geometry of a rabbit that you wish to pack with spheres. Here you would use a tet/mesh region.
https://www.cfdem.com/particle-insertion-packing-generation
https://www.cfdem.com/media/DEM/docu/region.html
Cylinder Geometry
since it is just a cylinder i need to fill i used the region command:
region reg_cyl cylinder z 0 0 0.04 0.01 0.12 units box
and filled the particles by using:
fix ins all insert/rate/region seed 123457 distributiontemplate pdd1 nparticles 400 particlerate 50000 insert_every 100 overlapcheck yes region reg_cyl ntry_mc 10000
which worked fine for me. Thanks a lot!