Mean Square Displacement#

To determine the self diffusion coefficient DA of particles of type A, one can use the Einstein relation 108:
(456)#limtri(t)ri(0)2iA = 6DAt
This mean square displacement and DA are calculated by the program gmx msd. Normally an index file containing atom numbers is used and the MSD is averaged over these atoms. For molecules consisting of more than one atom, ri can be taken as the center of mass positions of the molecules. In that case, you should use an index file with molecule numbers. The results will be nearly identical to averaging over atoms, however. The gmx msd program can also be used for calculating diffusion in one or two dimensions. This is useful for studying lateral diffusion on interfaces.

An example of the mean square displacement of SPC water is given in Fig. 54.

../../_images/msdwater.png

Fig. 54 Mean Square Displacement of SPC-water.#