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:

SymbolMeaning
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

  1. Lattice Optimization: Relax the pristine primitive unit cell to high precision.
  2. Supercell Generation: Expand to a supercell (typically – atoms) to minimize artificial defect–defect image interactions.
  3. Electronic Structure: Compute the static bulk total energy () and locate the Valence Band Maximum ().
  4. 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

  1. Construct Defect Geometry:
    • Vacancy: Remove host atom ().
    • Substitution: Remove host atom (), insert dopant ().
    • Interstitial: Insert atom () at symmetric or Voronoi-tessellated sites.
  2. Set Charge State (): Adjust the total electron count (NELECT in VASP) relative to the default neutral cell.
  3. 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 ()

  1. Compute total energies for all elemental phases and competing secondary phases in the system.
  2. Construct the phase stability diagram (convex hull) to determine the allowed chemical potential range ().
  3. Identify extreme growth limits (e.g., metal-rich vs. anion-rich conditions) at the vertices of the stability polytope.
  4. 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:

  1. Calculate Static Dielectric Tensor (): Obtain electronic and ionic components using DFPT ().
  2. 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.
  3. 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).

Instead of parsing DFT output files manually, use standard open-source Python packages:

  • doped: Complete workflow management built on pymatgen for 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.