I am a new hoomd user and am part of a MD project with the purpose of obtaining viscosities. Typically, to find viscosities, I find the mean squared displacement (from positional data) of the simulation, divide it by 6 (To calculate the Diffusion constant). Then, we apply the Stokes-Einstein relation for spherical particles moving through a liquid:
Is there any inbuilt routine for calculating the mean squared displacement? I did come across deprecated.analyze, but the issue is that it is deprecated… Does anyone know an alternative way to calculate the mean squared displacement, or perhaps a more direct way to calculate viscosity in hoomd?
Thank you!