A perfect crystal without defects would neither interdiffuse in the solid state nor deform plastically at engineering stresses: Frenkel’s rigid-lattice model predicts an ideal shear strength for copper, yet pure single-crystal copper yields at , four orders of magnitude lower. Why are point vacancies thermodynamically inevitable at any , whereas line dislocations are thermodynamically unstable yet mechanically decisive? In this lecture we derive Boltzmann–Arrhenius monovacancy equilibria (vacancy_equilibrium_fraction), invert experimental Arrhenius data for , and evaluate the Peierls–Nabarro dislocation core model (peierls_nabarro_stress) to explain why FCC metals slip easily on close-packed planes and why edge dislocations glide more easily than screws.
Learning objectives¶
Derive the equilibrium thermal monovacancy fraction from configurational entropy minimization (
atomistics.vacancy_equilibrium_fraction).Compare homologous melting-point vacancy concentrations across low- (
Al), medium- (Cu), and refractory (W) metals and invert Arrhenius dilatometry data for and .Contrast Frenkel’s ideal sinusoidal shear strength against dislocation glide via
atomistics.peierls_nabarro_stress.Explain crystallographic slip-system selection ( in FCC) and edge vs. screw core-width differences from the exponential factor .
Time: about 60 min
try: # use the installed package, or the copy in this repository
import engmaterials
except ImportError:
import pathlib, subprocess, sys
for _root in [pathlib.Path.cwd(), *pathlib.Path.cwd().parents]:
if (_root / "engmaterials" / "__init__.py").exists():
sys.path.insert(0, str(_root))
break
else: # on Google Colab: install from GitHub
subprocess.run([sys.executable, "-m", "pip", "install", "-q",
"git+https://github.com/ktwyw/engmaterials.git"], check=True)
import engmaterials
import inspect
import numpy as np
import matplotlib.pyplot as plt
from engmaterials import (atomistics, constants, diffraction, elasticity, kinetics_selection,
lattices, phase_field, phase_thermodynamics)
from engmaterials.plotting import label_panels, panel_label, use_style
use_style()
def show_source(obj):
"""Return the source code of a library function or class."""
return inspect.getsource(obj)
def heading(text):
print(f"\n{text}\n" + "=" * len(text))1. Configurational Entropy & Equilibrium Thermal Monovacancies¶
Removing atoms from the interior of an -atom crystal to crystal-surface ledges costs formation enthalpy (, broken bonds minus local relaxation) and adds local vibrational entropy ( because atoms bordering a vacancy vibrate in a softer potential well). Crucially, distributing indistinguishable vacancies across lattice sites generates configurational mixing entropy . Applying Stirling’s approximation to and setting yields (atomistics.vacancy_equilibrium_fraction):
Because as , every crystal at lowers its Gibbs free energy by creating a strictly positive equilibrium concentration of vacancies.
heading("Demonstration 1: Thermal Monovacancy Fraction From 300 K to Melting Across Al, Cu, and W")
vac_metals = [
("Al", 0.67, 1.5, "#1f77b4"),
("Cu", 1.28, 1.5, "#d62728"),
("W", 3.60, 1.8, "#2ca02c"),
]
print(f"{'Metal':6s} | {'Tm [K]':>8s} | {'Ev [eV]':>8s} | {'Ev/(kB*Tm)':>11s} | {'x_v(300 K)':>13s} | {'x_v(0.7 Tm)':>13s} | {'x_v(Tm)':>13s}")
print("-" * 86)
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(9.4, 3.9))
for sym, ev, sv, col in vac_metals:
tm = constants.ELEMENTS_DB[sym]["Tm_K"]
xv_300 = atomistics.vacancy_equilibrium_fraction(300.0, E_v_eV=ev, S_v_kB=sv)
xv_07 = atomistics.vacancy_equilibrium_fraction(0.7 * tm, E_v_eV=ev, S_v_kB=sv)
xv_tm = atomistics.vacancy_equilibrium_fraction(tm, E_v_eV=ev, S_v_kB=sv)
homol_ratio = (ev * constants.EV_TO_J) / (constants.K_B * tm)
print(f"{sym:6s} | {tm:8.2f} | {ev:8.2f} | {homol_ratio:11.2f} | {xv_300:13.3e} | {xv_07:13.3e} | {xv_tm:13.3e}")
assert 1e-5 < xv_tm < 3e-3
assert xv_300 < xv_07 < xv_tm
t_vec = np.linspace(350.0, tm, 200)
xv_vec = atomistics.vacancy_equilibrium_fraction(t_vec, E_v_eV=ev, S_v_kB=sv)
ax1.semilogy(1000.0 / t_vec, xv_vec, lw=2.0, color=col, label=f"{sym} ($E_v={ev}$ eV)")
ax2.semilogy(tm / t_vec, xv_vec, lw=2.0, color=col, label=f"{sym} ($T_m={tm:.0f}$ K)")
ax1.set_ylim(1e-18, 1e-2)
ax1.set_xlabel(r"Inverse Temperature $1000 / T$ [$\mathrm{K}^{-1}$]")
ax1.set_ylabel(r"Equilibrium Vacancy Site Fraction $x_v(T)$ [-]")
ax1.set_title(r"Against $1000/T$")
ax1.legend(fontsize=8)
ax2.set_xlim(1.0, 3.5)
ax2.set_ylim(1e-15, 1e-2)
ax2.set_xlabel(r"Homologous Inverse Temperature $T_m / T$ [-]")
ax2.set_ylabel(r"Equilibrium Vacancy Site Fraction $x_v(T)$ [-]")
ax2.set_title(r"Against $T_m/T$")
ax2.legend(fontsize=8)
label_panels(fig)
plt.show()
Demonstration 1: Thermal Monovacancy Fraction From 300 K to Melting Across Al, Cu, and W
========================================================================================
Metal | Tm [K] | Ev [eV] | Ev/(kB*Tm) | x_v(300 K) | x_v(0.7 Tm) | x_v(Tm)
--------------------------------------------------------------------------------------
Al | 933.47 | 0.67 | 8.33 | 2.488e-11 | 3.047e-05 | 1.082e-03
Cu | 1357.77 | 1.28 | 10.94 | 1.407e-21 | 7.314e-07 | 7.949e-05
W | 3695.00 | 3.60 | 11.31 | 2.016e-60 | 5.850e-07 | 7.439e-05

