3 Mean Square Displacement
4 ------------------------
6 | :ref:`gmx msd <gmx msd>`
7 | To determine the self diffusion
8 coefficient :math:`D_A` of
9 particles of type :math:`A`, one can use the Einstein
10 relation :ref:`108 <refAllen87>`:
14 \lim_{t \rightarrow \infty} \langle
15 \|{\bf r}_i(t) - {\bf r}_i(0)\|^2 \rangle_{i \in A} ~=~ 6 D_A t
17 | This *mean square displacement* and :math:`D_A` are calculated by the
18 program :ref:`gmx msd <gmx msd>`. Normally
19 an index file containing atom numbers is used and the MSD is averaged
20 over these atoms. For molecules consisting of more than one atom,
21 :math:`{\bf r}_i` can be taken as the center of mass positions of the
22 molecules. In that case, you should use an index file with molecule
23 numbers. The results will be nearly identical to averaging over atoms,
24 however. The :ref:`gmx msd <gmx msd>` program can also be used for
25 calculating diffusion in one or two dimensions. This is useful for
26 studying lateral diffusion on interfaces.
28 An example of the mean square displacement of SPC water is given in
29 :numref:`Fig. %s <fig-msdwater>`.
33 .. figure:: plots/msdwater.*
36 Mean Square Displacement of SPC-water.