Skip to article frontmatterSkip to article content

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 can be derived from the potential energy function by taking the negative gradient of the potential energy with respect to the 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. The computational cost of force fields scales linearly with the number of atoms in the system, and can be reduced by using approximations. 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 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 is 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. Mathmaticallly, 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.

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 length of the 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)r_{ij} = \mathbf{r}_i - \mathbf{r}_j - L \text{round}\left(\frac{\mathbf{r}_i - \mathbf{r}_j}{L}\right)

where rijr_{ij} is the distance between atoms ii and jj, ri\mathbf{r}_i and rj\mathbf{r}_j are the positions of atoms ii and jj, and L\mathbf{L} is the length of the 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+1NULJ(rij)+Uelec(rij)U_{\text{non-bonded}} = \sum_{i=1}^N \sum_{j=i+1}^N U_{\text{LJ}}(r_{ij}) + U_{\text{elec}}(r_{ij})

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, θ is the bond angle, ϕ 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, δ is the phase shift of the dihedral angle, rijr_{ij} is the distance between atoms ii and jj, ULJU_{\text{LJ}} is the Leonard-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 within the cutoff distance rcr_c and converged fastly. The short-range component is calculated using the following equation:

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, α is the Ewald parameter, rijr_{ij} is the distance between atoms ii and jj, and erfc\operatorname{erfc} is the complementary error function (1erf1-\operatorname{erf}). α controls the ratio of the short-range and long-range components of the electrostatic potential: α0\alpha \rightarrow 0 for more interaction evaluated as short-range and α\alpha \rightarrow \infty for more interaction evaluated as long-range interactions. The short-range component is calculated using the direct sum method, which has a time complexity of O(N2)O(N^2).

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 the wave vector, Ω is the volume of the simulation cell, α is the Ewald parameter, qjq_j is the charge of atom jj, and rj\mathbf{r}_j is the position of atom jj. The long-range component is calculated using the fast Fourier transform (FFT) algorithm, which has a time complexity of O(NlogN)O(N \log N). However, it is still much more expensive than the short-range interactions (O(N)O(N)).

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

Uelec, self=απi=1Nqi2ϵ0U_{\text{elec, self}} = -\frac{\alpha}{\sqrt{\pi}}\sum_{i=1}^N \frac{q_i^2}{\epsilon_0}

where α is the Ewald parameter, qiq_i is the charge of atom ii, and ϵ0\epsilon_0 is the vacuum permittivity.

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.

Leonard-Jones Potential

The Leonard-Jones potential describes the interactions between neutral atoms or molecules. The equilibrium distance is \sigma and the depth of the potential well is \epsilon. The equilibrium distance r_e is increased when temperature is increased.

The Leonard-Jones potential describes the interactions between neutral atoms or molecules. The equilibrium distance is σ and the depth of the potential well is ε. The equilibrium distance rer_e is increased when temperature is increased.

Leonard-Jones potential is a simple mathematical model that describes the interactions between neutral atoms or molecules. The Leonard-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, ε is the depth of the potential well, and σ 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 based on the idea 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. The many-body 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)U_3(r_{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 usually ignored in most force field.

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 the Pauli exclusion principle, fA(rij)f_A(r_{ij}) is the attractive term that accounts for the van der Waals forces, bijb_{ij} is the bond order term that describes the bond strength between atoms ii and jj, 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 has the many-body effect.

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.