Improving the dielectric function: Difference between revisions

From VASP Wiki
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:BSE}}
{{Template:BSE - Tutorial}}


== Task ==  
== Task ==  
Line 29: Line 29:
   0
   0
  Gamma
  Gamma
   6 6 6
   4 4 4
   0 0 0
   0 0 0


Line 40: Line 40:


* Model-BSE:
* Model-BSE:
:Use a parametrized model<ref name="bokdam:scr:6"/> for the dielectric screening, and DFT eigenenergies moved with a ''scissor'' operator, instead of RPA screening and GW quasiparticle energies.
:Use a parametrized model<ref name="bokdam:scr:6"/><ref name="liu:bse"/> for the dielectric screening, and DFT eigenenergies moved with a ''scissor'' operator, instead of RPA screening and GW quasiparticle energies.


=== Averaging over multiple grids ===
=== Averaging over multiple grids ===
Line 57: Line 57:
  {{TAGBL|KPAR}} = 2
  {{TAGBL|KPAR}} = 2
   
   
  {{TAGBL|NBANDS}} = 128  
  {{TAGBL|NBANDS}} = 32 # The number of bands in the consecutive BSE calculation should be the same!  
  {{TAGBL|LOPTICS}} = .TRUE.; {{TAGBL|LPEAD}} = .FALSE.
  {{TAGBL|LOPTICS}} = .TRUE.; {{TAGBL|LPEAD}} = .FALSE.
  {{TAGBL|ISYM}} = -1
  {{TAGBL|ISYM}} = -1
Line 65: Line 65:


