DOSCAR: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The {{TAG|DOSCAR}} file contains the DOS and integrated DOS. The units are number of states/unit cell''. For dynamic simulations and relaxations, an averaged DOS and an averaged integrated DOS is written to the file. For a description of how the averaging is done see the tags {{TAG|NBLOCK}}, {{TAG|KBLOCK}}, {{TAG|EMIN}}, {{TAG|EMAX}} and {{TAG|NEDOS}}. The first few lines of the {{TAG|DOSCAR}} file are made up by a header which is followed by {{TAG|NEDOS}} lines holding three data
The {{TAG|DOSCAR}} file contains the DOS and integrated DOS. The units are number of states/eV and number of states, respectively and thus extensively defined. The intensive DOS is obtained by dividing by the Volume of the unit cell. For dynamic simulations and relaxations, an averaged DOS and an averaged integrated DOS is written to the file. For a description of how the averaging is done see the tags {{TAG|NBLOCK}}, {{TAG|KBLOCK}}, {{TAG|EMIN}}, {{TAG|EMAX}} and {{TAG|NEDOS}}. The first few lines of the {{TAG|DOSCAR}} file are made up by a header:


Number of Ions (including empty spheres), Number of Ions, 0 (no partial DOS) or 1 (incl. partial DOS), NCDIJ (currently not used)   
Volume of the unit cell [Angst**3], length of the basis vectors (a,b,c [m]), {{TAG|POTIM}}[s]
the initial Temperature {{TAG|TEBEG}}
'CAR'
the name of the system as given by {{TAG|SYSTEM}} in {{TAG|INCAR}}
E(max), E(min), (the energy range in which the DOS is given), {{TAG|NEDOS}},  E(fermi), 1.0000
which is followed by {{TAG|NEDOS}} lines with the columns
  energy    DOS    integrated DOS
  energy    DOS    integrated DOS


The density of states  (DOS) <math>\bar n</math>, is actually determined as the difference of the integrated DOS between two pins, i.e.
The density of states  (DOS) <math>\bar n</math>, for Methfessel-Paxton smearing ({{TAG|ISMEAR}}>0) and Fermi-Dirac smearing ({{TAG|ISMEAR}}=-1) is determined as the difference of the integrated DOS between two pins, i.e.


<math> \bar n(\epsilon_i) = (N(\epsilon_i) -  N(\epsilon_{i-1})) / \Delta \epsilon </math>
:<math> \bar n(\epsilon_i) = (N(\epsilon_i) -  N(\epsilon_{i-1})) / \Delta \epsilon </math>


where <math>\Delta \epsilon</math> is the distance between two pins (energy difference between two grid point in the {{TAG|DOSCAR}} file), and <math>N(\epsilon_i)</math> is the integrated DOS
where <math>\Delta \epsilon</math> is the distance between two pins (energy difference between two grid point in the {{TAG|DOSCAR}} file), and <math>N(\epsilon_i)</math> is the integrated DOS


<math>N (\epsilon_{i}) = \int_{-\infty}^{\epsilon_i} n(\epsilon) d \epsilon.</math>
:<math>N (\epsilon_{i}) = \int_{-\infty}^{\epsilon_i} n(\epsilon) d \epsilon.</math>


This method conserves the total number of electrons exactly. For spin-polarized calculations each line holds five data
This method conserves the total number of electrons exactly.
For the tetrahedron method ({{TAG|ISMEAR}}=-4 or -5), the total integrated DOS is computed using the formulas in Appendix A and B of Bloechl's paper {{cite|bloechl:prb:1994}} and the DOS using the formulas from Appendix C {{cite|bloechl:prb:1994}}.
In this case, it is not guaranteed that integrating the DOS will conserve the number of electrons. This can however be systematically improved by increasing {{TAG|NEDOS}}.
 
For spin-polarized calculations {{TAG|ISPIN}}=2 each line holds five data columns with the following format


  energy    DOS(up) DOS(dwn)  integrated DOS(up) integrated DOS(dwn)
  energy    DOS(up) DOS(dwn)  integrated DOS(up) integrated DOS(dwn)


