static calculation in lammps

DearLAMMPS users,

can anyone please tell me, is there any possibility to do static calculations in LAMMPS. I wanted to print energy and force of each atom in x y z direction for particular configuration.

Hi,

I think you can. Do not define any fix or use 'run 0' running for the current state while you can define compute/atom to compute.

Thanks,
Vinit

thank you
I got fx fy fz values at run 0 through dump file. could you please help me is there any possible to get energy in all three directions i.e Ex Ey Ez

Energy has no direction. It is a scalar. You can get access to the potential energy per atom through defining compute pe/atom.

Axel

Thank you for the clarification.