fix pour/dev/packing with STL

raguelmoon's picture
Submitted by raguelmoon on Thu, 04/14/2011 - 15:37

Hi,
fix pour/dev/packing can be used with STL file. I mean i put STL mesh in box and then apply this command for packing. Is it valid way of doing? I guess this command uses whole simulation box for inserting particles including STL.
Thanks,
Ram

crixman | Thu, 01/22/2015 - 11:01

Hi,
the insert/pack fix ask for a region to be filled.
The region command asks for
region 1 block -3.0 5.0 INF 10.0 INF INF
region 2 sphere 0.0 0.0 0.0 5 side out
region void cylinder y 2 3 5 -5.0 EDGE units box
region 1 prism 0 10 0 10 0 10 2 0 0
region outside union 4 side1 side2 side3 side4
region 2 sphere 0.0 0.0 0.0 5 side out wiggle 1 1 0 10

Is there the possibility to generate a region from a surface mesh, or even a solid mesh?
Thanks in advance!

ckloss's picture

ckloss | Mon, 02/09/2015 - 13:09

>>Is there the possibility to generate a region from a surface mesh, or even a solid mesh?
yes - you can create a region from an ACIII VTK tet mesh, see region mesh/vtk for details

Best wishes
CHristoph