Basharat WantPhysics · University of Kashmir
Menu

DFT Learning Centre · Foundations

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)n^{(k+1)}_{\mathrm{in}} = (1-\alpha)n^{(k)}_{\mathrm{in}} + \alpha\,n^{(k)}_{\mathrm{out}}

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−4πG2χ0(G)]\lambda(\mathbf{G}) = 1 - \alpha\,\varepsilon(\mathbf{G}) = 1 - \alpha\left[1 - \frac{4\pi}{G^2}\chi_0(\mathbf{G})\right]

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)}:

min⁡∑cj=1∥∑j=k−mkcjR(j)∥22,R(j)=nout(j)−nin(j)\min_{\sum c_j = 1} \left\|\sum_{j=k-m}^k c_j R^{(j)}\right\|_2^2, \qquad R^{(j)} = n_{\mathrm{out}}^{(j)} - n_{\mathrm{in}}^{(j)}

3. Key Theorems, Exact Limits & Consequences

  • 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.

Interactive workspace: SCF Convergence Visualiser →

5. Quantitative Sanity Check

In the SCF Visualiser, compare alpha = 0.25 (monotonic decay of log10 ||Delta n||) against alpha = 0.90 (oscillatory over-correction).

References

  • P. Pulay, Chem. Phys. Lett. 73, 393 (1980).
  • D. D. Johnson, Phys. Rev. B 38, 12807 (1988).