Display the Lammps log file alongside your structure data in OVITO Pro
This modifier takes a Lammps log file and adds it to the data inspector in OVITO Pro. The full thermodynamic output becomes available as a data table. Moreover, if thermodynamic output has been written at the timestep currently displayed in OVITO, this data will be loaded into attributes as well. Both the data table and the attributes are named as "Lammps log {key}"
, where key
is a Lammps thermo keyword found in the log file.
file_name
/ "Lammps log file": File system path to the Lammps log file.group_components
/ "Group components": Group components of a single thermodynamic keyword into a single data table in OVITO. For example, Pxx, Pyy, Pzz thermodynamic values written by Lammps are packed into a singleLammps log P
OVITO table.per_atom_energies
/ "Per-atom energies": Normalize energies extracted from the Lammps log by the number of particles in the system.
-
OVITO Pro integrated Python interpreter:
ovitos -m pip install --user git+https://github.com/ovito-org/DisplayLammpsLog.git
The
--user
option is recommended and installs the package in the user's site directory. -
Other Python interpreters or Conda environments:
pip install git+https://github.com/ovito-org/DisplayLammpsLog.git
- Tested on OVITO version 3.9.2
Daniel Utt [email protected]