Hello
I'm using the following lines to read the coordinates and some properties of different particles.
Atoms # Atom-ID, Atom-type, Diameter, density, x, y, z
1 1 0.025 2500 0. 0. 0.20
2 2 0.005 2500 0. 0. 0.215
3 2 0.01 2500 0.0125 0. 0.225
4 2 0.01 2500 -0.0125 0. 0.225
Although it works well, I don't know how the program knows the order of the properties. ??? Is there a section on the documentation to see the order of the properties?
Thanks
arnom | Wed, 01/03/2018 - 18:07
Which other properties are
Which other properties are you interested in?
carlos villavel... | Fri, 01/05/2018 - 12:39
Hello
Hello
Oh, sorry, I didn't make my self understood. Based on this example, in a data file:
Atoms # Atom-ID, Atom-type, Diameter, density, x, y, z
1 1 0.025 2500 0. 0. 0.20
2 2 0.005 2500 0. 0. 0.215
3 2 0.01 2500 0.0125 0. 0.225
4 2 0.01 2500 -0.0125 0. 0.225
How does liggghts know that the diameter is going to be read before the density? Why not the other way round? Is there a precedence list for this in the documentation?
Thanks
Daniel Queteschiner | Mon, 01/08/2018 - 09:41
fixed order
Manual:
https://www.cfdem.com/media/DEM/docu/read_data.html
Code:
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/master/src/read_dat...
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/master/src/atom_vec...