OpenLAMMPSToolbox is a collection of CLI tools used for pre- and post processing Molecular Dynamics (MD) simulations meant to be used alongside Sandia National Lab's Large Scale Atomic/Molecular Massively Parallel Simulator.
The post-processing functions implemented follow a sequential command line interface for ease of use. Run the 'olt_postprocessing' executable and follow the subsequent prompts.
~/projects/openlammpstoolbox$ ./olt_postprocessing
Implemented post-processing functions include:
- Highlighting defects (DEFECT)
- Highligting displaced atoms (DISPLACEMENT)
- Sorting atoms by id, coordinates, or per-atom compute data (SORT)
- Selecting atoms by change in per-atom compute data (SUBSET)
- Automatic detection of dump file format. 'xyz' and custom LAMMPS Dump file type compatibility currently implemented
- Writing files in custom LAMMPS dump file format
- Compatibility to handle all stored per-atom compute data
- Creating cubic, periodic, and crystalline structure files
- Generating defects within structure files
- Selecting subset of atoms for 'group' type input file commands
python3 ./python/main(...).py -h
- Creating FCC Nickel structure:
- Creating 15 Frenkel defect pairs in FCC Nickel:
~/projects/openlammpstoolbox$ python3 ./python/mainCubicCreate.py FCC 67 67 67 3.52 3.52 3.52
python3 ./python/mainDefectCreate.py NiFCC_SingleCrystal.lmp Frenkel 15 -coord_num 12
OpenLAMMPSToolbox was made for Linux systems. For Windows devices use of WSL2 is recommended.
Clone the repository onto your device:
git clone https://github.com/JovinRyan/OpenLAMMPSToolbox.git
Navigate to the repository:
cd ~/projects/openlammpstoolbox
Create the build/
directory to house CMake files and:
mkdir build/
Run the cmake
command in the build directory to generate the make file:
cd build/
cmake ../CMakeLists.txt
Run the make
command to compile the C++ source files and generate the OpenLAMMPSToolbox ./olt_
executable:
make