Read themo info from lammps output file or log file


Install
pip install readlog==1.1.5

Documentation

readlog

  • A python code to read thermo info from the log file of LAMMPS output

Installation

git clone https://github.com/eastsheng/readlog.git
cd readlog
pip install .
# or
pip install readlog

Requirements

  • numpy
  • pandas
  • matplotlib

Usage

  • run plot_themo.py in demo folder:

    python plot_thermo.py
  • out:

Fixed

  • 2023-10-11: v1.2.2

    • a great modification
  • 2023-09-16: v1.2.1

    • Fixed UnicodeDecodeError: 'utf-8' codec can't decode problem.
  • 2023-06-20: v1.2.0

    • Fixed a read error in the complete message frame under incomplete message;

    • add print_readlog function;

    • add ReadRunTimefunction.