Skip to main content

SEAMM Viscosity Plug-in

GitHub pull requests Build Status Code Coverage Code Quality Documentation Status PyPi VERSION

A SEAMM plug-in for the shear viscosity of liquids from equilibrium molecular dynamics.

Features

  • The shear viscosity by Green-Kubo and from the Helfand moments, averaging the five independent shear components of the pressure tensor.

  • Runs its own MD several times, or analyzes MD run earlier in the flowchart or in other jobs, from the md.h5md files the LAMMPS step writes.

  • Checks before the job runs that the MD samples the pressure tensor often enough.

  • Passes its result to a later Diffusivity step for the Yeh-Hummer correction.

Acknowledgements

This package was created with the molssi-seamm/cookiecutter-seamm-plugin tool, which is based on the excellent Cookiecutter.

Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under award CHE-2136142.

History

2026.10.15 – First release: the shear viscosity from MD
  • Calculates the shear viscosity of a liquid from equilibrium MD by Green-Kubo and from the Helfand moments, averaging the five independent shear components of the pressure tensor.

  • Runs its own MD several times, or analyzes MD run earlier in the flowchart, in each iteration of a loop, or in other jobs, from the md.h5md files the LAMMPS step writes. A single run is divided into blocks to estimate the errors.

  • Checks before the job runs that the MD samples the pressure tensor at least every 5 fs, and turns it on when it runs its own MD.

  • The result is stored as a property, can be saved in variables and tables, and is used by a following Diffusivity step for its finite-size correction.

Metadata

Release files for viscosity-step 2026.10.15

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

Source distribution (sdist)

Source distribution for viscosity-step 2026.10.15
File Size Uploaded
viscosity_step-2026.10.15.tar.gz 316.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for viscosity-step 2026.10.15
File Interpreter ABI Platform
viscosity_step-2026.10.15-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 339.3 kB

Release files / viscosity_step-2026.10.15.tar.gz

Download URL viscosity_step-2026.10.15.tar.gz
Size 316.6 kB
Tags Source
SHA-256 checksum
How to use checksums
920a366bc942ce35564d67f6b5f8bea34e1ebea15c9d5d463b63c9328838e5c7
BLAKE2b-256 checksum
How to use checksums
22faeca111d4697e9d85eba3941d63c31452f776e12951d391d63bbfeddc7474
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viscosity_step-2026.10.15-py2.py3-none-any.whl

Download URL viscosity_step-2026.10.15-py2.py3-none-any.whl
Size 22.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
616c9c07c1e6876984e23c71c3e529238e00bd6034cd2973961c2d9e34889341
BLAKE2b-256 checksum
How to use checksums
11388532f8133d43daa5d55b7c885764a9be6cf787ffbf71e1d5db24512191cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

2026.10.15 This release

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