4. Introduction to Density Functional Theory#

In this lesson, we will learn about Density Functional Theory (DFT). This will provide a starting point for students to perform DFT calculations. The goal of this lesson is to introduce new users to DFT and potential difficulties in these calculations. The topics covered in this lesson and future lessons will follow Dr. Kitchin’s book on DFT.

It was shown by Hohenberg and Kohn that ground state total energy of a system of interacting systems is a unique functional of electron density. A functional returns a number when given a function. The variational principle introduced by Hohenberg and Kohn involves a set of 3N-dimensional trial wave functions.

Kohn and Sham showed that the problem of many interacting electrons in an external potential can be mapped to a set of noninteracting electrons in an effective external potential and this led to the development of self-consistent, single particle equations known as Kohn-Sham (KS) equations:

\((\frac{1}{2}\triangledown^2 + v_{eff}(r) - \epsilon_j) \phi_j(r) = 0\) (Equation 1)

\(v_{eff}(r) = v(r) + \int \frac{n(r^{'})}{\mid r - r^{'} \mid}dr^{'} + v_{xc}(r)\) (Equation 2)

In the Kohn-Sham equations, \(v(r)\) is the external potential and \(v_{xc}\) is the exchange-correlation potential that depend on entire density function. We need to know the density to define the effective potential and solve Eq. 1. \(\phi_j(r)\) is the \(j^{th}\) KS orbital of energy \(\epsilon_j\).

The ground state density can be written as:

\(n(r) = \sum_{j=1}^{N} \mid \phi_j(r)\mid^{2}\) (Equation 3)

An initial guess of \(\phi_j(r)\) is used to approximate ground state electron density. This initial guess is used in equation 2. This equation is solved for \(\phi_j(r)\) iteratively till the solutions for \(\phi_j(r)\) are self-consistent. The final ground state energy is given by:

\(E = \sum_{j}{}\epsilon + E_{xc}[n(r)] - \int v_{xc}(r)n(r)dr - \frac{1}{2} \int\frac{n(r)n(r^{'})}{\mid r - r^{'}\mid} dr^{'}r\) (Equation 4)

\(E_{xc}[n(r)]\) is the exchange-correlation energy functional. The exact form of exchange-correlation energy is not known and numerous strategies exist to approximate this functional for different types of system. We will not get into the theory of exchange-correlation functional and how to solve the KS-DFT equations in this lesson.

4.1. Exchange correlation functionals#

While reading DFT literature and performing these calculations, you will come across the term exchange correlation functional. The two common types of exchange correlation functionals used are local density approximation (LDA) and generalized gradient approximation (GGA). The model space for approximations is captured by Perdew’s popular analogy of Jacob’s ladder which follows the trend of approximation being more accurate with more nonlocal information about electronic environment. It is not necessary for these improvements to be systematic. Common types of exchange correlation functionals include:

  • LDA - accurate for delocalized systems such as metals

Defined for an electron in uniform electron fas of density n and is exact for a uniform electron gas.

  • GGA-PBE - accurate for molecular systems

Includes corrections for gradients in electron density. The types of GGA functionals are: PBE, RPBE, revPBE etc.

  • meta-GGA - improve upon GGA

Include information about kinetic energy density

  • Hybrid functionals

These functionals add more semilocal information by including a component of fully nonlocal exact exchange. The hybrid functionals include: B3LYP, PBE0, HSE06 etc.

4.2. Pseudopotentials#

The atomic potential due to core electrons are computationally expensive to deal with as they are highly localized. Also, the contribution of core electrons to bonding is negligible as compared to the valence electrons. To perform DFT calculations, we need to have pseudopotentials which replace the atomic potential due to core electrons. These pseudopotentials have the same effect on valence electrons as the potential due to core electrons. There are two kinds of pseudopotentials, norm-conserving and Vanderbilt ultrasoft pseudopotentials.

4.3. Spin polarization and magnetism#

For systems that have a spin, we need to turn on spin polarization for DFT calculations. For example, systems constituting of iron, cobalt, nickel are magnetic and will have more electrons with “spin up” than “spin down” or vice versa. Spin polarization should be considered for the systems that have unpaired electrons.

Important note: For an oxygen molecule, there exists two spin configurations, the singlet state with no unpaired electrons and the triplet state with two unpaired electrons. The oxygen triplet state has lower energy and is considered as the ground state for an oxygen atom.

Spin polarization needs to be turned on explicitly while defining the DFT calculation and the atoms should be assigned an initial magnetic moment at the beginning. The solution will be sensitive to the initial guess of magnetic moment.

4.4. Summary#

In this lesson, we introduced density functional theory (DFT) and some essential components of DFT.