Fiveable

🔬Biophysics Unit 13 Review

QR code for Biophysics practice questions

13.1 Principles of molecular dynamics simulations

13.1 Principles of molecular dynamics simulations

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🔬Biophysics
Unit & Topic Study Guides

Molecular dynamics simulations in biophysics

Molecular dynamics (MD) simulations track the motion of atoms and molecules over time using classical mechanics. They let you observe atomic-level details of biomolecular processes that are often inaccessible to experiments alone, such as the rapid conformational changes of a protein or the precise way a drug molecule slots into a binding pocket.

Fundamental concepts and applications

MD simulations compute the forces on every atom in a system at each moment, then update positions and velocities to produce a movie of molecular motion. This approach reveals the dynamic behavior, conformational changes, and interactions of biomolecules like proteins (e.g., hemoglobin undergoing oxygen-induced structural shifts), nucleic acids (e.g., DNA bending and unwinding), and lipids (e.g., phospholipid bilayer reorganization).

Common applications include:

  • Protein folding: Watching how an unfolded polypeptide chain reaches its native structure
  • Ligand binding: Modeling how a drug molecule approaches and docks into a protein's active site
  • Membrane dynamics: Studying lipid bilayer fluidity, permeability, and interactions with membrane proteins
  • Biomolecular recognition: Simulating antibody-antigen binding to understand specificity

MD complements experimental techniques like X-ray crystallography and cryo-EM by filling in the time-resolved, atomic-resolution picture that static structures can't provide.

Accuracy and limitations

The reliability of an MD simulation hinges on two things: the force field (the mathematical model describing how atoms interact) and the sampling (whether the simulation runs long enough to explore the relevant conformational states).

Force fields approximate the potential energy of a system using parameters fitted to experimental data and quantum mechanical calculations. They're good approximations, but they are approximations. No force field perfectly captures every interaction, and small inaccuracies can compound over long simulations.

Sampling is equally critical. If the simulation doesn't run long enough or doesn't explore enough of the conformational landscape, you'll get an incomplete or biased picture of the system's behavior.

Key practical limits:

  • Timescale: Most simulations reach nanoseconds to microseconds; many biological processes are slower
  • System size: Atomistic detail is computationally expensive, limiting you to thousands to millions of atoms
  • Force field accuracy: Approximations may miss subtle quantum effects or polarization

Newton's equations for molecular systems

Integration of equations of motion

At its core, MD is built on Newton's second law:

F=maF = ma

where FF is the force on an atom, mm is its mass, and aa is its acceleration. For every atom in the system, the simulation calculates the net force at each time step, then uses that force to update the atom's position and velocity.

The forces come from a potential energy function (the force field), which includes:

  • Bonded terms: bond stretching, angle bending, torsional (dihedral) rotation
  • Non-bonded terms: van der Waals interactions and electrostatic (Coulombic) interactions

The force on atom ii is the negative gradient of the potential energy:

Fi=iUF_i = -\nabla_i U

Since these equations can't be solved analytically for many-body systems, they're integrated numerically. Here's how a typical integration step works:

  1. Calculate the forces on all atoms from the current positions using the force field
  2. Use an integration algorithm (Verlet or leapfrog) to compute new positions and velocities a small time step Δt\Delta t into the future
  3. Repeat for the next time step

The time step Δt\Delta t must be small enough to capture the fastest motions in the system. Bond vibrations (especially those involving hydrogen) oscillate on the femtosecond scale, so Δt\Delta t is typically 1–2 femtoseconds (101510^{-15} s). Using a larger time step risks numerical instability and energy drift. Constraint algorithms like SHAKE or LINCS, which fix bond lengths involving hydrogen, allow slightly larger time steps.

Generating trajectories

Integrating the equations of motion over many time steps produces a trajectory: a record of every atom's position and velocity at each saved frame. This trajectory is the raw data you analyze.

From trajectories, you can extract:

  • Average structures and root-mean-square deviations (RMSD)
  • Conformational fluctuations (B-factors, RMSF)
  • Hydrogen bonding patterns and their lifetimes
  • Free energy landscapes along chosen reaction coordinates

Molecular graphics tools like VMD and PyMOL let you visualize trajectories, making it much easier to spot conformational changes, binding events, or structural rearrangements.

A single trajectory may not be enough. Complex systems with rugged energy landscapes or slow relaxation processes often require multiple independent simulations starting from different initial conditions. Comparing these runs helps you assess whether your results have converged or whether you're stuck in a local energy minimum.

Fundamental concepts and applications, Frontiers | Bridging Molecular Docking to Molecular Dynamics in Exploring Ligand-Protein ...

Ensembles and boundary conditions in simulations

Thermodynamic ensembles

A thermodynamic ensemble specifies which macroscopic variables are held constant during a simulation. The choice of ensemble determines what physical situation you're modeling.

