Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Force Fields

In atomistic modelling, force fields are used to describe the interactions between atoms and molecules in materials. Force fields are mathematical models that represent the potential energy surface of a system, which describes the energy of the system as a function of the atomic positions, and can be used to predict the structure, dynamics, and properties of materials.

Force fields usually contains parameters that describe the interactions between atoms or molecules, such as bond lengths, bond angles, dihedral angles, and non-bonded interactions. These parameters are usually derived from experimental data or quantum mechanical calculations, and are used to fit the force field to reproduce the properties of the material.

A typical potential energy curves for a pair of atoms as a function of the separation distance.

A typical potential energy curves for a pair of atoms as a function of the separation distance.

The center of force fields is the potential energy function (UU), which describes the interactions between atoms or molecules in a material. The potential energy function is usually expressed as a sum of interactions between atoms or molecules, and can include terms that describe bond stretching, bond bending, torsion, and non-bonded interactions.

U=Ubond+Uangle+Udihedral+Unon-bondedU = U_{\text{bond}} + U_{\text{angle}} + U_{\text{dihedral}} + U_{\text{non-bonded}}

where UbondU_{\text{bond}} is the energy associated with bond stretching, UangleU_{\text{angle}} is the energy associated with bond bending, UdihedralU_{\text{dihedral}} is the energy associated with torsion. UbondU_{\text{bond}} and UangleU_{\text{angle}} are usually approximated under the harmonic approximation. Unon-bondedU_{\text{non-bonded}} is the energy associated with non-bonded interactions such as van der Waals forces and electrostatic interactions.

Interatomic Forces

Interatomic forces can be derived from the potential energy function by taking the negative gradient of the potential energy with respect to the atomic positions.

Fi=iU\mathbf{F}_i = -\nabla_i U

For solid materials, the stress tensor is obtained from the derivative of the potential energy with respect to strain (or, equivalently, from the virial expression), not from derivatives with respect to atomic positions.

Computational Cost

A cutoff distance is used to limit the number of interactions that need to be calculated in force fields.

A cutoff distance is used to limit the number of interactions that need to be calculated in force fields.

The computational cost of force fields depends on the number of atoms in the system and the number of interactions that need to be calculated. For short-ranged interactions with cutoffs and neighbor lists, the cost can scale approximately linearly with the number of atoms. Most interactions in force fields are short-ranged, which means that the interactions between atoms decay rapidly with distance. This allows us to use cutoff distances to limit the number of interactions that need to be calculated. The short-range interactions are only evaluated for atoms in the neighbor list, which is usually a small fraction of the total number of atoms. The long-range interactions are more tricky to calculate and are usually the bottleneck of computations. Methods such as Ewald summation are used to calculate long-range electrostatic interactions.

In practice, the unit cell is divided into a grid, and the atoms are assigned to grid cells. The interactions between atoms are calculated only for atoms in the same or neighboring grid cells. This reduces the number of interactions that need to be calculated and improves the efficiency of the simulation.

Periodic Boundary Conditions

Periodic boundary conditions are used to simulate an infinite system by replicating the simulation cell in all directions. Atoms that leave the simulation cell re-enter from the opposite side. Minimal image convention is used to calculate the distance between atoms in the simulation cell and the neighboring cells.

Periodic boundary conditions are used to simulate an infinite system by replicating the simulation cell in all directions. Atoms that leave the simulation cell re-enter from the opposite side. Minimal image convention is used to calculate the distance between atoms in the simulation cell and the neighboring cells.

In solid state materials, the structure has translational symmetry, which means that we can apply a periodic boundary condition to the simulation cell to mimic an infinite system. Mathematically, the periodic boundary condition is applied by replicating the simulation cell in all directions, so that atoms that leave the simulation cell re-enter (wrap) from the opposite side. This allows us to simulate the dynamics of the system without the need to model an infinite system. For a cubic cell with side length LL:

rwrapped=rLround(r/L)\mathbf{r}_{\text{wrapped}}= \mathbf{r} - L \text{round}(\mathbf{r}/{L})