Figure 8.1. Equilibrium vacancy fraction of Al, Cu and W with assumed formation energies and entropies. (a) Against . (b) Against .
What Demonstration 1 shows. At room temperature (), equilibrium vacancy fractions span 49 orders of magnitude, from in aluminum to in tungsten. The formation energies (0.67, 1.28 and ) and formation entropies (1.5, 1.5 and ) are representative values assumed for this demonstration. Yet when plotted against homologous inverse temperature , all three metals converge to right at their melting points because both and scale with cohesive bond strength ().
2. Simmons–Balluffi Differential Dilatometry & Arrhenius Inversion¶
Experimentally, Simmons & Balluffi (1960) measured directly by comparing macroscopic thermal expansion (which grows from both anharmonic lattice expansion and newly created lattice sites) against simultaneous X-ray diffraction lattice-parameter expansion (which senses only interatomic spacing):
Fitting a straight line to extracts from the intercept and [eV] from the Arrhenius slope.
heading("Demonstration 2: Simmons-Balluffi Dilatometry Simulation & Arrhenius Linear Least-Squares Inversion")
rng = np.random.default_rng(42)
T_meas = np.linspace(720.0, 930.0, 9) # High-T Al dilatometry window below Tm = 933.47 K
Ev_true_Al, Sv_true_Al = 0.67, 1.52
xv_clean = atomistics.vacancy_equilibrium_fraction(T_meas, E_v_eV=Ev_true_Al, S_v_kB=Sv_true_Al)
# Simulate 1.5% multiplicative measurement noise on differential strain (dL/L - da/a) = xv / 3:
diff_strain_obs = (xv_clean / 3.0) * (1.0 + 0.015 * rng.standard_normal(T_meas.size))
xv_obs = 3.0 * diff_strain_obs
A_arr = np.column_stack([np.ones_like(T_meas), 1.0 / T_meas])
theta_hat, _, _, _ = np.linalg.lstsq(A_arr, np.log(xv_obs), rcond=None)
Sv_fit = float(theta_hat[0])
Ev_fit = float(-theta_hat[1] * constants.K_B / constants.EV_TO_J)
print(f"True Al parameters : E_v = {Ev_true_Al:.4f} eV | S_v/k_B = {Sv_true_Al:.4f}")
print(f"Arrhenius OLS recovered : E_v = {Ev_fit:.4f} eV | S_v/k_B = {Sv_fit:.4f}")
assert abs(Ev_fit - Ev_true_Al) < 0.02
assert abs(Sv_fit - Sv_true_Al) < 0.25
Demonstration 2: Simmons-Balluffi Dilatometry Simulation & Arrhenius Linear Least-Squares Inversion
===================================================================================================
True Al parameters : E_v = 0.6700 eV | S_v/k_B = 1.5200
Arrhenius OLS recovered : E_v = 0.6684 eV | S_v/k_B = 1.4928
What Demonstration 2 shows. Even with realistic dilatometry scatter over , ordinary least squares in coordinates recovers aluminum’s vacancy formation enthalpy to within . Note why line defects (dislocations, costing per atomic plane along a line with negligible configurational entropy) have zero equilibrium thermal population, they exist as non-equilibrium growth/deformation defects, yet they govern crystal plasticity.
3. Frenkel Ideal Shear Strength vs. Peierls–Nabarro Dislocation Friction¶
Shearing an entire atomic plane rigidly by over an adjacent plane of spacing and repeat vector (Frenkel 1926, with initial slope ) requires a large ideal shear strength:
Instead of breaking all bonds across a slip plane simultaneously, a dislocation glides one atomic row at a time across a continuous core of width . Summing the misfit energy across the discrete lattice yields the Peierls–Nabarro lattice friction stress (atomistics.peierls_nabarro_stress):
Because sits inside a negative exponential, crystallographic slip always selects the plane with the largest interplanar spacing (maximizing ) and the shortest Burgers lattice translation (minimizing ). We test competing slip systems in FCC Copper (Cu).
heading("Demonstration 3: Frenkel Ideal Shear Strength vs Peierls-Nabarro Slip Selection in FCC Copper")
cu = constants.ELEMENTS_DB["Cu"]
cu_cell = lattices.cubic_unit_cell("fcc", cu["a_A"])
cu_vrh = elasticity.voigt_reuss_hill_cubic(cu["C11_GPa"], cu["C12_GPa"], cu["C44_GPa"])
G_cu, nu_cu = cu_vrh["G_hill"], cu_vrh["nu_hill"]
b_110 = cu["a_A"] / np.sqrt(2.0) # Shortest FCC lattice vector 1/2<110>
slip_candidates = [
("{111}<110> (Close-Packed Primary)", (1, 1, 1), b_110),
("{100}<110> (Cube Plane)", (2, 0, 0), b_110), # FCC (100) has half-spacing d_200 = a/2
("{110}<110> (Dodecahedral Plane)", (2, 2, 0), b_110), # FCC (110) atomic plane spacing d_220 = a/(2*sqrt(2))
]
print(f"Cu Hill Moduli: G_H = {G_cu:.2f} GPa, nu_H = {nu_cu:.4f}, b_<110> = {b_110:.4f} A")
print(f"{'Slip System':34s} | {'d [A]':>7s} | {'d / b':>7s} | {'tau_Frenkel [GPa]':>17s} | {'tau_PN_edge [MPa]':>17s} | {'w_edge/b':>9s}")
print("-" * 106)
pn_list = []
for name, hkl_eff, b_len in slip_candidates:
d_sp = lattices.interplanar_spacing(hkl_eff, cu_cell["lattice_vectors"])
tau_frenkel = G_cu * b_len / (2.0 * np.pi * d_sp)
pn = atomistics.peierls_nabarro_stress(G_cu, nu_cu, b_A=b_len, d_A=d_sp, screw=False)
pn_list.append(pn["tau_pn_MPa"])
print(
f"{name:34s} | {d_sp:7.4f} | {d_sp/b_len:7.4f} | {tau_frenkel:17.3f} | "
f"{pn['tau_pn_MPa']:17.2f} | {pn['core_width_A']/b_len:9.3f}"
)
# Close-packed {111}<110> reduces shear resistance >160x below Frenkel and beats {100} and {110} exponentially:
assert pn_list[0] < 65.0
assert pn_list[0] < 0.40 * pn_list[1] and pn_list[1] < 0.20 * pn_list[2]
Demonstration 3: Frenkel Ideal Shear Strength vs Peierls-Nabarro Slip Selection in FCC Copper
=============================================================================================
Cu Hill Moduli: G_H = 47.34 GPa, nu_H = 0.3451, b_<110> = 2.5561 A
Slip System | d [A] | d / b | tau_Frenkel [GPa] | tau_PN_edge [MPa] | w_edge/b
----------------------------------------------------------------------------------------------------------
{111}<110> (Close-Packed Primary) | 2.0871 | 0.8165 | 9.227 | 57.25 | 1.247
{100}<110> (Cube Plane) | 1.8075 | 0.7071 | 10.655 | 163.53 | 1.080
{110}<110> (Dodecahedral Plane) | 1.2781 | 0.5000 | 15.068 | 1192.89 | 0.764
What Demonstration 3 shows. On close-packed planes in FCC copper (), the edge core spreads to , which reduces the shear resistance from Frenkel’s to . Measured critical resolved shear stresses of pure copper are lower still; the Peierls–Nabarro formula is a model of trends, not of absolute values. Switching to () or () multiplies to and , explaining why FCC metals deform almost exclusively on the 12 slip systems.
4. Conceptual Exploration & Parameter Sensitivity (“What-If”: Edge vs. Screw Cores)¶
Why do edge dislocations move at much lower stresses than screw dislocations at low temperatures? In Equation (3.2), , so . We compare vs. across FCC metals, BCC refractory metals, and covalent Silicon.
heading("Demonstration 4: Edge vs Screw Peierls-Nabarro Stress Across Metallic & Covalent Crystals")
# Primary spacing-to-Burgers ratios: FCC {111}<110> -> d/b = sqrt(2/3); BCC {110}<111> -> d/b = sqrt(2/3); Diamond shuffle/glide effective d/b ~ 0.45
crystal_cases = [
("Au (FCC {111}<110>)", "Au", np.sqrt(2.0 / 3.0)),
("Cu (FCC {111}<110>)", "Cu", np.sqrt(2.0 / 3.0)),
("Al (FCC {111}<110>)", "Al", np.sqrt(2.0 / 3.0)),
("W (BCC {110}<111>)", "W", np.sqrt(2.0 / 3.0)),
("Si (Cov. narrow d/b)", "Si", 0.45),
]
print(f"{'Crystal Case':22s} | {'G_H [GPa]':>9s} | {'nu_H':>6s} | {'tau_edge [MPa]':>14s} | {'tau_screw [MPa]':>15s} | {'Screw / Edge':>12s}")
print("-" * 92)
for label, sym, d_over_b in crystal_cases:
d = constants.ELEMENTS_DB[sym]
vrh = elasticity.voigt_reuss_hill_cubic(d["C11_GPa"], d["C12_GPa"], d["C44_GPa"])
pn_e = atomistics.peierls_nabarro_stress(vrh["G_hill"], vrh["nu_hill"], b_A=1.0, d_A=d_over_b, screw=False)
pn_s = atomistics.peierls_nabarro_stress(vrh["G_hill"], vrh["nu_hill"], b_A=1.0, d_A=d_over_b, screw=True)
ratio = pn_s["tau_pn_MPa"] / pn_e["tau_pn_MPa"]
print(f"{label:22s} | {vrh['G_hill']:9.2f} | {vrh['nu_hill']:6.3f} | {pn_e['tau_pn_MPa']:14.2f} | {pn_s['tau_pn_MPa']:15.2f} | {ratio:11.2f}x")
assert pn_e["core_width_A"] > pn_s["core_width_A"]
assert pn_s["tau_pn_MPa"] > pn_e["tau_pn_MPa"]
db_grid = np.linspace(0.40, 1.00, 200)
fig, ax = plt.subplots(figsize=(7.0, 4.0))
for nu_val, ls in [(0.22, "--"), (0.34, "-"), (0.42, "-.")]:
tau_norm_e = [atomistics.peierls_nabarro_stress(1.0, nu_val, 1.0, db, screw=False)["tau_pn_GPa"] for db in db_grid]
ax.semilogy(db_grid, tau_norm_e, ls=ls, lw=1.9, label=rf"Edge ($\nu = {nu_val:.2f}$)")
tau_norm_s = [atomistics.peierls_nabarro_stress(1.0, 0.30, 1.0, db, screw=True)["tau_pn_GPa"] for db in db_grid]
ax.semilogy(db_grid, tau_norm_s, color="black", lw=2.2, label=r"Screw (independent of $\nu$)")
ax.axvline(np.sqrt(2.0 / 3.0), color="gray", ls=":", label=r"Close-packed $d/b = \sqrt{2/3}$")
ax.set_xlabel(r"Slip Geometry Ratio $d / b$ [-]")
ax.set_ylabel(r"Normalized Peierls Stress $\tau_{\mathrm{PN}} / G$ [-]")
ax.set_title("Exponential Sensitivity of Peierls Stress to Core Width & $d/b$")
ax.legend(fontsize=8)
Demonstration 4: Edge vs Screw Peierls-Nabarro Stress Across Metallic & Covalent Crystals
=========================================================================================
Crystal Case | G_H [GPa] | nu_H | tau_edge [MPa] | tau_screw [MPa] | Screw / Edge
--------------------------------------------------------------------------------------------
Au (FCC {111}<110>) | 27.52 | 0.424 | 12.87 | 325.53 | 25.29x
Cu (FCC {111}<110>) | 47.34 | 0.345 | 57.25 | 560.03 | 9.78x
Al (FCC {111}<110>) | 26.16 | 0.346 | 31.30 | 309.48 | 9.89x
W (BCC {110}<111>) | 159.96 | 0.280 | 357.14 | 1892.43 | 5.30x
Si (Cov. narrow d/b) | 66.54 | 0.223 | 4504.06 | 7873.08 | 1.75x

