LHFCALC: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 28: Line 28:
{{TAG|AMGGAC}},
{{TAG|AMGGAC}},
{{TAG|HFSCREEN}},
{{TAG|HFSCREEN}},
[[list_of_hybrid_functionals|settings for specific hybrid functionals]]
[[list_of_hybrid_functionals|List of hybrid functionals]]


{{sc|LHFCALC|Examples|Examples that use this tag}}
{{sc|LHFCALC|Examples|Examples that use this tag}}

Revision as of 12:48, 17 October 2023

LHFCALC = .TRUE. | .FALSE.
Default: LHFCALC = .FALSE. 

Description: LHFCALC specifies whether a Hartree-Fock/DFT hybrid functional type calculation is performed.


If one does not specifically request a particular hybrid functional (see AEXX, ALDAX, ALDAC, AGGAX, AGGAC, AMGGAX, AMGGAC, and the section on settings for specific hybrid functionals) VASP will default to the PBE0 hybrid functional.

It is recommended to select a "direct optimization" algorithm for HF/DFT hybrid functonal type calculations, i.e., ALGO=Damped (IALGO=53) or ALGO=All (IALGO=58) in the INCAR file.

The blocked-Davidson algorithm ALGO=Normal is, with certain caveat, also supported, whereas calculations for the other algorithms (ALGO=Fast) are not properly supported (note: no warning is printed). The blocked-Davidson algorithm (ALGO=Normal) is generally rather slow, and in many cases the Pulay mixer will be unable to determine the proper ground-state. We hence recommend to select the blocked-Davidson algorithm only in combination with straight mixing or a Kerker like mixing (see the section on mixing). The following combination have been successfully applied for small and medium sized systems

LHFCALC = .TRUE. ; ALGO = Normal ; IMIX = 1 ; AMIX = a

Decrease the parameter a until convergence is reached.

In most cases, however, it is recommended to use the "Damped" algorithm with suitably chosen timestep. The following setup for the electronic optimization works reliably in most cases:

LHFCALC = .TRUE. ; ALGO = Damped ; TIME = 0.5

If convergence is not obtained, it is recommended to reduce the timestep TIME.

Related tags and articles

AEXX, ALDAX, ALDAC, AGGAX, AGGAC, AMGGAX, AMGGAC, HFSCREEN, List of hybrid functionals

Examples that use this tag