Silicon Band Structure with Castep
This example shows the calculation of silicon's bandstructure with Castep.
With all DFT codes the basic method is that one first performs a normal self-consistent electronic minimisation on a grid of k-points designed to minimise the error caused by the discrete sampling of k-space. One then freezes the resulting charge density (and hence potential), and performs non self-consistent calculations on a large number of k-points along the path for which the band structure is desired. The non self-consistent calculations with a frozen potential are much faster than ones for which the potential depends on the wavefunction, and the k-points along a typical band structure path would be very poor for integrating over the Brillouin Zone anyway. The same technique is used for Electronic Densities of States.
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 %block spectral_kpoint_path 0.5 0.25 0.75 ! W 0.5 0.5 0.5 ! L 0.0 0.0 0.0 ! Gamma 0.5 0.0 0.5 ! X 0.5 0.25 0.75 ! W 0.375 0.375 0.75 ! K %endblock spectral_kpoint_path
(The number of points calculated in each path segment is determined by
spectral_kpoint_path_spacing which defaults to
0.1A-1.)
Si.param
task spectral spectral_task bandstructure fix_occupancy true num_dump_cycles 0
(The older input syntax would be to set the task to bandstructure and to have a bs_kpoint_path in the cell file.)
With these two files Castep can be run
as castep Si, and will run for a few seconds. The
interesting output file is Si.bands, which can be
analysed with dispersion.pl with
$ dispersion.pl -gp -symmetry fcc Si.bands
This should pop up a Gnuplot window which shows the band structure. The equivalent with c2x is
$ c2x --bands_gnu --title="Si" Si.bands Si.gnu $ gnuplot -p Si.gnu
The output is almost identical. Note that c2x identifies the lattice itself, but dispersion.pl does not.

The above image uses dispersion.pl. With c2x one can
also specify a range of bands.
$ c2x -b=1-8 --bands_gnu --title="Si" Si.bands Si.gnu $ gnuplot -p Si.gnu
