Skip to content

Repository files navigation

MSDiff


Python versions License: MIT code style

This repository offers a command-line software tool to calculate the diffusion coefficient and ionic conductivity from self and collective mean square displacement (MSD) data from molecular dynamics simulations. It is primarily designed to operate with outputs from the TRAVIS software, but the input format is not too strict, and it can be used with MSD data from other sources as well.

Installation

The tool can be installed using pip:

git clone git@github.com:kirchners-manta/msdiff.git
cd msdiff
pip install .

Usage

The program is designed as a command line tool. Type msdiff -h to get a list of all available options:

Examples for the usage are given in the examples folder.

Notes

  • The correction term by Hummer (to extrapolate to an infinite box size) is only valid for a cubic box. Other box shapes are not supported yet. OrthoBoXY is supported, see description of the --orthoboxy option.

Reference

T. Frömbgen, P. Zaby, V. Alizadeh, J. L. F. Da Silva, B. Kirchner, T. C. Lourenço, Lessons learned on obtaining reliable dynamic properties for ionic liquids, ChemPhysChem (2025), e202401048. DOI: 10.1002/cphc.202401048.

P. Zaby, J. Ingenmey, T. C. Lourenço, Y. Zhang, M. Brehm, E. J. Maginn, B. Kirchner, Lessons Learned on Obtaining Reliable Conductivity Estimates from Molecular Dynamics Simulations, ChemRxiv (2026), DOI 10.26434/chemrxiv.15002026/v3.

About

Calculating diffusion coefficients and conductivities from MD simulations

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages