Time-dependent density-functional theory calculations: Difference between revisions

From VASP Wiki
No edit summary
Line 1: Line 1:
VASP offers a powerful module for performing time-dependent density functional theory (TDDFT) or time-dependent Hartree-Fock (TDHF) calculations in the Casida formulation {{cite|albrecht:prl:98}}{{cite|rohlfing:prl:98}}. This approach can be used for obtaining the frequency-dependent dielectric function with the excitonic effects and can be based on the ground-state electronic structure in the DFT, hybrid-functional or ''GW'' approximations.   
VASP offers a powerful module for performing time-dependent density-functional theory (TDDFT) or time-dependent Hartree-Fock (TDHF) calculations in the Casida formulation {{cite|casida:jomst:2009}}. This approach can be used for obtaining the frequency-dependent dielectric function with the excitonic effects and can be based on the ground-state electronic structure in the DFT, hybrid-functional or ''GW'' approximations.   


__TOC__
__TOC__


== Solving Casida equations ==
== Solving Casida equations ==
In VASP, the algorithm for constructing and solving the Casida equation can be selected by {{TAG|ALGO}} = TDHF. This approach essentially solves the same equations as BSE but differs in the way the screening of the Coulomb potential is approximated. The TDHF approach uses the exact-correlation kernel <math>f_{\rm xc}</math>, whereas BSE requires the <math>W(\omega \to 0)</math> from a preceding ''GW '' calculation. Thus, in order to perform a TDHF calculation, one has to provide the ground-state orbitals ({{FILE|WAVECAR}}) and the derivatives of the orbitals with respect to <math>k</math> ({{FILE|WAVEDER}}).
The algorithm for solving the Casida equation can be selected by setting {{TAG|ALGO}} = TDHF. This approach is very similar to solving the BSE but differs in the way the screening of the Coulomb potential is approximated. The TDHF approach uses the exact-correlation kernel <math>f_{\rm xc}</math>, whereas BSE requires the <math>W(\omega \to 0)</math> from a preceding ''GW '' calculation. Thus, in order to perform a TDHF calculation, one has to provide the ground-state orbitals ({{FILE|WAVECAR}}) and the derivatives of the orbitals with respect to <math>k</math> ({{FILE|WAVEDER}}).


In summary, both TDHF and BSE approaches require a preceding ground-state calculation, however, the TDHF does not need the preceding ''GW'' and can be performed with the DFT or hybrid-functional orbitals and energies.
In summary, both TDHF and BSE approaches require a preceding ground-state calculation, however, the TDHF does not need the preceding ''GW'' and can be performed with the DFT or hybrid-functional orbitals and energies.


== Time-dependent Hartree-Fock calculation ==
== Time-dependent Hartree-Fock ==
The TDHF calculations can be performed in two steps: the ground-state calculation and the optical absorption calculation. For example, optical absorption of bulk Si can be performed with a hybrid-functional electronic structure, where the number of bands is increased to include the relevant conduction bands:
The TDHF calculations can be performed in two steps: the ground-state calculation and the optical absorption calculation. For example, an optical absorption calculation of bulk Si can be performed using a dielectric-dependent  hybrid-functional described in Ref. {{cite|chen2018nonempirical}}.


  {{TAG|SYSTEM}}    = Si
  {{TAG|SYSTEM}}    = Si
Line 17: Line 17:
  {{TAG|ALGO}}      = D      ! Damped algorithm often required for HF type calculations, {{TAG|ALGO}} = Normal might work as well
  {{TAG|ALGO}}      = D      ! Damped algorithm often required for HF type calculations, {{TAG|ALGO}} = Normal might work as well
  {{TAG|LHFCALC}}  = .TRUE.  
  {{TAG|LHFCALC}}  = .TRUE.  
  {{TAG|AEXX}}      = 0.3
{{TAG|LMODELHF}}  = .TRUE.
  {{TAG|HFSCREEN}}  = 0.2
  {{TAG|AEXX}}      = 0.083
  {{TAG|HFSCREEN}}  = 1.22
  {{TAG|LOPTICS}}  = .TRUE.  ! can also be done in an additional intermediate step
  {{TAG|LOPTICS}}  = .TRUE.  ! can also be done in an additional intermediate step


