Charged systems with density functional theory: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 28: Line 28:


<math display="block">
<math display="block">
E_{\mathrm{ion-electron}} = -\sum_{\mathrm{G}} \rho_{\mathrm{ion}}(\mathbf{G}) V_{\mathrm{ion}}(\mathbf{G})
E_{\mathrm{ion-electron}} = -\sum_{\mathrm{G}} \rho_{\mathrm{ion}}(\mathbf{G}) V_{\mathrm{elec}}(\mathbf{G})
</math>
</math>


where <math display="inline">\rho_{\mathrm{ion}}</math> and <math display="inline">V_{\mathrm{ion}}</math> are the ion charge density and potential respectively.
where <math display="inline">\rho_{\mathrm{ion}}</math> is the ion charge density.
VASP does not explicitly compute <math display="inline">E_{\mathrm{ion-electron}}</math>, but the potential of the ion is reflected through the eigenvalues.
VASP does not explicitly compute <math display="inline">E_{\mathrm{ion-electron}}</math>, but the potential of the ion is reflected through the eigenvalues.
The ion-ion interactions are treated by Ewald summation
The ion-ion interactions are treated by Ewald summation
<math display="block">
<math display="block">
E_{\mathrm{ion-ion}} = E_{\mathrm{long-range}} + E_{\mathrm{short-range}} + E_{\mathrm{self}} + E_{\mathrm{homogeneous}}
E_{\mathrm{ion-ion}} = E_{\mathrm{long-range}} + E_{\mathrm{short-range}} + E_{\mathrm{self}} + E_{\mathrm{homogeneous}}
</math>
</math>


where <math display="inline">E_{\mathrm{long-range}}</math> is the only component which sums over the <math display="inline">\mathrm{G}</math> vectors
where <math display="inline">E_{\mathrm{long-range}}</math> is the only component which sums over the <math display="inline">\mathrm{G}</math> vectors and has the form,
 
<math display="block">
E_{\mathrm{electron-electron}} = \frac{1}{2} \sum_{\mathrm{G}} \rho_{\mathrm{ion}}(\mathbf{G}) V_{\mathrm{ion}}(\mathbf{G})
</math>

Revision as of 08:33, 16 October 2024

On this page, we describe technical issues with computing the energies of charged systems with periodic density functional theory 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 density functional theory 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 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,