L

LAMMPS Examples & Potentials Text Viewer

AIREBO Potential

molecular

Adaptive Intermolecular Reactive Empirical Bond Order (AIREBO) potential for hydrocarbons. Demonstrates reactive molecular dynamics with bond breaking/forming.

aireboreboreactivehydrocarbon
Link

AMOEBA Force Field

molecular

Atomic Multipole Optimized Energetics for Biomolecular Applications (AMOEBA) force field examples for water and proteins.

amoebapolarizablemultipolewater
Link

Axilrod-Teller-Muto Potential

physics

Axilrod-Teller-Muto potential example demonstrating three-body interactions in noble gas systems.

atmthree-bodynoble-gasaxilrod-teller-muto
Link

Load Balancing

parallel

Demonstrates various load balancing strategies for parallel simulations. Essential for efficient multi-processor runs.

balanceparallelperformancempi
Link

Rigid Body Dynamics

mechanics

Rigid body particles with complex shapes. Demonstrates mechanics of finite-size particles with rotational degrees of freedom.

rigidbodyrotationmechanics
Link

CHARMM Force Switching

molecular

CHARMM force field with force switching for biomolecular simulations. Standard protocol for protein simulations.

charmmforce-fieldbiomolecularprotein
Link

CMAP Corrections

molecular

Correction maps (CMAP) for dihedral angles in protein force fields. Improves backbone conformations.

cmapdihedralproteinbackbone
Link

Colloidal Systems

soft-matter

Colloidal particle simulations with complex interactions. Models suspensions and soft matter systems.

colloidsuspensionsoft-matterparticles
Link

ASPHERE Box Particles

granular

Box-shaped particles simulation using ASPHERE package. Demonstrates non-spherical rigid body dynamics.

asphereboxrigid-bodygranular
Link

ASPHERE Dimer Particles

granular

Dimer particles simulation using ASPHERE package. Two-particle rigid body dynamics.

aspheredimerrigid-bodytwo-particle
Link

ASPHERE Ellipsoid Particles

granular

Ellipsoidal particles simulation using ASPHERE package. Non-spherical particle dynamics.

asphereellipsoidnon-sphericalgranular
Link

ASPHERE Line Particles

granular

Line particles simulation using ASPHERE package. One-dimensional rigid bodies.

aspherelineone-dimensionalrigid-body
Link

ASPHERE Triangle Particles

granular

Triangular particles simulation using ASPHERE package. Two-dimensional rigid bodies.

aspheretriangletwo-dimensionalrigid-body
Link

ASPHERE Star Particles

granular

Star-shaped particles simulation using ASPHERE package. Complex rigid body shapes.

aspherestarcomplex-shaperigid-body
Link

ASPHERE Poly Particles

granular

Poly particles simulation using ASPHERE package. Multiple rigid body configurations.

aspherepolymultiplerigid-body
Link

ASPHERE Flat Membrane

soft-matter

Flat membrane simulation using ASPHERE package. Membrane dynamics and deformation.

aspheremembraneflatdeformation
Link

ASPHERE Vesicle

soft-matter

Vesicle simulation using ASPHERE package. Spherical membrane dynamics.

aspherevesiclesphericalmembrane
Link

BPM Impact

mechanics

Bonded particle model impact simulations. Studies impact mechanics and fracture.

bpmimpactfracturemechanics
Link

BPM Plasticity

mechanics

Bonded particle model plasticity simulations. Studies plastic deformation and yield.

bpmplasticitydeformationyield
Link

BPM Poisson's Ratio

mechanics

Bonded particle model Poisson's ratio calculations. Mechanical property determination.

bpmpoissons-ratiomechanicalproperties
Link

BPM Pour

granular

Bonded particle model pouring simulations. Granular flow with cohesive particles.

bpmpourgranularflow
Link

COMB Potential

materials

Charge optimized many-body (COMB) potential for metals and ceramics. Handles charge transfer and many-body effects.

combmany-bodychargemetals
Link

Fix Controller

thermostats

Use of fix controller as a thermostat. Advanced temperature control methods.

controllerthermostattemperaturecontrol
Link

Core/Shell Model

electrostatics

Core/shell model using CORESHELL package. Models polarizable ions and materials.

coreshellpolarizableionselectrostatics
Link

Crack Propagation

mechanics

Fracture mechanics and crack propagation simulations. Studies material failure and crack growth.

crackfracturemechanicsfailure
Link

Deposition Processes

materials

Thin film deposition and growth processes. Simulates material deposition onto substrates.

depositionthin-filmgrowthsubstrate
Link

Dipolar Systems

electrostatics

Systems with dipolar interactions and electrostatic effects. Models magnetic and electric dipoles.

dipoleelectrostaticmagneticelectric
Link

Dreiding Force Field

molecular

Dreiding force field for organic molecules and polymers. Generic force field for diverse chemical systems.

dreidingforce-fieldorganicpolymer
Link

Embedded Ion Method

materials

Embedded ion method (EIM) for ionic crystals and compounds. Models ionic systems with embedding.

eimioniccrystalsembedding
Link

Ellipsoidal Particles

granular

Gay-Berne and RE-squared potentials for ellipsoidal particles. Models liquid crystals and anisotropic particles.

ellipsoidgay-berneliquid-crystalanisotropic
Link

FIRE Minimization

optimization

Fast Inertial Relaxation Engine (FIRE) minimization algorithm. Advanced optimization for complex energy landscapes.

fireminimizationoptimizationrelaxation
Link

Flow Dynamics

fluid

Fluid flow simulations including Couette and Poiseuille flow. Studies fluid dynamics and rheology.

flowfluidcouettepoiseuille
Link

Friction and Tribology

mechanics

Friction and tribological simulations. Studies sliding interfaces and wear mechanisms.

frictiontribologyslidingwear
Link

GJF Integrator

integration

Grimmer-Jalali-Farago (GJF) integrator examples. Advanced integration methods.

gjfintegratorgrimmerjalali
Link

Granular Materials

granular

Granular material simulations including pouring, heating, and compaction. Models discrete particle systems.

granularparticlespouringcompaction
Link

Granular Region Walls

granular

Use of fix wall/region/gran as boundary on granular particles. Complex boundary conditions.

granularwallregionboundary
Link

Grid Operations

analysis

Grid-based operations and analysis. Spatial binning and field calculations.

gridspatialbinningfield
Link

Hugoniostat

shock

Hugoniostat method for shock wave simulations. Studies high-pressure shock physics.

hugoniostatshockwavepressure
Link

Hyperdynamics

rare-events

Global and local hyperdynamics of diffusion on Pt surface. Accelerated dynamics methods.

hyperdynamicsdiffusionplatinumsurface
Link

Nanoindentation

mechanics

Nanoindentation simulations for mechanical testing. Models tip-sample interactions and hardness.

indentnanoindentationmechanicalhardness
Link

OpenKIM Repository

potentials

Use of potentials from the OpenKIM Repository. Standardized interatomic models.

kimopenkimrepositorypotentials
Link

Monte Carlo Features

monte-carlo

Monte Carlo features via fix gcmc, widom and other commands. Grand canonical and insertion methods.

monte-carlogcmcwidominsertion
Link

MDI Code Coupling

coupling

Use of the MDI package and MolSSI MDI code coupling library. Multi-code simulations.

mdicouplingmolssimulti-code
Link

MEAM Potential

materials

Modified Embedded Atom Method (MEAM) for metals and alloys. Advanced many-body potential for metallurgy.

meammetalsalloysembedded-atom
Link

MEAM Multi-State

materials

Multi-state MEAM potential examples. Advanced metallurgical modeling.

meammulti-statemetallurgyadvanced
Link

