Overview
This guide outlines the standard first-principles workflow for calculating point defect formation energies, charge transition levels, and equilibrium defect concentrations in periodic Density Functional Theory (DFT) calculations.
The Governing Thermodynamics
The formation energy of a defect in charge state is defined by the Zhang-Northrup formula:
| Symbol | Meaning |
|---|---|
| Total DFT energy of the defect supercell in charge state | |
| Total DFT energy of the pristine bulk supercell (same volume and atomic count) | |
| Number of atoms of type added () or removed () | |
| Thermodynamic chemical potential of species | |
| Energy of the Valence Band Maximum of the bulk host crystal | |
| Fermi energy referenced to () | |
| Finite-size electrostatic corrections for periodic image charge interactions |
Step-by-Step Computational Workflow
Step 1: Bulk Preparation & Band Structure
- Lattice Optimization: Relax the pristine primitive unit cell to high precision.
- Supercell Generation: Expand to a supercell (typically β atoms) to minimize artificial defectβdefect image interactions.
- Electronic Structure: Compute the static bulk total energy () and locate the Valence Band Maximum ().
- Band Gap Check: Use hybrid functionals (e.g., HSE06) or DFT+ if standard PBE underestimates the bandgap, as defect charge states depend on correct band edge alignment.
Step 2: Supercell Defect Generation & Relaxation
- Construct Defect Geometry:
- Vacancy: Remove host atom ().
- Substitution: Remove host atom (), insert dopant ().
- Interstitial: Insert atom () at symmetric or Voronoi-tessellated sites.
- Set Charge State (): Adjust the total electron count (
NELECTin VASP) relative to the default neutral cell. - Ionic Relaxation: Relax atomic positions in the defect cell for each charge state , keeping the supercell volume fixed to the bulk host lattice constants.
Step 3: Chemical Potential Boundaries ()
- Compute total energies for all elemental phases and competing secondary phases in the system.
- Construct the phase stability diagram (convex hull) to determine the allowed chemical potential range ().
- Identify extreme growth limits (e.g., metal-rich vs. anion-rich conditions) at the vertices of the stability polytope.
- For gas reservoirs (, ), map using experimental JANAF thermochemical tables.
Step 4: Electrostatic Finite-Size Corrections ()
Because periodic boundary conditions introduce unphysical image interactions between charged supercells:
- Calculate Static Dielectric Tensor (): Obtain electronic and ionic components using DFPT ().
- Apply Correction Scheme:
- FreysoldtβNeugebauerβVan de Walle (FNV): For isotropic or mildly anisotropic systems, using planar-averaged electrostatic potentials.
- KumagaiβOba Scheme: For highly anisotropic systems, using atomic core-level potential alignment.
- Potential Alignment (): Align the electrostatic potential of a reference atom far from the defect core with the corresponding atom in the bulk cell.
Post-Processing & Concentration Analysis
Thermodynamic Transition Levels
The Fermi level position inside the bandgap where the ground state charge state switches from to :
Self-Consistent Equilibrium Fermi Level ()
Defect concentrations () follow Boltzmann statistics:
To find the true , solve the global charge neutrality equation numerically:
Where and are free electron and hole concentrations integrated over the bulk Density of States (DOS).
Recommended Automation Tools
Instead of parsing DFT output files manually, use standard open-source Python packages:
doped: Complete workflow management built onpymatgenfor defect structure generation, automated FNV/Kumagai corrections, and concentration calculations.pydefect: VASP-integrated tool for charge localization analysis, 3D potential alignment plateaus, and transition level plotting.pymatgen.analysis.defects: Core module for handling defect supercells and charge neutrality root-finding routines.
Key References
-
General Methodology & Review:
- Freysoldt, C., Grabowski, B., Hickel, T., Neugebauer, J., Kresse, G., Janotti, A., & Van de Walle, C. G. (2014). First-principles calculations for point defects in solids. Reviews of Modern Physics, 86(1), 253.
-
Formulation of Charged Defects:
- Zhang, S. B., & Northrup, J. E. (1991). Chemical potential dependence of defect formation energies in GaAs: Application to Ga self-diffusion. Physical Review Letters, 67(17), 2339.
-
Finite-Size Correction Schemes:
- Freysoldt, C., Neugebauer, J., & Van de Walle, C. G. (2009). Fully ab initio finite-size corrections for charged-defect supercell calculations. Physical Review Letters, 102(1), 016402.
- Kumagai, Y., & Oba, F. (2014). Electrostatics-based finite-size corrections for first-principles point defect calculations. Physical Review B, 89(19), 195205.
-
Band Filling & Potential Alignment:
- Lany, S., & Zunger, A. (2008). Assessment of correction methods for finite-size effects in charged supercell calculations. Physical Review B, 78(23), 235104.