[lammps-users] LAMMPS nemd input file

Please post your questions to the LAMMPS mail list, not to me personally.
I suggest you read section 4.13 of the doc pages and look at the
various LAMMPS command like fix viscosity, and the papers they cite.
I have no scripts for auto-computing the viscosity.