Melting Simulations

phase-transitions

Melting and crystallization processes. Studies phase transitions and nucleation.

meltcrystallizationphase-transitionnucleation
Link

Mesh Operations

geometry

Mesh-based operations and geometry handling. Complex geometric structures.

meshgeometrystructurescomplex
Link

Micelle Formation

soft-matter

Self-assembly of surfactants into micelles. Models amphiphilic systems and aggregation.

micellesurfactantself-assemblyamphiphilic
Link

Energy Minimization

optimization

Energy minimization techniques and algorithms. Essential for structure optimization.

minimizationoptimizationenergystructure
Link

Machine Learning IAP

machine-learning

Machine learning interatomic potentials. Modern ML-based force fields and training.

mliapmachine-learninginteratomicpotential
Link

MLIAP JAX

machine-learning

JAX-based machine learning interatomic potentials. Modern ML framework integration.

mliapjaxmachine-learningframework
Link

MSST Shock Dynamics

shock

Multi-Scale Shock Technique (MSST) shock dynamics. Alternative shock wave method.

msstshockdynamicsmulti-scale
Link

Multi-scale Methods

multi-scale

Multi-scale modeling techniques combining different levels of theory. Bridges length and time scales.

multi-scalecouplinghierarchybridge
Link

Non-bonded 3-body

many-body

Use of non-bonded 3-body harmonic pair style. Three-body interactions without bonds.

non-bondedthree-bodyharmonicinteractions
Link

Nudged Elastic Band

transitions

Nudged Elastic Band (NEB) method for transition state finding. Studies reaction pathways and barriers.

nebtransitionpathwaybarrier
Link

Non-equilibrium MD

transport

Non-equilibrium MD of 2d sheared system. Transport properties and flow studies.

nemdnon-equilibriumsheartransport
Link

Numerical Differentiation

analysis

Numerical differentiation methods. Force calculation and verification techniques.

numdiffnumericaldifferentiationforce
Link

Flow Around Obstacles

fluid

Flow around two voids in a 2d channel. Fluid dynamics with complex geometries.

obstacleflowvoidschannel
Link

Peridynamics

continuum

Peridynamics method for continuum mechanics with fracture. Non-local continuum theory.

peridynamicscontinuumfracturenon-local
Link

Peptide Dynamics

biological

Protein and peptide molecular dynamics simulations. Studies biomolecular structure and dynamics.

peptideproteinbiomoleculardynamics
Link

Particle Pouring

granular

Particle pouring and packing simulations. Studies granular flow and jamming transitions.

pourpackinggranularflow
Link

Parallel Replica Dynamics

rare-events

Parallel Replica Dynamics for rare event simulations. Accelerates long-timescale processes.

prdrare-eventsparallelacceleration
Link

Embedded Python

scripting

Using embedded Python in a LAMMPS input script. Scripting and automation.

pythonembeddedscriptingautomation
Link

Charge Equilibration

electrostatics

Charge equilibration (QEq) methods for dynamic charges. Models charge transfer and polarization.

qeqchargeequilibrationtransfer
Link

ReaxFF Potential

reactive

Reactive Force Field (ReaxFF) for chemical reactions. Models bond breaking/forming and chemistry.

reaxffreactivechemistrybonds
Link

Radial/Angular Distribution

analysis

Computing radial and angle distribution functions for water. Structural analysis methods.

rdfadfdistributionwater
Link

Relative Resolution

integration

Relative resolution integration methods. Advanced time integration techniques.

relresrelativeresolutionintegration
Link

Replicate Command

utility

Examples for the replicate command. System replication and scaling.

replicatescalingreplicationsystem
Link

Rerun and Read Dump

analysis

Use of rerun and read_dump commands. Post-processing and trajectory analysis.

rerunread_dumppost-processingtrajectory
Link

Rigid Body Constraints

constraints