where rwrapped\mathbf{r}_{\text{wrapped}} is the wrapped position of the atom, r\mathbf{r} is the position of the atom in the simulation cell, LL is the side length of the cubic simulation cell, and round\text{round} is the rounding function.

The wrapped distance between atoms in the simulation cell and the neighboring cells:

rij=rirjLround(rirjL)\mathbf{r}_{ij} = \mathbf{r}_i - \mathbf{r}_j - L \text{round}\left(\frac{\mathbf{r}_i - \mathbf{r}_j}{L}\right)

where rij\mathbf{r}_{ij} is the minimum-image displacement vector between atoms ii and jj, ri\mathbf{r}_i and rj\mathbf{r}_j are the positions of atoms ii and jj, and LL is the side length of the cubic simulation cell.

Molecular Mechanics Force Fields

Bond lengths, bond angles, and dihedral angles are used to describe the geometry of molecules in force fields. Non-bonded interactions are used to describe the interactions between atoms that are not directly bonded.

Bond lengths, bond angles, and dihedral angles are used to describe the geometry of molecules in force fields. Non-bonded interactions are used to describe the interactions between atoms that are not directly bonded.

Below are some common force fields terms used in molecular mechanics simulations:

Ubond=bondskb(rr0)2U_{\text{bond}} = \sum_{\text{bonds}} k_b (r - r_0)^2
Uangle=angleskθ(θθ0)2U_{\text{angle}} = \sum_{\text{angles}} k_{\theta} (\theta - \theta_0)^2
Udihedral=dihedralskϕ(1+cos(nϕδ))U_{\text{dihedral}} = \sum_{\text{dihedrals}} k_{\phi} (1 + \cos(n \phi - \delta))
Unon-bonded=i=1Nj=i+1N[ULJ(rij)+Uelec(rij)]U_{\text{non-bonded}} = \sum_{i=1}^N \sum_{j=i+1}^N \left[U_{\text{LJ}}(r_{ij}) + U_{\text{elec}}(r_{ij})\right]

where kbk_b, kθk_{\theta}, and kϕk_{\phi} are the force constants for bond stretching, bond bending, and torsion, rr is the bond length, θ\theta is the bond angle, ϕ\phi is the dihedral angle, r0r_0, θ0\theta_0, and ϕ0\phi_0 are the equilibrium bond length, bond angle, and dihedral angle, nn is the multiplicity of the dihedral angle, δ\delta is the phase shift of the dihedral angle, rijr_{ij} is the distance between atoms ii and jj, ULJU_{\text{LJ}} is the Lennard-Jones potential, and UelecU_{\text{elec}} is the electrostatic potential. Examples of common force fields include CHARMM, AMBER, and GROMOS.

Ewald Summation

The electrostatic potential energy term UelecU_{\text{elec}} in the potential energy function is long-ranged and can be difficult to calculate accurately in periodic systems. The Ewald summation is a method for calculating the electrostatic potential energy between charged particles in a periodic system. The Ewald summation is based on the idea of splitting the electrostatic potential into short-range and long-range components, and calculating each component separately.

The short-range component is calculated using a real-space sum, while the long-range component is calculated using a reciprocal-space sum.

Uelec=Uelec, short-range+Uelec, long-range+Uelec, selfU_{\text{elec}} = U_{\text{elec, short-range}} + U_{\text{elec, long-range}} + U_{\text{elec, self}}

The short-range component is calculated in real space and converges rapidly. In atomic units, a common expression is:

Uelec, short-range=12i=1NjiNqiqjerfc(αrij)rijU_{\text{elec, short-range}} = \frac{1}{2} \sum_{i=1}^{N} \sum_{j \neq i}^{N} q_i q_j \frac{\operatorname{erfc}(\alpha r_{ij})}{r_{ij}}

where qiq_i and qjq_j are the charges of atoms ii and jj, α\alpha is the Ewald parameter, rijr_{ij} is the distance between atoms ii and jj, and erfc\operatorname{erfc} is the complementary error function, erfc(x)=1erf(x)\operatorname{erfc}(x) = 1 - \operatorname{erf}(x). The parameter α\alpha controls how much of the interaction is treated in real space versus reciprocal space: smaller α\alpha gives a longer-ranged real-space sum, while larger α\alpha shifts more of the work to reciprocal space.

