pressure of water

hi, there.
i was wondering if pressure of water can be calculated in lammps.
i find in Manuel that
The pressure is computed by the formula
_images/pressure.jpg
however , is it correct for liquids?
best wishes.

hi, there.
i was wondering if pressure of water can be calculated in lammps.

​yes. lots of people have done so including myself.

i find in Manuel that
The pressure is computed by the formula
[image: _images/pressure.jpg]
however , is it correct for liquids?

​what makes you think it would not be correct?​

​axel.​