Lennard-Jones Molecular Dynamics

Written by

in

Lennard-Jones Molecular Dynamics Lennard-Jones Molecular Dynamics (LJ-MD) is a foundational computational simulation method used to model the physical movements of interacting atoms and molecules by applying the Lennard-Jones potential within classical Newton’s laws of motion. It serves as the standard “Hello World” benchmark of computational chemistry and condensed matter physics due to its simplicity and computational efficiency. 1. Core Physics: The Lennard-Jones Potential

The entire simulation relies on the Lennard-Jones potential energy function, which models the isotropic interaction between a pair of neutral atoms or molecules. The potential energy as a function of the interparticle distance is defined mathematically as:

V®=4ϵ[(σr)12−(σr)6]cap V open paren r close paren equals 4 epsilon open bracket open paren the fraction with numerator sigma and denominator r end-fraction close paren to the 12th power minus open paren the fraction with numerator sigma and denominator r end-fraction close paren to the sixth power close bracket Key Parameters

(Epsilon): The depth of the potential well, representing the strength of the attractive interaction.

(Sigma): The collision diameter, indicating the distance at which the interparticle potential is exactly zero (

(σr)12open paren the fraction with numerator sigma and denominator r end-fraction close paren to the 12th power

term: Represents the short-range Pauli repulsive force due to overlapping electron orbitals.

(σr)6open paren the fraction with numerator sigma and denominator r end-fraction close paren to the sixth power

term: Represents the long-range attractive van der Waals or London dispersion forces. 2. Mathematical Framework: Computing Forces

To move atoms in time, the simulation must convert the potential energy into physical forces. According to classical mechanics, the force Fibold cap F sub i acting on atom due to all other atoms is the negative gradient of the potential energy:

Fi=−∇i∑j≠iV(rij)bold cap F sub i equals negative nabla sub i sum over j is not equal to i of cap V open paren r sub i j end-sub close paren

Taking the derivative of the Lennard-Jones potential with respect to the scalar distance rijr sub i j end-sub yields the magnitude of the pairwise force:

F(rij)=−dV(rij)drij=24ϵrij[2(σrij)12−(σrij)6]cap F open paren r sub i j end-sub close paren equals negative the fraction with numerator d cap V open paren r sub i j end-sub close paren and denominator d r sub i j end-sub end-fraction equals the fraction with numerator 24 epsilon and denominator r sub i j end-sub end-fraction open bracket 2 open paren the fraction with numerator sigma and denominator r sub i j end-sub end-fraction close paren to the 12th power minus open paren the fraction with numerator sigma and denominator r sub i j end-sub end-fraction close paren to the sixth power close bracket The total vector force on atom

is calculated by summing the directional components across all interacting neighbors:

Fi=∑j≠iF(rij)rijrijbold cap F sub i equals sum over j is not equal to i of the fraction with numerator cap F open paren r sub i j end-sub close paren and denominator r sub i j end-sub end-fraction bold r sub i j end-sub is the displacement vector between the two particles. 3. Algorithm: Numerical Integration

Once forces are established, the system updates atomic positions and velocities over tiny discrete time steps ( , typically on the scale of femtoseconds, 10-1510 to the negative 15 power

s). The most popular algorithm for this is the Velocity Verlet integrator, valued for its numerical stability and energy-conservation properties: Calculate next positions:

ri(t+Δt)=ri(t)+vi(t)Δt+Fi(t)2miΔt2bold r sub i open paren t plus delta t close paren equals bold r sub i open paren t close paren plus bold v sub i open paren t close paren delta t plus the fraction with numerator bold cap F sub i open paren t close paren and denominator 2 m sub i end-fraction delta t squared Calculate intermediate velocities:

vi(t+Δt2)=vi(t)+Fi(t)2miΔtbold v sub i open paren t plus the fraction with numerator delta t and denominator 2 end-fraction close paren equals bold v sub i open paren t close paren plus the fraction with numerator bold cap F sub i open paren t close paren and denominator 2 m sub i end-fraction delta t Compute new forces using the updated positions. Finalize next velocities:

vi(t+Δt)=vi(t+Δt2)+Fi(t+Δt)2miΔtbold v sub i open paren t plus delta t close paren equals bold v sub i open paren t plus the fraction with numerator delta t and denominator 2 end-fraction close paren plus the fraction with numerator bold cap F sub i open paren t plus delta t close paren and denominator 2 m sub i end-fraction delta t 4. Practical Implementation Tricks

Simulating a macroscopic number of particles is computationally impossible. LJ-MD utilizes three main algorithmic shortcuts to maintain accuracy while keeping processing times manageable:

Reduced Units: Variables are scaled by setting fundamental parameters to unity (

). This eliminates rounding errors from extremely small exponents and simplifies the equations.

Periodic Boundary Conditions (PBC): Atoms are placed in a simulation box surrounded by infinite exact replicas of itself. If an atom leaves the left side of the box, it seamlessly re-enters from the right side, eliminating artificial surface wall effects. Potential Truncation (Cutoff Radius): Because the

(σr)6open paren the fraction with numerator sigma and denominator r end-fraction close paren to the sixth power

term drops off rapidly at large distances, forces are typically truncated to zero past a cutoff distance

. A shift is often applied to ensure the potential smoothly vanishes at , preventing non-physical energy jumps. 5. Applications and Insights

Despite its simplicity, Lennard-Jones Molecular Dynamics provides critical thermodynamic and kinetic insights. It successfully models:

Noble gases (such as Argon, Helium, and Neon) with high quantitative accuracy.

Phase transitions, tracking how a crystal lattice melts into a liquid or evaporates into a gas.

Transport properties, calculating bulk coefficients like self-diffusion, shear viscosity, and thermal conductivity. ✅ Summary

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *