Molecular Dynamics Simulations: Tracking Atoms in Motion

Updated June 2026
Molecular dynamics (MD) simulation is a computational method that models the physical movements of atoms and molecules by numerically integrating Newton equations of motion. Each atom is treated as a classical particle subject to forces from all other atoms, and the simulation tracks the position and velocity of every particle through time. MD reveals how proteins fold, how materials fracture, how liquids flow at the nanoscale, and how chemical reactions proceed at the atomic level.

The Principles of Molecular Dynamics

At its core, molecular dynamics applies classical mechanics to atoms. Each atom has a mass, position, and velocity. At each time step, the force on every atom is computed from the interactions with all other atoms in the system. These forces are then used to update the velocities and positions according to Newton second law: force equals mass times acceleration. The process repeats for millions or billions of time steps, tracing the trajectory of every atom through time.

The time step in a typical MD simulation is on the order of one femtosecond (10 to the minus 15 seconds), because the fastest atomic vibrations (hydrogen bond stretching) have periods of about 10 femtoseconds, and the time step must be small enough to resolve these oscillations accurately. To simulate biologically relevant timescales of microseconds or milliseconds, a simulation requires billions to trillions of time steps, which is why MD remains computationally intensive despite decades of hardware improvements.

The Verlet algorithm and its velocity variant are the standard integration methods for MD. They are time-reversible and symplectic, meaning they conserve energy over long simulations much better than general-purpose ODE solvers like Runge-Kutta methods. This property is critical because MD simulations must preserve the total energy of the system to produce physically meaningful trajectories and correct thermodynamic properties.

Force Fields and Interatomic Potentials

The accuracy of an MD simulation depends entirely on the quality of the force field, the mathematical model describing how atoms interact. A force field specifies the functional forms and parameters for all types of interactions in the system: bond stretching, angle bending, dihedral torsion, van der Waals interactions, and electrostatic interactions.

For biomolecular simulations, force fields like AMBER, CHARMM, GROMOS, and OPLS have been developed and refined over decades. These force fields model proteins, nucleic acids, lipids, and carbohydrates using bonded terms (springs for bonds and angles, periodic functions for dihedrals) and non-bonded terms (Lennard-Jones potentials for van der Waals interactions, Coulomb law for electrostatics). Parameters are fitted to reproduce experimental data (crystal structures, vibrational spectra, thermodynamic properties) and quantum mechanical calculations.

For materials science, embedded atom method (EAM) potentials model metallic bonding by accounting for the local electron density around each atom. Tersoff and Brenner potentials model covalent materials like silicon and carbon. The ReaxFF reactive force field allows bonds to form and break during the simulation, enabling the study of chemical reactions, combustion, and catalysis at scales beyond the reach of quantum mechanical methods.

Machine learning potentials represent a rapidly advancing frontier. Neural network potentials trained on quantum mechanical calculations can achieve near-quantum accuracy at a fraction of the computational cost. Approaches like DeepMD, ANI, and MACE fit flexible neural network models to density functional theory data, enabling MD simulations of complex systems with accuracy approaching first-principles methods.

Thermodynamic Ensembles

The basic MD algorithm conserves the total energy of the system, corresponding to the microcanonical (NVE) ensemble of statistical mechanics: constant number of particles, volume, and energy. Most experiments, however, occur at constant temperature or constant pressure, not constant energy.

Thermostats maintain constant temperature by modifying the equations of motion. The Nose-Hoover thermostat adds a fictitious degree of freedom that acts as a heat reservoir, absorbing or supplying energy to keep the average kinetic energy (and thus temperature) at the target value. The Langevin thermostat adds random forces and friction to each particle, simulating the effect of a thermal bath. The Berendsen thermostat rescales velocities to approach the target temperature, though it does not produce a rigorous canonical ensemble.

Barostats maintain constant pressure by adjusting the simulation box volume. The Parrinello-Rahman barostat allows the box shape to change, enabling the study of phase transitions and crystal deformations under pressure. The Berendsen barostat rescales the box dimensions toward the target pressure. Combined thermostat-barostat methods simulate the NPT ensemble (constant number, pressure, and temperature), which most closely corresponds to typical laboratory conditions.

Analysis of MD Trajectories

The raw output of an MD simulation is a trajectory: the positions and velocities of all atoms at each saved time step. Extracting meaningful scientific information from this trajectory requires statistical analysis.

Structural properties include the radial distribution function (which reveals the local structure of liquids), root-mean-square deviation (which measures how far a protein has moved from its initial structure), and hydrogen bond analysis (which maps the network of hydrogen bonds in water or biomolecules).

Dynamic properties include the mean square displacement (from which diffusion coefficients are computed), velocity autocorrelation functions (which reveal vibrational spectra), and correlation times (which measure how quickly the system loses memory of its initial state).

Thermodynamic properties like free energies, binding affinities, and phase equilibria cannot be computed from a single MD trajectory. Specialized methods like thermodynamic integration, free energy perturbation, and metadynamics sample the relevant thermodynamic space efficiently. These methods are essential for drug design (computing how tightly a drug molecule binds to a protein target) and materials design (predicting phase diagrams).

Applications and Scale

Protein folding and function are among the most celebrated applications of MD. Simulations of millisecond-scale protein folding on the Anton supercomputer (a special-purpose machine designed specifically for MD) demonstrated that MD can capture the complete folding pathway of small proteins. Longer simulations reveal how proteins move, flex, and interact with other molecules, providing insights into enzyme mechanisms, drug binding, and disease-causing mutations.

Materials under extreme conditions are studied using MD when experiments are impractical. Shock waves in metals, fracture propagation in ceramics, and deformation of nanostructures are all investigated computationally. MD simulations of radiation damage in nuclear reactor materials track how energetic particles displace atoms from crystal lattice sites, creating defects that accumulate and degrade material properties.

Soft matter and polymers including lipid membranes, polymer melts, and colloidal suspensions are natural applications of MD. Coarse-grained models, which group several atoms into a single interaction site, extend the accessible length and time scales by orders of magnitude, enabling simulations of entire cell membranes, polymer networks, and self-assembling nanostructures.

Key Takeaway

Molecular dynamics simulations provide a computational microscope for observing atomic motion, and their accuracy depends critically on the quality of the force field describing interatomic interactions.