[lammps-users] stress tensor

Dear Lammps users,

I would like to calculate the stress tensor near the boundary and i would be grateful if you can give me your opinion if it is better to measure and add the forces or to use the IK formula (or the pressure tensor calculation that is implemented in the lammps). Thank you very much

Scott

Scott,

I'd recommend using "fix ave/spatial" with a pressure "compute". See
documentation for these commands here:
http://lammps.sandia.gov/doc/fix_ave_spatial.html
http://lammps.sandia.gov/doc/compute.html

Paul