Forums
Dear all,
Now, I have settled down all particles on the surface (large size distribution and shape distribution) and begin to start the simulation from the restart file.
I set the gravity as the Y direction and want to make particles only move in x-y plane. But I do not know how to let particles do not do any motion in z direction. It seems that fix/setforce does not work.
Are there any suggestions?
Looking forward to your kind help. Thank you very much in advance.
Best wishes,
Solient
https://www.cfdem.com/media
https://www.cfdem.com/media/DEM/docu/dimension.html
or periodic boundary conditions to get a pseudo-2D system.
In reply to https://www.cfdem.com/media by paul
Hi paul
Hi paul,
Thanks for your response. One more question, as I see from the "dimension" command, the particle will still be treated as a sphere, not a 2d circle. Does that mean only one particle exist along the z direction if we set a x-y plane 2d system? Then how can we visualize such particle in PARAVIEW and how can be calculate the void ratio of the system?
In reply to Hi paul by Rachel
For 2D simulations, liggghts
For 2D simulations, liggghts will still consider the particles 3D, but confined to the xy plane.
The dumps will still have a constant z coordinate, so it will be nothing special to paraview. (paraview can also handle 2d data, regardless)
Look at the sph2 example - it uses the combination of dimension and fix enforce2d.
Have you tried fix ave/euler for voidfractions?
In reply to For 2D simulations, liggghts by paul
Thank you very much for your
Thank you very much for your suggestion. But I still have a question. In my case, the particle has a large distribution of particle size and shape (from XRD scan), does 2D still works well?
Many thanks.
Best regards,
Solient