Skip to content

MSD and self-diffusivity of water #4399

Answered by hmacdope
horlust asked this question in Q&A
Discussion options

You must be logged in to vote

@horlust there are two issues here.

  1. by timestep between frames, we don't mean dt as specified in your mdp file. We mean the actual time between frames in your saved trajectory. For example, if nstxout-compressed=1000 writing an XTC file every 1000 steps, and your dt is 0.002 (2fs, very common) the time between frames in your trajectory is $1000*0.002 ps = 2 ps$ and your lagtime axis needs to be constructed as
lagtimes = 2*np.arange(n_frames)
  1. The MSD profile you provided is typical of a trajectory where the particle positions are wrapped within the primary unit cell. Due to the way MSD is calculated, you need to have the positions present as if they have not been wrapped into the primar…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@hmacdope
Comment options

@horlust
Comment options

@hmacdope
Comment options

Answer selected by hmacdope
@horlust
Comment options

@hmacdope
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants