Silicon Densities of States

It is best to use a primitive cell for density of state calculations. Generally a small number of k-points is used for the self-consistent electronic minimisation, and then the charge density (and hence potential) is frozen and eigenvalues calculated at a much larger number of k-points. The calculation with a frozen potential, rather than one which depends on the eigenvector itself, is much faster. Here Castep is used.

Si.cell

%block lattice_cart
2.6954645 2.6954645 0.0 
2.6954645 0.0       2.6954645
0.0       2.6954645 2.6954645
%endblock lattice_cart

%block positions_frac
Si 0.00 0.00 0.00
Si 0.25 0.25 0.25
%endblock positions_frac

symmetry_generate

kpoint_mp_grid 6 6 6
spectral_kpoint_mp_grid 16 16 16

Si.param

task            spectral
spectral_task   DOS
num_dump_cycles 0         ! Don't write ".wvfn" files

The above will run in about ten seconds. It uses 216 k-points for the electronic minimisation, but symmetry reduces these to just 28, and 4,096 k-points for the DoS calculation, which symmetry reduces to 408.

Do not be tempted to run c2x on the .check or .castep_bin files, which contains merely the 28 k-points from the electronic minimisation. Use the .bands file instead, or, if written, the .orbitals file.

  $ c2x --dos_gnu:500 Si.bands out.gnu
  DOS integral, spin=0: 46.000011
  $ gnuplot -p out.gnu

Silicon DoS

One might well argue that too much attention is being paid to the unoccupied bands. The unit cell has eight electrons, so four occupied bands. The DOS calculation has been done by default with 23 bands, enough for 46 electrons.

Without recalculating, one can ask c2x to pick just a range of bands.

  $ c2x -b=1-8 --dos_gnu:500 Si.bands out.gnu
  DOS integral, spin=0: 16.000004
  $ gnuplot -p out.gnu

Silicon DoS, fewer conduction bands

By default smearing is applied. One can turn this off.

  $ c2x -b=1-8 --dos_gnu=0:500 Si.bands out.gnu

Silicon DoS, no smearing

This looks dreadful. The noise is merely sampling noise. But if one zooms in on the bandgap, both versions are poor.

gnuplot> load "out.gnu"
gnuplot> set xrange [4.5:5.2]
gnuplot> set yrange [0:0.2]
gnuplot> refresh

Silicon DoS, no smearing, detail   Silicon DoS, smeared, detail

The "g" flag attempts to have the best of both worlds.

$ c2x -b=1-8 --dos_gnu:500g Si.bands out.gnu

The output is almost identical to plots without it, save around noticeable gaps. The smearing does not smear into these.

Silicon DoS, detail, smeared with gap preservation

The bandgap (underestimated by LDA as usual) can be found with

$ c2x --gap --null Si.bands
Additionally reading Si.cell
Band gap from grid

Valence band maximum:    4.545223 eV at k=(0.031250,0.031250,0.031250)
Conduction band minimum: 5.064697 eV at k=(0.031250,-0.406250,-0.406250)
Direct gap:              2.580848 eV at k=(0.031250,-0.031250,-0.031250)
Indirect gap:            0.519475 eV

The graph will always underestimate further. The graph will reach zero at the centre of the first bin with zero density, so it is guaranteed that the gap should extend by a further half bin-width in each direction, and it might extend by up to one and a half bin-widths in each direction. Here the bin-width is approximately 25eV/500=0.05eV, and will be printed if -v is added to the c2x command.

Note that changing the smearing changes the position of the bins, for the minimum and maximum of the binning range are moved by three times the smearing width in order to avoid cutting off the smeared tails. To avoid this, so that details can be compared more directly, add an "f" to the flags.