The three most common ensembles in MD:

  • Microcanonical (NVE): Constant number of particles (N), volume (V), and total energy (E). The system is completely isolated. Useful for testing energy conservation in your simulation setup, but rarely matches real experimental conditions.
  • Canonical (NVT): Constant N, V, and temperature (T). Models a system in thermal contact with a heat bath. Good for studying temperature-dependent properties at fixed volume.
  • Isothermal-isobaric (NPT): Constant N, pressure (P), and T. This is the most common choice for biomolecular simulations because it matches typical lab conditions (constant temperature and atmospheric pressure) and allows the simulation box volume to fluctuate naturally.

To maintain constant temperature or pressure, the simulation uses coupling algorithms:

  • Thermostats (e.g., Nosé-Hoover, Berendsen, velocity rescaling) modify atomic velocities to regulate temperature
  • Barostats (e.g., Parrinello-Rahman, Berendsen) adjust the simulation box dimensions to regulate pressure

The Berendsen thermostat and barostat are popular for equilibration because they converge quickly, but they don't produce the correct statistical ensemble. For production runs where you need proper thermodynamic sampling, Nosé-Hoover (thermostat) and Parrinello-Rahman (barostat) are preferred.

Boundary conditions

Boundary conditions define what happens when an atom reaches the edge of the simulation box.

Periodic boundary conditions (PBCs) are by far the most common. The simulation box is replicated infinitely in all three dimensions, so an atom leaving one side re-enters from the opposite side. This effectively eliminates surface artifacts and mimics a bulk environment, which is what you want for solvated biomolecular systems.

One thing to watch: the simulation box must be large enough that a molecule doesn't interact with its own periodic image. If the box is too small, you introduce artificial self-interactions.

Other boundary conditions include:

  • Vacuum: No replication; atoms beyond the box edge experience no interactions. Suitable for simulating isolated molecules in gas phase.
  • Fixed boundaries: Atoms near the edges are restrained in place. Sometimes used in multiscale or membrane simulations.

For most biomolecular MD work, PBCs with explicit solvent (water molecules filling the box) are the standard setup.

Limitations of molecular dynamics simulations

Timescale and system size limitations

MD simulations are computationally demanding. Even on modern hardware, conventional all-atom simulations typically reach nanoseconds to low microseconds. Many biologically important processes happen on much longer timescales:

  • Protein folding: microseconds to seconds
  • Large conformational changes: microseconds to milliseconds
  • Drug unbinding: often milliseconds or longer

To bridge this gap, researchers use enhanced sampling techniques that accelerate the exploration of conformational space:

  • Metadynamics: Adds a history-dependent bias potential to discourage the system from revisiting already-sampled states
  • Umbrella sampling: Applies restraining potentials along a reaction coordinate, then combines the results to reconstruct the free energy profile
  • Replica exchange MD (REMD): Runs multiple copies of the system at different temperatures and periodically swaps configurations between them

System size is another bottleneck. A solvated protein might contain 50,000–500,000 atoms. Simulating an entire organelle or cell at atomistic resolution remains out of reach.

Coarse-grained (CG) models address both limitations by grouping several atoms into a single interaction site. For example, the MARTINI force field represents roughly four heavy atoms as one CG bead. This dramatically reduces the number of particles and allows larger time steps, extending accessible timescales and system sizes by orders of magnitude. The trade-off is reduced spatial resolution and the loss of atomistic detail.

Accuracy and sampling challenges

Force fields are parameterized against experimental data and quantum mechanical calculations for relatively small molecules and specific conditions. Their transferability to different systems, solvents, or thermodynamic conditions is not guaranteed. For instance, a force field optimized for folded proteins may perform poorly for intrinsically disordered proteins.

Specific accuracy concerns include:

  • Missing quantum effects: Classical MD doesn't capture bond breaking/forming, proton tunneling, or electronic polarization (though polarizable force fields are an active area of development)
  • Parameter limitations: Torsional parameters, partial charges, and Lennard-Jones parameters all carry uncertainties that propagate through the simulation
  • Water models: Different water models (TIP3P, SPC/E, TIP4P) give different bulk properties, and the choice of water model can noticeably affect simulation results

Sampling remains one of the hardest challenges. The conformational energy landscape of a biomolecule is high-dimensional and rugged, full of local minima separated by energy barriers. A simulation can get trapped in one basin and never explore other relevant states, leading to biased results.

To assess whether your simulation has converged, you should:

  1. Run multiple independent simulations from different starting configurations
  2. Monitor properties like RMSD, radius of gyration, or energy over time to check for plateaus
  3. Use statistical tools such as block averaging or autocorrelation analysis to estimate uncertainties
  4. Apply dimensionality reduction methods (principal component analysis) or kinetic models (Markov state models) to characterize the sampled landscape

Careful validation against experimental observables (NMR chemical shifts, SAXS profiles, thermodynamic data) is essential for building confidence in simulation results.