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

# 10. 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.

## 10.1. General howto

- 10.1.1. Restart a simulation
- 10.1.2. Visualize LAMMPS snapshots
- 10.1.3. Basic workflow for loading LAMMPS trajectories in VMD
- 10.1.4. Advanced graphics features in the dump image command
- 10.1.5. Run multiple simulations from one input script
- 10.1.6. Multi-replica simulations
- 10.1.7. Library interface to LAMMPS
- 10.1.8. Coupling LAMMPS to other codes
- 10.1.9. Using LAMMPS with the MDI library for code coupling
- 10.1.10. Broken Bonds

## 10.2. Settings howto

- 10.2.1. 2d simulations
- 10.2.2. Type labels
- 10.2.3. Triclinic (non-orthogonal) simulation boxes
- 10.2.4. Thermostats
- 10.2.5. Barostats
- 10.2.6. Walls
- 10.2.7. NEMD simulations
- 10.2.8. Long-range dispersion settings
- 10.2.9. Convert bulk system to slab

## 10.3. Analysis howto

- 10.3.1. Output from LAMMPS (thermo, dumps, computes, fixes, variables)
- 10.3.2. Use chunks to calculate system properties
- 10.3.3. Using distributed grids
- 10.3.4. Calculate temperature
- 10.3.5. Calculate elastic constants
- 10.3.6. Calculate thermal conductivity
- 10.3.7. Calculate viscosity
- 10.3.8. Calculate diffusion coefficients
- 10.3.9. Output structured data from LAMMPS

## 10.4. Force fields howto

- 10.4.1. Some general force field considerations
- 10.4.2. CHARMM, AMBER, COMPASS, DREIDING, and OPLS force fields
- 10.4.3. AMBER to LAMMPS Tutorial
- 10.4.4. AMOEBA and HIPPO force fields
- 10.4.5. TIP3P water model
- 10.4.6. TIP4P and OPC water models
- 10.4.7. TIP5P water model
- 10.4.8. SPC and SPC/E water model

## 10.5. Packages howto

- 10.5.1. Finite-size spherical and aspherical particles
- 10.5.2. Granular models
- 10.5.3. Body particles
- 10.5.4. Bonded particle models
- 10.5.5. Polarizable models
- 10.5.6. Adiabatic core/shell model
- 10.5.7. Drude induced dipoles
- 10.5.8. Tutorial for Thermalized Drude oscillators in LAMMPS
- 10.5.9. Peridynamics with LAMMPS
- 10.5.10. Manifolds (surfaces)
- 10.5.11. Reproducing hydrodynamics and elastic objects (RHEO)
- 10.5.12. Magnetic spins
- 10.5.13. Adaptive-precision interatomic potentials (APIP)

## 10.6. Tutorials howto

- 10.6.1. Using CMake with LAMMPS
- 10.6.2. LAMMPS GitHub tutorial
- 10.6.3. Using LAMMPS-GUI
- 10.6.4. Moltemplate Tutorial
- 10.6.5. LAMMPS Python Tutorial
- 10.6.6. Using LAMMPS on Windows 10 with WSL