If {{TAG|RWIGS}} or {{TAG|LORBIT}} (important for Wigner Seitz radii) is set in the {{TAG|INCAR}} file, an lm- and site-projected DOS isvcalculated and also written to the {{TAG|DOSCAR}} file. One set of data is written for each ion, each set of data holds {{TAG|NDOS}} lines with the following data
If {{TAG|RWIGS}} or {{TAG|LORBIT}} (important for Wigner Seitz radii) is set in the {{TAG|INCAR}} file, an lm- and site-projected DOS is calculated and written to the {{TAG|DOSCAR}} file for each ion. This data, again, contains {{TAG|NEDOS}} lines with various columns depending on the choice of {{TAG|LORBIT}}, {{TAG|ISPIN}} and {{TAG|LNONCOLLINEAR}}.


In the case of colinear calculations with {{TAG|ISPIN}}=1, the format for l-decomposed calculations for each ion is
  energy s-DOS p-DOS d-DOS
  energy s-DOS p-DOS d-DOS


or
while for lm-resolved calculations the format is:
energy  s  p_y p_z p_x d_{xy} d_{yz} d_{z2-r2} d_{xz} d_{x2-y2},...


For spin-polarized systems {{TAG|ISPIN}} = 2 additional columns are printed for each spin channel
  energy s-DOS(up) s-DOS(down) p-DOS(up) p-DOS(dwn) d-DOS(up) d-DOS(dwn)
  energy s-DOS(up) s-DOS(down) p-DOS(up) p-DOS(dwn) d-DOS(up) d-DOS(dwn)
and correspondingly if lm-decomposed densities are selected with {{TAG|LORBIT}}.


for the non spin-polarized and spin polarized case respectively. As before the written densities are understood as the difference of the integrated DOS between two pins.
For non-collinear calculations, information on the individual spinor components is available only for the site projected density of states:
 
For non-collinear calculations, the total DOS has the following format:
 
energy    DOS(total)  integrated-DOS(total)
 
Information on the individual spin components is available only for the site projected density of states, which has the format:


  energy s-DOS(total) s-DOS(mx) s-DOS(my) s-DOS(mz) p-DOS(total) p-DOS(mx) ...
  energy s-DOS(total) s-DOS(mx) s-DOS(my) s-DOS(mz) p-DOS(total) p-DOS(mx) ...
Line 35: Line 45:
In this case, the  (site projected) total density of states (total) and the  (site projected) energy resolved magnetization density in the <math>x</math> (mx), <math>y</math> (my) and <math>z</math> (mz)  directions are available.
In this case, the  (site projected) total density of states (total) and the  (site projected) energy resolved magnetization density in the <math>x</math> (mx), <math>y</math> (my) and <math>z</math> (mz)  directions are available.


In all cases, the units of the l- and site projected DOS are states/atom/energy.
In all cases, the units of the l- and site projected DOS are states/atom/energy.
 


The site projected DOS is not evaluated in the parallel version for the following cases:
The site projected DOS is not evaluated in the parallel version for the following cases:
Line 41: Line 52:
*vasp.4.6,  {{TAG|NPAR}}<math>\ne</math>1, {{TAG|LORBIT}}=0-5 no site projected DOS   
*vasp.4.6,  {{TAG|NPAR}}<math>\ne</math>1, {{TAG|LORBIT}}=0-5 no site projected DOS   
In vasp.4.6 the site projected DOS can be evaluated for {{TAG|LORBIT}}=10-12, even if {{TAG|NPAR}} is not equal 1 (contrary to previous releases).
In vasp.4.6 the site projected DOS can be evaluated for {{TAG|LORBIT}}=10-12, even if {{TAG|NPAR}} is not equal 1 (contrary to previous releases).
*vasp.5 needs no specification of {{TAG|NPAR}}


Mind: For relaxations, the {{TAG|DOSCAR}} is usually useless. If you want to get an accurate DOS for the final configuration, first copy {{TAG|CONTCAR}} to {{TAG|POSCAR}} and continue with one static ({{TAG|ISTART}}=1; {{TAG|NSW}}=0) calculation.
Mind: For relaxations, the {{TAG|DOSCAR}} is usually useless. If you want to get an accurate DOS for the final configuration, first copy {{TAG|CONTCAR}} to {{TAG|POSCAR}} and continue with one static ({{TAG|ISTART}}=1; {{TAG|NSW}}=0) calculation.
Line 46: Line 58:
----
----


