Anybody has simple code to run viscosity, storage modulus & loss modulus info from DPD Lammps?

Hi: I am new to Lammps. Anybody has simple code to run viscosity, storage modulus & loss modulus info from DPD Lammps?

There is an examples/VISCOSITY dir with scripts

for computing viscosity via different methods. They

are not for DPD models, but if you know how to setup

a DPD mode and use pair_style dpd, then they

could be adapted for DPD.

Steve