Skip to main content

Onsager coefficients from molecular dynamics run

This library is for calculating the Onsager coefficients in a molecular dynamics run, calculated with the generalized Einstein relation.

This code works by splicing a larger MD trajectory into N smaller subtrajetories, averaging the square displacements over those trajectories, and calculating the slope of that time series in the long time limit.

Parameters for the calculation are the LAMMPS-style dump file name, the number of subtrajectories to create, the timestep in the dump file, and the transient time.

The transient time parameter is for excluding the initial transient behavior in averaged trajectory.

With OVITO Pro, you can install this library into your OVITO interface with:

ovitos -m pip install --user onsager_coefficients

which adds a mean square displacement and a total displacement modifier to your interface. Or, for use in a standalone Python script:

pip install onsager_coefficients

An example of this repository used in a standalone script is in the example/ directory.

Metadata

Release files for onsager-coefficients 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onsager-coefficients 1.0.0
File Size Uploaded
onsager_coefficients-1.0.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for onsager-coefficients 1.0.0
File Interpreter ABI Platform
onsager_coefficients-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / onsager_coefficients-1.0.0.tar.gz

Download URL onsager_coefficients-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fe391b3d055c2f267c0a33f3137e02417ee2b4a4a6a49bc40428f6745d1eb687
BLAKE2b-256 checksum
How to use checksums
ecfc8d2a5036058e036a634cef41713bfca38d5c6983cf7287d2f707f605eae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / onsager_coefficients-1.0.0-py3-none-any.whl

Download URL onsager_coefficients-1.0.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa94bbf3988768e79f7823f400dc7d71516304adfe1bc100b3696e25411cecad
BLAKE2b-256 checksum
How to use checksums
d4ef2d79b49a0a5ff9e52c00072104fe734ef39d2a5fdab258f79e6a52873ed4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page