Charged systems with density functional theory: Difference between revisions

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


<math display="block">
<math display="block">
V(\mathbf{g}) = \frac{4\pi}{\mathrm{g}^2} \varrho(\mathbf{g})
V(\mathbf{g}) = \frac{4\pi}{\mathrm{G}^2} \varrho(\mathbf{G})
</math>
</math>
where <math display="inline">\mathbf{G}</math> is the reciprocal lattice vector and <math display="inline">\mathrm{G}</math> is its norm.

Revision as of 08:04, 16 October 2024

On this page, we briefly describe technical issues caused by 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.

Cancelled divergences in charged systems

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.