ES98D · Course contents

2. Choosing the microscopic model

The Boltzmann measure converts an energy function into predictions. But where does that energy function come from? Two models can be sampled perfectly and still predict different structures, simply because they assign different costs to the same arrangement of particles. Computational accuracy cannot rescue an inappropriate interaction model.

2.1 An energy surface we cannot usually evaluate directly

In an atomistic description, electrons and nuclei obey quantum mechanics. The Born–Oppenheimer approximation exploits their different timescales: for fixed nuclear positions rr, solve an electronic problem and use its energy, together with nuclear repulsion, as a potential-energy surface for the nuclei. Treating the nuclei classically is a further approximation, which can fail for light particles or low temperatures.

This surface is generally a many-body function. Repeated electronic calculations may be too costly for a large system over a long trajectory, so an interatomic potential replaces it with a tractable approximation. The model may be fitted to electronic calculations, measurements, or both. Local electronic structure often motivates dependence on nearby environments, but electrostatic fields and dispersion prevent locality from being a universal principle.

The important question is which distinctions the model preserves. Can it distinguish different bond angles, charge environments or magnetic arrangements? A pair function of distance cannot represent all three, however accurately we integrate the resulting equations.

2.2 Start with exclusion, then add attraction

For identical hard spheres of diameter aa,

