6.3. Package details

Here is a brief description of all the standard and user packages in LAMMPS. It lists authors (if applicable) and summarizes the package contents. It has specific instructions on how to install the package, including, if necessary, info on how to download or build any extra library it requires. It also gives links to documentation, example scripts, and pictures/movies (if available) that illustrate use of the package.

The majority of packages can be included in a LAMMPS build with a single setting (-D PGK_NAME for CMake) or command (“make yes-name” for make). See the Build package doc page for more info. A few packages may require additional steps; this is indicated in the descriptions below. The Build extras doc page gives those details.

Note

To see the complete list of commands a package adds to LAMMPS, you can examine the files in its src directory, e.g. “ls src/GRANULAR”. Files with names that start with fix, compute, atom, pair, bond, angle, etc correspond to commands with the same style name as contained in the file name.

ASPHERE BODY CLASS2 COLLOID COMPRESS CORESHELL
DIPOLE GPU GRANULAR KIM KOKKOS KSPACE
LATTE MANYBODY MC MEAM MESSAGE MISC
MOLECULE MPIIO MSCG OPT PERI POEMS
PYTHON QEQ REAX REPLICA RIGID SHOCK
SNAP SPIN SRD VORONOI    
USER-ATC USER-AWPMD USER-BOCS USER-CGDNA USER-CGSDK USER-COLVARS
USER-DIFFRACTION USER-DPD USER-DRUDE USER-EFF USER-FEP USER-H5MD
USER-INTEL USER-LB USER-MANIFOLD USER-MEAMC USER-MESO USER-MGPT
USER-MISC USER-MOFFF USER-MOLFILE USER-NETCDF USER-OMP USER-PHONON
USER-PTM USER-QMMM USER-QTB USER-QUIP USER-REAXC USER-SCAFACOS
USER-SMD USER-SMTBQ USER-SPH USER-TALLY USER-UEF USER-VTK

6.3.1. ASPHERE package

Contents:

Computes, time-integration fixes, and pair styles for aspherical particle models including ellipsoids, 2d lines, and 3d triangles.

Supporting info:


6.3.2. BODY package

Contents:

Body-style particles with internal structure. Computes, time-integration fixes, pair styles, as well as the body styles themselves. See the Howto body doc page for an overview.

Supporting info:


6.3.3. CLASS2 package

Contents:

Bond, angle, dihedral, improper, and pair styles for the COMPASS CLASS2 molecular force field.

Supporting info:


6.3.4. COLLOID package

Contents:

Coarse-grained finite-size colloidal particles. Pair styles and fix wall styles for colloidal interactions. Includes the Fast Lubrication Dynamics (FLD) method for hydrodynamic interactions, which is a simplified approximation to Stokesian dynamics.

Authors: This package includes Fast Lubrication Dynamics pair styles which were created by Amit Kumar and Michael Bybee from Jonathan Higdon’s group at UIUC.

Supporting info:


6.3.5. COMPRESS package

Contents:

Compressed output of dump files via the zlib compression library, using dump styles with a “gz” in their style name.

To use this package you must have the zlib compression library available on your system.

Author: Axel Kohlmeyer (Temple U).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.6. CORESHELL package

Contents:

Compute and pair styles that implement the adiabatic core/shell model for polarizability. The pair styles augment Born, Buckingham, and Lennard-Jones styles with core/shell capabilities. The compute temp/cs command calculates the temperature of a system with core/shell particles. See the Howto coreshell doc page for an overview of how to use this package.

Author: Hendrik Heenen (Technical U of Munich).

Supporting info:


6.3.7. DIPOLE package

Contents:

An atom style and several pair styles for point dipole models with short-range or long-range interactions.

Supporting info:


6.3.8. GPU package

Contents:

Dozens of pair styles and a version of the PPPM long-range Coulombic solver optimized for GPUs. All such styles have a “gpu” as a suffix in their style name. The GPU code can be compiled with either CUDA or OpenCL, however the OpenCL variants are no longer actively maintained and only the CUDA versions are regularly tested. The Speed gpu doc page gives details of what hardware and GPU software is required on your system, and details on how to build and use this package. Its styles can be invoked at run time via the “-sf gpu” or “-suffix gpu” command-line switches. See also the KOKKOS package, which has GPU-enabled styles.

Authors: Mike Brown (Intel) while at Sandia and ORNL and Trung Nguyen (Northwestern U) while at ORNL.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.9. GRANULAR package

