Stress relaxation in Mesocite DPD

Hi, 

How can I run a simulation to model stress relaxation behavior of polymer solutions in DPD? I need to apply shear and monitor stress after cessation of shear flow.

Thanks,