Jump to content

Requests for technical support from the VASP team should be posted in the VASP Forum.

NELECT

From VASP Wiki

NELECT = [real]
Default: NELECT = number of valence electrons 

Description: NELECT sets the number of electrons.


The number of electrons is determined automatically from the POTCAR (ZVAL of the element) and POSCAR file (number of the atoms of the respective atom type) assuming the cell is charge-neutral. If the number of electrons is not compatible with the number derived from the valence and the number of atoms a homogeneous background charge is assumed. If the number of ions specified in the POSCAR file is 0 and NELECT=n, then the energy of a homogeneous electron gas is calculated.

Charged calculations

The required first-order correction to the energy caused by an excess charge is given by

[math]\displaystyle{ \frac{e^2q^2\alpha}{L\epsilon} }[/math]

where q is the net charge of the system, α the Madelung constant of a point charge q placed in a homogeneous background charge -q, and ε the dielectric constant of the system. For atoms or molecules surrounded by vacuum, ε takes on the vacuum value ε=1. VASP can automatically correct this leading error, see Electrostatic corrections for further information.


It is important to emphasize that the total energy cannot be corrected for charged slabs, since a charged slab results in an electrostatic potential that grows with the distance from the slab. This non-convergence of the potential is a result of the interaction between the charged slab and the compensating background. A practical consequence of this non-convergence is that the total energy depends linearly on the width of the vacuum.

Related tags and articles

Monopole Dipole and Quadrupole corrections, EPSILON, DIPOL, IDIPOL, LMONO, LDIPOL, EFIELD

Examples that use this tag