The long-range component is calculated using the following equation:

Uelec, long-range=12Ωk04πk2exp(k24α2)j=1Nqjeikrj2U_{\text{elec, long-range}} = \frac{1}{2 \Omega} \sum_{\mathbf{k} \neq 0} \frac{4 \pi}{k^2} \exp\left( -\frac{k^2}{4 \alpha^2} \right) \left| \sum_{j=1}^{N} q_j e^{-i \mathbf{k} \cdot \mathbf{r}_j} \right|^2

where k\mathbf{k} is a reciprocal lattice vector, Ω\Omega is the volume of the simulation cell, α\alpha is the Ewald parameter, qjq_j is the charge of atom jj, and rj\mathbf{r}_j is the position of atom jj. In standard Ewald summation, the reciprocal-space sum is evaluated explicitly and is more expensive than short-range interactions. Mesh-based variants such as particle-mesh Ewald (PME) or PPPM use FFTs and can reduce the scaling to approximately O(NlogN)O(N \log N).

The self-interaction term is calculated using the following equation:

Uelec, self=απi=1Nqi2U_{\text{elec, self}} = -\frac{\alpha}{\sqrt{\pi}}\sum_{i=1}^N q_i^2

where α\alpha is the Ewald parameter and qiq_i is the charge of atom ii. This term removes the unphysical interaction of each charge with its own smeared Gaussian charge distribution.

Pair Potentials

Pair potentials are a type of force field that describes the interactions between pairs of atoms or molecules in a material. Pair potentials are based on the assumption that the interactions between atoms or molecules can be approximated as pairwise interactions, where the potential energy between two atoms or molecules depends only on their separation distance.

Lennard-Jones Potential

The Lennard-Jones potential describes the interactions between neutral atoms or molecules. The depth of the potential well is \epsilon, \sigma is the distance at which the potential crosses zero, and the equilibrium separation is r_e = 2^{1/6}\sigma.

The Lennard-Jones potential describes the interactions between neutral atoms or molecules. The depth of the potential well is ϵ\epsilon, σ\sigma is the distance at which the potential crosses zero, and the equilibrium separation is re=21/6σr_e = 2^{1/6}\sigma.

Lennard-Jones potential is a simple mathematical model that describes the interactions between neutral atoms or molecules. The Lennard-Jones potential is given by the following equation:

U(r)=4ϵ[(σ/r)12(σ/r)6]U(r) = 4\epsilon[(\sigma/r)^{12} - (\sigma/r)^6]

where U(r)U(r) is the potential energy between two atoms or molecules at a distance rr, ϵ\epsilon is the depth of the potential well, and σ\sigma is the distance at which the potential energy is zero.

12 and 6 are the powers of the terms in the equation, which represent the repulsive and attractive forces between the atoms or molecules, respectively. The repulsive term (σ/r)12(\sigma/r)^{12} accounts for the Pauli exclusion principle, which prevents atoms or molecules from occupying the same space, while the attractive term (σ/r)6(\sigma/r)^6 accounts for the van der Waals forces between the atoms or molecules.

Morse Potential

The Morse potential describes the interactions between atoms or molecules in a material. The dissociation energy is D_e, the width of the potential well is a, and the equilibrium bond length is r_e.

The Morse potential describes the interactions between atoms or molecules in a material. The dissociation energy is DeD_e, the width of the potential well is aa, and the equilibrium bond length is rer_e.

Morse potential is another mathematical model that describes the interactions between atoms or molecules. The Morse potential is given by the following equation:

U(r)=De[(1ea(rre))21]U(r) = D_e[(1 - e^{-a(r-r_e)})^2 - 1]

where U(r)U(r) is the potential energy between two atoms or molecules at a distance rr, DeD_e is the dissociation energy of the bond, aa is the width of the potential well, and rer_e is the equilibrium bond length.

Many Body Expansion

Many-body potentials describe the interactions between three or more atoms or molecules in a material. The many-body expansion includes one-body, two-body, three-body, and higher-order terms that describe the interactions between atoms or molecules.