[[The_VASP_Manual|Contents]]


[[Category:Files]]
[[Category:Files]][[Category:Output Files]]

Latest revision as of 13:20, 30 August 2022

The DOSCAR file contains the DOS and integrated DOS. The units are number of states/eV and number of states, respectively and thus extensively defined. The intensive DOS is obtained by dividing by the Volume of the unit cell. For dynamic simulations and relaxations, an averaged DOS and an averaged integrated DOS is written to the file. For a description of how the averaging is done see the tags NBLOCK, KBLOCK, EMIN, EMAX and NEDOS. The first few lines of the DOSCAR file are made up by a header:

Number of Ions (including empty spheres), Number of Ions, 0 (no partial DOS) or 1 (incl. partial DOS), NCDIJ (currently not used)     
Volume of the unit cell [Angst**3], length of the basis vectors (a,b,c [m]), POTIM[s]
the initial Temperature TEBEG 
'CAR'
the name of the system as given by SYSTEM in INCAR
E(max), E(min), (the energy range in which the DOS is given), NEDOS,  E(fermi), 1.0000

which is followed by NEDOS lines with the columns

energy     DOS     integrated DOS

The density of states (DOS) , for Methfessel-Paxton smearing (ISMEAR>0) and Fermi-Dirac smearing (ISMEAR=-1) is determined as the difference of the integrated DOS between two pins, i.e.

where is the distance between two pins (energy difference between two grid point in the DOSCAR file), and is the integrated DOS

This method conserves the total number of electrons exactly. For the tetrahedron method (ISMEAR=-4 or -5), the total integrated DOS is computed using the formulas in Appendix A and B of Bloechl's paper [1] and the DOS using the formulas from Appendix C [1]. In this case, it is not guaranteed that integrating the DOS will conserve the number of electrons. This can however be systematically improved by increasing NEDOS.

For spin-polarized calculations ISPIN=2 each line holds five data columns with the following format

energy     DOS(up) DOS(dwn)  integrated DOS(up) integrated DOS(dwn)

If RWIGS or LORBIT (important for Wigner Seitz radii) is set in the INCAR file, an lm- and site-projected DOS is calculated and written to the DOSCAR file for each ion. This data, again, contains NEDOS lines with various columns depending on the choice of LORBIT, ISPIN and LNONCOLLINEAR.

In the case of colinear calculations with ISPIN=1, the format for l-decomposed calculations for each ion is

energy s-DOS p-DOS d-DOS

while for lm-resolved calculations the format is:

energy  s  p_y p_z p_x d_{xy} d_{yz} d_{z2-r2} d_{xz} d_{x2-y2},...

For spin-polarized systems ISPIN = 2 additional columns are printed for each spin channel

energy s-DOS(up) s-DOS(down) p-DOS(up) p-DOS(dwn) d-DOS(up) d-DOS(dwn)

and correspondingly if lm-decomposed densities are selected with LORBIT.

For non-collinear calculations, information on the individual spinor components is available only for the site projected density of states:

energy s-DOS(total) s-DOS(mx) s-DOS(my) s-DOS(mz) p-DOS(total) p-DOS(mx) ...

In this case, the (site projected) total density of states (total) and the (site projected) energy resolved magnetization density in the (mx), (my) and (mz) directions are available.

In all cases, the units of the l- and site projected DOS are states/atom/energy.


The site projected DOS is not evaluated in the parallel version for the following cases:

  • vasp.4.5, NPAR1 no site projected DOS
  • vasp.4.6, NPAR1, LORBIT=0-5 no site projected DOS

In vasp.4.6 the site projected DOS can be evaluated for LORBIT=10-12, even if NPAR is not equal 1 (contrary to previous releases).

  • vasp.5 needs no specification of NPAR

Mind: For relaxations, the DOSCAR is usually useless. If you want to get an accurate DOS for the final configuration, first copy CONTCAR to POSCAR and continue with one static (ISTART=1; NSW=0) calculation.