[lammps-users] a question about LAMMPS

Dear Friends

I want to calculate viscosity of water by LAMMPS. I use from fix viscosity command as the following:

fix 1 all viscosity 100 x z 20

but I don’t know how to show this property in a output file.I read the dump command and thermo command but I don’t know how to use of them for reporting viscosity in a out put file.

whould you please help me?


Read Section 4.15 of the manual. The viscosity
fix produces a quantity as output that can be input
to other commands.