Many-body potentials describe the interactions between three or more atoms or molecules in a material. The many-body expansion includes one-body, two-body, three-body, and higher-order terms that describe the interactions between atoms or molecules.

The potential energy function can be expanded into many-body terms that describe the interactions between three or more atoms or molecules in a material. The many-body expansion is a decomposition of the total energy into one-body, two-body, three-body, and higher-order contributions. The expansion is given by the following equation:

U=i=1NU1(ri)+i=1Nj=i+1NU2(rij)+i=1Nj=i+1Nk=j+1NU3(rijk,θijk)+U = \sum_{i=1}^N U_1(r_i) + \sum_{i=1}^N \sum_{j=i+1}^N U_2(r_{ij})+ \sum_{i=1}^N \sum_{j=i+1}^N \sum_{k=j+1}^N U_3(r_{ijk}, \theta_{ijk}) + \ldots

where U1(ri)U_1(r_i) is the potential energy of atom ii, U2(rij)U_2(r_{ij}) is the potential energy between atoms ii and jj, U3(rijk,θijk)U_3(r_{ijk}, \theta_{ijk}) is the potential energy between atoms ii, jj, and kk, and so on. θijk\theta_{ijk} is the angle between atoms ii, jj, and kk. The one-body term U1U_1 is only meaningful if atoms are in an external field and is usually ignored in most force fields.

Many-body potentials are a type of force field that describes the interactions between three or more atoms or molecules in a material. Many-body potentials are used to capture the effects of many-body interactions, such as bond bending, torsion, and non-bonded interactions, which cannot be described by pair potentials alone.

Tersoff Potential

Tersoff potential (bond order potentials) is a many-body potential that describes the interactions between atoms in covalently bonded materials. The Tersoff potential is given by the following equation:

U=i<jfC(rij)[fR(rij)bijfA(rij)]U = \sum_{i < j} f_C(r_{ij})[f_R(r_{ij}) - b_{ij}f_A(r_{ij})]

where UU is the potential energy of the system, fC(rij)f_C(r_{ij}) is the cutoff function that determines the range of the potential, fR(rij)f_R(r_{ij}) is the repulsive term that accounts for short-range core repulsion, fA(rij)f_A(r_{ij}) is the bonding term, bijb_{ij} is the bond-order term that describes how the bond strength between atoms ii and jj depends on the local environment, and rijr_{ij} is the distance between atoms ii and jj. The bond-order term bijb_{ij} is a function of the bond length, bond angle, and coordination number of the atoms, which gives the potential its many-body character.

Embedded Atom Method (EAM)

Embedded Atom Method (EAM) is another many-body potential that describes the interactions between atoms in metallic materials. The EAM potential is based on the assumption that the energy of an atom in a material is a function of the electron density around the atom. The EAM potential is given by the following equation:

U=iF(ρi)+12ijϕij(rij)U = \sum_i F(\rho_i) + \frac{1}{2}\sum_{i \neq j} \phi_{ij}(r_{ij})

where UU is the total energy of the system, F(ρi)F(\rho_i) is the embedding energy of atom ii, ρi\rho_i is the electron density around atom ii, ϕij(rij)\phi_{ij}(r_{ij}) is the pair potential energy between atoms ii and jj at a distance rijr_{ij}.

Other similar potentials: effective medium theory (EMT) and modified embedded atom method (MEAM).

Other Force Fields

There are many other types of force fields and potentials that are used in atomistic modelling, depending on the specific properties of the material being studied. Some examples include: reactive force fields, polarizable force fields, and coarse-grained force fields.

Recently, machine learning potentials have gained popularity in materials science, where machine learning algorithms are used to develop force fields that can accurately predict the properties of materials without the need for explicit parameterization.

UML=fML(X)U_{\text{ML}} = f_{\text{ML}}(\mathbf{X})

where UMLU_{\text{ML}} is the machine learning potential, fMLf_{\text{ML}} is the machine learning model, and X\mathbf{X} is the descriptor of the system, such as the atomic positions, charges, and forces. A more detailed discussion of machine learning potentials will be covered in the later lectures.