Rigid body dynamics and constraints. Maintains rigid molecular structures during simulation.

rigidconstraintsmolecularstructure
Link

Shear Deformation

mechanics

Shear deformation and mechanical testing. Studies plastic flow and mechanical properties.

sheardeformationplasticmechanical
Link

SNAP Potential

machine-learning

Spectral Neighbor Analysis Potential (SNAP) machine learning potential. Modern ML-based interatomic potential.

snapmachine-learningpotentialspectral
Link

Stochastic Rotation Dynamics

mesoscale

Stochastic Rotation Dynamics (SRD) for mesoscale hydrodynamics. Couples particles with fluid.

srdstochasticrotationhydrodynamics
Link

Steinhardt Order Parameters

analysis

Steinhardt order parameters for crystal structure analysis. Local structure identification.

steinhardtorder-parameterscrystalstructure
Link

Streitz/Mintmire Potential

electrostatics

Use of Streitz/Mintmire potential with charge equilibration. Variable charge methods.

streitzmintmirechargeequilibration
Link

Stress Profile Analysis

analysis

Removing binned rigid body motion from binned stress profile. Advanced stress analysis.

stressprofilevcmrigid-body
Link

Temperature Accelerated Dynamics

rare-events

Temperature Accelerated Dynamics (TAD) for rare events. Boost method for long-timescale processes.

tadtemperatureacceleratedrare-events
Link

Template Examples

utility

Template-based molecular systems. Molecular construction and templating.

templatemolecularconstructionhybrid
Link

Tersoff Potential

covalent

Tersoff potential for covalent systems like silicon and carbon. Many-body bond-order potential.

tersoffcovalentsiliconcarbon
Link

Three-body Potentials

many-body

Three-body potentials including Stillinger-Weber and Vashishta. Captures angular dependencies.

three-bodystillinger-webervashishtaangular
Link

Interaction Tracking

analysis

Track interactions in LJ melt. Monitor particle interactions and dynamics.

trackerinteractionsljmelt
Link

Triclinic Cells

crystallography

Simulations in triclinic unit cells with arbitrary lattice vectors. Handles complex crystal structures.

tricliniccrystallatticeunit-cell
Link

Two-Temperature Model

thermodynamics

Two-temperature model for electron-phonon coupling. Metal heating and thermal transport.

ttmtwo-temperatureelectron-phononmetal
Link

Vashishta Potential

materials

Vashishta potential for ceramics and semiconductors. Three-body potential for complex materials.

vashishtaceramicssemiconductorsthree-body
Link

Voronoi Tesselation

analysis

Voronoi tesselation via compute voronoi/atom command. Spatial analysis and structure.

voronoitesselationspatialanalysis
Link

Wall Interactions

boundaries

Wall interactions and boundary conditions. Various wall types and interactions.

wallboundariesinteractionssphere
Link

YAML Configuration

utility

YAML-based configuration examples. Modern configuration and input formats.

yamlconfigurationinputformat
Link

LAMMPS as Library

coupling

Examples of how to use LAMMPS as a library. Integration with other codes and applications.

librarycouplingintegrationapi
Link

Diffusion Coefficients

transport

Compute diffusion coefficients via several methods. Transport property calculations.

diffusiontransportmsdgreen-kubo
Link

Elastic Constants

materials

Calculate elastic constants and mechanical properties. Essential for materials characterization.

elasticconstantsmechanicalproperties
Link

Thermal Conductivity (eHEX)

transport

Compute thermal conductivity for LJ and water via fix ehex. Heat transport methods.

thermalconductivityehexheat
Link

Thermal Conductivity Methods

transport

Compute thermal conductivity via several methods. Comprehensive heat transport analysis.

kappathermalconductivitynemd
Link

Monte Carlo Loop

monte-carlo

Using LAMMPS in a Monte Carlo mode to relax the energy of a system in a input script loop.

monte-carloloopenergyrelaxation
Link