Figure 8.2. Peierls–Nabarro stress divided by the shear modulus against the ratio , for edge dislocations with three Poisson ratios and for a screw dislocation.
Inside the algorithm¶
In Demonstration 4, high-Poisson-ratio gold () widens its edge dislocation core by relative to a screw core, making more than larger than . Meanwhile, narrow and directional bonding in silicon push into the multi-GPa regime, exceeding cleavage fracture stress at so Si shatters brittlely until heated above .
Below we inspect atomistics.vacancy_equilibrium_fraction and atomistics.peierls_nabarro_stress and verify NumPy calculations against both library functions to rounding error.
Check against the library¶
heading("Inside the Algorithm: vacancy_equilibrium_fraction & peierls_nabarro_stress")
print(show_source(atomistics.vacancy_equilibrium_fraction))
print(show_source(atomistics.peierls_nabarro_stress))
T_arr = np.array([500.0, 800.0, 1200.0])
xv_hand = np.exp(1.5 - (1.28 * constants.EV_TO_J) / (constants.K_B * T_arr))
xv_lib = atomistics.vacancy_equilibrium_fraction(T_arr, E_v_eV=1.28, S_v_kB=1.5)
assert np.allclose(xv_hand, xv_lib, rtol=1e-15, atol=1e-15)
G_t, nu_t, b_t, d_t = 47.3, 0.345, 2.556, 2.087
fac = 1.0 - nu_t
tau_hand = (2.0 * G_t / fac) * np.exp(-2.0 * np.pi * d_t / (fac * b_t))
pn_lib = atomistics.peierls_nabarro_stress(G_t, nu_t, b_t, d_t, screw=False)
assert np.isclose(tau_hand, pn_lib["tau_pn_GPa"], rtol=1e-15, atol=1e-15)
assert np.isclose(d_t / fac, pn_lib["core_width_A"], rtol=1e-15, atol=1e-15)
print("Side-by-side verification passed to 1e-15 relative precision")
Inside the Algorithm: vacancy_equilibrium_fraction & peierls_nabarro_stress
===========================================================================
def vacancy_equilibrium_fraction(
T_K: float | np.ndarray,
E_v_eV: float,
S_v_kB: float = 1.5,
) -> float | np.ndarray:
"""Compute equilibrium thermal monovacancy site fraction x_v(T) = exp(S_v/k_B)*exp(-E_v/(k_B*T))."""
temp = np.asarray(T_K, dtype=float)
if np.any(temp <= 0.0) or E_v_eV <= 0.0:
raise ValueError("T_K and E_v_eV must be strictly positive.")
xv = np.exp(S_v_kB - (E_v_eV * EV_TO_J) / (K_B * temp))
return float(xv) if np.ndim(T_K) == 0 else xv
def peierls_nabarro_stress(
G_GPa: float,
nu: float,
b_A: float,
d_A: float,
screw: bool = False,
) -> dict:
"""Compute Peierls-Nabarro lattice friction shear stress tau_PN for an edge or screw dislocation."""
if G_GPa <= 0.0 or b_A <= 0.0 or d_A <= 0.0:
raise ValueError("G_GPa, b_A, and d_A must be strictly positive.")
factor = 1.0 if screw else (1.0 - float(nu))
if factor <= 0.0:
raise ValueError("1 - nu must be positive.")
tau_gpa = (2.0 * float(G_GPa) / factor) * np.exp(-2.0 * np.pi * float(d_A) / (factor * float(b_A)))
width_a = float(d_A) / factor
return {
"tau_pn_GPa": float(tau_gpa),
"tau_pn_MPa": float(1000.0 * tau_gpa),
"core_width_A": width_a,
}
Side-by-side verification passed to 1e-15 relative precision
Exercises¶
Worked solutions are in 08_solutions.ipynb. The cell below the list is a short self-check to start from.
Verify a result. Verify Stirling’s exact thermodynamic minimum by minimizing (where vacancies per atom and site fraction ) via golden-section search in , confirming agreement with
atomistics.vacancy_equilibrium_fractionto< 1e-6relative error for Al, Cu, and W at .Find how it fails. Verify domain guards on
vacancy_equilibrium_fractionandpeierls_nabarro_stress, demonstrate the unit bug (E_v / (R * T)instead of(E_v * EV_TO_J) / (K_B * T)), and compute the quenched-in vacancy supersaturation in Aluminum.Implement it yourself. Implement
rank_bcc_slip_planes(symbol)for BCCFe,W, andMowith Burgers vector along across the three BCC slip families (), (), and -type/ (, note BCC extinction rule ), verifying that always yields the widest core and lowest Peierls stress.
heading("Self-check for the exercises")
xv_al_tm = atomistics.vacancy_equilibrium_fraction(constants.ELEMENTS_DB["Al"]["Tm_K"], E_v_eV=0.67, S_v_kB=1.5)
pn_cu_e = atomistics.peierls_nabarro_stress(47.3, 0.34, b_A=1.0, d_A=np.sqrt(2.0 / 3.0), screw=False)
pn_cu_s = atomistics.peierls_nabarro_stress(47.3, 0.34, b_A=1.0, d_A=np.sqrt(2.0 / 3.0), screw=True)
assert 5e-4 < xv_al_tm < 2e-3
assert pn_cu_e["tau_pn_MPa"] < pn_cu_s["tau_pn_MPa"]
print(f"Al x_v(Tm) = {xv_al_tm:.3e} | Cu PN edge = {pn_cu_e['tau_pn_MPa']:.2f} MPa < screw = {pn_cu_s['tau_pn_MPa']:.2f} MPa.")
print("All checks passed.")
Self-check for the exercises
============================
Al x_v(Tm) = 1.082e-03 | Cu PN edge = 60.33 MPa < screw = 559.60 MPa.
All checks passed.