Basharat WantPhysics · University of Kashmir
Menu

DFT Learning Centre · Plane-Wave Practice

Module 14: Hellmann–Feynman Forces & Pulay Stress

Compute ionic forces and cell stress tensors accurately and avoid basis-incompleteness Pulay bias.

Analytic resultDerived in closed form from exact mathematical definitions without numerical approximation.

FI=−∂E∂RI=−⟨Ψ∣∂H^∂RI∣Ψ⟩\mathbf{F}_I = -\frac{\partial E}{\partial \mathbf{R}_I} = -\langle\Psi|\frac{\partial\hat{H}}{\partial\mathbf{R}_I}|\Psi\rangle

1. Physical Motivation & Context

Structural relaxation, ab initio molecular dynamics, and elastic constants require accurate ionic forces F_I and cell stress tensors sigma_{alpha beta}. The Hellmann–Feynman theorem eliminates wavefunction derivatives <dPsi/dR|H|Psi> only if the basis is position-independent or variationally complete.

2. Mathematical Formulation & Derivations

Hellmann–Feynman Theorem & Pulay Remainder

Differentiating E = <Psi|H|Psi>/<Psi|Psi> with respect to parameter lambda gives three terms; the wavefunction-derivative terms vanish for exact eigenstates or fixed plane waves:

dEdλ=⟨Ψ∣∂H^∂λ∣Ψ⟩+2 Re⟨∂Ψ∂λ∣H^−E∣Ψ⟩⏟Pulay term (vanishes for fixed PW)\frac{dE}{d\lambda} = \langle\Psi|\frac{\partial\hat{H}}{\partial\lambda}|\Psi\rangle + \underbrace{2\,\mathrm{Re}\langle\frac{\partial\Psi}{\partial\lambda}|\hat{H}-E|\Psi\rangle}_{\text{Pulay term (vanishes for fixed PW)}}

Nielsen–Martin Stress Tensor & Pulay Stress

When scaling cell vectors a -> (1 + eps) a at fixed E_cut, the discrete number of plane waves changes discontinuously, creating an artificial hydrostatic Pulay stress:

σαβ=−1Ω∂E∂εαβ,PPulay>0  ⟹  artificially compressed V0 if Ecut is too small\sigma_{\alpha\beta} = -\frac{1}{\Omega}\frac{\partial E}{\partial \varepsilon_{\alpha\beta}}, \qquad P_{\mathrm{Pulay}} > 0 \implies \text{artificially compressed } V_0 \text{ if } E_{\mathrm{cut}} \text{ is too small}

3. Key Theorems, Exact Limits & Consequences

  • Final SCF Rule: Always run a fresh single-point SCF on the final vc-relax geometry so the FFT grid and plane-wave count match the relaxed cell.
  • Force Convergence: Use forc_conv_thr <= 1e-4 Ry/Bohr for geometry and <= 1e-5 Ry/Bohr before DFPT phonons.

4. Numerical Implementation & Quantum ESPRESSO Practice

Set tprnfor = .true. and tstress = .true. in &CONTROL; increase ecutwfc by 20–30% above energy-convergence values when running vc-relax.

Interactive workspace: Quantum ESPRESSO Generator →

5. Quantitative Sanity Check

1 Ry/Bohr = 25.71104 eV/A; forc_conv_thr = 1e-4 Ry/Bohr corresponds to 2.57 meV/A.

References

  • R. P. Feynman, Phys. Rev. 56, 340 (1939).
  • O. H. Nielsen and R. M. Martin, Phys. Rev. B 32, 3780 (1985).