I am trying to compress the simulation box to achieve the closest packing of spherical particles with different sizes and calculate the coordination number of particles with larger than two contacts (nonrattlers).
Could you please tell me how to select those atoms with larger than two contacts and calculate their total coordination number and average coordination number?
Thank you. Yes, I have used all these commands in my input file. I don’t know how to define a dynamic group, such as nonrattlers in large groups and nonrattlers in small groups. Then I can compute average coordination number of these nonrattlers. Through post-processing (matlab; for i =1:N … if c_rattler <1…), it can be achieved. I would like to know If LAMMPS can directly calculate them.