Charged systems with density functional theory: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 5: Line 5:
== Cancelled divergences in charged systems ==
== Cancelled divergences in charged systems ==


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


<math display="block">
<math display="block">
V(\mathbf{r}) = 4\pi \int \frac{\rho(\mathbf{r}^\prime)}{\left | \mathbf{r} - \mathbf{r}^\prime \right|} d\mathbf{r}^\prime
V(\mathbf{r}) = 4\pi \int \frac{\rho(\mathbf{r}^\prime)}{\left | \mathbf{r} - \mathbf{r}^\prime \right|} d\mathbf{r}^\prime
</math>
where <math display="inline">\mathbf{r}</math> and <math display="inline">\mathbf{r}^\prime</math> are all points in real space. Fourier transforming the Poisson equation to reciprocal space,
<math display="block">
V(\mathbf{g}) = \frac{4\pi}{\mathrm{g}^2} \varrho(\mathbf{g})
</math>
</math>

Revision as of 08:03, 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,