=== Model-BSE ===
=== Model-BSE ===
The dielectric function <math> \epsilon^{-1}_{\mathbf{G},\mathbf{G'}} (\mathbf{k})</math> is replaced by the local model function:
The dielectric function <math> \epsilon^{-1}_{\mathbf{G},\mathbf{G'}} (\mathbf{q})</math> is replaced by the local model function:


:<math> \epsilon^{-1} (\mathbf{k}+\mathbf{G}) = 1 - (1-\epsilon_{\infty}^{-1}) \exp \left(\frac{-(2\pi |\mathbf{k}+\mathbf{G}|)^{2}}{4 \lambda^{2}}\right) </math>.
:<math> {\varepsilon}_{\mathbf{G},\mathbf{G}}^{-1}(\mathbf{q})=1-(1-{{\varepsilon}_{\infty}^{-1}})\text{exp}(-\frac{|\mathbf{q+G}|^2}{4{\lambda}^2})</math>.


This makes the screened Coulomb kernel diagonal <math>(\mathbf{G}=\mathbf{G'})</math> in the screened Coulomb potential:
This makes the screened Coulomb kernel diagonal <math>(\mathbf{G}=\mathbf{G'})</math> in the screened Coulomb potential:


:<math> W^{cv\mathbf{k}}_{c'v'\mathbf{k}} = \frac{4\pi e^{2}}{\Omega} \sum\limits_{\mathbf{G}} B^{c\mathbf{k}}_{c'\mathbf{k}}(\mathbf{G}) \frac{\epsilon^{-1}(\mathbf{k}+\mathbf{G})}{|\mathbf{k}+\mathbf{G}|^{2}} B^{v\mathbf{k}}_{v'\mathbf{k}}(\mathbf{G}) </math>,
:<math> W^{cv\mathbf{k}}_{c'v'\mathbf{k}} = \frac{4\pi e^{2}}{\Omega} \sum\limits_{\mathbf{G}} \frac{\epsilon^{-1}_{\mathbf{G},\mathbf{G}}(\mathbf{0})}{|\mathbf{G}|^{2}}B^{c\mathbf{k}}_{c'\mathbf{k}}(\mathbf{G}) [B^{v\mathbf{k}}_{v'\mathbf{k}}(\mathbf{G})]^* </math>,


where <math> B^{n\mathbf{k}}_{n'\mathbf{k}}(\mathbf{G}) </math> denote Bloch integrals of the cell-periodic part of the Bloch waves.
where <math> B^{n\mathbf{k}}_{n'\mathbf{k}}(\mathbf{G}) </math> denote Bloch integrals of the cell-periodic part of the Bloch waves.
Line 79: Line 79:
:* Use DFT single particle eigenvalues + SCISSOR (SCISSOR=GW band gap - DFT band gap).
:* Use DFT single particle eigenvalues + SCISSOR (SCISSOR=GW band gap - DFT band gap).
:* Use DFT single particle orbitals.
:* Use DFT single particle orbitals.
*Extract <math> \mathbf{G}=\mathbf{G'}</math> dielectric function from the {{TAG|vasprun.xml}} file from the previous GW calculation using the script ''extract_optics.sh'' or view the file ''dieG_g6x6x6-GW0.dat''. Use {{TAG|AEXX}}=0.088 for <math> \epsilon^{-1}_{\infty}</math> and {{TAG|HFSCREEN}}=1.26 for <math> \lambda</math>.Then fit the model to get:
*Extract <math> \mathbf{G}=\mathbf{G'}</math> dielectric function from the {{TAG|vasprun.xml}} file from the previous GW calculation using the script ''./extract_die_G.sh vasprun.xml > dieG_g6x6x6-GW0.dat''' or view the attached file ''dieG_g6x6x6-GW0.dat''. Use {{TAG|AEXX}}=0.088 for <math> \epsilon^{-1}_{\infty}</math> and {{TAG|HFSCREEN}}=1.26 for <math> \lambda</math>.Then fit the model to get:
[[File:Fig BSE example2 4.png|500px]]
[[File:Fig BSE example2 4.png|500px]]
*Check the GW+BSE and DFT+mBSE calculations for constistency:
*Check the GW+BSE and DFT+mBSE calculations for constistency:
Line 120: Line 120:


== Download ==
== Download ==
[http://www.vasp.at/vasp-workshop/examples/Si_improve_eps.tgz Si_improve_eps.tgz]
[[Media:Si improve eps.tgz| Si_improve_eps.tgz]]


== References ==
== References ==
<references>
<references>
<ref name="bokdam:scr:6">[https://www.nature.com/articles/srep28618 M.Bokdam  et al., Scientific Reports 6, 28618 (2016).]</ref>
<ref name="bokdam:scr:6">[https://www.nature.com/articles/srep28618 M.Bokdam  et al., Scientific Reports 6, 28618 (2016).]</ref>
<ref name="liu:bse">[https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.2.075003 P.Liu  et al., Phys. Rev. Materials 2, 075003 (2018).]</ref>
</references>
</references>


{{Template:BSE}}
{{Template:BSE}}
Back to the [[The_VASP_Manual|main page]]


[[Category:Examples]]
[[Category:Examples]]

Latest revision as of 13:47, 14 November 2019

Task

Calculate the dielectric function of Si using an averaging over multiple grids or a model-BSE to improve k-sampling in BSE calculations.

Input

Si
 5.4300
0.5 0.5 0.0
0.0 0.5 0.5
0.5 0.0 0.5
2
cart
0.00 0.00 0.00 
0.25 0.25 0.25 

INCAR

  • This is the INCAR file for the basic DFT calculation:
System  = Si
PREC = Normal ; ENCUT = 250.0
ISMEAR = 0 ; SIGMA = 0.01
KPAR = 2
EDIFF = 1.E-8

KPOINTS

Automatic
 0
Gamma
 4 4 4 
 0 0 0

Calculation

The calculated spectra can be improved in two ways:

  • Averaging over multiple grids:
Compute N independent dielectric functions using BSE (or any other method), using shifted grids of k-points, and take the average over the results.
  • Model-BSE:
Use a parametrized model[1][2] for the dielectric screening, and DFT eigenenergies moved with a scissor operator, instead of RPA screening and GW quasiparticle energies.

Averaging over multiple grids

  • Construct shifted k-point grid with the same density.
  • k-point grid irreducible k-points with weights . We do calculations on a grid, shifted of Gamma by .
  • Extract the dielectric function of each calculation and average over them with respect to the weights :

We have now effectively constructed the result for a grid. But interactions of range longer than times the supercell size have been ignored.

  • In our example we use and : Effectively we use k-points.

  • In the script doall-average.sh the scheme is written for and . At the end the dielectric functions are extracted and averaged accordingly. You can choose up to which level of theory (DFT, RPA, BSE) the dielectric function is computed by commenting out the corresponding lines in the script (default is all the way up to BSE).
  • Because of the shifted grids we have to use density functional perturbation theory to calculate the derivatives of the wave functions with respect to and not the finite difference scheme. We also have to switch off all k-points symmetry in all INCAR files. These two important parameters look like the following in the INCAR file:
PREC = Normal ; ENCUT = 250.0
 
ALGO = EXACT ; NELM = 1
ISMEAR = 0 ; SIGMA = 0.01
KPAR = 2

NBANDS = 32 # The number of bands in the consecutive BSE calculation should be the same!  
LOPTICS = .TRUE.; LPEAD = .FALSE.
ISYM = -1
OMEGAMAX = 40
  • Finally the averaging over multiple grids should should give spectra that are in much closer agreement than the calculations using k-points:

Model-BSE

The dielectric function is replaced by the local model function:

.

This makes the screened Coulomb kernel diagonal in the screened Coulomb potential:

,

where denote Bloch integrals of the cell-periodic part of the Bloch waves.

  • In addition to a model dielectric function we need approximate quasiparticle energies and wave functions.
Approximation:
  • Use DFT single particle eigenvalues + SCISSOR (SCISSOR=GW band gap - DFT band gap).
  • Use DFT single particle orbitals.
  • Extract dielectric function from the vasprun.xml file from the previous GW calculation using the script ./extract_die_G.sh vasprun.xml > dieG_g6x6x6-GW0.dat' or view the attached file dieG_g6x6x6-GW0.dat. Use AEXX=0.088 for and HFSCREEN=1.26 for .Then fit the model to get:

  • Check the GW+BSE and DFT+mBSE calculations for constistency:

  • The sequence of calculations as given in the script doall-model.sh consists of two steps:
  • Step 1: standard DFT calculation. The INCAR file (INCAR.DFT) for this step looks as follows:
PREC = Normal ; ENCUT = 250.0
ISMEAR = 0 ; SIGMA = 0.01
EDIFF = 1.E-8
NBANDS = 16
PRECFOCK = Normal
 
#WAVEDER file must be made:
LOPTICS = .TRUE.
LPEAD = .TRUE.
OMEGAMAX = 40
  • Step2: model BSE calculation. The INCAR file (INCAR.mBSE) for this step looks as follows:
PREC = Normal ; ENCUT = 250.0
 
ALGO = TDHF
ANTIRES = 0 ; SIGMA = 0.01
ENCUTGW = 150
 
EDIFF = 1.E-8
NBANDS = 16
NBANDSO = 4
NBANDSV = 8
OMEGAMAX = 20

PRECFOCK = Normal

LMODELHF = .TRUE.
HFSCREEN = 1.26
AEXX = 0.088
SCISSOR = 0.69
  • Finally the result of the DFT+mBSE should be of similar accuracy as the GW+BSE calculations when compared to experiment:

Download

Si_improve_eps.tgz

References