ramanishsingh / analysis_viscosity

Calcuate viscosity from HOOMD log files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

analysis_viscosity

This package calcuates viscosity from HOOMD log files. The main analysis code is taken from PyLat (https://github.com/MaginnGroup/PyLAT).

How to use this package

Run the parameters_main.py to calculate viscosty for the log files stored in ../simulation/{$i} folder (the relative path can be changed). Please check unit conversion in viscio.py (lines 100-115) and timestep (llog['timestep']). Default units are L:nm, E: kJ/mol, and Mass: au.

Quantities that should be logged

  • Temperature
  • All components of pressure
  • lx, ly, and lz
  • Timestep

Relevant papers

About

Calcuate viscosity from HOOMD log files.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%