1Potential energy surfaces and force fields
The Born–Oppenheimer picture, forces as gradients, pair potentials, the anatomy of a classical force field, and why their limits motivate machine-learned potentials.
Atoms move on a landscape
Almost every atomistic simulation, classical or machine-learned, rests on one approximation. Nuclei are thousands of times heavier than electrons, so on the timescale of nuclear motion the electrons relax instantly to their ground state. This Born–Oppenheimer approximation separates the problem: for each fixed arrangement of nuclei , solving the electronic Schrödinger equation gives one number, the energy . As the nuclei move, that number traces out a -dimensional landscape, the potential energy surface (PES).
The force on atom is the downhill slope of the landscape:
Everything else follows from . Minima are stable structures: molecules, crystals, adsorption geometries. First-order saddle points connect minima and are transition states; their height sets reaction rates. The curvature at a minimum, the Hessian , gives vibrational frequencies and phonons. Molecular dynamics moves the atoms across the surface under these forces.
Computing from quantum mechanics, typically with density functional theory (DFT), is accurate but expensive: the cost grows roughly as with the number of electrons, which limits routine DFT molecular dynamics to a few hundred atoms for tens of picoseconds. A force field or interatomic potential replaces the quantum calculation with a cheap analytic function of the positions. This lesson is about the classical forms; the lesson on interatomic potentials replaces them with machine-learned ones.
Pair potentials
The simplest model assumes the energy is a sum over pairs that depends only on distance, . The force between a pair is then directed along the line joining them, with magnitude .
Lennard-Jones. For closed-shell atoms such as argon,
The attraction has a physical origin: it is the London dispersion interaction between fluctuating dipoles. The repulsion, standing in for Pauli repulsion between overlapping electron clouds, was chosen mainly because it is the square of and cheap to compute; the true repulsion is closer to exponential. The minimum lies at with depth , and the potential crosses zero at .
Morse. For a chemical bond that can dissociate,
with dissociation energy , equilibrium length and width parameter . Unlike a spring, it levels off at large : bonds break.
Energy, force and the harmonic approximation
Loading the interactive figure…
In the lab, notice three things. The force is zero exactly at the energy minimum and largest in magnitude where the energy curve is steepest. Repulsion at short range is far steeper than attraction at long range. And the harmonic approximation (dashed) is good only near the minimum: real bonds are anharmonic, softer when stretched and stiffer when compressed, which is why thermal expansion exists.
The harmonic approximation and vibrations
Expanding any potential to second order about its minimum gives a spring,
and a diatomic of reduced mass vibrates with angular frequency , usually quoted as a wavenumber . For the Morse potential, . The H₂ parameters in the lab give about 4400 cm⁻¹, close to the measured harmonic frequency; the C–H bond gives about 2900 cm⁻¹, the familiar C–H stretch region of an infrared spectrum. These numbers matter for simulation: the fastest vibration in a system sets the largest stable time step (the molecular dynamics lesson).
Anatomy of a classical force field
Biomolecular and soft-matter force fields such as AMBER, CHARMM, OPLS-AA and GROMOS write the energy as a sum of simple terms:
The first line, the bonded terms, holds the covalent skeleton together. The second, the non-bonded terms, acts between all atoms not closely bonded: van der Waals interactions and electrostatics between fixed partial charges. Parameters for unlike pairs usually come from combining rules, for example Lorentz–Berthelot: , .
Every parameter is fitted, to quantum-chemical calculations (geometries, torsion scans, electrostatic potentials) and to experiments (densities, heats of vaporisation, hydration free energies). A force field is therefore a model with a domain of validity, and it can fail outside it. Two failures recur.
- Fixed charges cannot polarise. A molecule next to a metal surface or an ion has its electron density distorted; fixed point charges cannot respond. Polarisable force fields add induced dipoles or Drude oscillators, at a cost. For gold surfaces, for example, the GolP-CHARMM force field adds a mobile image charge to every gold atom.
- Combining rules are approximations. In concentrated solutions, the default cross-interactions between unlike groups can be wrong enough to cause artificial aggregation. Pair-specific corrections (NBFIX in CHARMM) are fitted to experimental osmotic coefficients to fix them.
Other material classes need other functional forms. Metals are poorly described by pair potentials because metallic bonding depends on the local electron density; the embedded-atom method (EAM) adds a many-body embedding term for each atom. Covalent solids such as silicon need angle-dependent terms (Stillinger–Weber, Tersoff). Reactive force fields such as ReaxFF let bond orders change continuously so that bonds can form and break.
In practice
Check any potential you implement against a finite-difference derivative. For Lennard-Jones argon:
import numpy as np
eps, sig = 0.997, 3.405 # argon: kJ/mol, Å
def U(r): # Lennard-Jones energy
s6 = (sig / r) ** 6
return 4 * eps * (s6 * s6 - s6)
def F(r): # force = -dU/dr (positive = repulsive)
s6 = (sig / r) ** 6
return 24 * eps * (2 * s6 * s6 - s6) / r
r = np.linspace(3.2, 8.0, 2001)
rmin = r[np.argmin(U(r))]
print(f"minimum at r = {rmin:.3f} Å (2^(1/6) σ = {2**(1/6)*sig:.3f} Å)")
print(f"U(rmin) = {U(rmin):.3f} kJ/mol (= -ε)")
h = 1e-5 # check the analytic force by finite differences
print(f"F(4.0) analytic {F(4.0):.6f}, numerical {-(U(4.0+h)-U(4.0-h))/(2*h):.6f}")
minimum at r = 3.822 Å (2^(1/6) σ = 3.822 Å)
U(rmin) = -0.997 kJ/mol (= -ε)
F(4.0) analytic -0.544033, numerical -0.544033
Check yourself
- At the minimum of a pair potential, what is the force between the two atoms?Force is the negative derivative of the energy, and the derivative vanishes at a minimum. The largest attractive force occurs further out, at the inflection point of the curve.
- Where is the minimum of the Lennard-Jones potential?Setting gives , so . At the potential is zero, not minimal.
- Why do classical fixed-charge force fields struggle to describe a molecule adsorbing on a metal surface?A conductor screens nearby charges through induced image charges. Fixed point charges have no way to respond; polarisable models such as Drude oscillators or image-charge schemes add that physics.
- The harmonic frequency of a bond is . Replacing H by D roughly doubles the reduced mass of an X–H bond with a heavy X. What happens to the vibrational frequency?The Born–Oppenheimer surface, and so , is unchanged by isotopic substitution, but . An X–H stretch near 2900 cm⁻¹ moves to about 2100 cm⁻¹ for X–D.
References and further reading
- M. Born and R. Oppenheimer, “Zur Quantentheorie der Molekeln,” Annalen der Physik 389, 457–484 (1927).
- J. E. Lennard-Jones, “On the determination of molecular fields. II. From the equation of state of a gas,” Proceedings of the Royal Society A 106, 463–477 (1924).
- P. M. Morse, “Diatomic molecules according to the wave mechanics. II. Vibrational levels,” Physical Review 34, 57–64 (1929).
- A. R. Leach, Molecular Modelling: Principles and Applications, 2nd ed., Pearson (2001), chapter 4 (empirical force field models).
- M. P. Allen and D. J. Tildesley, Computer Simulation of Liquids, 2nd ed., Oxford University Press (2017), chapter 1.
- W. D. Cornell, P. Cieplak, C. I. Bayly, I. R. Gould, K. M. Merz, D. M. Ferguson, D. C. Spellmeyer, T. Fox, J. W. Caldwell and P. A. Kollman, “A second generation force field for the simulation of proteins, nucleic acids, and organic molecules,” Journal of the American Chemical Society 117, 5179–5197 (1995).
- A. D. MacKerell Jr. et al., “All-atom empirical potential for molecular modeling and dynamics studies of proteins,” Journal of Physical Chemistry B 102, 3586–3616 (1998).
- W. L. Jorgensen, D. S. Maxwell and J. Tirado-Rives, “Development and testing of the OPLS all-atom force field on conformational energetics and properties of organic liquids,” Journal of the American Chemical Society 118, 11225–11236 (1996).
- M. S. Daw and M. I. Baskes, “Embedded-atom method: derivation and application to impurities, surfaces, and other defects in metals,” Physical Review B 29, 6443–6453 (1984).
- A. C. T. van Duin, S. Dasgupta, F. Lorant and W. A. Goddard III, “ReaxFF: a reactive force field for hydrocarbons,” Journal of Physical Chemistry A 105, 9396–9409 (2001).
- L. B. Wright, P. M. Rodger, S. Corni and T. R. Walsh, “GolP-CHARMM: first-principles based force fields for the interaction of proteins with Au(111) and Au(100),” Journal of Chemical Theory and Computation 9, 1616–1630 (2013).
- S. Panigrahy, R. Sahu, S. K. Reddy and D. Nayar, “Structure, energetics and dynamics in crowded amino acid solutions: a molecular dynamics study,” Physical Chemistry Chemical Physics 25, 5430–5442 (2023), an example of NBFIX corrections fitted to osmotic coefficients.