In the second step, the dielectric function is evaluated by solving the Casida equation for the
In the second step, the dielectric function is evaluated by solving the Casida equation  


  {{TAG|SYSTEM}}    = Si
  {{TAG|SYSTEM}}    = Si
Line 28: Line 29:
  {{TAG|NBANDS}}    = 16     
  {{TAG|NBANDS}}    = 16     
  {{TAG|ALGO}}      = TDHF
  {{TAG|ALGO}}      = TDHF
  {{TAG|AEXX}}      = 0.3
{{TAG|NBANDSO}}  = 4      ! determines how many occupied bands are used
  {{TAG|HFSCREEN}}  = 0.2
{{TAG|NBANDSV}}  = 8      ! determines how many unoccupied (virtual) bands are used
{{TAG|LMODELHF}}  = .TRUE.
  {{TAG|AEXX}}      = 0.083
  {{TAG|HFSCREEN}}  = 1.22


THDF calculations can be performed for non-spin-polarized, spin-polarized, and noncollinear cases, as well as the case with spin-orbit coupling. There is, however, one caveat. The local exchange-correlation kernel is approximated by the density-density part only. This makes predictions for spin-polarized systems less accurate than for non-spin-polarized systems.
THDF calculations can be performed for non-spin-polarized, spin-polarized, and noncollinear cases, as well as the case with spin-orbit coupling. There is, however, one caveat. The local exchange-correlation kernel is approximated by the density-density part only. This makes predictions for spin-polarized systems less accurate than for non-spin-polarized systems.


== Time-dependent DFT calculation ==
== Time-dependent DFT calculation ==
Within the TD-DFT approximation, the Fock exchange is not included in the exchange-correlation kernel and the ladder diagrams are not taken into account. Hence, only the local contributions in <math>f_{\rm xc}</math> are present
If the Fock exchange is not included in the exchange-correlation kernel ({{TAG|AEXX}} = 0.0), the ladder diagrams are not taken into account. Hence, only the local contributions in <math>f_{\rm xc}</math> are present.


  {{TAG|SYSTEM}}    = Si
  {{TAG|SYSTEM}}    = Si
Line 41: Line 45:
  {{TAG|NBANDS}}    = 16     
  {{TAG|NBANDS}}    = 16     
  {{TAG|ALGO}}      = TDHF
  {{TAG|ALGO}}      = TDHF
{{TAG|NBANDSO}}  = 4      ! determines how many occupied bands are used
{{TAG|NBANDSV}}  = 8      ! determines how many unoccupied (virtual) bands are used
  {{TAG|LFXC}}      = .TRUE.
  {{TAG|LFXC}}      = .TRUE.
  {{TAG|AEXX}}      = 0.0  
  {{TAG|AEXX}}      = 0.0  


Since the ladder diagrams are not included in the TD-DFT calculation, the resulting dielectric function lacks the excitonic effects.   
In the TDDFT calculation, where the ladder diagrams are not included, the resulting dielectric function lacks the excitonic effects.   




Line 50: Line 56:
VASP tries to use sensible defaults, but it is highly recommended to check the {{FILE|OUTCAR}} file and make sure that the right bands are included.  The tag {{TAG|OMEGAMAX}} specifies the maximum excitation energy of included electron-hole pairs and the pairs with the one-electron energy difference beyond this limit are not included in the BSE Hamiltonian.  Hint: The convergence with respect to {{TAG|NBANDSV}} and {{TAG|OMEGAMAX}} should be thoroughly checked as the real part of the dielectric function, as well as the correlation energy, is usually very sensitive to these values, whereas the imaginary part of the dielectric function converges quickly.
VASP tries to use sensible defaults, but it is highly recommended to check the {{FILE|OUTCAR}} file and make sure that the right bands are included.  The tag {{TAG|OMEGAMAX}} specifies the maximum excitation energy of included electron-hole pairs and the pairs with the one-electron energy difference beyond this limit are not included in the BSE Hamiltonian.  Hint: The convergence with respect to {{TAG|NBANDSV}} and {{TAG|OMEGAMAX}} should be thoroughly checked as the real part of the dielectric function, as well as the correlation energy, is usually very sensitive to these values, whereas the imaginary part of the dielectric function converges quickly.


