Direct optimization of the orbitals: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 17: Line 17:
is the Hamiltonian expressed within the subspace spanned by the current orbitals <math>\{ \psi_i | i=1,..,N \}</math>.
is the Hamiltonian expressed within the subspace spanned by the current orbitals <math>\{ \psi_i | i=1,..,N \}</math>.


The structure of the gradient may be understood as follows: the first part on the right-hand side describes the change of the free energy due with respect to changes in the orbitals that are outside (orthogonal) to the subspace spanned by the current set of orbitals,
The structure of the gradient may be understood as follows: the first part on the right-hand side describes the change of the free energy with respect to changes in the orbitals that are outside (orthogonal) the subspace spanned by the current set of orbitals,
whereas the second part describes the changes of the free energy due to a unitary transformation between the orbitals within this subspace.
whereas the second part describes the changes of the free energy due to a unitary transformation between the orbitals within this subspace.



Revision as of 13:40, 18 October 2023

With "direct optimisation of the orbitals" we denote a category of electronic minimisation algorithms that use the gradient of the free energy with respect to the orbitals to move towards the ground state of the system: the orbitals are changed such that the total energy is lowered, using, e.g. the Conjugate Gradient Approximation, or Damped Molecular Dynamics.

This gradient of the free energy with respect to an orbital is given by:

where are the partial occupancies, and

is the Hamiltonian expressed within the subspace spanned by the current orbitals .

The structure of the gradient may be understood as follows: the first part on the right-hand side describes the change of the free energy with respect to changes in the orbitals that are outside (orthogonal) the subspace spanned by the current set of orbitals, whereas the second part describes the changes of the free energy due to a unitary transformation between the orbitals within this subspace.

After every change of the orbitals, the total energy and electronic density are recomputed. Per default, the electronic density is constructed directly from the orbitals at each step along the way, without any density mixing. Optionally, though, density mixing may be used to stabilise these optimisation procedures when charge sloshing occurs.

Similar to the SCC described above, the direct optimisation of the orbitals stops when the change of the total energy drops below EDIFF.

Note that, when starting from scratch (ISTART = 0), the direct optimisation procedures in VASP always begin with several (NELMDL) self-consistency cycles where the density is kept fixed at the initial approximation (overlapping atomic charge densities), using the blocked-Davidson algorithm to optimise the orbitals. This ensures that the orbitals, that are initialised with random numbers, have converged to reasonable starting point for the subsequent direct optimisation.