I have to write a script that generates a cylindrical container (radius 12.5 mm and height 150 mm) filled with a random packing of 500 glass spheres having the same radius (for example 1 mm).
I am interested only in obtaining the spatial coordinates (x,y,z) of the spheres after running the simulation.
How could I write this script?
aaigner | Fri, 06/12/2015 - 13:08
Hi!
Hi!
To write particle-data to a file you have (more or less) two possibilities ...
In case of the dump command you can set to save only x,y and z.
The write_data command will save also other data, but you can easily parse those files with octave/matlab or any other tool and extract the desired data.
bests
Andreas
simulguy | Fri, 06/12/2015 - 13:24
Ok, but...
I already know this, but what commands should I put in the input file to LIGGGHTS to generate the packing?
aaigner | Fri, 06/12/2015 - 13:45
Well...
Something like this
simulguy | Sun, 06/14/2015 - 10:00
Ok, but...
Something easier?
simulguy | Mon, 06/15/2015 - 13:11
Thanks a lot!
There was only a small issue when running it (an error due to a missing empty directory I just created).
It works fine now... Thanks a lot!
simulguy | Mon, 06/29/2015 - 17:19
TOO LOOSE PACKING
I generated some packings with the script you suggested, but they seem all too loose.
How could I obtain a denser packing?
aaigner | Tue, 06/30/2015 - 18:12
Well... it will get tricky at
Well... it will get tricky at some point. You will need to compress the particles somehow (servo-wall, addforce) and move the whole particle bed (wiggling plate or so).
Take into account that with mono-dispers particles you can not exceed a volumefraction of ~ 74%. Wiki article
simulguy | Fri, 07/03/2015 - 13:57
BIDISPERSE SYSTEM
Ok, and what should I modify in the script to generate a bidisperse packed bed with 2 kind of spheres, differing for example in size and density?
aaigner | Fri, 07/17/2015 - 11:15
Check the example files, for
Check the example files, for instance, examples/LIGGGHTS/Tutorials_public/conveyor/in.conveyor.
simulguy | Fri, 07/17/2015 - 16:22
THANK YOU
Thank you very much, is just what I needed!