Module 4: Self-Consistent Field Cycle & Density Mixing
Understand fixed-point SCF iteration, charge sloshing, linear mixing, and Pulay/Broyden acceleration.
Analytic resultDerived in closed form from exact mathematical definitions without numerical approximation.
nin(k+1)=(1−α)nin(k)+αnout(k)
1. Physical Motivation & Context
Directly feeding the output density n_out back as n_in (alpha = 1) frequently diverges because long-wavelength Fourier components of the Hartree response scale as 4*pi/|G|^2. Controlled density mixing damps these instabilities to reach the fixed point R[n] = n_out[n] - n = 0.
2. Mathematical Formulation & Derivations
Dielectric Response & Charge Sloshing
Linearising the SCF map around the fixed point with independent-particle susceptibility chi_0 and Coulomb kernel v_c(G) = 4*pi/G^2 shows that simple mixing with step alpha has amplification eigenvalues:
λ(G)=1−αε(G)=1−α[1−G24πχ0(G)]
Pulay DIIS / Broyden Quasi-Newton Update
To prevent divergence when |lambda(G)| > 1 in large elongated cells or metals (where -chi_0(G->0) = N(E_F) != 0), Pulay DIIS minimises the norm of a linear combination of past residuals {R^(j)}:
Charge Sloshing Scaling: For elongated cells of length L, the smallest G ~ 2*pi/L makes 4*pi/G^2 ~ L^2/pi, requiring smaller mixing_beta or Thomas–Fermi / local-TF preconditioning.
Convergence Criterion: Reliable forces and phonons require conv_thr <= 1e-8 to 1e-10 Ry, tighter than standard single-point energies.
4. Numerical Implementation & Quantum ESPRESSO Practice
In &ELECTRONS, set mixing_beta = 0.2–0.4 for transition-metal oxides or slabs, and switch mixing_mode = "local-TF" when charge sloshing occurs in vacuum/slab geometries.