[lammps-users] pe/atom

Dear experts,

Hello, I want to calculate the potential energy of each atom under the LJ potential function and calculate the potential energy distribution. I think I need to use compute 1 all pe/atom this command. My question is: I want to print the information of the potential energy of each atom at different times.

Looking forward to your reply.

Rong

You can use the dump command to output the result of compute pe/atom to a dump file whenever you wish.

Steve