Forums
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
Which other properties are
Which other properties are you interested in?
In reply to Which other properties are by arnom
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
fixed order
Manual:
https://www.cfdem.com/media/DEM/docu/read_data.html
Code:
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/master/src/read_da…
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/master/src/atom_ve…