perpendicular pressure

Dear LAMMPS users ,

I have two lennard-jones walls and some molecules between them .

***************************************************** LJ wall

Molecule

****************************************************** LJ wall

I want to calculate perpendicular pressure for this system .
How can I obtain the total force exerted by particles on each wall ?

Regards,
Saeed.

Dear Saeed,

For the desired group, you try:

Hope it is useful.

If you used a fix wall command, e.g. fix wall/lj93,
to define your walls, then the doc page for the fix
explains that the force of the particles on the wall
is tallied and output by the fix.

Steve

Dear Steve and Xiaolin ,

Thanks for your reply .

Regards,
Saeed.