Output Files
CASTEP writes output data in a variety of files. Some of these will be in human readable ASCII format (i.e. plaintext) and
can be read with commands such as less or more on linux, or with a simple text editor (textedit, notepad etc). Other files will be in binary format and are designed to be read or processed with an external program. See Tools for software and libraries to read and analyse them.
Groundstate
-
.castepASCII. CASTEP's main outputfile. -
.bibASCII. Bibtex file containing citations to the methods CASTEP has used in the calculation. -
.checkBinary. This checkpoint file contains the results of the calculation including the groundstate charge density and wavefunctions. It is typically a very large file. Will be read by CASTEP when performing a continuation calculation. Also read by postprocessing software such as c2x or euphonic. -
.check_bakBinary. backup of the checkpoint file. -
.castep_binBinary. This file is identical to.checkexcept that does not contain the wavefunctions. Therefore it is usually much smaller than the.checkfile, making it suitable for archiving a calculation. It may also be processed by euphonic, c2x or other software which can read checkpoint file. -
.cst_espBinary. The local part of the Kohn-Sham potential (Vloc + Hartree + XC). -
.uspASCII. Pseudoptential data, written for each species. See the page on reading usp headers. -
.uspsoASCII. Pseudoptential data, written for each species. This is the J-dependant version of the.usp. See the page on reading usp headers. -
.betaXmgrace (.agr) format. Beta projectors for each generated pseudopotential. Only written if a test configuration[]is present in the OTF string. -
.pwaveXmgrace (.agr) format. Pseudo-wavefunctions for each generated pseudopotential. Only written if a test configuration[]is present in the OTF string. -
.econvXmgrace (.agr) format. Isolated atom energy cutoff convergence for each generated pseudopotential. Only written if a test configuration[]is present in the OTF string. -
.bandsASCII. Kohn-Sham eigenvalues at the requested k-points. Can be used to plot band structures or density of states. Note that the eigenvalues are given in atomic units (Hartree). -
.den_fmtASCII. Charge density. Only written ifwrite_formatted_density : T. -
.pot_fmtASCII. Groundstate local potential (Vloc + Hartree + XC) (See.cst_esp). Only written ifwrite_formatted_potential : T. -
.chdiffBinary. Difference between the groundstate charge density and a superposition of atomic densities. Only written ifcalculate_densdiff : T -
.chdiff_fmtASCII. same data as.chdiffin human readable format. Only written ifcalculate_densdiff : Tandwrite_formatted_density : T. -
.xrd_sfASCII. X-ray structure factors. See the documentation page. -
.elfBinary. Result of ELF calculation. -
.elf_fmtASCII. Result of ELF calculation.Only written ifwrite_formatted_elf : T.
Geometry Optimisation
*.geomASCII. State of the system (coordinates, unit cell etc) at each step of the geometry optimisation. See for specification. Can be used to animate the geometry optimisation and can be read directly by Jmol.
Molecular Dynamics
-
*.mdASCII. State of the system (coordinates, unit cell etc) at each step of the molecular dynamics simulation. Same format as the.geomfile. See for specification. Can be used to animate the trajectory, and can be read directly by Jmol. -
*.hugASCII. Hugoniot data for hugoniostat MD.
Spectral
-
.pdos_binBinary. Matrix elements used for plotting a projected density of states. Used by Optados. -
.ome_binBinary. Matrix elements used for calculating optical properties. Used by Optados. -
.dome_binBinary. Diagonal elements of the optical matrix elements. Used by Optados to plot densities of states / spectral properties using adaptive smearing. -
.elnes_binBinary. Matrix elements used for plotting the core-loss spectrum. Used by Optados. -
.orbitalsBinary. Kohn-Sham states at each kpoints. Used byorbital2bandsto make a reorganised.bandsfile for a cleaner looking bandstructure.
Phonon and Efield
-
.phononASCII. Phonon eigenvalues and eigenvectors. -
.phonon_dosASCII. Phonon branch gradients and density-of-states when param keywordphonon_calculate_dosis true. -
.efieldASCII. Mode oscillator strengths and frequency-dependent permittivity tensor in the ir band.
Electron-Phonon coupling
-
.epmeASCII. Electron-phonon matrix elements. -
.epme_binBinary. Electron-phonon matrix elements.
Elastic Constants
.elasticASCII. Elastic constants, compliance matrix, Frozen ion constants, Internal Strain and Piezoelectric tensors
TDDFT
.tddftASCII. TDDFT state band projection analysis and TDDFT excitation energies.
Magres
-
.magresASCII. Contain the NMR tensors (depending onmagres_taskshielding, EFG or J). Read by MagresView or the Soprano python libraries. -
_current.datASCII. Written ifMAGRES_WRITE_RESPONSE=True. Used to compute NICS (nucleus independent chemical shifts) see https://www.ccpnc.ac.uk/docs/nics .
Transition state search
.tsASCII. See the specification in the documentation pages.