uHS(r)={+∞,r<a,0,r≥a.u_{\mathrm{HS}}(r)= \begin{cases} +\infty,&r<a,\\ 0,&r\ge a. \end{cases}

Here uHSu_{\mathrm{HS}} denotes the pair energy. For unequal radii, aa is their sum. The model resolves excluded volume without resolving the microscopic origin of repulsion. Every non-overlapping configuration has the same potential energy, so at fixed volume its configurational equilibrium distribution is uniform over the allowed region. Entropy alone can therefore produce nontrivial packing and phase behaviour. Forces at contact are impulsive; ordinary smooth-force integration is inappropriate.

To model an attractive fluid, introduce the Lennard–Jones pair potential

uLJ(r)=4ε[(σr)12−(σr)6].u_{\mathrm{LJ}}(r)=4\varepsilon \left[\left(\frac{\sigma}{r}\right)^{12} -\left(\frac{\sigma}{r}\right)^6\right].

The notation uLJu_{\mathrm{LJ}} again denotes energy; ε\varepsilon is an energy scale and σ\sigma a length. The r−6r^{-6} attraction represents the asymptotic London-dispersion form. The r−12r^{-12} repulsion is a convenient approximation, not a fundamental repulsive law.

Where does attraction turn into repulsion? Differentiate rather than infer the answer from where the energy crosses zero:

fr=−uLJ′(r)=24εr[2(σr)12−(σr)6].f_r=-u'_{\mathrm{LJ}}(r) =\frac{24\varepsilon}{r} \left[2\left(\frac{\sigma}{r}\right)^{12} -\left(\frac{\sigma}{r}\right)^6\right].

The radial force vanishes at r∗=21/6σr_*=2^{1/6}\sigma, where u(r∗)=−εu(r_*)=-\varepsilon. The zero of the energy, r=σr=\sigma, is a different point. In the plot, follow the slope on either side of the minimum; positive radial force pushes particles apart.

A zero energy is not a zero force

Energy and its minimum

separation r / σenergy u / ε0.953−1.22minimum: r* = 1.122σ

The slope changes sign at the well minimum, after the energy has crossed zero at σ.

The negative energy derivative

separation r / σradial force f σ / ε0.953−360positive: repulsivenegative: attractive

The force axis has its own units and scale; its zero is the dashed line near the bottom.

Both plots use the same separation range, with different labelled vertical quantities and scales. Energy minimum at 2^(1/6)σ; the force there is zero. ↗

For a pairwise system, U(r)=∑i<ju(rij)U(r)=\sum_{i<j}u(r_{ij}) counts every pair once. The force on ii from jj is −u′(rij)(ri−rj)/rij-u'(r_{ij})(r_i-r_j)/r_{ij}. This dependence on the separation makes the pair forces equal and opposite, conserving total momentum in an isolated system.

The Buckingham form u(r)=Ae−Br−C/r6u(r)=Ae^{-Br}-C/r^6 replaces the power-law repulsion by an exponential. It may describe an intermediate separation range better, but with C>0C>0 it tends to −∞-\infty as r→0r\to0: the bare formula needs a validity range or short-distance repair. A plausible-looking potential well does not establish global stability.

Move the two particles through the potential well. Where do their force arrows reverse, and where does the energy cross zero?

Feel the slope of the interaction energy
Equal and opposite pair forces
force direction (rescaled arrows)ijr = 1.49σ
Position on the energy curve
potential energy useparation r / σ0.962.8-2.24Fᵣ = -1.21

Fᵣ = −du/dr; Fᵢ + Fⱼ = 0

Separation 1.49σ; energy -0.33; radial force -1.21.

Paused. Play the sequence, step through it, or drag the position slider.

Prescribed separation probe, σ = 1. This is not an integrated collision. Force arrows show direction with bounded display length; the numerical force retains its actual magnitude.

The moving point and particles share the same separation. Increase the well depth ε to strengthen the energy and forces without moving the minimum at 2¹ᐟ⁶σ. ↗

2.3 Charges that respond to their environment

Fixed-charge force fields add Coulomb energies qiqj/(4πϵ0rij)q_iq_j/(4\pi\epsilon_0r_{ij}), possibly with dipoles and higher multipoles. Such charges are model parameters. They do not automatically adjust when the local environment changes.

A charge-equilibration model instead minimises an energy such as

E(q)=∑i(χiqi+12ηiqi2)+12∑i≠jCij(r)qiqj,∑iqi=Qtot.E(q)=\sum_i\left(\chi_iq_i+\frac12\eta_iq_i^2\right) +\frac12\sum_{i\ne j}C_{ij}(r)q_iq_j, \qquad \sum_iq_i=Q_{\mathrm{tot}}.

The electronegativity-like χi\chi_i, hardness-like ηi\eta_i and electrostatic kernel CijC_{ij} define a constrained quadratic problem. A Lagrange multiplier enforces total charge. A unique stable solution requires positive curvature on the charge-conserving subspace; an arbitrary parameter choice need not supply it. The constraint is essential: unconstrained minimisation can change the total charge of an isolated model.

In an induced-dipole model,

μi=μi0+alphaiEi(r,{μj}).\boldsymbol\mu_i=\boldsymbol\mu_i^0+alpha_i\mathbf E_i(r,\{\boldsymbol\mu_j\}).

The field includes the other dipoles, so these are coupled self-consistency equations. Shell models provide another representation of polarisation through relative displacement of charged sites. Both approaches cost more than evaluating fixed charges. Their extra degrees of freedom improve representational capacity, but stability, damping at short separation and solver convergence still require checking.

2.4 Distinguish coordination from bond direction

For a metallic environment, the embedded atom model combines pair energy with an embedding energy:

U=12∑i∑j≠iϕ(rij)+∑iFemb(ni),ni=∑j≠if(rij).U=\frac12\sum_i\sum_{j\ne i}\phi(r_{ij}) +\sum_iF_{\mathrm{emb}}(n_i), \qquad n_i=\sum_{j\ne i}f(r_{ij}).

The nonlinear function FembF_{\mathrm{emb}} makes the energy genuinely many-body: the energy associated with a neighbour depends on the rest of the environment. The factor 1/21/2 removes double counting in the ordered pair sum. Simple isotropic pair models often favour close-packed structures and cannot generally reproduce metallic bonding across diverse coordinations.

Coordination alone does not specify a tetrahedral network. Stillinger–Weber models add terms depending on bond angles, schematically

U=∑i<ju2(rij)+∑i∑j<kj,k≠iu3(rij,rik,θjik).U=\sum_{i<j}u_2(r_{ij}) +\sum_i\sum_{\substack{j<k\\j,k\ne i}} u_3(r_{ij},r_{ik},\theta_{jik}).

Tersoff-type models instead modulate bond strength through the local environment and angles. The relevant modelling distinction is the ability to represent directional bonding, as in silicon, rather than the particular algebraic packaging of the terms.

2.5 Add a degree of freedom for magnetism

Positions alone do not describe magnetic order. Attach a spin to each site and choose an interaction graph, usually beginning with nearby exchange-coupled sites. An Ising model uses si∈{−1,+1}s_i\in\{-1,+1\} and

H(s)=−∑⟨i,j⟩Jijsisj−∑ibisi.H(s)=-\sum_{\langle i,j\rangle}J_{ij}s_is_j-\sum_i b_i s_i.

Each undirected bond is counted once, and bib_i is a field energy. Positive JijJ_{ij} favours parallel spins. A classical Heisenberg model replaces them by fixed-length vectors and uses −∑⟨i,j⟩JijSi⋅Sj-\sum_{\langle i,j\rangle}J_{ij}\mathbf S_i\cdot\mathbf S_j, allowing non-collinear order. Anisotropy, dipolar interactions and longer-range exchange can be added when the physics requires them.

The lattice is part of the model: antiferromagnetic couplings can all be satisfied on a bipartite graph, whereas an antiferromagnetic triangle is frustrated. Numerical updates must respect the spin domain. Ising flips and vector-spin rotations are sampling moves; physical spin dynamics requires a separate equation of motion. Chapter 6 will use the nearest-neighbour ferromagnetic Ising model to expose a limitation of local sampling.

If one spin turns while its neighbour stays fixed, how does the angle become an interaction energy?

Rotate a spin through its energy landscape
A dot product becomes alignment
θ = 65°J > 0 favours parallel spins
Energy and angular force
exchange energyangle θ (radians)06.283-1.71.7τ = -0.90

U(θ) = −J cos θ; τ = −J sin θ

Angle 65°; energy -0.43; angular force -0.90.

Paused. Play the sequence, step through it, or drag the position slider.

Two classical unit Heisenberg spins with one exchange bond. Angle is prescribed for inspection; the animation is not a physical spin-dynamics integrator. Torque is −dU/dθ.

Track the rotating vector and its point on −J cos θ. Reverse the sign of J to exchange the preferred parallel and antiparallel arrangements. ↗

2.6 A boundary condition is also a modelling decision

A naïve force evaluation visits N(N−1)/2N(N-1)/2 pairs. Short-range models permit cutoffs and neighbour lists, developed in Chapter 3. A Coulomb or gravitational potential decays as 1/r1/r and its force as 1/r21/r^2; distant contributions cannot generally be discarded using the same argument.

For a periodic Coulomb system, the primary cell is replicated infinitely. A non-neutral cell has no finite conventional periodic Coulomb energy without a specified compensation, such as a uniform background. Even for a neutral cell, the raw lattice sum is not absolutely convergent; the macroscopic boundary or summation convention matters, particularly for dipolar terms. A spherical cutoff silently chooses an uncontrolled approximation and can disrupt long-range correlations. An abruptly truncated energy also adds a discontinuity at the cutoff.

Ewald summation resolves the periodic problem by using

1r=erfc⁡(αr)r+erf⁡(αr)r.\frac1r=\frac{\operatorname{erfc}(\alpha r)}r +\frac{\operatorname{erf}(\alpha r)}r.

The rapidly decaying first term is summed in real space. The smooth second term is treated in reciprocal space using the periodic charge density. Self-interaction corrections and the chosen zero-wave-number/boundary convention complete the construction. In an exact calculation, changing the splitting parameter α\alpha redistributes work without changing the energy; residual dependence measures truncation error.

Particle Mesh Ewald and related mesh methods accelerate reciprocal-space calculations with FFTs, typically giving O(Nlog⁡N)O(N\log N) scaling at controlled resolution. Wolf-type damped, locally compensated cutoffs are alternatives whose accuracy depends on the system and convergence checks. The LAMMPS long-range solver documentation illustrates the distinction between real-space and reciprocal-space work and the need to specify accuracy and boundary conditions.

Gravity shares the computational range problem but not charge neutrality: positive masses do not cancel. The unmodified infinite periodic gravitational mean diverges, rather than merely reproducing the neutral electrostatic case. Isolated problems need isolated boundaries; cosmological periodic calculations formulate a mean-subtracted density problem with its physical convention explicit. Tree and fast-multipole approximations offer controlled ways to reduce the cost of suitable nonperiodic long-range calculations.

We now have energies with different smoothness, ranges and degrees of freedom. Constructing dynamics means respecting these choices while deciding which physical exchanges the simulation should represent.

Exercises

  1. Check uLJ(σ)=0u_{\mathrm{LJ}}(\sigma)=0, u(r∗)=−εu(r_*)=-\varepsilon and u′(r∗)=0u'(r_*)=0. Why does shifting an energy by a constant leave forces unchanged?
  2. Give two three-particle configurations with the same two distances from a central particle but different bond angles. Which model classes can distinguish them?
  3. Write the stationarity equations for the constrained charge model. State the curvature condition needed for uniqueness.