A collection of tools for interacting with LAMMPS
A script for installing LAMMPS.
Usage:
sh install-lammps.sh
A script for plotting variables from the thermo output of LAMMPS.
Usage:
python read_lammps_log.py log.lammps
- The script makes certain assumptions on what variables to plot.
A script for reading topology information from LAMMPS data files.
Usage:
python read_lammps_data.py system.data
- This script will attempt to write a GROMACS .gro file with the system coordinates.
- It will probably be more useful to modify the script to suit your needs, e.g. if you want to investigate bonds, angles etc.
A script for reading frames from a LAMMPS trajectory file.
Usage:
python read_lammpstrj.py dump.lammpstrj
A script for averaging profiles created by LAMMPS.
Usage:
python average_lammps_profile.py -f temp1.txt -p
- The profiles are assumed to be written by LAMMPS using a command like:
fix out_temp1 all ave/chunk 5 1000 5000 cc1 temp file temp1.txt
A script for averaging RDFs created by LAMMPS.
Usage:
python average_lammps_profile.py -f rdf-X-Y.txt -p
- The RDFs are assumed to be written by LAMMPS using a command like:
fix fix_rdf_X_Y all ave/time 100 1 100 c_rdf_X_Y[*] file rdf-X-Y.txt mode vector
A script for reducing the size of .lammpstrj files. It will write a new file with every N'th frame.
Usage:
python skip_lammpstrj.py infile.lammpstrj 100
This will produce a new file infile-skip-100.lammpstrj
with every 100th frame from infile.lammpstrj
.