MeanSquareDisplacement

The MeanSquareDisplacement step calculates and records the mean square displacement (MSD) of particles relative to their initial positions.

Output format:

# step MSD
0 0.000
100 1.234
200 2.345

  • type: GeometricalMeasure, MeanSquareDisplacement

  • parameters:

    • outputFilePath: string: Path to the output file

Example:

"msd":{
  "type":["GeometricalMeasure","MeanSquareDisplacement"],
  "parameters":{
    "intervalStep": 10000,
    "outputFilePath": "msd.dat"
  }
}

Note

The output file will contain the step number and the mean square displacement value.

Tip

The MSD is a key measure for studying diffusion and particle mobility in the system.