Contents:

Pair styles and fixes for finite-size granular particles, which interact with each other and boundaries via frictional and dissipative potentials.

Supporting info:


6.3.10. KIM package

Contents:

A pair_style kim command which is a wrapper on the Knowledge Base for Interatomic Models (KIM) repository of interatomic potentials, enabling any of them to be used in LAMMPS simulations.

To use this package you must have the KIM library available on your system.

Information about the KIM project can be found at its website: https://openkim.org. The KIM project is led by Ellad Tadmor and Ryan Elliott (U Minnesota) and James Sethna (Cornell U).

Authors: Ryan Elliott (U Minnesota) is the main developer for the KIM API which the pair_style kim command uses. He developed the pair style in collaboration with Valeriu Smirichinski (U Minnesota).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/KIM: filenames -> commands
  • src/KIM/README
  • lib/kim/README
  • pair_style kim
  • examples/kim

6.3.11. KOKKOS package

Contents:

Dozens of atom, pair, bond, angle, dihedral, improper, fix, compute styles adapted to compile using the Kokkos library which can convert them to OpenMP or CUDA code so that they run efficiently on multicore CPUs, KNLs, or GPUs. All the styles have a “kk” as a suffix in their style name. The Speed kokkos doc page gives details of what hardware and software is required on your system, and how to build and use this package. Its styles can be invoked at run time via the “-sf kk” or “-suffix kk” command-line switches. Also see the GPU, OPT, USER-INTEL, and USER-OMP packages, which have styles optimized for CPUs, KNLs, and GPUs.

You must have a C++11 compatible compiler to use this package. KOKKOS makes extensive use of advanced C++ features, which can expose compiler bugs, especially when compiling for maximum performance at high optimization levels. Please see the file lib/kokkos/README for a list of compilers and their respective platforms, that are known to work.

Authors: The KOKKOS package was created primarily by Christian Trott and Stan Moore (Sandia), with contributions from other folks as well. It uses the open-source Kokkos library which was developed by Carter Edwards, Christian Trott, and others at Sandia, and which is included in the LAMMPS distribution in lib/kokkos.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.12. KSPACE package

Contents:

A variety of long-range Coulombic solvers, as well as pair styles which compute the corresponding short-range pairwise Coulombic interactions. These include Ewald, particle-particle particle-mesh (PPPM), and multilevel summation method (MSM) solvers.

Install:

Building with this package requires a 1d FFT library be present on your system for use by the PPPM solvers. This can be the KISS FFT library provided with LAMMPS, 3rd party libraries like FFTW, or a vendor-supplied FFT library. See the Build settings doc page for details on how to select different FFT options for your LAMPMS build.

Supporting info:


6.3.13. LATTE package

Contents:

A fix command which wraps the LATTE DFTB code, so that molecular dynamics can be run with LAMMPS using density-functional tight-binding quantum forces calculated by LATTE.

More information on LATTE can be found at this web site: https://github.com/lanl/LATTE. A brief technical description is given with the fix latte command.

Authors: Christian Negre (LANL) and Steve Plimpton (Sandia). LATTE itself is developed at Los Alamos National Laboratory by Marc Cawkwell, Anders Niklasson, and Christian Negre.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.14. MANYBODY package

Contents:

A variety of manybody and bond-order potentials. These include (AI)REBO, BOP, EAM, EIM, Stillinger-Weber, and Tersoff potentials.

Supporting info:

  • src/MANYBODY: filenames -> commands
  • Commands pair page
  • examples/comb
  • examples/eim
  • examples/nb3d
  • examples/shear
  • examples/streitz
  • examples/vashishta
  • bench/in.eam

6.3.15. MC package

Contents:

Several fixes and a pair style that have Monte Carlo (MC) or MC-like attributes. These include fixes for creating, breaking, and swapping bonds, for performing atomic swaps, and performing grand-canonical MC (GCMC) in conjuction with dynamics.

Supporting info:


6.3.16. MEAM package

Contents:

A pair style for the modified embedded atom (MEAM) potential.

Please note that the use of the MEAM package is discouraged as it has been superseded by the USER-MEAMC package, which is a direct translation of the MEAM package to C++. USER-MEAMC contains additional optimizations making it run faster than MEAM on most machines, while providing the identical features and user interface.

Author: Greg Wagner (Northwestern U) while at Sandia.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/MEAM: filenames -> commands
  • src/meam/README
  • lib/meam/README
  • pair_style meam
  • examples/meam

