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.

Solutions · 7. Pair potentials, lattice sums and the Cauchy relation

School of Engineering, Nazarbayev University

Worked solutions to the three exercises of Lecture 7. Each solution is computed here and checked with assert statements against an exact identity or an independent calculation. The first code cell sets up the notebook and runs Demonstration 1 of the lecture without showing its output, because some of the solutions use its variables.

Exercise 1

Problem. Verify analytically and numerically that the 12-6 Lennard-Jones inflection point occurs at rinfl=(26/7)1/6σr_{\mathrm{infl}} = (26/7)^{1/6}\sigma, where d2V_dr2 == 0 and the attractive restoring tension reaches its strict extremum F(rinfl)=−24εrinfl(726)(2⋅726−1)F(r_{\mathrm{infl}}) = -\frac{24\varepsilon}{r_{\mathrm{infl}}}\left(\frac{7}{26}\right)\left(2\cdot\frac{7}{26} - 1\right).


Exercise 1: Lennard-Jones Bond Inflection Point & Peak Attractive Rupture Tension
=================================================================================
r_infl / sigma        = 1.24445506
d2V/dr2(r_infl)       = -1.032e-14
F(r_infl) [analytic]  = -2.39642926 eps/sigma (min on scan = -2.39642918)

Explanation. Setting d2VLJ/dr2=24εr2[26(σ/r)12−7(σ/r)6]=0d^2V_{\mathrm{LJ}}/dr^2 = \frac{24\varepsilon}{r^2}[26(\sigma/r)^{12} - 7(\sigma/r)^6] = 0 yields (σ/rinfl)6=7/26  ⟹  rinfl=(26/7)1/6σ≈1.2445 σ(\sigma/r_{\mathrm{infl}})^6 = 7/26 \implies r_{\mathrm{infl}} = (26/7)^{1/6}\sigma \approx 1.2445\,\sigma (∼10.9%\sim 10.9\% bond stretch beyond rmin⁡r_{\min}). Stretching a crystal uniformly past rinflr_{\mathrm{infl}} makes the tangent bond stiffness d2V/dr2<0d^2V/dr^2 < 0, triggering spinodal cavitation/cleavage at peak tension ∣Fmax⁡∣≈2.396 ε/σ|F_{\max}| \approx 2.396\,\varepsilon/\sigma.


Exercise 2

Problem. Compare the cutoff boundary jump at rcut=2.5 σr_{\mathrm{cut}} = 2.5\,\sigma between raw shifted-potential-only truncation VSP(r)=VLJ(r)−VLJ(rc)V_{\mathrm{SP}}(r) = V_{\mathrm{LJ}}(r) - V_{\mathrm{LJ}}(r_c) and atomistics.shifted_force_lj, and verify that −dVSFdr=FSF(r)-\frac{dV_{\mathrm{SF}}}{dr} = F_{\mathrm{SF}}(r) across r∈[1.1,2.45] σr \in [1.1, 2.45]\,\sigma.


Exercise 2: Diagnostic Audit — Shifted-Potential Force Discontinuity vs Shifted-Force C^1 Consistency
=====================================================================================================
Shifted-potential-only force jump at r_c = 2.5 sigma : |F_LJ(r_c)| = 0.038999 eps/sigma
Shifted-force residual at r_c - 1e-10                : |F_SF|      = 1.084e-11 eps/sigma
Max |-dV_SF/dr - F_SF| = 3.46e-10 | Mismatch if linear ramp omitted = 0.038999

Explanation. Shifting the force by −FLJ(rc)-F_{\mathrm{LJ}}(r_c) shifts −dV/dr-dV/dr by a constant across the entire sphere r<rcr < r_c. Integrating FSF(r)=FLJ(r)−FLJ(rc)F_{\mathrm{SF}}(r) = F_{\mathrm{LJ}}(r) - F_{\mathrm{LJ}}(r_c) backward from rcr_c therefore requires the linear energy tilt +(r−rc)FLJ(rc)+(r - r_c)F_{\mathrm{LJ}}(r_c); omitting that tilt makes forces non-conservative (F≠−∇VF \neq -\nabla V) and injects artificial heating during MD integration.


Exercise 3

Problem. Implement argon_fcc_eos_pressure_GPa(a_A, r_cut_sigma=5.5) for solid Argon (ε=119.8 kB\varepsilon = 119.8\,k_B, σ=3.405 A˚\sigma = 3.405\ \text{\AA}) using central finite differences P=−decoh/dVatomP = -de_{\mathrm{coh}}/dV_{\mathrm{atom}} (1 eV/A^3 = 160.2176634 GPa), and verify agreement with virial_pressure from cauchy_born_elastic_constants_lj_cubic across a∈[5.05,5.55] A˚a \in [5.05, 5.55]\ \text{\AA} to < 1e-4 GPa.


Exercise 3: Implement It Yourself — Solid Argon Thermodynamic EOS vs Virial Pressure [GPa]
==========================================================================================
Predicted 0 K Argon FCC lattice constant a_eq = 5.2524 A (Experimental 4 K Ar: ~5.31 A)

   a [A] |  P_thermo [GPa] |  P_virial [GPa] |   |Diff| [GPa]
--------------------------------------------------------------
  5.0500 |       +0.590792 |       +0.590792 |       2.49e-10
  5.1800 |       +0.153585 |       +0.153585 |       1.55e-10
  5.2524 |       -0.000000 |       -0.000000 |       1.11e-10
  5.4000 |       -0.186082 |       -0.186082 |       6.51e-11
  5.5500 |       -0.267263 |       -0.267263 |       3.65e-11

Summary. Because atomic volume scales as Vatom=a3/4V_{\mathrm{atom}} = a^3/4 and every neighbor distance scales affinely as rj∝ar_j \propto a, the Clausius virial formula Pvirial=−16Vatom∑j≠0rjϕ′(rj)P_{\mathrm{virial}} = -\frac{1}{6 V_{\mathrm{atom}}}\sum_{j\neq 0} r_j \phi'(r_j) is the exact analytical volume derivative −decohdVatom-\frac{d e_{\mathrm{coh}}}{d V_{\mathrm{atom}}}, and gives aeq=5.252 A˚a_{\mathrm{eq}} = 5.252\ \text{\AA} for solid argon at zero pressure, 1.1%1.1\% below the measured value of about 5.31 A˚5.31\ \text{\AA} at 4 K4\ \mathrm{K}; the static lattice sum leaves out the zero-point motion, which expands the real crystal.