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.1 – Internal: a regression test against SPC/E water
  • regression/spce holds a flowchart computing the viscosity and diffusion coefficient of rigid SPC/E water, and a script checking them against published values. It is run by hand after changes that could affect the results; the new “Regression” page in the developer guide describes it and records its results.

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.1

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.1
File Size Uploaded
viscosity_step-2026.10.15.1.tar.gz 318.8 kB Details

Built distribution (wheel)

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

Total release size: 341.8 kB

Release files / viscosity_step-2026.10.15.1.tar.gz

Download URL viscosity_step-2026.10.15.1.tar.gz
Size 318.8 kB
Tags Source
SHA-256 checksum
How to use checksums
318a780bca98bc563de42e578fa0b3a348b72e9348e8729626e329fb46355c55
BLAKE2b-256 checksum
How to use checksums
682342edb87a30b1781077cb764965abbb3472cc4fa3e583789edfa27e566b84
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.1-py2.py3-none-any.whl

Download URL viscosity_step-2026.10.15.1-py2.py3-none-any.whl
Size 23.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
13b86c3cfe39ddb8e037bfd6f9197aaf3744fbdca3a6b3eba69be62fdd6fb24c
BLAKE2b-256 checksum
How to use checksums
f7e33b8ed7951f244bb5092de94c369a3fc1f3e40ee81132431553fbb979025e
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.1 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