This is a (growing) collection of tools I use when working with LAMMPs.
See also lammps-binary-dump-reader.
This serves two purposes:
- A command line interface for quickly inspecting the results of a simulation (the simulation does not have to be finished!).
Basic usage:
logplotter.py -i log.part1 log.part2 -x Time -y Temp. Uselogplotter.py -hto see more options. - A module containing the
find_datafunction, which reads a log file and returns the contained data as a dictionary. Basic usage:data = find_data("log.lammps"); plt.plot(data["Step"], data["Temp"]).
pip install .
A janky bash script for continuous downloading of a remote data file until no further changes are detected.
Arguments:
- The remote file, e.g.
cluster:/work/username/dump.simulation - The local destination (optional, default
.), e.g.dump.18_12_24