Charged systems with density functional theory

From VASP Wiki
Revision as of 08:53, 16 October 2024 by Svijay (talk | contribs)

On this page, we describe technical issues with computing the energies of charged systems with periodic density functional theory (DFT) calculations. We then discuss why the energies of charged systems diverge for systems with lower dimensionality, such as with surfaces (2D), nanowires (1D) and molecules (0D) while potentially providing useful information for bulk (3D) systems. Finally, we present methods implemented in VASP which allow for calculations of charged 3D, 2D and 0D systems.

Treating divergence in charge neutral calculations

VASP makes use of efficient fast Fourier transforms (FFT) to compute the electrostatic potential from the charge density using the Poisson equation,

where and are all points in real space. Fourier transforming the Poisson equation to reciprocal space,

where is the reciprocal lattice vector and is its norm.

An obvious issue with computing is that it diverges for . This divergence is handled in charge neutral density DFT calculations by cancelling out individual divergences for the electron-electron, ion-electron and ion-ion energies as can be seen by explicitly writing out their functional forms,

where and are the electronic charge density and potential respectively.

where is the ion charge density. VASP does not explicitly compute , but the potential of the ion is reflected through the eigenvalues. The ion-ion interactions are treated by Ewald summation

where is the only component which sums over the vectors and has the form,

The terms of , and are given by,

which, can be expressed through the reciprocal space Poisson equation as,

Under the condition that , the individual divergences would cancel out and the total energy is convergent. Recall that the <math display="inline">\mathrm{G}=0<\math> term of a Fourier transformed quantity is nothing by its average which implies that the above condition is satisfied when the average electron and ion charge density are the same, i.e. the system is charge neutral.