At the beginning of the BSE calculation, VASP will try to read the {{FILE|WFULLxxxx.tmp}} files and if these files are not found, VASP will read the {{FILE|Wxxxx.tmp}} files. For small isotropic bulk systems, the diagonal approximation of the dielectric screening may be sufficient and yields results very similar to the calculation with the full dielectric tensor {{TAG|WFULLxxxx.tmp}}. Nevertheless, for molecules and atoms as well as surfaces, the full-screened Coulomb kernel is strictly required.


Both TDHF and BSE approaches write the calculated frequency-dependent dielectric function as well as the excitonic energies in the {{TAG|vasprun.xml}} file.
The calculated frequency-dependent dielectric function, transition energies and oscillator strength values are stored in the {{TAG|vasprun.xml}} file.


== Calculations beyond Tamm-Dancoff approximation ==
== Calculations beyond Tamm-Dancoff approximation ==
The TDHF and BSE calculations beyond the Tamm-Dancoff approximation (TDA){{cite|sander:prb:15}} can be performed by setting the {{TAG|ANTIRES}} = 2 in the {{TAG|INCAR}} file
Calculations beyond Tamm-Dancoff approximation can be performed in the same manner as in the [[BSE calculations#Calculations beyond Tamm-Dancoff approximation|BSE]].
 
{{TAG|SYSTEM}}      = Si
{{TAG|NBANDS}}      = same as in GW calculation
{{TAG|ISMEAR}}      = 0
{{TAG|SIGMA}}        = 0.05
{{TAG|ALGO}}        = BSE
{{TAG|ANTIRES}}      = 2      ! beyond Tamm-Dancoff
{{TAG|LORBITALREAL}} = .TRUE.
{{TAG|NBANDSO}}      = 4
{{TAG|NBANDSV}}      = 8
 
The flag {{TAG|LORBITALREAL}} = .TRUE. forces VASP to make the orbitals <math> \phi({\bf r}) </math> real valued at the Gamma point as well as k-points at the edges of the Brillouin zone. This can improve the performance of BSE/TDHF calculations but it should be used consistently with the ground-state calculation.


== Calculations at finite wavevectors ==
== Calculations at finite wavevectors ==
VASP can also calculate the dielectric function at a <math>{\bf q}</math>-vector compatible with the k-point grid (finite-momentum excitons).
Calculations at finite wavevectors can be performed in the same manner as in the [[BSE calculations#Calculations at finite wavevectors|BSE]].
 
{{TAG|SYSTEM}}      = Si
{{TAG|NBANDS}}      = same as in GW calculation
{{TAG|ISMEAR}}      = 0
{{TAG|SIGMA}}        = 0.05
{{TAG|ALGO}}        = BSE
{{TAG|ANTIRES}}      = 2
{{TAG|KPOINT_BSE}}  = 3 -1 0 0  ! q-point index,  three integers
{{TAG|LORBITALREAL}} = .TRUE.
{{TAG|NBANDSO}}      = 4
{{TAG|NBANDSV}}      = 8
 
The tag {{TAG|KPOINT_BSE}} sets the <math>{\bf q}</math>-point and the shift at which the dielectric function is calculated. The first integer specifies the index of the <math>{\bf q}</math>-point and the other three values shift the provided <math>{\bf q}</math>-point by an arbitrary reciprocal vector <math> \bf G</math>.  The reciprocal lattice vector is supplied by three integer values <math> n_i</math> with <math> {\bf G}= n_1 {\bf G}_1+n_2 {\bf G}_2+n_3 {\bf G}_3</math>.  This feature is only supported as of VASP.6 (in VASP.5 the feature can be enabled, but the results are erroneous).
 




Line 91: Line 70:


----
----
[[Category:Many-body perturbation theory]][[Category:Bethe-Salpeter equations]][[Category:Howto]]
[[Category:Time-dependent density functional theory]][[Category:Howto]]

Revision as of 14:36, 17 October 2023

VASP offers a powerful module for performing time-dependent density-functional theory (TDDFT) or time-dependent Hartree-Fock (TDHF) calculations in the Casida formulation . This approach can be used for obtaining the frequency-dependent dielectric function with the excitonic effects and can be based on the ground-state electronic structure in the DFT, hybrid-functional or GW approximations.

Solving Casida equations

The algorithm for solving the Casida equation can be selected by setting ALGO = TDHF. This approach is very similar to solving the BSE but differs in the way the screening of the Coulomb potential is approximated. The TDHF approach uses the exact-correlation kernel , whereas BSE requires the from a preceding GW calculation. Thus, in order to perform a TDHF calculation, one has to provide the ground-state orbitals (WAVECAR) and the derivatives of the orbitals with respect to (WAVEDER).

In summary, both TDHF and BSE approaches require a preceding ground-state calculation, however, the TDHF does not need the preceding GW and can be performed with the DFT or hybrid-functional orbitals and energies.

Time-dependent Hartree-Fock

The TDHF calculations can be performed in two steps: the ground-state calculation and the optical absorption calculation. For example, an optical absorption calculation of bulk Si can be performed using a dielectric-dependent hybrid-functional described in Ref. [1].

SYSTEM    = Si
ISMEAR    = 0 
SIGMA     = 0.05
NBANDS    = 16      ! or any larger desired value
ALGO      = D       ! Damped algorithm often required for HF type calculations, ALGO = Normal might work as well
LHFCALC   = .TRUE. 
LMODELHF  = .TRUE. 
AEXX      = 0.083
HFSCREEN  = 1.22
LOPTICS   = .TRUE.  ! can also be done in an additional intermediate step

In the second step, the dielectric function is evaluated by solving the Casida equation

SYSTEM    = Si
ISMEAR    = 0 
SIGMA     = 0.05
NBANDS    = 16     
ALGO      = TDHF
NBANDSO   = 4       ! determines how many occupied bands are used
NBANDSV   = 8       ! determines how many unoccupied (virtual) bands are used
LMODELHF  = .TRUE. 
AEXX      = 0.083
HFSCREEN  = 1.22

THDF calculations can be performed for non-spin-polarized, spin-polarized, and noncollinear cases, as well as the case with spin-orbit coupling. There is, however, one caveat. The local exchange-correlation kernel is approximated by the density-density part only. This makes predictions for spin-polarized systems less accurate than for non-spin-polarized systems.

Time-dependent DFT calculation

If the Fock exchange is not included in the exchange-correlation kernel (AEXX = 0.0), the ladder diagrams are not taken into account. Hence, only the local contributions in are present.

SYSTEM    = Si
ISMEAR    = 0 
SIGMA     = 0.05
NBANDS    = 16     
ALGO      = TDHF
NBANDSO   = 4       ! determines how many occupied bands are used
NBANDSV   = 8       ! determines how many unoccupied (virtual) bands are used
LFXC      = .TRUE.
AEXX      = 0.0 

In the TDDFT calculation, where the ladder diagrams are not included, the resulting dielectric function lacks the excitonic effects.


VASP tries to use sensible defaults, but it is highly recommended to check the OUTCAR file and make sure that the right bands are included. The tag OMEGAMAX specifies the maximum excitation energy of included electron-hole pairs and the pairs with the one-electron energy difference beyond this limit are not included in the BSE Hamiltonian. Hint: The convergence with respect to NBANDSV and OMEGAMAX should be thoroughly checked as the real part of the dielectric function, as well as the correlation energy, is usually very sensitive to these values, whereas the imaginary part of the dielectric function converges quickly.


The calculated frequency-dependent dielectric function, transition energies and oscillator strength values are stored in the vasprun.xml file.

Calculations beyond Tamm-Dancoff approximation

Calculations beyond Tamm-Dancoff approximation can be performed in the same manner as in the BSE.

Calculations at finite wavevectors

Calculations at finite wavevectors can be performed in the same manner as in the BSE.


References