QUANTUM: LATTE

quantum

LATTE quantum code integration examples. Density functional tight-binding calculations.

quantumlattedftbtight-binding
Link

QUANTUM: PySCF

quantum

PySCF quantum code integration examples. Python-based quantum chemistry calculations.

quantumpyscfpythonqmmm
Link

QUANTUM: NWChem

quantum

NWChem quantum code integration examples. High-performance computational chemistry.

quantumnwchemcomputational-chemistryqmmm
Link

SPIN: Iron Magnetic Systems

magnetic

Spin dynamics in iron systems. Magnetic behavior of iron lattices.

spinironmagneticdynamics
Link

SPIN: Nickel Magnetic Systems

magnetic

Spin dynamics in nickel systems. Magnetic properties of nickel lattices.

spinnickelmagneticdynamics
Link

SPIN: BiFeO3 Multiferroic

magnetic

Spin dynamics in bismuth ferrite (BiFeO3). Multiferroic material properties.

spinbfomultiferroicbismuth
Link

SPIN: Cobalt FCC

magnetic

Spin dynamics in cobalt FCC structure. Face-centered cubic cobalt magnetism.

spincobaltfccmagnetic
Link

SPIN: Cobalt HCP

magnetic

Spin dynamics in cobalt HCP structure. Hexagonal close-packed cobalt magnetism.

spincobalthcpmagnetic
Link

Unit System Comparisons

units

Examples that run the same simulation in lj, real, metal units. Unit system demonstrations.

unitsljrealmetal
Link

Viscosity Calculations

transport

Compute viscosity via several methods. Comprehensive viscosity analysis techniques.

viscositytransportnemdgreen-kubo
Link

RHEO Poiseuille Flow

fluid

RHEO Poiseuille flow simulation. Channel flow using smoothed particle hydrodynamics.

rheopoiseuilleflowsph
Link

RHEO Oxidation

reactive

RHEO oxidation process simulation. Reactive fluid dynamics.

rheooxidationreactivefluid
Link

RHEO Ice Cubes

phase-transitions

RHEO ice cubes melting simulation. Phase change dynamics.

rheoicemeltingphase-change
Link

RHEO Taylor-Green Vortex

fluid

RHEO Taylor-Green vortex simulation. Turbulence and vorticity dynamics.

rheotaylor-greenvortexturbulence
Link

RHEO Balloon

soft-matter

RHEO balloon inflation simulation. Membrane mechanics and deformation.

rheoballoonmembraneinflation
Link

RHEO Dam Break

fluid

RHEO dam break simulation. Free surface flow dynamics.

rheodam-breakfree-surfaceflow
Link

PACKAGES: Add Torque

torque

Package example for addtorque functionality. Apply torques to particles.

packagesaddtorquetorquerotation
Link

PACKAGES: AGNI Neural Network

machine-learning

AGNI neural network potential examples. Machine learning interatomic potentials.

packagesagnineural-networkmachine-learning
Link

PACKAGES: Alchemy

free-energy

Alchemy package for free energy calculations. Thermodynamic integration methods.

packagesalchemyfree-energythermodynamic
Link

PACKAGES: ATC Thermal

multiscale

ATC thermal coupling examples. Heat transfer between atomistic and continuum regions.

packagesatcthermalheat-transfer
Link

PACKAGES: ATC Elastic

multiscale

ATC elastic coupling examples. Mechanical coupling between atomistic and continuum regions.

packagesatcelasticmechanical
Link

PACKAGES: ATC Hardy

multiscale

ATC Hardy stress calculations. Hardy stress formulation for multiscale coupling.

packagesatchardystress
Link

PACKAGES: ATC Fluids

multiscale

ATC fluid coupling examples. Fluid dynamics with atomistic-continuum coupling.

packagesatcfluidshydrodynamics
Link

PACKAGES: ATC Two Temperature

multiscale