6.3.17. MESSAGE package

Contents:

Commands to use LAMMPS as either a client or server and couple it to another application.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.18. MISC package

Contents:

A variety of compute, fix, pair, dump styles with specialized capabilities that don’t align with other packages. Do a directory listing, “ls src/MISC”, to see the list of commands.

Note

the MISC package contains styles that require using the -restrict flag, when compiling with Intel compilers.

Supporting info:


6.3.19. MOLECULE package

Contents:

A large number of atom, pair, bond, angle, dihedral, improper styles that are used to model molecular systems with fixed covalent bonds. The pair styles include the Dreiding (hydrogen-bonding) and CHARMM force fields, and a TIP4P water model.

Supporting info:


6.3.20. MPIIO package

Contents:

Support for parallel output/input of dump and restart files via the MPIIO library. It adds dump styles with a “mpiio” in their style name. Restart files with an “.mpiio” suffix are also written and read in parallel.

Supporting info:


6.3.21. MSCG package

Contents:

A fix mscg command which can parameterize a Multi-Scale Coarse-Graining (MSCG) model using the open-source MS-CG library.

To use this package you must have the MS-CG library available on your system.

Authors: The fix was written by Lauren Abbott (Sandia). The MS-CG library was developed by Jacob Wagner in Greg Voth’s group at the University of Chicago.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/MSCG: filenames -> commands
  • src/MSCG/README
  • lib/mscg/README
  • examples/mscg

6.3.22. OPT package

Contents:

A handful of pair styles which are optimized for improved CPU performance on single or multiple cores. These include EAM, LJ, CHARMM, and Morse potentials. The styles have an “opt” suffix in their style name. The Speed opt doc page gives details of how to build and use this package. Its styles can be invoked at run time via the “-sf opt” or “-suffix opt” command-line switches. See also the KOKKOS, USER-INTEL, and USER-OMP packages, which have styles optimized for CPU performance.

Authors: James Fischer (High Performance Technologies), David Richie, and Vincent Natoli (Stone Ridge Technolgy).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.23. PERI package

Contents:

An atom style, several pair styles which implement different Peridynamics materials models, and several computes which calculate diagnostics. Peridynamics is a a particle-based meshless continuum model.

Authors: The original package was created by Mike Parks (Sandia). Additional Peridynamics models were added by Rezwanur Rahman and John Foster (UTSA).

Supporting info:


6.3.24. POEMS package

Contents:

A fix that wraps the Parallelizable Open source Efficient Multibody Software (POEMS) library, which is able to simulate the dynamics of articulated body systems. These are systems with multiple rigid bodies (collections of particles) whose motion is coupled by connections at hinge points.

Author: Rudra Mukherjee (JPL) while at RPI.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/POEMS: filenames -> commands
  • src/POEMS/README
  • lib/poems/README
  • fix poems
  • examples/rigid

6.3.25. PYTHON package

Contents:

A python command which allow you to execute Python code from a LAMMPS input script. The code can be in a separate file or embedded in the input script itself. See the Python call doc page for an overview of using Python from LAMMPS in this manner and all the Python doc pages for other ways to use LAMMPS and Python together.

Note

Building with the PYTHON package assumes you have a Python shared library available on your system, which needs to be a Python 2 version, 2.6 or later. Python 3 is not yet supported. See the lib/python/README for more details.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/PYTHON: filenames -> commands
  • Python call
  • lib/python/README
  • examples/python

6.3.26. QEQ package

Contents:

Several fixes for performing charge equilibration (QEq) via different algorithms. These can be used with pair styles that perform QEq as part of their formulation.

