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)
| File | Size | Uploaded | |
|---|---|---|---|
| onsager_coefficients-1.0.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|