Jump to content

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

LFXC: Difference between revisions

From VASP Wiki
Pmelo (talk | contribs)
No edit summary
Tal (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{TAGDEF|LFXC|.TRUE. {{!}} .FALSE.}}
{{TAGDEF|LFXC|.TRUE. {{!}} .FALSE.|.FALSE.}}
{{DEF|LFXC|.FALSE.|}}


Description: {{TAG|LFXC}} enables the local exchange-correlation kernel in [[Time-evolution algorithm|TD-DFT]] and [[BSE calculations|TDHF]] calculations.
Description: {{TAG|LFXC}} enables the (semi-)local exchange-correlation kernel in [[Time-dependent density-functional theory calculations|Casida]] and [[Time-evolution algorithm|time-evolution]] TDDFT calculations.
----
----
The local exchange-correlation kernel is determined via {{cite|sander:prb:15}}
In linear-response TDDFT, the density-density response function <math>\chi</math> obeys the Dyson equation
::<math>
\chi(\mathbf r, \mathbf r'; \omega) = \chi_\mathrm{KS}(\mathbf r, \mathbf r'; \omega) + \int \mathrm d\mathbf r_1 \mathrm d\mathbf r_2 \, \chi_\mathrm{KS}(\mathbf r, \mathbf r_1; \omega) \left[ v(\mathbf r_1, \mathbf r_2) + f_\mathrm{xc}(\mathbf r_1, \mathbf r_2; \omega) \right] \chi(\mathbf r_2, \mathbf r'; \omega),
</math>
where <math>\chi_\mathrm{KS}</math> is the non-interacting Kohn-Sham response function, <math>v</math> is the bare Coulomb interaction, and <math>f_\mathrm{xc}</math> is the exchange-correlation kernel. VASP uses the adiabatic approximation, <math>f_\mathrm{xc}(\mathbf r, \mathbf r'; \omega) \approx f_\mathrm{xc}(\mathbf r, \mathbf r')</math>.
 
Setting {{TAG|LFXC}}{{=}}.TRUE. includes the (semi-)local part of <math>f_\mathrm{xc}</math> in both the Casida eigenvalue problem ({{TAG|ALGO}}{{=}}TDHF) and the time-evolution TDDFT (or real-time TDDFT) ({{TAG|ALGO}}{{=}}TIMEEV).
 
== (Semi-)local exchange-correlation kernel ==
The exchange-correlation kernel is computed very differently in the Casida and time-evolution TDDFT approaches. It is defined as the second functional derivative of the exchange-correlation energy density with respect to the charge density,
::<math>
f_\mathrm{xc}(\mathbf r, \mathbf r') = \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n(\mathbf r) \, \partial n(\mathbf r')}\delta(\mathbf r - \mathbf r').
</math>
The Casida approach requires the derivative to be evaluated explicitly and therefore implemented for each functional. The time-evolution TDDFT does not require an explicit kernel: its contribution is included implicitly through the propagation of the charge density and the exchange-correlation potential.
 
=== Casida equation ===


For an [[:Category:Exchange-correlation functionals|LDA]] functional,
::<math>
f_\mathrm{xc}^\mathrm{LDA}(\mathbf r, \mathbf r') = \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n^2} \, \delta(\mathbf r - \mathbf r').
</math>
For a [[:Category:Exchange-correlation functionals|GGA]] functional, gradient terms appear,
::<math>
::<math>
f^{\rm loc}_{\mathrm{xc}}\left(\mathbf{r}, \mathbf{r}'\right) =
f_\mathrm{xc}^\mathrm{GGA}(\mathbf r, \mathbf r') = \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n^2}(\mathbf r) \, \delta(\mathbf r - \mathbf r') - \left[\nabla \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n \, \partial \nabla n}(\mathbf r)\right] \delta(\mathbf r - \mathbf r') - \nabla_i \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial \nabla_i n \, \partial \nabla_j n}(\mathbf r) \, \nabla_j \delta(\mathbf r - \mathbf r'),
\frac{\delta^{2}\left\{E_{\mathrm{c}}^{\mathrm{DFT}}+\left(1-c_{\rm x}\right)
</math>
E_{\mathrm{x}}^{\mathrm{DFT}}\right\}}{\delta \rho(\mathbf{r}) \delta
where <math>i, j</math> are summed Cartesian indices. In the Casida approach these gradient terms are dropped and only the density derivatives are kept. [[:Category:Exchange-correlation functionals|Meta-GGA]] kernels are not supported.
\rho\left(\mathbf{r}'\right)}
 
</math>,
=== Time-evolution TDDFT (Real-time TDDFT) ===
where <math>c_{\rm x}</math> is the fraction of the exchange interaction set by {{TAG|AEXX}}.
== Related tags and articles==
{{TAG|LADDER}}, {{TAG|LHARTREE}}, {{TAG|AEXX}}


[[BSE calculations]], [[Time-evolution_algorithm]]
The real-time propagation applies <math>f_\mathrm{xc}</math> directly to the time-dependent density, so [[:Category:Exchange-correlation functionals|LDA]] and [[:Category:Exchange-correlation functionals|GGA]] kernels are used in full, including the gradient terms.
 
For [[:Category:Exchange-correlation functionals|meta-GGA]] functionals, the dependence of <math>\varepsilon_\mathrm{xc}</math> on the kinetic-energy density <math>\tau(\mathbf r)</math> makes <math>\delta v_\mathrm{xc}/\delta n</math> non-local through the orbital dependence of <math>\tau</math>{{cite|nazarov:vignale:2011}}. These non-local contributions are not implemented in VASP, so the <math>1/q^2</math> long-range component of <math>f_\mathrm{xc}</math> responsible for excitonic effects is missing.
 
== Hybrid functionals ==
 
For a [[:Category:Exchange-correlation functionals|hybrid functional]], a fraction <math>c_\mathrm{x}</math> of the (semi-)local exchange is replaced by exact (Fock) exchange in both solvers{{cite|sander:prb:15}},
::<math>
f_\mathrm{xc}(\mathbf r, \mathbf r') = \left(1-c_\mathrm{x}\right) \frac{\partial^2 \varepsilon_\mathrm{x}}{\partial n(\mathbf r) \, \partial n(\mathbf r')} + \frac{\partial^2 \varepsilon_\mathrm{c}}{\partial n(\mathbf r) \, \partial n(\mathbf r')} + c_\mathrm{x} \frac{\partial^2 \varepsilon_\mathrm{x}^\mathrm{Exact}}{\partial^2 n(\mathbf r, \mathbf r')},
</math>
where <math>c_\mathrm{x}</math> is set by {{TAG|AEXX}} and <math>n(\mathbf r, \mathbf r')</math> is the one-particle density matrix. {{TAG|LFXC}}{{=}}.TRUE. enables the first two terms only; the Fock contribution is enabled separately by {{TAG|LADDER}}{{=}}.TRUE..
 
== Compare Casida and time-evolution TDDFT results ==
The Casida and time-evolution approaches produce very similar results for LDA exchange-correlation. Small differences typically remain because one-center terms in the PAW method are treated differently in the two approaches. To bring the Casida results into closer agreement, increase {{TAG|ENCUTGW}} beyond its default value and set {{TAG|ANTIRES}}=2 in the Casida TDDFT calculation.
 
== Related tags and articles ==
;Tags
:{{TAG|LADDER}}, {{TAG|LHARTREE}}, {{TAG|AEXX}}, {{TAG|ENCUTGW}}
;Articles
:[[Time-dependent density-functional theory calculations]], [[Time-evolution algorithm]]


{{sc|LFXC|Howto|Workflows that use this tag}}
{{sc|LFXC|Howto|Workflows that use this tag}}


== References ==
== References ==
<references/>
<references/>
----


[[Category:INCAR tag]][[Category:Many-body perturbation theory]][[Category:Bethe-Salpeter equations]]
[[Category:INCAR tag]]
[[Category:Many-body perturbation theory]]
[[Category:Bethe-Salpeter equations]]

Latest revision as of 16:23, 5 June 2026

LFXC = .TRUE. | .FALSE.
Default: LFXC = .FALSE. 

Description: LFXC enables the (semi-)local exchange-correlation kernel in Casida and time-evolution TDDFT calculations.


In linear-response TDDFT, the density-density response function [math]\displaystyle{ \chi }[/math] obeys the Dyson equation

[math]\displaystyle{ \chi(\mathbf r, \mathbf r'; \omega) = \chi_\mathrm{KS}(\mathbf r, \mathbf r'; \omega) + \int \mathrm d\mathbf r_1 \mathrm d\mathbf r_2 \, \chi_\mathrm{KS}(\mathbf r, \mathbf r_1; \omega) \left[ v(\mathbf r_1, \mathbf r_2) + f_\mathrm{xc}(\mathbf r_1, \mathbf r_2; \omega) \right] \chi(\mathbf r_2, \mathbf r'; \omega), }[/math]

where [math]\displaystyle{ \chi_\mathrm{KS} }[/math] is the non-interacting Kohn-Sham response function, [math]\displaystyle{ v }[/math] is the bare Coulomb interaction, and [math]\displaystyle{ f_\mathrm{xc} }[/math] is the exchange-correlation kernel. VASP uses the adiabatic approximation, [math]\displaystyle{ f_\mathrm{xc}(\mathbf r, \mathbf r'; \omega) \approx f_\mathrm{xc}(\mathbf r, \mathbf r') }[/math].

Setting LFXC=.TRUE. includes the (semi-)local part of [math]\displaystyle{ f_\mathrm{xc} }[/math] in both the Casida eigenvalue problem (ALGO=TDHF) and the time-evolution TDDFT (or real-time TDDFT) (ALGO=TIMEEV).

(Semi-)local exchange-correlation kernel

The exchange-correlation kernel is computed very differently in the Casida and time-evolution TDDFT approaches. It is defined as the second functional derivative of the exchange-correlation energy density with respect to the charge density,

[math]\displaystyle{ f_\mathrm{xc}(\mathbf r, \mathbf r') = \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n(\mathbf r) \, \partial n(\mathbf r')}\delta(\mathbf r - \mathbf r'). }[/math]

The Casida approach requires the derivative to be evaluated explicitly and therefore implemented for each functional. The time-evolution TDDFT does not require an explicit kernel: its contribution is included implicitly through the propagation of the charge density and the exchange-correlation potential.

Casida equation

For an LDA functional,

[math]\displaystyle{ f_\mathrm{xc}^\mathrm{LDA}(\mathbf r, \mathbf r') = \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n^2} \, \delta(\mathbf r - \mathbf r'). }[/math]

For a GGA functional, gradient terms appear,

[math]\displaystyle{ f_\mathrm{xc}^\mathrm{GGA}(\mathbf r, \mathbf r') = \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n^2}(\mathbf r) \, \delta(\mathbf r - \mathbf r') - \left[\nabla \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial n \, \partial \nabla n}(\mathbf r)\right] \delta(\mathbf r - \mathbf r') - \nabla_i \frac{\partial^2 \varepsilon_\mathrm{xc}}{\partial \nabla_i n \, \partial \nabla_j n}(\mathbf r) \, \nabla_j \delta(\mathbf r - \mathbf r'), }[/math]

where [math]\displaystyle{ i, j }[/math] are summed Cartesian indices. In the Casida approach these gradient terms are dropped and only the density derivatives are kept. Meta-GGA kernels are not supported.

Time-evolution TDDFT (Real-time TDDFT)

The real-time propagation applies [math]\displaystyle{ f_\mathrm{xc} }[/math] directly to the time-dependent density, so LDA and GGA kernels are used in full, including the gradient terms.

For meta-GGA functionals, the dependence of [math]\displaystyle{ \varepsilon_\mathrm{xc} }[/math] on the kinetic-energy density [math]\displaystyle{ \tau(\mathbf r) }[/math] makes [math]\displaystyle{ \delta v_\mathrm{xc}/\delta n }[/math] non-local through the orbital dependence of [math]\displaystyle{ \tau }[/math][1]. These non-local contributions are not implemented in VASP, so the [math]\displaystyle{ 1/q^2 }[/math] long-range component of [math]\displaystyle{ f_\mathrm{xc} }[/math] responsible for excitonic effects is missing.

Hybrid functionals

For a hybrid functional, a fraction [math]\displaystyle{ c_\mathrm{x} }[/math] of the (semi-)local exchange is replaced by exact (Fock) exchange in both solvers[2],

[math]\displaystyle{ f_\mathrm{xc}(\mathbf r, \mathbf r') = \left(1-c_\mathrm{x}\right) \frac{\partial^2 \varepsilon_\mathrm{x}}{\partial n(\mathbf r) \, \partial n(\mathbf r')} + \frac{\partial^2 \varepsilon_\mathrm{c}}{\partial n(\mathbf r) \, \partial n(\mathbf r')} + c_\mathrm{x} \frac{\partial^2 \varepsilon_\mathrm{x}^\mathrm{Exact}}{\partial^2 n(\mathbf r, \mathbf r')}, }[/math]

where [math]\displaystyle{ c_\mathrm{x} }[/math] is set by AEXX and [math]\displaystyle{ n(\mathbf r, \mathbf r') }[/math] is the one-particle density matrix. LFXC=.TRUE. enables the first two terms only; the Fock contribution is enabled separately by LADDER=.TRUE..

Compare Casida and time-evolution TDDFT results

The Casida and time-evolution approaches produce very similar results for LDA exchange-correlation. Small differences typically remain because one-center terms in the PAW method are treated differently in the two approaches. To bring the Casida results into closer agreement, increase ENCUTGW beyond its default value and set ANTIRES=2 in the Casida TDDFT calculation.

Related tags and articles

Tags
LADDER, LHARTREE, AEXX, ENCUTGW
Articles
Time-dependent density-functional theory calculations, Time-evolution algorithm

Workflows that use this tag

References