[lammps-users] Pressure distribution

hi all

how do we find pressure distribution using lammps?

thanking you

jeetu

Compute stress/atom will compute stress (pressure) on
a per-atom basis. You can output that in a dump file
and do spatial averaging however you wish. Or you
can use fix ave/spatial to ave within 1d layers. The USER-ATC
package also has some facilities for averaging a per-atom
compute on a spatial grid that you have some freedom to define.

Steve