Supporting info:

  • src/QEQ: filenames -> commands
  • fix qeq/*
  • examples/qeq
  • examples/streitz

6.3.27. REAX package

Contents:

Note

the use of the REAX package is discouraged, as it is no longer maintained. Please use the USER-REAXC package instead, and possibly the KOKKOS enabled variant of that, which has a more robust memory management.

A pair style which wraps a Fortran library which implements the ReaxFF potential, which is a universal reactive force field. Also included is a fix reax/bonds command for monitoring molecules as bonds are created and destroyed.

Author: Aidan Thompson (Sandia).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.28. REPLICA package

Contents:

A collection of multi-replica methods which can be used when running multiple LAMMPS simulations (replicas). See the Howto replica doc page for an overview of how to run multi-replica simulations in LAMMPS. Methods in the package include nudged elastic band (NEB), parallel replica dynamics (PRD), temperature accelerated dynamics (TAD), parallel tempering, and a verlet/split algorithm for performing long-range Coulombics on one set of processors, and the remainder of the force field calculation on another set.

Supporting info:


6.3.29. RIGID package

Contents:

Fixes which enforce rigid constraints on collections of atoms or particles. This includes SHAKE and RATTLE, as well as various rigid-body integrators for a few large bodies or many small bodies. Also several computes which calculate properties of rigid bodies.

Supporting info:


6.3.30. SHOCK package

Contents:

Fixes for running impact simulations where a shock-wave passes through a material.

Supporting info:


6.3.31. SNAP package

Contents:

A pair style for the spectral neighbor analysis potential (SNAP). SNAP is methodology for deriving a highly accurate classical potential fit to a large archive of quantum mechanical (DFT) data. Also several computes which analyze attributes of the potential.

Author: Aidan Thompson (Sandia).

Supporting info:


6.3.32. SPIN package

Contents:

Model atomic magnetic spins classically, coupled to atoms moving in the usual manner via MD. Various pair, fix, and compute styles.

Author: Julian Tranchida (Sandia).

Supporting info:


6.3.33. SRD package

Contents:

A pair of fixes which implement the Stochastic Rotation Dynamics (SRD) method for coarse-graining of a solvent, typically around large colloidal particles.

Supporting info:


6.3.34. VORONOI package

Contents:

A compute command which calculates the Voronoi tesselation of a collection of atoms by wrapping the Voro++ library. This can be used to calculate the local volume or each atoms or its near neighbors.

To use this package you must have the Voro++ library available on your system.

Author: Daniel Schwen (INL) while at LANL. The open-source Voro++ library was written by Chris Rycroft (Harvard U) while at UC Berkeley and LBNL.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/VORONOI: filenames -> commands
  • src/VORONOI/README
  • lib/voronoi/README
  • compute voronoi/atom
  • examples/voronoi

6.3.35. USER-ATC package

Contents:

ATC stands for atoms-to-continuum. This package implements a fix atc command to either couple molecular dynamics with continuum finite element equations or perform on-the-fly conversion of atomic information to continuum fields.

Authors: Reese Jones, Jeremy Templeton, Jon Zimmerman (Sandia).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.36. USER-AWPMD package

Contents:

AWPMD stands for Antisymmetrized Wave Packet Molecular Dynamics. This package implements an atom, pair, and fix style which allows electrons to be treated as explicit particles in a classical molecular dynamics model.

Author: Ilya Valuev (JIHT, Russia).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/USER-AWPMD: filenames -> commands
  • src/USER-AWPMD/README
  • pair_style awpmd/cut
  • examples/USER/awpmd

6.3.37. USER-BOCS package

Contents:

This package provides fix bocs, a modified version of fix npt which includes the pressure correction to the barostat as outlined in:

N. J. H. Dunn and W. G. Noid, “Bottom-up coarse-grained models that accurately describe the structure, pressure, and compressibility of molecular liquids,” J. Chem. Phys. 143, 243148 (2015).

Authors: Nicholas J. H. Dunn and Michael R. DeLyser (The Pennsylvania State University)

Supporting info:

The USER-BOCS user package for LAMMPS is part of the BOCS software package: https://github.com/noid-group/BOCS

See the following reference for information about the entire package:

Dunn, NJH; Lebold, KM; DeLyser, MR; Rudzinski, JF; Noid, WG. “BOCS: Bottom-Up Open-Source Coarse-Graining Software.” J. Phys. Chem. B. 122, 13, 3363-3377 (2018).

Example inputs are in the examples/USER/bocs folder.


6.3.38. USER-CGDNA package

Contents:

Several pair styles, a bond style, and integration fixes for coarse-grained models of single- and double-stranded DNA based on the oxDNA model of Doye, Louis and Ouldridge at the University of Oxford. This includes Langevin-type rigid-body integrators with improved stability.

Author: Oliver Henrich (University of Strathclyde, Glasgow).

Supporting info:


6.3.39. USER-CGSDK package

Contents:

Several pair styles and an angle style which implement the coarse-grained SDK model of Shinoda, DeVane, and Klein which enables simulation of ionic liquids, electrolytes, lipids and charged amino acids.

Author: Axel Kohlmeyer (Temple U).

Supporting info:


6.3.40. USER-COLVARS package

Contents:

COLVARS stands for collective variables, which can be used to implement various enhanced sampling methods, including Adaptive Biasing Force, Metadynamics, Steered MD, Umbrella Sampling and Restraints. A fix colvars command is implemented which wraps a COLVARS library, which implements these methods. simulations.

Authors: The COLVARS library is written and maintained by Giacomo Fiorin (ICMS, Temple University, Philadelphia, PA, USA) and Jerome Henin (LISM, CNRS, Marseille, France), originally for the NAMD MD code, but with portability in mind. Axel Kohlmeyer (Temple U) provided the interface to LAMMPS.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.41. USER-DIFFRACTION package

Contents:

Two computes and a fix for calculating x-ray and electron diffraction intensities based on kinematic diffraction theory.

Author: Shawn Coleman while at the U Arkansas.

Supporting info:


6.3.42. USER-DPD package

Contents:

DPD stands for dissipative particle dynamics. This package implements coarse-grained DPD-based models for energetic, reactive molecular crystalline materials. It includes many pair styles specific to these systems, including for reactive DPD, where each particle has internal state for multiple species and a coupled set of chemical reaction ODEs are integrated each timestep. Highly accurate time integrators for isothermal, isoenergetic, isobaric and isenthalpic conditions are included. These enable long timesteps via the Shardlow splitting algorithm.

Authors: Jim Larentzos (ARL), Tim Mattox (Engility Corp), and and John Brennan (ARL).

Supporting info:


6.3.43. USER-DRUDE package

Contents:

Fixes, pair styles, and a compute to simulate thermalized Drude oscillators as a model of polarization. See the Howto drude and Howto drude2 doc pages for an overview of how to use the package. There are auxiliary tools for using this package in tools/drude.

Authors: Alain Dequidt (U Blaise Pascal Clermont-Ferrand), Julien Devemy (CNRS), and Agilio Padua (U Blaise Pascal).

Supporting info:


6.3.44. USER-EFF package

Contents:

EFF stands for electron force field which allows a classical MD code to model electrons as particles of variable radius. This package contains atom, pair, fix and compute styles which implement the eFF as described in A. Jaramillo-Botero, J. Su, Q. An, and W.A. Goddard III, JCC, 2010. The eFF potential was first introduced by Su and Goddard, in 2007. There are auxiliary tools for using this package in tools/eff; see its README file.

Author: Andres Jaramillo-Botero (CalTech).

Supporting info:


6.3.45. USER-FEP package

Contents:

FEP stands for free energy perturbation. This package provides methods for performing FEP simulations by using a fix adapt/fep command with soft-core pair potentials, which have a “soft” in their style name. There are auxiliary tools for using this package in tools/fep; see its README file.

Author: Agilio Padua (Universite Blaise Pascal Clermont-Ferrand)

Supporting info:


6.3.46. USER-H5MD package

Contents:

H5MD stands for HDF5 for MD. HDF5 is a portable, binary, self-describing file format, used by many scientific simulations. H5MD is a format for molecular simulations, built on top of HDF5. This package implements a dump h5md command to output LAMMPS snapshots in this format.

To use this package you must have the HDF5 library available on your system.

Author: Pierre de Buyl (KU Leuven) created both the package and the H5MD format.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/USER-H5MD: filenames -> commands
  • src/USER-H5MD/README
  • lib/h5md/README
  • dump h5md

6.3.47. USER-INTEL package

Contents:

Dozens of pair, fix, bond, angle, dihedral, improper, and kspace styles which are optimized for Intel CPUs and KNLs (Knights Landing). All of them have an “intel” in their style name. The Speed intel doc page gives details of what hardware and compilers are required on your system, and how to build and use this package. Its styles can be invoked at run time via the “-sf intel” or “-suffix intel” command-line switches. Also see the KOKKOS, OPT, and USER-OMP packages, which have styles optimized for CPUs and KNLs.

You need to have an Intel compiler, version 14 or higher to take full advantage of this package. While compilation with GNU compilers is supported, performance will be sub-optimal.

Note

the USER-INTEL package contains styles that require using the -restrict flag, when compiling with Intel compilers.

Author: Mike Brown (Intel).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.48. USER-LB package

Contents:

Fixes which implement a background Lattice-Boltzmann (LB) fluid, which can be used to model MD particles influenced by hydrodynamic forces.

Authors: Frances Mackay and Colin Denniston (University of Western Ontario).

Supporting info:


6.3.49. USER-MGPT package

Contents:

A pair style which provides a fast implementation of the quantum-based MGPT multi-ion potentials. The MGPT or model GPT method derives from first-principles DFT-based generalized pseudopotential theory (GPT) through a series of systematic approximations valid for mid-period transition metals with nearly half-filled d bands. The MGPT method was originally developed by John Moriarty at LLNL. The pair style in this package calculates forces and energies using an optimized matrix-MGPT algorithm due to Tomas Oppelstrup at LLNL.

Authors: Tomas Oppelstrup and John Moriarty (LLNL).

Supporting info:

  • src/USER-MGPT: filenames -> commands
  • src/USER-MGPT/README
  • pair_style mgpt
  • examples/USER/mgpt

6.3.50. USER-MISC package

Contents:

A potpourri of (mostly) unrelated features contributed to LAMMPS by users. Each feature is a single fix, compute, pair, bond, angle, dihedral, improper, or command style.

Authors: The author for each style in the package is listed in the src/USER-MISC/README file.

Supporting info:

  • src/USER-MISC: filenames -> commands
  • src/USER-MISC/README
  • one doc page per individual command listed in src/USER-MISC/README
  • examples/USER/misc

6.3.51. USER-MANIFOLD package

Contents:

Several fixes and a “manifold” class which enable simulations of particles constrained to a manifold (a 2D surface within the 3D simulation box). This is done by applying the RATTLE constraint algorithm to formulate single-particle constraint functions g(xi,yi,zi) = 0 and their derivative (i.e. the normal of the manifold) n = grad(g).

Author: Stefan Paquay (until 2017: Eindhoven University of Technology (TU/e), The Netherlands; since 2017: Brandeis University, Waltham, MA, USA)

Supporting info:


6.3.52. USER-MEAMC package

Contents:

A pair style for the modified embedded atom (MEAM) potential translated from the Fortran version in the MEAM package to plain C++. In contrast to the MEAM package, no library needs to be compiled and the pair style can be instantiated multiple times.

Author: Sebastian Huetter, (Otto-von-Guericke University Magdeburg) based on the Fortran version of Greg Wagner (Northwestern U) while at Sandia.

Supporting info:

  • src/USER-MEAMC: filenames -> commands
  • src/USER-MEAMC/README
  • pair_style meam/c
  • examples/meam

6.3.53. USER-MESO package

Contents:

Several extensions of the the dissipative particle dynamics (DPD) method. Specifically, energy-conserving DPD (eDPD) that can model non-isothermal processes, many-body DPD (mDPD) for simulating vapor-liquid coexistence, and transport DPD (tDPD) for modeling advection-diffusion-reaction systems. The equations of motion of these DPD extensions are integrated through a modified velocity-Verlet (MVV) algorithm.

Author: Zhen Li (Division of Applied Mathematics, Brown University)

Supporting info:


6.3.54. USER-MOFFF package

Contents:

Pair, angle and improper styles needed to employ the MOF-FF force field by Schmid and coworkers with LAMMPS. MOF-FF is a first principles derived force field with the primary aim to simulate MOFs and related porous framework materials, using spherical Gaussian charges. It is described in S. Bureekaew et al., Phys. Stat. Sol. B 2013, 250, 1128-1141. For the usage of MOF-FF see the example in the example directory as well as the MOF+ website.

Author: Hendrik Heenen (Technical U of Munich), Rochus Schmid (Ruhr-University Bochum).

Supporting info:


6.3.55. USER-MOLFILE package

Contents:

A dump molfile command which uses molfile plugins that are bundled with the VMD molecular visualization and analysis program, to enable LAMMPS to dump snapshots in formats compatible with various molecular simulation tools.

To use this package you must have the desired VMD plugins available on your system.

Note that this package only provides the interface code, not the plugins themselves, which will be accessed when requesting a specific plugin via the dump molfile command. Plugins can be obtained from a VMD installation which has to match the platform that you are using to compile LAMMPS for. By adding plugins to VMD, support for new file formats can be added to LAMMPS (or VMD or other programs that use them) without having to re-compile the application itself. More information about the VMD molfile plugins can be found at http://www.ks.uiuc.edu/Research/vmd/plugins/molfile.

Author: Axel Kohlmeyer (Temple U).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/USER-MOLFILE: filenames -> commands
  • src/USER-MOLFILE/README
  • lib/molfile/README
  • dump molfile

6.3.56. USER-NETCDF package

Contents:

Dump styles for writing NetCDF formatted dump files. NetCDF is a portable, binary, self-describing file format developed on top of HDF5. The file contents follow the AMBER NetCDF trajectory conventions (http://ambermd.org/netcdf/nctraj.xhtml), but include extensions.

To use this package you must have the NetCDF library available on your system.

Note that NetCDF files can be directly visualized with the following tools:

  • Ovito (Ovito supports the AMBER convention and the extensions mentioned above)
  • VMD
  • AtomEye (the libAtoms version of AtomEye contains a NetCDF reader not present in the standard distribution)

Author: Lars Pastewka (Karlsruhe Institute of Technology).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/USER-NETCDF: filenames -> commands
  • src/USER-NETCDF/README
  • lib/netcdf/README
  • dump netcdf

6.3.57. USER-OMP package

Contents:

Hundreds of pair, fix, compute, bond, angle, dihedral, improper, and kspace styles which are altered to enable threading on many-core CPUs via OpenMP directives. All of them have an “omp” in their style name. The Speed omp doc page gives details of what hardware and compilers are required on your system, and how to build and use this package. Its styles can be invoked at run time via the “-sf omp” or “-suffix omp” command-line switches. Also see the KOKKOS, OPT, and USER-INTEL packages, which have styles optimized for CPUs.

Author: Axel Kohlmeyer (Temple U).

Note

To enable multi-threading support the compile flag “-fopenmp” and the link flag “-fopenmp” (for GNU compilers, you have to look up the equivalent flags for other compilers) must be used to build LAMMPS. When using Intel compilers, also the “-restrict” flag is required. The USER-OMP package can be compiled without enabling OpenMP; then all code will be compiled as serial and the only improvement over the regular styles are some data access optimization. These flags should be added to the CCFLAGS and LINKFLAGS lines of your Makefile.machine. See src/MAKE/OPTIONS/Makefile.omp for an example.

Once you have an appropriate Makefile.machine, you can install/un-install the package and build LAMMPS in the usual manner:

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.58. USER-PHONON package

Contents:

A fix phonon command that calculates dynamical matrices, which can then be used to compute phonon dispersion relations, directly from molecular dynamics simulations.

Author: Ling-Ti Kong (Shanghai Jiao Tong University).

Supporting info:

  • src/USER-PHONON: filenames -> commands
  • src/USER-PHONON/README
  • fix phonon
  • examples/USER/phonon

6.3.59. USER-PTM package

Contents:

A compute ptm/atom command that calculates local structure characterization using the Polyhedral Template Matching methodology.

Author: Peter Mahler Larsen (MIT).

Supporting info:

  • src/USER-PTM: filename starting with ptm\_ -> supporting code, other filenames -> commands
  • src/USER-PTM/LICENSE
  • compute ptm/atom

6.3.60. USER-QMMM package

Contents:

A fix qmmm command which allows LAMMPS to be used in a QM/MM simulation, currently only in combination with the Quantum ESPRESSO package.

To use this package you must have Quantum ESPRESSO available on your system.

The current implementation only supports an ONIOM style mechanical coupling to the Quantum ESPRESSO plane wave DFT package. Electrostatic coupling is in preparation and the interface has been written in a manner that coupling to other QM codes should be possible without changes to LAMMPS itself.

Author: Axel Kohlmeyer (Temple U).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/USER-QMMM: filenames -> commands
  • src/USER-QMMM/README
  • lib/qmmm/README
  • fix phonon
  • lib/qmmm/example-ec/README
  • lib/qmmm/example-mc/README

6.3.61. USER-QTB package

Contents:

Two fixes which provide a self-consistent quantum treatment of vibrational modes in a classical molecular dynamics simulation. By coupling the MD simulation to a colored thermostat, it introduces zero point energy into the system, altering the energy power spectrum and the heat capacity to account for their quantum nature. This is useful when modeling systems at temperatures lower than their classical limits or when temperatures ramp across the classical limits in a simulation.

Author: Yuan Shen (Stanford U).

Supporting info:

  • src/USER-QTB: filenames -> commands
  • src/USER-QTB/README
  • fix qtb
  • fix qbmsst
  • examples/USER/qtb

6.3.62. USER-QUIP package

Contents:

A pair_style quip command which wraps the QUIP libAtoms library, which includes a variety of interatomic potentials, including Gaussian Approximation Potential (GAP) models developed by the Cambridge University group.

To use this package you must have the QUIP libAtoms library available on your system.

Author: Albert Bartok (Cambridge University)

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/USER-QUIP: filenames -> commands
  • src/USER-QUIP/README
  • pair_style quip
  • examples/USER/quip

6.3.63. USER-REAXC package

Contents:

A pair style which implements the ReaxFF potential in C/C++ (in contrast to the REAX package and its Fortran library). ReaxFF is universal reactive force field. See the src/USER-REAXC/README file for more info on differences between the two packages. Also two fixes for monitoring molecules as bonds are created and destroyed.

Author: Hasan Metin Aktulga (MSU) while at Purdue University.

Supporting info:


6.3.64. USER-SCAFACOS package

Contents:

A KSpace style which wraps the ScaFaCoS Coulomb solver library to compute long-range Coulombic interactions.

To use this package you must have the ScaFaCoS library available on your system.

Author: Rene Halver (JSC) wrote the scafacos LAMMPS command.

ScaFaCoS itself was developed by a consortium of German research facilities with a BMBF (German Ministry of Science and Education) funded project in 2009-2012. Participants of the consortium were the Universities of Bonn, Chemnitz, Stuttgart, and Wuppertal as well as the Forschungszentrum Juelich.

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.65. USER-SMD package

Contents:

An atom style, fixes, computes, and several pair styles which implements smoothed Mach dynamics (SMD) for solids, which is a model related to smoothed particle hydrodynamics (SPH) for liquids (see the USER-SPH package).

This package solves solids mechanics problems via a state of the art stabilized meshless method with hourglass control. It can specify hydrostatic interactions independently from material strength models, i.e. pressure and deviatoric stresses are separated. It provides many material models (Johnson-Cook, plasticity with hardening, Mie-Grueneisen, Polynomial EOS) and allows new material models to be added. It implements rigid boundary conditions (walls) which can be specified as surface geometries from *.STL files.

Author: Georg Ganzenmuller (Fraunhofer-Institute for High-Speed Dynamics, Ernst Mach Institute, Germany).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:


6.3.66. USER-SMTBQ package

Contents:

A pair style which implements a Second Moment Tight Binding model with QEq charge equilibration (SMTBQ) potential for the description of ionocovalent bonds in oxides.

Authors: Nicolas Salles, Emile Maras, Olivier Politano, and Robert Tetot (LAAS-CNRS, France).

Supporting info:

  • src/USER-SMTBQ: filenames -> commands
  • src/USER-SMTBQ/README
  • pair_style smtbq
  • examples/USER/smtbq

6.3.67. USER-SPH package

Contents:

An atom style, fixes, computes, and several pair styles which implements smoothed particle hydrodynamics (SPH) for liquids. See the related USER-SMD package package for smooth Mach dynamics (SMD) for solids.

This package contains ideal gas, Lennard-Jones equation of states, Tait, and full support for complete (i.e. internal-energy dependent) equations of state. It allows for plain or Monaghans XSPH integration of the equations of motion. It has options for density continuity or density summation to propagate the density field. It has set command options to set the internal energy and density of particles from the input script and allows the same quantities to be output with thermodynamic output or to dump files via the compute property/atom command.

Author: Georg Ganzenmuller (Fraunhofer-Institute for High-Speed Dynamics, Ernst Mach Institute, Germany).

Supporting info:


6.3.68. USER-TALLY package

Contents:

Several compute styles that can be called when pairwise interactions are calculated to tally information (forces, heat flux, energy, stress, etc) about individual interactions.

Author: Axel Kohlmeyer (Temple U).

Supporting info:

  • src/USER-TALLY: filenames -> commands
  • src/USER-TALLY/README
  • compute */tally
  • examples/USER/tally

6.3.69. USER-UEF package

Contents:

A fix style for the integration of the equations of motion under extensional flow with proper boundary conditions, as well as several supporting compute styles and an output option.

Author: David Nicholson (MIT).

Supporting info:


6.3.70. USER-VTK package

Contents:

A dump vtk command which outputs snapshot info in the VTK format, enabling visualization by Paraview or other visualization packages.

To use this package you must have VTK library available on your system.

Authors: Richard Berger (JKU) and Daniel Queteschiner (DCS Computing).

Install:

This package has specific installation instructions on the Build extras doc page.

Supporting info:

  • src/USER-VTK: filenames -> commands
  • src/USER-VTK/README
  • lib/vtk/README
  • dump vtk