ATC two-temperature model examples. Electron-phonon coupling with continuum regions.

packagesatctwo-temperatureelectron-phonon
Link

PACKAGES: oxDNA (Real Units)

biological

oxDNA coarse-grained DNA model examples in real units. Basic DNA duplex simulations.

packagescgdnaoxdnadna
Link

PACKAGES: oxDNA2 (Real Units)

biological

oxDNA2 improved coarse-grained DNA model in real units. Advanced DNA simulations.

packagescgdnaoxdna2dna
Link

PACKAGES: oxRNA2 (Real Units)

biological

oxRNA2 coarse-grained RNA model in real units. RNA duplex simulations.

packagescgdnaoxrna2rna
Link

PACKAGES: oxDNA (LJ Units)

biological

oxDNA coarse-grained DNA model examples in LJ units. Reduced unit simulations.

packagescgdnaoxdnadna
Link

PACKAGES: oxDNA2 (LJ Units)

biological

oxDNA2 improved coarse-grained DNA model in LJ units. Reduced unit simulations.

packagescgdnaoxdna2dna
Link

PACKAGES: oxRNA2 (LJ Units)

biological

oxRNA2 coarse-grained RNA model in LJ units. RNA duplex simulations.

packagescgdnaoxrna2rna
Link

PACKAGES: Collective Variables

enhanced-sampling

Collective variables package for enhanced sampling. Biased molecular dynamics.

packagescolvarscollective-variablesenhanced-sampling
Link

PACKAGES: Drude Oscillators

polarizable

Drude oscillator model for polarizable force fields. Electronic polarization effects.

packagesdrudepolarizableoscillators
Link

PACKAGES: Electron Force Field

quantum

Electron Force Field (eFF) for quantum effects. Electronic degrees of freedom.

packageseffelectronquantum
Link

PACKAGES: Electrode

electrostatics

Electrode package for electrochemical simulations. Constant potential methods.

packageselectrodeelectrochemicalconstant-potential
Link

PACKAGES: Free Energy Perturbation

free-energy

Free Energy Perturbation (FEP) package. Thermodynamic cycle calculations.

packagesfepfree-energyperturbation
Link

PACKAGES: High-Dimensional Neural Network

machine-learning

High-dimensional neural network potentials. Advanced ML interatomic potentials.

packageshdnnpneural-networkmachine-learning
Link

PACKAGES: Phonon

analysis

Phonon calculation package. Vibrational properties and lattice dynamics.

packagesphononvibrationallattice-dynamics
Link

PACKAGES: Path Integral MD

quantum

Path Integral Molecular Dynamics. Quantum nuclear effects and tunneling.

packagespimdpath-integralquantum
Link

PACKAGES: PLUMED

enhanced-sampling

PLUMED integration for enhanced sampling. Metadynamics and collective variables.

packagesplumedenhanced-samplingmetadynamics
Link

PACKAGES: Quantum Thermal Bath

quantum

Quantum Thermal Bath methods. Quantum effects in thermostats.

packagesqtbquantumthermal-bath
Link

PACKAGES: Reaction

reactive

Reaction package for bond breaking/forming. Dynamic bond topology changes.

packagesreactionbondstopology
Link

PACKAGES: ReaxFF CHO

reactive

ReaxFF CHO system examples. Carbon-hydrogen-oxygen reactive chemistry.

packagesreaxffchocarbon
Link

PACKAGES: ReaxFF RDX

reactive

ReaxFF RDX explosive examples. Reactive dynamics of explosive materials.

packagesreaxffrdxexplosive
Link

PACKAGES: ReaxFF Water

reactive

ReaxFF water system examples. Reactive water chemistry and dissociation.

packagesreaxffwaterdissociation
Link

PACKAGES: ReaxFF ZnOH2

reactive

ReaxFF zinc hydroxide examples. Metal-oxide reactive chemistry.

packagesreaxffzinchydroxide
Link