Hello If someone can answer this question about LAMMPS.

I have calculated the pe/atom using the command

compute ID all  pe/atom.

Then I add all the PE of individual atom I have obtained in one md_steps.

I got some number x(let).

Again I calculated the total pe of the system using

thermo_style custom step pe.

I got a number PE=y (let).

I was expecting that these two number should be equal. But I got y=2x approximately.

I am in doubt whether I am getting the right pe/atom  or not ?

Omkar

More Omkar Tripathy's questions See All
Similar questions and discussions