IR Spectra and Castep

The on-line Castep documentation includes a nice example of the IR spectrum of ethane using Materials Studio. This can be replicated without Materials Studio.

Phonon and IR spectra require well-relaxed geometries. This leads to messy-looking inputs, and so rather than display the .cell file inline, it is linked as ethane.cell.

The .param file is easier.

  task             : PHONON 
  phonon_sum_rule  : TRUE

is more than adequate. IR weights will be calculated automatically.

Phonon calculations are slow. This will take tens of core-minutes to complete. For these purposes, the .phonon file is the important output.

dos.pl

Castep ships with an old perl utility called dos.pl. Provided one has gnuplot installed on one's system, it can produce an IR spectrum as simply as

$ dos.pl -ir -gp -w 90 ethane.phonon

ethane IR spectrum from dos.pl

c2x

Versions after 2.42a of c2x have the same functionality.

$ c2x --phdos_gnu=90:G --ir -v ethane.phonon out.gnu
$ gnuplot -p out.gnu

ethane IR spectrum from c2x

dos.pl vs c2x

For this there is little difference. Both have unhelpfully narrow default smearing widths. Dos.pl will output in xmgrace format, and c2x will not. But c2x can write EPS directly, and dos.pl cannot. Dos.pl understands many more units, whereas c2x (currently) supports cm-1, meV and THz only, via options such as

$ c2x --phdos_gnu_meV=90:G --ir -v ethane.phonon out.gnu

and

$ c2x --phdos_gnu_THz=90:G --ir -v ethane.phonon out.gnu