8. Howto discussions — LAMMPS documentation

\(\renewcommand{\AA}{\text{Å}}\)

# 8. Howto discussions

These doc pages describe how to perform various tasks with LAMMPS, both for users and developers. The glossary website page also lists MD terminology, with links to corresponding LAMMPS manual pages. The example input scripts included in the `examples` directory of the LAMMPS source code distribution and highlighted on the Example scripts page also show how to set up and run various kinds of simulations.

## 8.1. General howto

- 8.1.1. Restart a simulation
- 8.1.2. Visualize LAMMPS snapshots
- 8.1.3. Run multiple simulations from one input script
- 8.1.4. Multi-replica simulations
- 8.1.5. Library interface to LAMMPS
- 8.1.6. Coupling LAMMPS to other codes
- 8.1.7. Using LAMMPS with the MDI library for code coupling
- 8.1.8. Broken Bonds

## 8.2. Settings howto

- 8.2.1. 2d simulations
- 8.2.2. Type labels
- 8.2.3. Triclinic (non-orthogonal) simulation boxes
- 8.2.4. Thermostats
- 8.2.5. Barostats
- 8.2.6. Walls
- 8.2.7. NEMD simulations
- 8.2.8. Long-range dispersion settings

## 8.3. Analysis howto

- 8.3.1. Output from LAMMPS (thermo, dumps, computes, fixes, variables)
- 8.3.2. Use chunks to calculate system properties
- 8.3.3. Using distributed grids
- 8.3.4. Calculate temperature
- 8.3.5. Calculate elastic constants
- 8.3.6. Calculate thermal conductivity
- 8.3.7. Calculate viscosity
- 8.3.8. Calculate diffusion coefficients
- 8.3.9. Output structured data from LAMMPS

## 8.4. Force fields howto

- 8.4.1. CHARMM, AMBER, COMPASS, DREIDING, and OPLS force fields
- 8.4.2. AMOEBA and HIPPO force fields
- 8.4.3. TIP3P water model
- 8.4.4. TIP4P water model
- 8.4.5. TIP5P water model
- 8.4.6. SPC water model

## 8.5. Packages howto

- 8.5.1. Finite-size spherical and aspherical particles
- 8.5.2. Granular models
- 8.5.3. Body particles
- 8.5.4. Bonded particle models
- 8.5.5. Polarizable models
- 8.5.6. Adiabatic core/shell model
- 8.5.7. Drude induced dipoles
- 8.5.8. Tutorial for Thermalized Drude oscillators in LAMMPS
- 8.5.9. Peridynamics with LAMMPS
- 8.5.10. Manifolds (surfaces)
- 8.5.11. Reproducing hydrodynamics and elastic objects (RHEO)
- 8.5.12. Magnetic spins

## 8.6. Tutorials howto

- 8.6.1. Using CMake with LAMMPS
- 8.6.2. LAMMPS GitHub tutorial
- 8.6.3. Using LAMMPS-GUI
- 8.6.4. Moltemplate Tutorial
- 8.6.5. LAMMPS Python Tutorial
- 8.6.6. PyLammps Tutorial
- 8.6.7. Using LAMMPS on Windows 10 with WSL