Castep PDF
Castep PDF
Castep PDF
©2019 Dassault Systèmes. All rights reserved. 3DEXPERIENCE, the Compass icon and the 3DS logo,
CATIA, SOLIDWORKS, ENOVIA, DELMIA, SIMULIA, GEOVIA, EXALEAD, 3DVIA, 3DSWYM, BIOVIA,
NETVIBES, IFWE and 3DEXCITE, are commercial trademarks or registered trademarks of Dassault
Systèmes, a French "société européenne" (Versailles Commercial Register # B 322 306 440), or its
subsidiaries in the U.S. and/or other countries. All other trademarks are owned by their respective
owners. Use of any Dassault Systèmes or its subsidiaries trademarks is subject to their express written
approval.
To print photographs or files of computational results (figures and/or data) obtained by using Dassault
Systèmes software, acknowledge the source in an appropriate format. For example:
"Computational results were obtained by using Dassault Systèmes BIOVIA software programs.
BIOVIA Materials Studio was used to perform the calculations and to generate the graphical
results."
Dassault Systèmes may grant permission to republish or reprint its copyrighted materials. Requests
should be submitted to Dassault Systèmes Customer Support, either by visiting
https://www.3ds.com/support/ and clicking Call us or Submit a request, or by writing to:
Additional Information
For additional information about BIOVIA Materials Studio and other Dassault Systèmes software
applications, visit the Dassault Systèmes Customer Support site:
https://www.3ds.com/support/
Note: CASTEP cannot handle structures containing pi-system objects. Such objects should be
removed from the document prior to running a CASTEP calculation.
Note: CASTEP performance can be greatly increased if the symmetry of the structure is taken into
account. CASTEP offers an option of finding and using the symmetry automatically if the input
structure is described as having a P1 symmetry. This option is particularly relevant for calculations
on molecular crystals and crystal surfaces, since these structures are typically created as P1 (or p1)
systems. Automatic conversion to a higher symmetry structure will honor all atomic properties
that are relevant to the current CASTEP settings, such as constraints and electronic configuration.
Tip: The time required for a CASTEP calculation increases with the cube of the number of atoms in
the system. Therefore, it is recommended that you use the smallest primitive cell description of
your system whenever possible. Select Build | Symmetry | Primitive Cell from the menu bar to
convert to a primitive cell.
Calculation setup: Once a suitable 3D structure document has been defined, then it is necessary to
select the type of calculation to be performed and set the associated parameters. For example, in the
case of a dynamics calculation, these parameters include the ensemble and its settings, the
temperature, and the number and length of the time steps. Finally, the server on which the
calculation is to be run should be selected and the job initiated.
Analysis of the results: When the calculation is complete, the files related to that job are returned to
the client and, where appropriate, displayed in the Project Explorer. Some further processing of
these files may be required to obtain observables such as optical properties. The tools on the CASTEP
Analysis dialog may be used to visualize the results of the calculation.
To select a CASTEP task
1. Choose Modules | CASTEP | Calculation from the menu bar to display the CASTEP Calculation
dialog.
2. Select the Setup tab.
3. Select the required CASTEP task from the Task dropdown list.
CASTEP geometry optimization is based on reducing the magnitude of calculated forces and stresses
until they become smaller than defined convergence tolerances. It is also possible to specify an external
stress tensor to model the behavior of the system under tension, compression, shear, and so on. In
these cases the internal stress tensor is iterated until it becomes equal to the applied external stress.
The process of geometry optimization generally results in a model structure that closely resembles the
real structure.
The accuracy of the lattice parameters calculated using CASTEP is illustrated in Figure 1 (Milman et al.,
2000).
Where:
is an energy maximum in one direction (the direction of the reaction coordinate) and an energy
minimum in all other directions.
During the course of chemical reaction, the total energy naturally changes. Starting from the reactants,
the energy increases to a maximum and then decreases to the energy of the products. The maximum
energy along the reaction pathway is known as the activation energy. The structure corresponding to
this energy is called the transition state.
The TS Search task is particularly useful for predicting barriers to chemical reactions and determining
reaction pathways. It can be also used to find diffusion barriers for either solid state diffusion or surface
diffusion. The reactants and products can either be optimized separately before running a TS Search or
as part of this task. In the latter case partition functions for reactant, product, and transition state can
also be calculated. This information can be used to calculate the reaction rate coefficient.
CASTEP TS Confirmation task
The TS Confirmation tool verifies that a TS calculated by an LST or QST search connects the reactant and
product as expected. See Setting up a TS confirmation calculation for more details on the mechanics of
this method. Materials Studio automatically determines the reactant, TS and product from the given LST
or QST trajectory document.
Use the controls on the CASTEP TS Confirmation dialog to specify the convergence criteria for each
individual geometry optimization (microiteration), and to specify the number of frames to use in the TS
confirmation trajectory.
The output of a TS confirmation calculation is another trajectory document. This one follows the
Intrinsic Reaction Path (IRP) as discussed in Reaction pathways. Each successive refinement to the
pathway is displayed as a graph in Materials Studio. Use the chart selection tools to choose any point on
the graphs and display the corresponding geometry.
In most cases, no minima will be found on the IRP other than your reactant and product. If so, the TS
confirmation calculation verifies that the TS does connect your presumed reactant and product.
On the other hand, any other minima located by the TS confirmation are the structures that are actually
connected by the TS. These are identified with an asterisk (*). You should perform a geometry
optimization to refine the geometry of these minima. Select the structures as described in the Displaying
trajectory and chart data topic.
You can generate a detailed map of the entire reaction by repeating TS Search and TS Confirmation for
all minima on the IRP.
CASTEP Properties
The CASTEP Properties task allows you to compute electronic, structural, and vibrational properties
after the completion of a single-point energy, geometry optimization, or dynamics run on a 3D periodic
system.
Note: In order to calculate properties using the CASTEP Properties task, the results files from a
suitable simulation must be present in the current project.
You can also use the Properties tab on the CASTEP Calculation dialog to request that such properties be
calculated as part of a CASTEP run. You can view the results using the CASTEP Analysis dialog.
The properties that can be generated by CASTEP are:
Band structure: Electronic eigenvalues along high symmetry directions in the Brillouin zone are
calculated non-self-consistently for both valence and conduction bands, using electronic charge
densities and potentials generated during the simulation.
Core level spectroscopy: Electronic energies on the Monkhorst-Pack mesh of k-points and the
matrix elements for electronic interband transitions are calculated, either with or without core holes.
Density of states: Electronic eigenvalues on a fine Monkhorst-Pack grid are calculated non-self-
consistently for both valence and conduction bands, using electronic charge densities and potentials
generated during the simulation.
Electron density difference: The electron density difference with respect to either a linear
combination of the atomic densities or a linear combination of the densities of sets of atoms
contained in the structure is calculated.
Electron localization function: A simple measure of electron localization in atomic and molecular
systems.
Electronic excitations (TD-DFT): Electronic excitations for molecules in a box calculated using the
time-dependent density functional theory (TD-DFT).
NMR: Chemical shielding tensors and electric field gradients are calculated.
Note: NMR in CASTEP is part of the separately licensed module NMR CASTEP. NMR calculations
can only be performed if you have purchased this module.
Optical properties: Matrix elements for electronic interband transitions are calculated. The CASTEP
Analysis dialog can be used to generate grid and chart documents containing measurable optical
properties.
Orbitals: Information about electronic wavefunctions is provided. This allows you to visualize 3D
distribution of various electronic states (orbitals). This information is required also for visualization of
STM profiles.
Phonons: For phonon dispersion runs, phonon frequencies and eigenvectors along high symmetry
directions in the Brillouin zone are calculated. In the case of phonon density of states calculations,
phonon frequencies and eigenvectors are computed on a Monkhorst-Pack grid. This information is
required during analysis to display total and projected (partial) phonon densities of states. It is also
used to calculate thermodynamic properties including atomic displacement parameters, which allow
assignment of temperature factors during analysis.
Note: Phonon calculations take into account existing fixed atom constraints, regardless of the
overall Task setting. Such fixed atoms are excluded from the calculation of vibrational properties,
which corresponds to the "partial Hessian" approach.
Tip: You must check the Fix fractional position checkbox on the Atom tab of the Edit Constraints
dialog, accessible from the Modify menu.
Polarizability, IR and Raman spectra: The optical (ω = ∞) and dc (ω = 0) dielectric permittivity or the
optical (ω = ∞) and static (ω = 0) molecular polarizability, along with infrared or Raman intensities
(response to an electric field in the infrared range) are calculated. Permittivity is relevant for solid
materials, while polarizability and infrared intensities are relevant to molecules prepared using the
supercell approach.
Population analysis: Mulliken analysis and Hirshfeld charge analysis is performed. Mulliken bond
populations and angular momentum-resolved atomic charges (as well as magnetic moments for
spin-polarized calculations) are calculated. Optionally, the weights required for partial density of
states (PDOS) calculations are generated. Hirshfeld atomic charges are produced.
Stress: The stress tensor is calculated and written to a seedname.castep file. This information is
useful if, for example, you perform a geometry optimization run in which cell parameters are fixed
and you want to check how far the lattice is from equilibrium. For instance, a supercell study of a
point defect should be carried out with the fixed cell that corresponds to the theoretical ground state
of the given system. The value of the stress after geometry optimization gives an indication of the
magnitude of the elastic effects associated with the supercell approximation.
Mixture atoms
Atomic sites in a disordered crystal can be described in terms of a hybrid atom, which consists of two or
more element types. The relative concentrations can be set for any number of atoms, where the total
concentration must be 100%. The mixture atoms description is the most often used representation of
solid solutions, metallic alloys, disordered minerals, and so on.
Technical limitations
Current implementation of the molecular dynamics (MD) algorithms in CASTEP is not yet compatible
with the virtual crystal approximation (VCA) formalism, which is used to model disorder in solids. None
of the MD schemes (NVE, NPT, and so on) work for disordered crystals in the current version.
The following properties are unavailable for disordered systems:
Population analysis
Vibrational properties (phonon dispersion, phonon density of states)
Optical properties
In addition, geometry optimization based on damped MD is not available (since MD itself is not
allowed).
Atom occupancy cannot be used with the current CASTEP implementation of the virtual crystal
approximation (VCA). Partial atom occupancy can be considered as a special case of a mixture atom,
where one part of the mixture is an atom of "nothing". This case is not supported for a number of
technical and fundamental reasons.
The limitations listed above fall into three categories:
Properties that are ill-defined or do not make sense at all for mixture atoms (population analysis,
vibrational properties).
Features where the calculations might be possible, but which require more theoretical work (optics,
partial atomic occupancies).
Features that are blocked for purely technical reasons (molecular dynamics).
These limitations are imposed by the user interface; if you attempt a run using a combination of settings
which is not allowed, a message box explaining why the run cannot be carried out will be displayed when
you select Run or Save Files.
Note: CASTEP does not support all possible permutations of electronic settings for all possible
properties requests. In cases where the input settings are contradictory the Materials Studio client
will display messages explaining the problem. However, sometimes the combinations selected during
the setup of a CASTEP calculation are impossible to satisfy. The main source of such contradictions is
in the type of pseudopotentials used. For example, NMR calculations and core level spectroscopy
calculations require the use of on-the-fly generated (OTFG) pseudopotentials for at least some
elements. On the other hand, nonlocal exchange-correlation functionals (for example B3LYP) or linear
response phonon calculations are limited to norm-conserving pseudopotentials. It is therefore
impossible to use the same settings for requesting, for example, phonon dispersion using linear
response and core level spectra, or to calculate band structures with B3LYP and request NMR
chemical shifts.
Tip: Accurate calculations for 3D periodic systems may require a large number of k-points if the lattice
has a strongly skewed unit cell (for example, some cell angles are very small). In such cases it might be
beneficial for the speed of calculations to convert the structure to reduced (Niggli) cell representation
using the Redefine Lattice dialog.
magnetic metallic systems usually requires more accurate calculation settings than those defined by the
Express quality setting.
Note: The Express setting cannot be translated into the Coarse - Ultra-fine accuracy scale.
To help you select appropriate values for CASTEP parameters, four predefined parameter sets are
available. The predefined sets vary in quality from Coarse, suitable for quick approximate calculations, to
Ultra-fine, for calculations where high precision is required.
To select a quality
1. Choose Modules | CASTEP | Calculation from the menu bar to display the CASTEP Calculation
dialog.
2. Select the Setup tab.
3. Choose a Quality setting from the dropdown list to select one of the four predefined parameter
sets.
When you choose a Quality setting, the parameters are set according to the task and the system.
The values of the Energy cutoff that correspond to the Coarse, Medium, and Fine settings are element
specific and are taken from the pseudopotential files stored in the database. These values were
determined from convergence tests for single atoms and diatomic molecules and they roughly
correspond to total energy convergences of 2, 0.3, and 0.1 eV atom-1, respectively. The highest value for
the selected quality setting among the elements present in the 3D structure document is accepted.
The Quality setting also affects the values of the convergence tolerances for tasks such as geometry
optimization, elastic constants calculations, and transition-state searching.
Note: The values of force, stress, and displacement tolerances for the Geometry Optimization and
Elastic Constants tasks are set to 100 for ExpressQuality. This preset value instructs CASTEP to ignore
these tolerances and consider only the energy tolerance as a convergence criterion.
Geometry optimization
Quality Express Coarse Medium Fine Ultra-fine
Energy tolerance (eV/atom) 5.0e-5 2.0e-5 1.0e-5 5.0e-6
Energy tolerance (eV/cell) 0.001
Max. force tolerance (eV/Å) 100 0.1 0.05 0.03 0.01
Max. stress tolerance (GPa) 100 0.2 0.1 0.05 0.02
Max. displacement tolerance (Å) 100 5.0e-3 2.0e-3 1.0e-3 5.0e-4
BFGS Use line search No Yes Yes Yes Yes
Note: The values of force, stress, and displacement tolerances are set to 100 for ExpressQuality. This
preset value instructs CASTEP to ignore these tolerances and consider only the energy tolerance as a
convergence criterion.
The individual tolerances may need to be adjusted in some cases:
The Max. force tolerance can be reduced for molecular systems (isolated molecules, molecules on
surfaces, molecular crystals, and so on)
The Max. stress tolerance is generally expressed as a fraction of the bulk modulus of the material, so
it should be smaller for soft materials. However, in practice, cell optimization of soft substances (for
example, molecular crystals) is difficult and might not be stable enough to impose very stringent
convergence criteria.
Elastic constants
Quality Express Coarse Medium Fine Ultra-fine
Energy tolerance (eV/atom) 1.0e-5 4.0e-6 2.0e-6 1.0e-6
Energy tolerance (eV/cell) 0.001
Max. force tolerance (eV/Å) 100 0.02 0.01 0.006 0.002
Max. displacement tolerance (Å) 100 1.0e-3 4.0e-4 2.0e-4 1.0e-4
Note: The values of force, and displacement tolerances are set to 100 for ExpressQuality. This preset
value instructs CASTEP to ignore these tolerances and consider only the energy tolerance as a
convergence criterion.
Note: These tolerances are five times more strict than the ones used for the Geometry Optimization
task.
TS Search
Quality Express Coarse Medium Fine Ultra-fine
RMS convergence (eV/Å) 0.1 0.5 0.25 0.05 0.01
Electric fields
An external electric field can be applied to the system. This causes a force to act on each atom which is
proportional to the charge on that atom. This can be used to calculate the polarizability of a dielectric
material.
To apply an electric field
1. Choose Modules | CASTEP | Calculation from the menu bar to display the CASTEP Calculation
dialog.
2. Select the Electronic tab and click the More... button to access the CASTEP Electronic Options
dialog.
3. Select the Potentials tab.
4. Specify the strength of the Electric field to apply.
5. Enter the Field direction in lattice vectors (A B C).
Setting the exchange-correlation functional
CASTEP supports one local exchange-correlation functional, LDA, three gradient-corrected exchange-
correlation functionals, GGA, and a set of nonlocal functionals for the self-consistent total energy
calculations.
LDA functional
CA-PZ is the only local (LDA) functional available in CASTEP. It is based on the Ceperley and Alder (1980)
data as parameterized by Perdew and Zunger (1981).
GGA functionals
GGA functionals provide a better overall description of the electronic subsystem than the LDA
functionals. The LDA description tends to overbind atoms, so that the bond lengths and the cell volume
are usually underestimated by a few percent and the bulk modulus is correspondingly overestimated.
GGA corrects this error but may underbind instead, leading to slightly long bond lengths.
PBE (Perdew et al., 1996) is the default exchange-correlation functional. It is recommended, especially,
for studies of molecules interacting with metal surfaces, although it is also fairly reliable for bulk
calculations. The PW91 (Perdew et al., 1992) functional should be used for comparisons with literature
data, as it is the most widely used GGA functional. The results obtained with the PW91 functional should
be very similar to those obtained with PBE. Another nonlocal functional, RPBE (Hammer et al., 1999), is a
revised form of the PBE functional designed to improve the description of metallic surfaces. One of the
latest GGA potentials, WC, is due to Wu and Cohen (2006). The authors claim significant improvements
for lattice constants, crystal structures, and metal surface energies over the most popular Perdew-
Burke-Ernzerhof (PBE) GGA. Another recent functional, PBEsol, has been developed specifically to
improve the description of exchange in solids, resulting in better structures and energetics for densely
packed solids and their surfaces (Perdew et al., 2008).
Meta-GGA functional
In addition to the generalized gradient (GGA) functionals, which depend on the local density and its
gradient, CASTEP can handle functionals that depend on the kinetic energy density. The current
supported functional is RSCAN (Bartok and Yates, 2019), which is an improved regularized version of the
SCAN ("Strongly Constrained and Appropriately Normed") functional developed by Sun et al., 2015.
Meta-GGA functionals are considered to be more accurate than pure GGA, and the cost of such
calculations is significantly lower than for nonlocal functionals.
Note: Currently, there are limitations on the use of meta-GGA in CASTEP. The meta-GGA functional is
not compatible with DFT-D corrections, spin-orbit coupling, J-coupling , linear-response phonons, or
polarizability calculations. The formalism cannot be used with mixture atoms. Only on the fly
generated pseudopotentials can be used.
The latest set of OTFG settings for ultrasoft pseudopotentials has been developed in order to minimize
the error with respect to fully converged all-electron DFT calculations. The error achieved by this set is
0.4 meV/atom, which puts CASTEP among the most accurate pseudopotential codes available. A full
definition of the test framework and the meaning of the error is given by Lejaeghere et al. (2014), and on
the website of the Delta project: http://molmod.ugent.be/deltacodesdft. The files that correspond to
this set have the _2017R2 suffix . This is the recommended set of OTFG ultrasoft potentials. Files with
the _2017R2ncp suffix are recommended when norm-conserving potentials are required (this set has
a 1.1 meV/atom error in the Delta project tests). In addition, a set of "high throughput" ultrasoft OTFG
settings is available for scripting; this QC5 set generally requires lower cutoff energy and offers faster but
less accurate calculations (1.9 meV/atom error in the Delta project tests).
Note: It is not recommended to use PW91 exchange-correlation functional when requesting on the
fly generation of pseudopotentials; PBE, RPBE, WC, BLYP, or PBESOL are better options when a GGA
functional is required.
This scheme has been validated for all elements of the Periodic Table, the results of the tests are
included in the files themselves. It is possible to create customized versions of the pseudopotential
generation settings, but it is recommended to test the resulting potentials thoroughly for convergence
and transferability by performing calculations for a variety of systems and at different energy cutoffs.
The details of the format of the settings file for on the fly generation are provided.
On the fly generation of pseudopotentials involves solution of the electronic structure of an atom and a
pseudoatom, this step can be done either in a non-relativistic (Schroedinger) framework or using one of
the available scalar relativistic approaches (Koelling-Harmon or ZORA). It is important to use a scalar
relativistic treatment for improved accuracy of calculations for heavy elements.
Note: J-coupling can only be computed using the Schroedinger or ZORA approach.
Note: CASTEP NMR calculations can be performed only by using on the fly generation scheme, since
the available potentials in the database do not contain sufficient information about all-electron
projectors.
Tabulated pseudopotentials
Tabulated USP files in the database have a .usp or .uspcc extension, tabulated norm-conserving files
have a .recpot extension.
Note: Different tabulated ultrasoft potentials should be used for LDA and GGA exchange-correlation
functionals. The naming convention in the database is <element name>_<ID>.usp[cc] for
LDA functionals and <element name>_<ID>PBE.usp[cc] for GGA functionals. By default,
Material Studio tries to find the best fit of the potentials to the exchange-correlation potentials,
although this behavior can be overridden.
The database of NCPs available in Materials Studio is rather old and in some cases might contain
potentials that have not been tested sufficiently. An alternative to using this database is to generate
NCPs using the open source software package Opium, yhe Optimized Pseudopotential Interface /
Unification Module (http://opium.sourceforge.net/). This package allows you to generate files in
.recpot format using the latest pseudopotential generation technology.
Besides changing the global selection of pseudopotentials, it is possible to change the individual
selections for each element according to the selected value of the exchange-correlation functional.
Tip: Individual selections are also useful for elements such as oxygen and silicon where additional soft
versions of the USPs are available. These require a smaller energy cutoff but may be less transferable
than the standard potentials.
Note: Ultrasoft potentials require a better FFT grid in order to represent the augmentation density
accurately. The PW91 exchange-correlation functional also requires a better grid, to represent
gradient-dependent terms in the potential.
Therefore, CASTEP derives a finer FFT grid in both of these cases, compared with other exchange-
correlation functionals or norm-conserving potentials.
The table below shows the factor by which the actual grid differs from the ideal one depending on (i)
Derived grid setting and (ii) the use of either the PW91 functional or ultrasoft pseudopotentials.
Tip: Use the Fine setting (or better) for high-accuracy calculations, especially when the cell
optimization is required.
To change the FFT grid quality
1. Choose Modules | CASTEP | Calculation from the Materials Studio menu bar.
2. Select the Electronic tab.
3. Click the More... button to access the Electronic Options dialog.
4. Select the Basis tab.
5. Set the Derived grid quality from the dropdown list.
6. The FFT grid values that corresponds to the selected quality are displayed below the dropdown list.
Finite basis set corrections
It is recommended that you apply a finite basis set correction to the total energy and to the stress
tensor when stress is calculated, including geometry optimization runs with variable cell parameters and
NPT/NPH molecular dynamics calculations. The Apply finite basis set correction setting corresponding to
this is Smart.
Note: Variable cell CASTEP calculations can be carried out in two modes, either fixed basis set quality
(that is, fixed energy cutoff), or fixed basis set size (fixed number of plane waves). Finite basis set
correction is required only in the former case, and this is accounted for automatically when the Smart
setting is used.
CASTEP calculates the correction by determining the total energy at a number of cutoff energies, then
evaluating the derivative required in the correction term, numerically. It is normally sufficient to use
three reference points in such calculations.
In some cases the value of the derivative may be known from a previous calculation. In such
circumstances, the value can be input directly, using the Manual Correction mode.
However, under normal circumstances, it is strongly recommended that the finite basis set correction
settings are left at their default values. These are:
Apply correction: Smart
Correction mode: Automatic
Numerical differentiation: 3 points
Setting up k-points
The k-point set used in a calculation defines the accuracy of the Brillouin zone sampling. The Monkhorst-
Pack k-points used in CASTEP are characterized by divisions along three reciprocal space axes and by an
optional origin shift. However, the origin shift should not be used. Thus, the k-points setup procedure
simply involves selecting three integer divisions.
The quality of the k-point set can be quantified in a number of ways; CASTEP uses the distance between
the points in reciprocal space as a numerical measure. The simplest way to define the set is the
following:
Simple way of setting the k-points
1. Choose Modules | CASTEP | Calculation from the Materials Studio menu bar.
2. Select the Electronic tab.
3. Choose the desired k-point set from dropdown list.
This method creates either a Monkhorst-Pack set of the selected quality (Coarse, Medium, or Fine) or
instructs CASTEP to use only one Γ-point (the origin in reciprocal space).
Note: Explicit selection of Γ-point sampling is not recommended. CASTEP will automatically use this
option if the cell is very large in real space, so that the Brillouin zone is small and no sampling is
required.
In all other cases, the Γ-point is the least representative of all Brillouin zone points and using it as the
only sampling point can distort the results severely.
Puska (2000) showed, for example, that there is a 1-2 eV error in the vacancy formation energy in
silicon when the Γ-point is used for cells containing up to 128 atoms.
Finer control over k-point sets can be exercised by using the k-points tab on the CASTEP Electronic
Options dialog. This tab allows you to enter the actual Monkhorst-Pack mesh parameters by selecting
the Custom grid parameters option.
CASTEP automatically optimizes the mesh parameters according to the point group symmetry of the 3D
model. For example, in a cubic crystal the even mesh parameters, N, will generate the set with as many
k-points as the one with the odd mesh parameters, N-1. Since the former set provides better sampling,
it will be selected automatically when either Quality or k-point separation is used to define the k-point
set. Custom grid parameters is the only option which allows you to specify a suboptimal mesh with odd
divisions.
The quality of the k-point sampling is particularly important for metallic systems, where rapid changes in
electronic structure may occur along the energy band that crosses the Fermi level. Insulators or
semiconductors, even when they are treated using variable occupation numbers for electronic states,
are less sensitive to the quality of k-point sampling. The default settings used by CASTEP are designed to
give accurate sampling for metallic systems. This means that you can get good results for insulators and
semiconductors with a slightly less fine k-point mesh than the default.
Note: The total energy is not guaranteed to decrease as more k-points are added. Therefore, when
carrying out convergence testing, you should strive to find a set of k-points such that further
improvements do not alter the total energy beyond the tolerance level you require. However, the
energy is not likely to converge smoothly and oscillations are to be expected.
also be modified using the SCF tolerance option on the Electronic tab, however this is not
recommended.
Similarly, the maximum number of SCF cycles, which can be adjusted using Max. SCF cycles option on
the SCF tab on the CASTEP Electronic Options dialog, need not be changed under normal circumstances.
The Max. SCF cycles setting determines how many SCF steps are taken by CASTEP before it moves
atoms according to the task being performed (that is, Geometry Optimization or Dynamics).
Note: The CASTEP server automatically increases the number specified in the interface by a factor of
three for metallic systems.
Dipole corrections
By default CASTEP does not perform dipole corrections, however, for slab and single molecule systems
with P1 symmetry either a Self-consistent or Non self-consistent dipole correction can be applied. The
self-consistent scheme is based on the method suggested by Neugebauer and Scheffler (1992) where the
correction potential is recalculated at each SCF step. The non self-consistent scheme is based on the
approach of Yeh and Berkowitz (1999) where a dipole correction is added after the SCF has converged. In
this scenario only the total energy and its gradients are corrected, not the electrostatic potential. As a
result, this type of correction is not suitable for electrostatic potential studies such as workfunction
calculations.
Dipole corrections can be essential in eliminating nonphysical electrostatic interactions between periodic
images, improving accuracy of calculated adsorption energies for molecules on surfaces, for example.
Tip: It is recommended to use the All Bands/EDFT electronic minimization scheme when applying a
self-consistent dipole correction to an elongated cell of a slab representing a metal surface; the
Density mixing minimization scheme may fail to converge for such systems.
Non-linear constraints
Geometry optimization using delocalized internals in CASTEP obeys constraints on interatomic
distances, bonds, and/or torsions imposed using the Materials Visualizer. You can set such constraints
using the Edit Constraints dialog, accessible from the Modify menu.
Notes:
All non-linear constraints are only taken into account if you choose the delocalized internal
minimizer, by checking the Use delocalized internals checkbox on the Options tab of the CASTEP
Geometry Optimization dialog.
The Damped MD algorithm for geometry optimization acknowledges only constrained bonds
(distances) between atoms, all other constraints (torsions and angles) are ignored.
Non-linear constraints cannot be applied in conjunction with symmetry constraints. Thus, if your
crystal has symmetry other than P1, you will be prompted to convert the crystal symmetry to P1
before you can continue.
Non-linear constraints cannot currently be applied to disordered systems.
Potential pitfalls
One of the most difficult parts of geometry optimization in CASTEP is cell optimization. It is important to
ensure that you use a finite basis set correction in such calculations, and preferably a fine quality level.
The accuracy of the stresses which are used in the cell optimization algorithm are crucial for the success
of geometry optimization. Certain systems, for example, rare-earth compounds with highly localized
electronic states, require very stringent criteria for SCF convergence in order to converge the stress
tensor. This is particularly true for the Density mixing minimizer.
If cell optimization fails with the following message in the output file:
"BFGS: Geometry optimization failed to converge after ... steps",
Choosing an ensemble
You can control temperature of a CASTEP dynamics calculation, in order to simulate a system that
exchanges heat with the environment. Under these conditions, the total energy of the system is no
longer conserved and extended forms of molecular dynamics are required.
You can simulate several thermodynamics ensembles with a constant number of particles.
Ensemble Conditions Description
NVE Constant- The Newtonian equations of motion, which conserve the total
volume/constant- energy, are used. The unit cell is fixed.
energy dynamics The temperature is allowed to vary. Energy is the constant of motion
- it can fluctuate slightly, but there should be no systematic drift.
NVT Constant- The unit cell is fixed. A thermostat maintains a constant temperature.
volume/constant- The dynamics are modified to allow the system to exchange heat
temperature with the environment at a controlled temperature. Several methods
dynamics of scaling or controlling the temperature are available.
NPH Constant- The size of the unit cell is allowed to vary with a barostat to maintain
pressure/constant constant pressure. The enthalpy is a constant of the motion.
enthalpy dynamics The size of the unit cell is allowed to vary, while the temperature is
also allowed to vary. The enthalpy, which is a constant of the motion,
is not allowed to vary beyond a set value between dynamics steps.
NPT Constant- The size of the unit cell is allowed to vary with a barostat to maintain
pressure/constant- constant pressure. A thermostat maintains a constant temperature.
To choose an ensemble
1. Choose Modules | CASTEP | Calculation from the Materials Studio menu bar.
2. Select the Setup tab.
3. Click the More... button to open the Dynamics dialog.
4. Select the Dynamics tab.
5. Select the required ensemble from the Ensemble list.
6. Select the Options tab to enter parameters for the selected ensemble.
Constraints
Molecular dynamics in CASTEP obeys constraints on atomic positions and/or interatomic distances
(bonds) imposed through the Materials Visualizer. You can set such constraints using the Edit
Constraints dialog, accessible from the Modify menu.
To fix atomic positions in CASTEP you must check the Fix fractional position checkbox on the Atom tab
of the Edit Constraints dialog.
Note: Sometimes the density mixing scheme may not converge. In such cases you should switch to
an EDFT minimizer to improve results and set the option to Optimize total spin after 1 SCF step.
Note: The Hubbard U operator can be applied only to the states which have an LCAO projector in the
pseudopotential. If there is no projector for any orbital with nonzero U value, CASTEP will return the
following error message:
Hubbard U is requested for the states which do not have LCAO
projectors. Please check HUBBARD_U block in the cell file.
If you think that the states to which you want to apply Hubbard U are really important, you could use
a different pseudopotential (on-the-fly generated potentials are likely to have more projectors than
other pseudopotentials).
Note: CASTEP calculations with core holes assume by default that an electron is removed from the
system, so it is treated as having a charge of 1 (or one more than specified in the Charge field on the
Setup tab of the CASTEP Calculation dialog). In some circumstances, for example when studying
impurities, it might be more appropriate to consider the system as charge neutral. In order to achieve
this you should specify the Charge of -1 on the Setup tab, in this way the CASTEP input file will have a
zero charge. It is also possible to edit the seedname.param file to specify a fractional charge. The
strength of the core hole can be adjusted by editing the seedname.cell file and modifying the
pseudopotential definition string (for example, change {1s1} to {1s0.5} to use a core hole with
the charge of 0.5).
The result of the transition state search is an 3D Atomistic Collection Document containing reactant,
product, and transition state structures. You can select the "TS" physical system and use the Vibrational
Analysis tool to verify the nature of the imaginary mode associated with the reaction.
Note: The reaction rate coefficient can be calculated only if the transition state has exactly one
imaginary frequency with its eigenvector along the reaction path.
The 3D Atomistic Collection Document generated will contain all the necessary information to perform
the reaction rate calculation itself.
To set up a reaction kinetics calculation
1. Prepare two documents containing reactant and product structures. Set any necessary fixed atom
constraints (fixed atoms should be present in both documents and should have the same
coordinates).
2. Follow the steps required to set up transition state search calculation.
3. Check the Optimize reactants and products checkbox on the CASTEP Transition State Search dialog,
unless you have optimized both structures prior to constructing reaction preview document.
It is recommended to select Ultra-fine for the convergence tolerance for geometry optimization by
changing the task to Geometry Optimization, opening CASTEP Geometry Optimization dialog,
editing convergence settings, and then changing the task again to TS Search. Such an accurate
setting may be necessary to eliminate spurious imaginary modes in the vibrational analysis.
4. Check the Calculate partition functions checkbox on the CASTEP Transition State Search dialog.
5. It is recommended to impose more strict convergence criteria than the default values; lack of
convergence can result in spurious imaginary modes of the transition state itself.
Densities of states
NMR shielding tensors and electric field gradients
Vibrational properties
Polarizabilities and IR absorption intensities
Bond and band populations
Note: It is recommended that only the Γ-point is used for electronic calculations on molecular
systems. In addition, the all bands/EDFT electronic minimizer is known to be more efficient for studies
of isolated molecules in supercell geometry than the density mixing minimizer. Therefore, it is
recommended that you change the Electronic minimizer setting to All Bands/EDFT on the SCF tab of
the CASTEP Electronic Options dialog when performing such calculations.
Tip: Calculations for "molecule in a box" systems that do not require geometry optimization can be
sped up if the molecular symmetry is utilized. Use the Find Symmetry tool to find and apply the
symmetry of the molecule to the supercell.
To create a molecule in a box
1. Either import a structure from a pre-existing file or construct a new molecule using the sketching
tools in the Materials Visualizer.
2. Construct a crystal using the crystal building tools in the Materials Visualizer.
3. If your system does not require geometry optimization, find and impose the symmetry of the
system using the Find Symmetry tool in the Materials Visualizer.
Tip: The Population analysis checkbox on the Properties tab of the CASTEP Calculation dialog is
checked by default.
Electronic properties data are produced in CASTEP by running separate non-self-consistent calculations.
This means that Band structure, Density of states, Optical properties, and Vibrational properties
calculations will all generate their own set of output files. Population analysis and Stress properties are
calculated as part of the main run. This output can be found in the appropriate .castep file. The
Electric field response is generated either as part of a Vibrational properties calculation, in which case
the output can be found in the appropriate .castep file, or as a separate calculation.
Requesting band structure
Calculating band structure properties produces electronic energies along high symmetry directions in
the Brillouin zone. The standard path for each lattice type is taken from Bradley and Cracknell (1972).
The path can be modified using the CASTEP Band Structure Options dialog. The density of points along
the path, which affects the appearance of the resulting chart, can be controlled by the selection for the
k-point set dropdown list or the approximate k-point separation can be manually specified in the
Separation text box, in Å-1, on the Properties tab of the CASTEP Calculation dialog. Conduction band
states can be included by specifying a nonzero value in the Empty bands text box on the same tab.
Note: You are not required to use the same exchange-correlation functional in the band structure
calculation as in the main calculation. This allows you to select a nonlocal screened-exchange
functional to study the electronic structure after performing, for example geometry optimization with
a variable cell using the GGA functional.
Note: CASTEP does not support the use of nonlocal functionals (screened exchange, exact exchange,
and so on) for ultrasoft pseudopotentials, that is, nonlocal functionals can only be requested if all the
pseudopotentials for the calculation are specified as norm-conserving.
To calculate band structure
1. Choose Modules | CASTEP | Calculation from the Materials Studio menu bar.
2. Select the Properties tab.
3. Check the Band structure option on the Properties list.
4. If necessary, modify the Number of empty bands to include more or less states in the conduction
band.
5. Optionally, adjust the density of k-points along the high symmetry directions by using k-point set
dropdown list.
6. Click the More... button to open the CASTEP Band Structure Options dialog.
7. Click the Path... button to open the Brillouin Zone Path dialog. This dialog allows you to inspect and
modify the Brillouin zone path used for the band structure calculation.
8. On the CASTEP Band Structure Options dialog check the Use separate XC functional for band
structure calculation checkbox to use a nonlocal functional for the electronic structure calculation.
9. Select the alternative Functional you wish to use from the dropdown list.
Requesting core level spectroscopy
Calculating core level spectra produces electronic energies on the Monkhorst-Pack mesh of k-points and
the matrix elements for electronic interband transitions. The CASTEP Analysis dialog can be used to
generate observable core level spectra based on this information. Detailed analysis of the impact of
calculation parameters (k-point set, number of empty bands, and so on) on the accuracy of the spectra
generated can be found in the core level spectroscopy theory topic.
To calculate core level spectra
1. Choose Modules | CASTEP | Calculation from the menu bar.
2. Select the Properties tab.
3. Check the Core level spectroscopy option on the properties list.
4. If necessary, modify the number Energy range above the Fermi level for which you wish to calculate
the spectrum.
5. Optionally, adjust the density of Monkhorst-Pack k-points used for the optical properties
calculation by using k-point set dropdown list.
6. Click the More... button to open the CASTEP Core Level Spectroscopy Options dialog.
7. Select the Core level spectroscopy k-points option you want to use and the Band energy tolerance.
Note: CASTEP calculations with core holes assume by default that an electron is removed from the
system, so it is treated as having a charge of 1 (or one more than specified in the Charge field on the
Setup tab of the CASTEP Calculation dialog). In some circumstances, for example when studying
impurities, it might be more appropriate to consider the system as charge neutral. In order to achieve
this you should specify the Charge of -1 on the Setup tab, in this way the CASTEP input file will have a
zero charge. It is also possible to edit the seedname.param file to specify a fractional charge. The
strength of the core hole can be adjusted by editing the seedname.cell file and modifying the
pseudopotential definition string (for example, change {1s1} to {1s0.5} to use a core hole with
the charge of 0.5).
Note: CASTEP does not support the use of nonlocal functionals (screened exchange, exact exchange,
and so on) for ultrasoft pseudopotentials, that is, nonlocal functionals can only be requested if all the
pseudopotentials for the calculation are specified as norm-conserving.
Note: To obtain representative density of states it is recommended to use a k-point set which is
either the same or finer quality than the one used in the SCF calculations.
Tip: When only one set with the correct name is present in the structure, Materials Studio assumes
that the rest of the atoms should be treated as a second set. Thus, in the case of a molecule-surface
interaction, it is sufficient to create a single set that comprises all the atoms in the molecule.
The isotropic shielding, σiso, is given by one third of the trace of σ(r). From the symmetric component of
the shielding tensor, the chemical shielding anisotropy, σaniso and the asymmetry parameter, η, can be
defined in terms of the principal components of the shielding tensor:
and:
where:
For values of σaniso close to zero the asymmetry parameter will be ill-defined.
Electric field gradient
The interaction of a quadrupolar nuclei with an external magnetic field can be characterized by the
quadrupolar coupling constant, CQ, and the asymmetry parameter, ηQ. If the principal components of
the traceless electric field gradient tensor are labeled, Vxx, Vyy, and Vzz such that:
then:
For very small values of Vzz the asymmetry parameter will be ill-defined.
The value of the quadrupolar moment depends on the actual isotope; CASTEP makes a suggestion
based on the most typical isotope used in solid state NMR experiments. The value of Q affects only the
quadrupolar coupling constant, CQ, calculated and printed out by CASTEP. If you find that the wrong
value of Q was used you can rescale the generatedCQ constant using a different Q value.
Note: The list of default values is based on the compilation by Pyykkö (2008). CASTEP versions prior
to the 5.0 release used an older compilation by Harris (1996), so some results for quadrupolar
coupling constants may have changed in later versions.
J-couplings
NMR J-coupling or nuclear spin-spin coupling is an indirect interaction of the nuclear magnetic moments
mediated by the bonding electrons. It is manifested as the fine structure in NMR spectra, providing a
direct measure of bond strength and a map of the connectivities of the system.
Induced magnetization density and current density are expected to be short-ranged. This forms the
basis of using J-coupling as a tool for probing the strength of interatomic bonds. However, in a periodic
calculation the perturbing nucleus can be viewed as similar to a defect in a defect calculation. Hence,
sometimes it might be necessary to construct a supercell which is large enough to inhibit the interaction
between the periodic defects or perturbations. Convergence with respect to the cell size should
represent an important test in establishing accuracy of J-coupling calculations in either periodic systems
or in molecule in a box calculations.
Note: J-coupling can be calculated only for non-magnetic systems. J-coupling calculations are
supported only for systems with P1 symmetry. If your crystal has symmetry other than P1, you will
be prompted to convert the crystal symmetry to P1 before you can continue.
Tip: It is not recommended to use PW91 exchange-correlation functional when requesting NMR
properties. PW91 functional may result in sharp real-space features of on-the-fly-generated
pseudopotentials; PBE, RPBE, WC, BLYP, or PBESOL are better options when a GGA functional is
required.
EPR G-tensor
Electron Spin Resonance (EPR - also known as Electron Paramagnetic Resonance) is a powerful
experimental probe of the structure of defects in solids. EPR spectra of spin ½ centers are made up of
two contributions:
the hyperfine parameters
the g-tensor
The g-tensor arises from the interaction of the electronic spin with external magnetic field. This term
plays a somewhat similar role to the shielding in NMR; induced electronic currents in the sample modify
the g tensor from its vacuum value.
EPR spectrum can be modeled using the following effective Hamiltonian, bilinear in the total electron
spin S, and the applied uniform magnetic field or nuclear spins, B and II, respectively:
where:
atomic units are used
Tip: You must check the Fix fractional position checkbox on the Atom tab of the Edit Constraints
dialog, accessible from the Modify menu.
Note: Do not calculate LO-TO splitting for a "molecule in a box" system. There is no physical meaning
to this term when studying molecular, rather than crystalline, vibrations.
Note: Phonon spectra in metallic compounds are very sensitive to the details of the Fermi surface. To
obtain reasonable spectra using linear response method for metals, the k-point sampling must be
extremely dense: much denser than the Fine mesh. It is recommended to consider setting the
Separation parameter on the k-points tab of the CASTEP Electronic Options dialog to less than 0.02. A
clear sign of insufficient quality of k-point sampling is the presence of imaginary acoustic modes near
the Γ-point.
Note: It is important to select the correct description of the system from the System type dropdown
list when calculating the electric field response for a molecular system. The wrong system description
can significantly affect the molecular polarizability values obtained.
Note: It is not possible to specify the number of atomic orbitals to be used in the population analysis
explicitly in the CASTEP interface. If the spilling parameter reported in the .castep output file is too
large (more than 5%), it may be that the default CASTEP parameters were insufficient for this
calculation. In such circumstances you should edit the .cell file and change the SPECIES_LCAO_
STATES parameters for atomic species, then run the input files again. The SPECIES_LCAO_
STATES parameter for a species should be set such that it results in a complete set of angular
momentum states. For example, to use a single s and single p state SPECIES_LCAO_STATES
must be 2.
Manipulating files
CASTEP is a file-based application which means that all input information is provided in various ASCII text
files and the output is delivered in a mixture of text and binary files. This section describes some file
handling issues which may arise, especially when the CASTEP server is run in a standalone mode and not
through a gateway.
Input files
CASTEP allows you to save input files, for subsequent manual editing instead of running the job directly.
To save input files
1. Choose Modules | CASTEP | Calculation from the Materials Studio menu bar.
2. Click the Files... button to open CASTEP Job Files dialog.
3. Click the Save Files button.
Note: The Save Files button is enabled only if a suitable 3D model document is active.
Only one input file, .param, is displayed in the Project Explorer. This file contains the parameters
specified using the CASTEP interface. However, it also contains a few parameters that allow you to access
functionality which is not supported though the interface. The other input files are hidden, since they
are unlikely to be edited manually.
Input files can be run on a server after they have been edited:
To run CASTEP using an existing set of input files
1. Choose Modules | CASTEP | Calculation from the Materials Studio menu bar.
2. Click the Files... button to open CASTEP Job Files dialog.
3. Click the Run Files button.
Note: The Run Files button is enabled only if a suitable .param file is active.
If your server does not support the gateway protocol, you may have to run CASTEP in standalone mode
using the RunCASTEP.sh or RunCASTEP.bat files provided with the installation.
In such circumstances it is necessary to copy all the input files from the Materials Studio Project folder to
the appropriate directory on the server machine. The scripts required for standalone execution are
provided with accompanying RunCASTEP.Readme files that explain, in detail, how to use them.
Alternatively, you can obtain help by typing one of the following:
RunCASTEP.sh -h
RunCASTEP.sh
Note: The Materials Studio Project folder does not contain the pseudopotential files required to run a
job. When transferring input files to the server, you must therefore determine which pseudopotential
files are required by examining the .cell file. Then you must locate those potential files in Materials
Studio installation, typically in a sub-directory called share\Resources\Quantum\Castep and copy the
required files to the same directory on the server as the rest of the input files.
Output files
Only one output file, .castep, is displayed in the Project Explorer. However, there are many more files
created during a CASTEP run. These are hidden by Materials Studio. All of these output files are placed in
the correct Materials Studio Project folder automatically, when the job is run using the Gateway.
However, if CASTEP is run in standalone mode, the output files must be copied manually from the server
to the appropriate Project folder.
Some output files can be quite large. If these files are not likely to be required to restart the job, then it is
recommended that you delete or archive them periodically.
Restarting a CASTEP calculation
It is not possible to restart a completed CASTEP job automatically using the interface. However, there
are circumstances in which you may wish to do this, for example, if you are running a geometry
optimization which does not converge in the given number of steps, or a you wish to continue your
calculation with manually modified runtime parameters. To restart such jobs you should edit .param
file and add the CONTINUATION keyword to the file.
Note: Any additional changes to this file may make it impossible to restart the CASTEP job
successfully.
Tip: It is possible to remove everything from .param and leave only the CONTINUATION line. This
will ensure that all of the settings remain exactly the same as those from the previous run.
Note: In order to restart a job, the output files from the previous run must be present in the Project
folder. This check and the subsequent transfer of the files to the server happens automatically
whenever CASTEP is used to run an existing file set or to calculate additional properties.
The atoms in the updated structure document have an extra property, ServerAtomName, associated
with them. This shows the atom sequence numbers as used in the CASTEP output files and can be
seen by labeling atoms in the structure with the ServerAtomName property. (This property will be
seen only in structures generated from CASTEP and other similar applications).
All other analysis functions require you to perform certain actions using the CASTEP Analysis dialog.
Note: Only structure updates take place automatically after a CASTEP job is completed and the
results files have been downloaded successfully (this only applies to jobs that are run on a server
through the gateway, not jobs that are run in a standalone mode). All other analysis functions are
performed manually, using the options on the CASTEP Analysis dialog.
When you run a transition state search, a single chart containing a graph of energy vs. reaction
coordinate for each step of the calculation, <name> TSSearch.xcd, is generated. This includes an
individual graph for each LST or QST 'uphill' cycle as well as a graph for each conjugate gradient
minimization. The CASTEP Transition State Search task topic contains more details.
When you run a molecular dynamics simulation, either two or three chart documents are generated:
<name> Constant.xcd: Contains a plot of the constant of motion vs. simulation time
<name> Temperature.xcd: Contains a plot of temperature vs. simulation time
<name> Pressure.xcd: Contains a plot of pressure vs. simulation time (only produced by the
NPH or NPT ensemble)
Trajectory files can be animated using the controls on the Animation toolbar.
If you have access to the Forcite module, you may find some of its dynamics, statistical, and structural
analysis features useful for analyzing trajectories. Refer to the Using Forcite Analysis topic for details.
Creating a trajectory and chart
When you run CASTEP using the Materials Studio interface, the creation and display of these trajectories
and charts is automatic. If you selected Automatically view output on the CASTEP Job Control Options
dialog, the graphs will be displayed automatically on completion of the run. If you selected Update
graphs on the CASTEP Job Control Options dialog, these graphs will be displayed and updated with
intermediate results throughout the course of the calculation.
To create charts from output files generated by a standalone calculation
1. Download the files from the compute server to your PC using the procedure described in Running
CASTEP in standalone mode. Be sure to retrieve the .check, .castep, and .geom, .md, or
.ts files.
2. Select Modules | CASTEP | Analysis from the menu bar.
3. Select Energy evolution from the list on the CASTEP Analysis dialog.
4. Make sure that the .castep file is the currently active document.
5. Click the View button.
If you used the Materials Studio interface to set up and launch your job, you can regenerate the chart
documents by following a similar procedure.
To regenerate charts
1. Open either the .xsd or .castep file and make it the currently active document.
2. Select Modules | CASTEP | Analysis from the menu bar.
3. Select Energy evolution from the list on the CASTEP Analysis dialog.
4. Click the View button.
Animating the trajectory
You can use the controls on the Animation toolbar to animate the trajectory, stepping through each of
the frames of the document. If the chart is open during the animation, the point corresponding to the
active frame will be highlighted.
Chart Viewer point selection
Alternatively, you can use Chart Viewer point selection to display the trajectory frames of the points you
select from the chart document.
1. Choose the Selection tool on the Chart Viewer toolbar to enter selection mode.
2. Making sure you have the corresponding trajectory document open, select a data point on the
chart document.
3. The corresponding trajectory frame is displayed.
4. Drag the mouse over other data points on the chart document to display their corresponding
trajectory frames.
5. If CASTEP generated multiple chart documents, the related data points will be highlighted on all of
them.
Tip: To make it easier to see the chart and trajectory documents, close all the other documents and
then maximize the sizes of these two documents by selecting Window | Tile Vertically from the menu
bar.
Note: The charge and spin density in the .charg_frm file are in the same units as those used by
CASTEP during calculations. The values are normalized to the number of electrons per cell. The
density fields displayed in the 3D model are, however, normalized to the number of electrons per Å3.
To create a plain text density file
1. Choose Modules | CASTEP | Analysis from the menu bar to open the CASTEP Analysis dialog.
2. Select Electron density from the list of properties.
3. Click the Save density to file button.
Electron density difference
Materials Studio provides the option of generating the electron density difference in two different ways:
Electron density difference with respect to a linear combination of the atomic densities
Electron density difference with respect to a linear combination of the densities of sets of atoms
contained in the model
The former option produces a density difference field which shows the changes in the electron
distribution that are due to formation of all the bonds in the system. This object is appropriate for bulk
solids to illustrate the charge redistribution due to chemical bonding.
The latter option generates a density difference field which effectively corresponds only to the formation
of bonds between atoms in different sets and to charge redistribution within the sets that is due to the
presence of other sets. This property is useful to describe such processes as bonding of molecule(s) to
external and internal (for example, zeolites) surfaces or creation of large molecules from smaller
fragments.
Note: Visualization of the images created by conduction band states requires that the calculation was
performed with an increased number of empty bands. The recommended procedure is to use
electronic density of states (DOS) calculations and specify a sufficiently high number of empty states.
To create an STM profile
1. Choose Modules | CASTEP | Analysis from the menu bar to open the CASTEP Analysis dialog.
2. Select STM profile from the list of properties.
3. Ensure that the 3D Atomistic document to be analyzed is the active document.
4. Specify the STM bias value.
5. Optionally, check the View isosurface on import checkbox to automatically create an isosurface
when the potential field is imported.
6. Use field visualization tools to create an isosurface that represents the STM profile.
7. Click the Import button.
Field visualization
Materials Studio provides a number of tools for field visualization. They are accessed from the Volume
Visualization toolbar and Field, Isosurface, and Slice tabs on the Display Style dialog.
The Volume Visualization toolbar provides access to the Volumetric Selection dialog, which enables you
to specify the field to be visualized and set visibility attributes for fields, slices, and isosurfaces. This
toolbar also contains controls for creating new isosurfaces and slices, including the shortcuts for
orienting the slice based on either the cell axes or the coordinates of selected atoms. The Color Maps
dialog, which can also be accessed from the Volume Visualization toolbar, provides control over the
coloring of volumetric objects (it also provides useful shortcuts for determining the minimum and
maximum values of the field).
The Field tab of the Display Style dialog allows you to visualize the field directly using either the Dots or
Volume display styles.
The Isosurface tab of the Display Style dialog allows you to alter the visualization style of a selected
isosurface, change its isovalue, or use another field for color mapping.
The Slice tab of the Display Style dialog allows you to alter the visualization style of a selected slice.
Note: The volumetric visualization tabs on the Display Style dialog are displayed only if an object of
the relevant type is present in the active document. If a field, isosurface, or slice is selected, for
example by using the Volumetric Selection dialog, the volumetric visualization tabs that are not
relevant to the selection will be removed from the Display Style dialog.
Tip: Field visualization in Materials Studio fully supports periodic display. You can use the Field tab on
the Display Style dialog to change the range of a field to display more or less than one unit cell of a
structure.
Note: The default settings for field visualization result in the fields being displayed over one unit cell of
a structure. Use the In-Cell display mode for the lattice (accessible from the Lattice tab of the Display
Style dialog) to make sure that the field is positioned around the displayed atoms.
Figure 1. PDOS for BN. The left window is for boron, the right for nitrogen.
Strain pattern: 1
======================
Current amplitude: 1
Transformed stress tensor (GPa) :
0.103397 -0.000000 -0.000000
-0.000000 0.103397 -0.000000
-0.000000 -0.000000 0.141636
Current amplitude: 2
Transformed stress tensor (GPa) :
0.012212 -0.000000 -0.000000
-0.000000 0.012212 -0.000000
-0.000000 -0.000000 0.027695
....
Information about the connection between components of the stress, strain, and elastic constants
tensors is provided. At this stage each elastic constant is represented by a single compact index rather
than by a pair of ij indices. The correspondence between the compact notation and the conventional
indexing is provided later in the file:
Stress corresponds to elastic coefficients (compact notation):
8 8 3 0 0 0
A linear fit of the stress-strain relationship for each component of the stress is given in the following
format:
Stress Cij value of value of
index index stress strain
1 8 0.103397 -0.003000
1 8 0.012212 -0.001000
1 8 -0.076634 0.001000
1 8 -0.163088 0.003000
C (gradient) : 44.415050
Error on C : 0.374023
Correlation coeff: 0.999929
Stress intercept : -0.031028
The gradient provides the value of the elastic constant (or a linear combination of elastic constants), the
quality of the fit, indicated by the correlation coefficient, provides the statistical uncertainty of that
value. The stress intercept value is not used in further analysis, it is simply an indication of how far the
converged ground state was from the initial structure.
The results for all the strain patterns are then summarized:
============================
Summary of elastic constants
============================
id i j Cij (GPa)
1 1 1 127.56650 +/- 1.588
3 3 3 56.99120 +/- 0.051
4 4 4 25.73690 +/- 0.165
7 1 2 48.06835 +/- 0.329
8 1 3 44.44692 +/- 0.180
The errors are only provided when more than two values for the strain amplitude were used, since there
is no statistical uncertainty associated with fitting a straight line to only two points.
Elastic constants are then presented in a conventional 6×6 tensor form, followed by a similar 6×6
representation of the compliances:
=====================================
Elastic Stiffness Constants Cij (GPa)
=====================================
========================================
Elastic Compliance Constants Sij (1/GPa)
========================================
The elastic Debye temperature is evaluated according to the recipe by Anderson (1963), where the
averaged sound velocity is evaluated numerically as an integral over all propagation directions. The
Debye temperature is proportional to the averaged sound velocity, v m:
Where:
h is the Planck constant
k is the Boltzmann constant
N is Avogadro's number
ρ is the density
M is the molecular weight of the solid
q is the number of atoms in the molecule.
Note: Elastic Debye temperature and averaged sound velocity are not reported if the calculated
elastic constants do not produce physically meaningful sound velocities in some directions (for
example, if certain Cij values or their combinations are negative when they should be positive). This
can happen for low quality calculations or for calculations that were not preceded by a geometry
optimization (including optimization of the lattice parameters).
The last section of the file contains average properties that describe the elastic response of a polycrystal,
for example:
====================================================
Elastic constants for polycrystalline material (GPa)
====================================================
Voigt Reuss Hill
Bulk modulus : 65.11651 54.17693 59.64672
Shear modulus (Lame Mu) : 29.92204 25.97242 27.94723
Lame lambda : 45.16848 36.86199 41.01523
Young modulus : 77.84279 67.18163 72.51599
Poisson ratio : 0.30076 0.29332 0.29737
Hardness (Tian 2012) : 4.21526 4.00144 4.10621
This output contains the bulk modulus, shear modulus, Young modulus, and Poisson ratio averaged
according to Voigt, Reuss, and Hill schemes (Nye 1957).
In addition an universal anisotropy index suggested by Ranganathan and Ostoja-Starzewski (2008) is
evaluated.
Vickers hardness in GPa is evaluated based on the Tian (2012) empirical formula that expresses hardness
in terms of the polycrystalline bulk, B, and shear, G, moduli (using Pugh's modulus ratio, k=G/B):
The correlation between the results from this macroscopic model and experimentally measured
hardness values is quite good when hardness is larger than 5 GPa, but empirical formula overestimates
hardness of softer materials.
Note: The empirical expression for Vickers hardness cannot be applied if the calculated shear
modulus is negative (this can happen, for example, when the calculation settings are not sufficiently
accurate). In such a case the summary report will not include the hardness.
Raman spectra
To display a Raman spectrum
1. Choose Modules | CASTEP | Analysis from the menu bar to display the CASTEP Analysis dialog.
2. Select Raman spectrum from the list of options at the top of the dialog.
3. Use Results file selector to pick the right results file.
4. Ensure that the 3D Atomistic document containing the structure is the active document.
5. Select the Function of the mode to be calculated.
6. If the Function is set to Intensity set the Temperature.
7. Set the Smearing value to be used.
8. Select the Units for the X axis.
9. Specify whether to reverse the wavenumber and intensity axes.
10. Click the View button.
11. A new chart document, seedname Raman.xcd, is created in the results folder.
Note: NMR properties are dynamic (that is, they are not present on atoms until they are assigned
during analysis).
To display the shielding tensor
1. Choose Modules | CASTEP | Analysis from the menu bar to display the CASTEP Analysis dialog.
2. Select NMR from the list of properties.
3. Make sure that the desired 3D Atomistic document is the active document.
4. Click the Assign isotropic chemical shielding to structure button to import the data into the model.
5. Right-click in the 3D Viewer and select Label from the shortcut menu. Set the Object type to Atom,
select NMRShielding from the Properties list, and click the Apply button to display the shielding
tensors.
To display the electric field gradients
1. Choose Modules | CASTEP | Analysis from the menu bar to display the CASTEP Analysis dialog.
2. Select NMR from the list of properties.
3. Make sure that the desired 3D Atomistic document is the active document.
4. Click the Assign electric field gradients to structure button to import the data into the model.
5. Right-click in the 3D Viewer and select Label from the shortcut menu. Set the Object type to Atom,
select EFGQuadrupolarCoupling or EFGAsymmetry, as appropriate, from the Properties list, and
click the Apply button to display the electric field gradients.
Tip: If the only experimental information available is the value of the static dielectric constant, it is still
possible to assess the value of the scissors operator. Calculate the refractive index repeatedly, using
different scissors operator values and select the one that gives the best fit between the calculated n(0)
value and the square root of the experimental static dielectric constant.
Updating structure
Updating cell parameters and atomic coordinates after Geometry Optimization or a Dynamics run
should be the first step in the Analysis process.
Note: Structure updates happen automatically after a CASTEP job is completed and the results files
have been downloaded successfully. The description below is, therefore, only relevant for jobs which
were run in standalone mode and where the results files were transferred manually, or results files in
which the final structure produced by CASTEP has been manually modified and you wish to revert to
the unmodified form.
You can update the structure if the chemical composition (the number of atomic species and the
number of atoms of each kind) has not been changed since Materials Studio saved the structure in the
results folder. After the update, the cell parameters and atom coordinates are set to the values returned
by the CASTEP run in the (hidden) binary .check file.
To update the structure
1. Choose Modules | CASTEP | Analysis from the Materials Studio menu bar.
2. Select Structure from the list of properties.
3. Ensure that the 3D model document to be updated is active.
4. Click the Update button.
Note: An error message is generated if the output .check file is incomplete, or if the chemical
composition of the model has been changed.
The Update button is enabled only if the output .check file is present and the active document is
the 3D model to be updated.
example, if a cluster node contains two 6-core chips, the value can be set to 6. This modification can
speed up parallel jobs for some architectures.
CASTEP jobs are controlled by input files that are generated by Materials Studio when you start a job.
CASTEP writes the results of the calculations to various output files, which are downloaded from the
server to the appropriate Materials Studio project when the job is completed.
CASTEP remote jobs run according to the standard sequence of processes described in A sample remote
job run with the differences explained in the Sample CASTEP run help topic.
Update structure is checked: Materials Studio downloads a snapshot of the structure and modifies a
copy of the original structure accordingly.
Update graphs is checked: Materials Studio creates a chart document called [seedname]
Constant.xcd, showing the constant of motion versus simulation time, and another chart
document called [seedname] Temperature.xcd, showing the temperature versus
simulation time. In addition, the chart document [seedname] Pressure.xcd is created if the
calculation is run using the NPH or NPT ensembles.
Update textual results is checked: Materials Studio downloads a text file called Status.txt that
contains a summary of the calculation performed (task, DFT functional, energy cutoff for plane wave
basis set, electronic minimization method, system charge and spin, and so on), the number of
completed dynamics steps, the temperature, and the constant of motion for the last completed
optimization step.
For Elastic Constants calculations, if
Update structure is checked: there is no effect, as no structural changes are associated with the
original structure. CASTEP performs an Energy calculation for the initial structure.
Update graphs is checked: Materials Studio creates a chart document called [seedname]
Energies.xcd, showing the total energy versus optimization step, and another chart document
called [seedname] Convergence.xcd, showing, on a logarithmic scale, the total energy
change, the maximum displacement, and the maximum force versus optimization step. These charts
refer to the structure currently being processed, as indicated by the index of the strain pattern and of
the strain magnitude for that pattern.
Update textual results is checked: Materials Studio downloads a text file called Status.txt that
contains a summary of the calculation performed (task, DFT functional, energy cutoff for plane wave
basis set, electronic minimization method, system charge and spin, and so on), a description of the
structure currently being processed (as indicated by the index of the strain pattern and of the strain
magnitude for that pattern), the number of completed optimization steps, the total energy, and the
total energy convergence (that is, the change from the previous iteration), the maximum
displacement, and the maximum force for the last completed optimization step.
For TS Search calculations, if
Update structure is checked: Materials Studio downloads a snapshot of the structure and modifies a
copy of the original structure accordingly.
Update graphs is checked: Materials Studio creates a chart document called [seedname]
TSSearch.xcd, showing the total energy versus reaction coordinate. For each phase of the
transition-state search, a separate graph is displayed within the chart document.
Update textual results is selected: Materials Studio downloads a text file called Status.txt that
contains a summary of the calculation performed (task, DFT functional, energy cutoff for plane wave
basis set, electronic minimization method, system charge and spin, and so on), a description of the
phase of the transition-state search currently being processed, the reaction path coordinate, the
total energy, the total energy convergence (that is, the change from the previous iteration), the
maximum displacement, and the maximum force for the last completed search step.
For Properties runs or for any other task where electronic structure properties (band structure, density
of states, or optical properties) are requested, textual updates are modified as follows.
When the CASTEP run enters the properties stage, the task description in the Status.txt file is
changed to either Eigenvalues (for band structure or density of states) or Eigenvalues + Optical
Properties (for optical properties). This file now contains a summary of the calculation, the number of
completed non-self-consistent iterations of the eigenvalues calculation, the maximum convergence of
electronic energies, and the maximum change in electronic energies on the last completed iteration for
any band or k-point.
Once the job has finished, Materials Studio will transfer the output files back to your PC, where you can
view and edit them, analyze the results, or use them for further calculations. Additional output files may
be generated or modified depending on the type of calculation you performed.
For Energy runs, Materials Studio downloads all the CASTEP output files.
For Geometry Optimization runs, Materials Studio downloads all the CASTEP output files, updates
the structure it has copied into the results folder to show the final geometry, and creates a trajectory
file, [seedname].xtd, that contains the history of the optimization process. The trajectory file
can be animated using the tools on the Animation toolbar.
For Dynamics runs, Materials Studio downloads all the CASTEP output files, updates the structure it
has copied into the results folder to show the configuration at the beginning of the dynamics run,
and creates a trajectory file, [seedname].xtd, that describes the molecular dynamics
calculation. The trajectory file can be animated using the tools on the Animation toolbar.
For Elastic Constants runs, Materials Studio downloads all the CASTEP output files for all strain
patterns and strain amplitudes.
For TS Search runs, Materials Studio downloads all the CASTEP output files, updates the structure it
has copied into the results folder to show the resulting configuration, and creates a trajectory file,
[seedname] .xtd, that contains the history of the optimization process. The trajectory file can
be animated using the tools on the Animation toolbar.
Parallel CASTEP job fails with Error writing ... message under Linux.
Depending upon the options selected, CASTEP may use significant amounts of disk space to store
scratch files. Scratch files are created by each node during the execution of a parallel CASTEP job.
CASTEP uses the value of the environment variable GATEWAY_TMP as the location to be used to
save these files; this variable is set by share/bin/ms_vars.sbd and can be changed using the
gateway's web interface. You should ensure that the location that will be used on each node points
to a file system with at least 1 GB of free space. Note that the ./tmp setting for GATEWAY_TMP
corresponds to using the common file space on the head node, in the actual job directory, to store
the temporary files. This setting can have a detrimental effect on the performance of Linux clusters.
An additional problem may occur if the GATEWAY_TMP is set to the location on a shared disk
resource which is NFS mounted from the nodes. This mount should be done in a synchronous mode
using hard mounts.
Tip: It is important to identify the reason for the failure of a CASTEP job before taking any action. In
most cases, the error message produced will give a good indication of the reason for the failure. If the
error message indicates that the job failed, but does not provide specific reasons, check the
[seedname].castep file produced by the job or check the project log.
Argument Description
-h Displays the help text.
-np Specifies the number of cores on which to run CASTEP. When this option is
not specified a single core is used.
number of cores The number of cores to use.
-nt Specifies desired number of threads. When this option is not specified a
single thread for each process is used.
number of The number of threads to use.
threads
-q Submits the job to the specified queue.
queue name The name of the queue on which to run the job.
seedname The seed used to identify the set of CASTEP input and output files. The input
files should be present in the directory in which the CASTEP script is started.
If you wish to calculate properties, you should execute the script with all the seednames as parameters
for the RunCastep.sh:
RunCASTEP.sh -np 4 seedname seedname_BandStr seedname_DOS seedname_Optics
Note: By default large seedname.check files are removed after the execution to save space. In
most cases the seedname.castep_bin files are enough to restart the calculation. However, if
check files are needed they can be requested by adding the following command:
-extraoptions KeepCheckFiles:Yes
For example:
RunCASTEP.sh -extraoptions KeepCheckFiles:Yes seedname
Tip: If you have transferred files into a Materials Studio project folder, but you cannot see them in
the Project Explorer, try using the Refresh button to update the Project Explorer.
* These files are hidden by default, so they will not appear in the Materials Studio Project Explorer; these
files are only visible in the Windows File Explorer if Windows on your machine is configured to show
hidden files.
A .cell file is generated by Materials Studio when you launch a calculation or when you click the Save
Files button on the CASTEP Job Files dialog.
Under certain circumstances, you may wish to manually add keywords to a .cell file. The procedure is
described in the topic Running CASTEP in standalone mode.
The following rules govern keywords and data blocks in the .cell file:
Keywords and data blocks may appear in any order.
The keywords, data blocks, and values are case- and punctuation-insensitive.
Only one keyword and its options may appear on a line.
Data blocks are preceded by %BLOCK <keyword>, followed by a series of data lines, and
terminated by %ENDBLOCK <keyword>.
Keywords and data blocks that do not appear in the .cell file are set to their default values.
Units may be specified for physical quantities.
Note: Recognized units and their identifiers are listed in the UNIT keyword topics. If no units are
specified, the default units will be assumed.
Comment lines (those beginning with #, ;, ! or COMMENT) and blank lines are ignored.
Keywords and their values are fully described in the topic CASTEP keywords.
Values are always specified in atomic units and one of the following letter codes will be present:
E - total energy and enthalpy
T - temperature
R - atomic coordinates (Cartesian)
h - cell matrix
hv - derivatives (velocities) of the cell matrix
F - forces
V - velocities
S - stress tensor
P - pressure
The order of the blocks and of single lines with keywords in the file is irrelevant.
The order of the lines inside the BLOCK constructs is irrelevant.
The separator between the keyword and the value can be any of the designated separators: "=",":",
tab, space.
The case of the keyword is irrelevant.
The comments are allowed after the value as long as they are separated by at least one designated
separator.
The compulsory fields are the ones in red in the description above.
The string fields have to be enclosed in single quotation marks.
The energy shifts, CHANNEL_INFO_SHIFT, can be given either as shifts relative to the atomic
eigenvalues or as an absolute value (in which case, the value should be preceded by VAL and a
designated separator).
The level shifts, CHANNEL_INFO_LEVELSHIFT, are artificial shifts of atomic eigenvalues relative to their
DFT positions. Such shifts can be used to correct DFT error in relative positions of bands in a solid
state calculation, see Profeta et al. (2004) for details.
Information about multiple projectors in the CHANNEL_INFO lines should be separated by "&&", and
there should be also at least one of the designated separators on either side of the "&&" construct.
CHANNEL_INFO_TYPE, CHANNEL_INFO_SHIFT and CHANNEL_INFO_BETA_RC values within a
CHANNEL_INFO block are all optional; if either of these entries is omitted CASTEP will use the default
values for the respective property. The default setting is to use two ultrasoft projectors, using atomic
eigenvalues as reference energies, and using BETA_RADIUS value specified elsewhere in the .otfg
file.
If two or three out of CHANNEL_INFO_TYPE, CHANNEL_INFO_SHIFT and CHANNEL_INFO_BETA_RC
fields are present, then each of these fields should contain the same number of values.
A block enclosed in STARTCOMMENT and ENDCOMMENT tags can be inserted anywhere in the file;
its contents are ignored and can be used to keep a record of, for example, convergence testing and
validation studies.
The only value currently allowed on the COMPATIBILITY line is 'compat7'. The generator has been
improved in the 8.0 release, so that it produces slightly different (although functionally equivalent)
pseudopotential from the same input. The COMPATIBILITY option has been added to all 00.otfg
files to ensure compatibility with the earlier releases.
Note: COARSE, MEDIUM and FINE values are used by the CASTEP GUI in order to determine the
cutoff energy for the calculations carried out at the specified level of accuracy. If you are generating a
new file, you would have to carry out the convergence testing to determine the appropriate values
for the new potentials.
In order to ensure that the OTFG for core holes is appropriate some conditional settings have been
appended for certain elements, in a section which is only used when core holes are requested. If core
holes are not being used in the calculation the CORE_HOLE_INFO keywords are ignored and the
preceding settings are used.
Summary - contains a summary of the results, reporting the main parameters of the calculation, fit
coefficients, and root-mean-square error (RMSE) which is calculated for ln(k(T)). If the fit parameters
(also shown on the Graphs tab) produce too high n, or Ea becomes negative, the corresponding lines
in the study table are highlighted in red.
Structures - contains the collection document representing the entire reaction as well as one
atomistic document for each of the reactants and products.
Graphs - contains the temperature dependence of the reaction rates coefficients (k(T)) for forward
and backward reactions together with equilibrium constants. It also contains results of the fit using
Arrhenius form (see Kinetics constants theory) with temperature T0 = 298.15 K together with
standard Arrhenius form (n = 0, the temperature independent pre-exponential coefficient).
Partition Function - contains the calculated partition functions for reactant(s), product(s), and
transition state.
Supercell approach
CASTEP is based on a supercell method, wherein all studies must be performed on a periodic system,
even when the periodicity is superficial. Thus, for example, a crystal surface must be represented by a
finite-length slab (Figure 1). Similarly, to study molecules it is necessary to assume that they are in a box
and treat them as periodic systems. There is no limitation on the shape of the supercell.
Figure 1. Schematic representation of the supercell calculation of a small molecule adsorption on a surface
The main advantage of imposing periodic boundary conditions relates to Bloch's theorem, which states
that in a periodic system each electronic wavefunction can be written as a product of a cell-periodic part
and a wavelike part (Payne et al. 1992):
Eq. CASTEP 1
The cell periodic part, ψ, can then be expanded using a basis set consisting of a discrete set of plane
waves whose wave vectors are reciprocal lattice vectors of the crystal:
Eq. CASTEP 2
Therefore, each electronic function can be written as a sum of plane waves, exp[i(k+G)•R]. Advantages
and technical details of the plane wave basis set are described in a separate section.
Among the major gains is the simplified form of the Kohn-Sham equations:
Eq. CASTEP 3
In this form, the kinetic energy is diagonal, and the various potentials (electron-ion, Hartree, exchange-
correlation) are described in terms of their Fourier transforms.
Another advantage of the plane wave basis set is the ease of calculating derivatives of the total energy
with respect to atomic displacements (that is, stresses and forces are computationally cheap in this
approach), so that efficient geometry optimization and molecular dynamics schemes can be
implemented. It is also straightforward to study and improve convergence of plane-wave basis set
calculations, as there is a systematic way of adding more basis functions.
However, there is an additional cost to using the supercell approach for systems that lack periodicity in
three dimensions inherently (isolated molecules, defects in solids, surfaces, and so on). In a study of a
single defect, for example, the properties of an infinite array of defects (Figure 2) would always be
calculated. Therefore, it is essential to introduce enough separation between artificial images of such
nonperiodic objects to ensure that there is no appreciable interaction between them. The situation is
similar for surface calculations that are carried out in a slab geometry. The vacuum layer should be
sufficiently thick to eliminate artificial interactions between the slabs.
provide this, so that the gain due to the evaluating various parts of the Hamiltonian in their "natural"
representations is not offset by the cost of the transformation.
The PBE functional has been designed to give essentially the same results as the PW91 functional but it
is more robust in systems with rapidly varying electron density. The RPBE functional has been designed
specifically to improve the DFT description of the adsorption energies of molecules on metallic surfaces
(for a detailed comparison of these three functionals when applied to surface science problems see
Marlo and Milman, 2000). One of the latest developments, PBEsol functional, is explicitly designed to
improve the first-principles gradient expansion for exchange over a wide range of density gradients, and
hence to improve the description of equilibrium properties of densely packed solids and their surfaces.
All gradient-corrected functionals in CASTEP are implemented according to the method described by
White and Bird (1994). The application of gradient-corrected exchange-correlation functionals in total-
energy calculations using a plane-wave basis set is less straightforward than in localized basis set
approaches (used in other programs such as DMol3). The usual form of the exchange-correlation
potential includes gradients whose calculation requires the use of a high-quality representation of the
density which is computationally expensive in both memory and time. These problems are overcome by
defining an exchange-correlation potential for the discrete set of grid points consistent with the
discretized form of the exchange-correlation energy that is used in plane-wave total-energy calculations.
This potential is calculated exactly on the minimum fast Fourier transform grid and gives improved
convergence and stability as well as computational efficiency.
Meta-GGA functional
In addition to the generalized gradient (GGA) functionals, which depend on the local density and its
gradient, CASTEP can handle functionals that depend on the kinetic energy density. The current
supported functional is RSCAN (Bartók and Yates, 2019), which is an improved regularized version of the
SCAN ("Strongly Constrained and Appropriately Normed") functional developed by Sun et al., 2016.
Meta-GGA functionals are considered to be more accurate than pure GGA, and the cost of such
calculations is significantly lower than for nonlocal functionals.
The SCAN functional satisfies all known constraints that a semi-local functional can satisfy, and the
remaining free parameters are fitted to reproduce exact or accurate reference values, or norms, of
exchange and correlation energies.
The RSCAN modification eliminates the unphysical divergence of the exchange-correlation potential,
which occurs in some free atoms, and fixes the feature of the switching function in SCAN, which
introduces rapidly oscillating regions in the exchange-correlation potential. These improvements are
necessary to make the SCAN functional usable in the context of robust pseudopotential generation.
CASTEP's implementation has shown that RSCAN is transferable and accurate for a broad range of solid
state and molecular systems.
Note: Currently, there are limitations on the use of meta-GGA in CASTEP. The meta-GGA functional is
not compatible with DFT-D corrections, spin-orbit coupling, J-coupling , linear-response phonons, or
polarizability calculations. The formalism cannot be used with mixture atoms. Only on the fly
generated pseudopotentials can be used.
Note: There is an important difference between standard DFT calculations with local exchange-
correlation potentials and the nonlocal exchange case. The potential used in the latter scenario
depends on the SCF k-points, while in the former case, the potential depends only on electron
density. This difference can make all properties calculations a lot more expensive in terms of memory
usage and CPU time, so it is advisable to limit the number of SCF k-points that you use in such
situations. This is particularly relevant for small unit cells, where the default settings may generate a
very large k-point set.
charge, Z. For materials with heavy elements a scalar relativistic treatment (that is, one that neglects the
spin orbit interaction) is insufficient to model the electronic band structure. In magnetic systems, the
spin orbit coupling introduces a preferential direction (or set of directions) for the spin density.
The inclusion of spin orbit coupling is required for the prediction of many physical properties; for
example, effective masses in semiconductors (modeling light and heavy holes); the anomalous Hall
effect; Berry curvature; topological insulators, and magnetoelectrics.
In the plane waves and pseudopotential model, only the pseudized valence electrons are explicitly
modeled. These electrons have a velocity, v << c, and as such the standard (non-relativistic) Kohn-
Sham (KS) equations are appropriate. The spin orbit coupling is included using j-dependent
pseudopotentials developed based on work by Dal Corso et al. (2005). These pseudopotentials act on KS
spinor wavefunctions and an electron density with a vector spin at each grid point.
DFT+U (LDA+U)
DFT can only give access to the ground state properties of a system, even if the exact exchange-
correlation potential were known. For electronic excitations to be modeled Kohn-Sham equations must
be substituted by the Dyson equation, where instead of the unknown exchange-correlation potential
the energy dependent self energy operator is used. This operator often can be represented by the local
and energy-independent exchange-correlation potential, in which case one recovers the Kohn-Sham
equations for one-electron excitations. However, this approach is not appropriate for a large class of
compounds, so-called correlated systems. These systems require a mixture of the Hubbard model
theory and DFT. The most popular implementation is known as the DFT+U method as introduced by
Anisimov and co-workers (1991).
The CASTEP implementation of DFT+U adopts a simplified, rotationally invariant approach (Cococcioni
and de Gironcoli, 2005, Dudarev et al., 1998). The only external parameter needed for this approach is
the effective value of the on-site Coulomb parameter, U, for each affected orbital. This parameter can be
calculated theoretically (Cococcioni and de Gironcoli, 2005). However, experience shows that the best
results are achieved when the U parameter is allowed to vary depending on the property of interest.
CASTEP therefore does not calculate the value of U but uses it as an input parameter.
Symmetry in CASTEP
The original ideas of utilizing space group symmetry in plane-wave total energy calculations can be
traced back to the k290 package (Kunc et al., 1985). The importance of this issue for achieving high
performance has long been recognized. Often a high symmetry system has a fairly small unit cell. This
means that the Brillouin zone is quite large and a high number of k-points are therefore required for
efficient Brillouin zone sampling. This number can be greatly reduced if it is recognized that the
contributions to the charge density from wavefunctions with k-vectors that are related by symmetry are
related. It is then sufficient to use only one k-point from each star of symmetry-related points. Because
the cost of a CASTEP calculation increases linearly with the number of k-points, any symmetry-related
reduction in the number of k-points gives a direct computational speedup.
Space group symmetry is also used in CASTEP during geometry optimization. Forces on atoms, the
stress tensor and consequently atomic displacements and changes in the cell parameters, are always
symmetrized so that the space group symmetry can never become lower during a CASTEP calculation.
However, CASTEP does not perform symmetry analysis. Instead, it uses symmetry information provided
by Materials Studio.
Pseudopotentials
The concept of a pseudopotential is a crucial one for plane-wave total energy methods since the
alternative full Coulomb potential of the electron-ion interaction decays too slowly to be accurately
where |lm> are the spherical harmonics and Vl is the pseudopotential for angular momentum l. A
pseudopotential that uses the same potential in each angular momentum channel is called a local
pseudopotential. Local pseudopotentials are computationally much more efficient than a nonlocal ones,
however, only a few elements can be described accurately using local pseudopotentials.
An important concept in the pseudopotential applications is the degree of hardness of a
pseudopotential. A pseudopotential is considered soft when it requires a small number of Fourier
components for its accurate representation and hard otherwise. Early development of accurate norm-
conserving pseudopotentials quickly showed that the potentials for transition metals and for first row
elements (O, C, N, and so on) turn out to be extremely hard (Bachelet et al., 1982; Kerker, 1980 ). Various
schemes have been suggested to improve convergence properties of norm-conserving
pseudopotentials (Troullier and Martins, 1991). Norm-conserving potentials in CASTEP are generated
using the kinetic energy optimization scheme developed by Lin et al., (1993) and Lee (1996).
A more radical approach was suggested by Vanderbilt (1990), which involves relaxing the norm
conservation requirement in order to generate much softer pseudopotentials. In the ultrasoft
pseudopotential scheme the pseudo-wavefunctions are allowed to be as soft as possible within the core
region, so that the cutoff energy can be reduced dramatically. Ultrasoft potentials (USP) have another
advantage besides being much softer than the norm-conserving potentials. The generation algorithm
guarantees good scattering properties over a pre-specified energy range, which results in much better
transferability and accuracy of the pseudopotentials. USP usually also treats shallow core states as
valences by including multiple sets of occupied states in each angular momentum channel. This also
adds to high accuracy and transferability of the potentials, although at a price of computational
efficiency.
Transferability is the main benefit of the pseudopotential technique over all electron DFT
implementations. Pseudopotentials are constructed from a fixed electronic configuration of an isolated
atom or ion and thus they reproduce the scattering properties of a nucleus in that particular
configuration. They can also be used reliably for any other atomic configuration or in various solid-state
environments due to the way in which they are generated, which guarantees the correct scattering
properties over a wide energy range. An example of the accuracy that can be achieved across a number
of structures and chemical environments is given by Milman et al. (2000).
Nonlocal pseudopotentials, even in their most efficient separable representation (Kleinman and
Bylander, 1982), still consume a large share of the computational time in pseudopotential total-energy
calculations. In addition, the cost of applying nonlocal pseudopotentials in reciprocal space increases
with the cube of the number of atoms. Therefore, it becomes one of the dominant operations for large
systems. The nonlocality of the pseudopotential, however, extends only over the region occupied by
the core of the atom. As the core region is relatively small, especially if the system has a lot of vacuum in
it (slab calculations, open zeolite systems, and so on), it is more efficient in this case to apply the
pseudopotential in real space. The computational cost of this method increases with the square of the
number of atoms and so is preferable for big systems. CASTEP uses the scheme developed originally for
norm-conserving potentials (King-Smith et al., 1991 ) and was subsequently generalized for the case of
ultrasoft pseudopotentials.
The separation of electrons into core and valence creates a problem when treating exchange-correlation
interactions. Within the core region of the nucleus the densities of the two subsystems overlap which
makes it difficult to cleanly descreen the pseudopotential during its generation. The only term in the
potential energy operator that is nonlinear with respect to the electron density is the exchange-
correlation energy. It has been shown by Louie et al. (1982) that there is a simple explicit scheme for
treating the nonlinear exchange and correlation interaction between the core and the valence charge
densities. This approach leads to significant improvements in the transferability of the potential. In
particular, the spin-polarized calculations become noticeably more accurate. The nonlinear core
correction (NLCC) term is especially important when semicore states are not explicitly treated as
valences. On the other hand, their explicit inclusion into the valence subsystem essentially removes the
need for the NLCC treatment.
Norm-conserving pseudopotentials
The main requirement of the pseudopotential approach is that it reproduces the valence charge density
associated with chemical bonds. It has been shown (Hamann et al., 1979) that for pseudo and all-
electron wavefunctions to be identical beyond the core radius, Rc, it is necessary for the integrals of
squared amplitudes of the two functions be the same. This is equivalent to requiring norm-conservation
from pseudo wavefunctions, that is, each should carry exactly one electron. This condition ensures that
the scattering properties of the pseudopotential are reproduced correctly.
Figure 1. Schematic representation of the all-electron and pseudized wavefunctions and potentials
The typical method for generating pseudopotentials is as follows. All-electron calculations are carried out
for an isolated atom in a chosen electronic configuration (not necessarily in the ground state). This
provides valence electron eigenvalues and valence electron wavefunctions for the atom (shown as ψ in
Figure 1). A parameterized form for the ionic pseudopotential (or the pseudo wavefunction) is chosen.
The parameters are then adjusted, so that a pseudoatom calculation with the same exchange-
correlation potential as in the all-electron atom gives pseudo wavefunctions, ψps (Figure 1), that match
the valence wavefunctions outside some cutoff radius, Rc, and pseudoeigenvalues that are equal to the
valence eigenvalues. This procedure involves direct inversion of the radial Kohn-Sham equation in the
case when the pseudo wavefunction and not the pseudopotential itself are parameterized. If each
wavefunction, pseudo and all-electron, is normalized to one, then the norm-conservation constraint is
automatically satisfied as a result of matching the wavefunctions outside Rc.
The ionic pseudopotentials are constructed with Rc ranging from one to two times the value of the
physical core radius. The smaller the value of Rc, the harder and more transferable the potential. The
conflicting effect of Rc creates an obvious trade-off between accuracy and efficiency.
Optimized pseudopotentials
A number of recipes exist for producing pseudopotentials that are optimized with respect to the energy
cutoff required in solid-state calculations.
Lin et al. (1993) suggested the following generation scheme based on the earlier work of Rappé et al.
(1990):
Where:
jl(qir) are spherical Bessel functions with (i-1) zeroes between r=0 and r=Rc. The cutoff radius
value is as large as possible, consistent with satisfactory transferability of the potential.
2. The coefficients αi are determined from minimizing the kinetic energy beyond the cutoff vector qc:
Eq. CASTEP 6
where qc is chosen to be equal to q4 from Eq. CASTEP 5. Three additional constraints that are
satisfied using Lagrange multipliers are the normalization of the pseudo wavefunction and the
continuity of the first two derivatives of the pseudo wavefunction at Rc.
3. The standard step of inverting the radial Kohn-Sham equation produces a smooth pseudopotential
with optimal convergence properties.
Lee (1996) suggested further enhancements and it is essentially this scheme that was used to generate
the bulk of norm-conserving pseudopotentials in the CASTEP database. This generation method
eliminates the condition that the second derivative of the pseudo wavefunction must be continuous at
a given cutoff radius because it automatically satisfies the second derivative constraint. As a result, the
scheme allows one to tune qc for a given Rc to optimize the accuracy and efficiency of a pseudopotential.
Ultrasoft pseudopotentials
Ultrasoft pseudopotentials (USP) were introduced by Vanderbilt (1990) in order to allow calculations to
be performed with the lowest possible cutoff energy for the plane-wave basis set. Since it is understood
that there are inherent limits on optimizing the convergence of norm-conserving pseudopotentials, a
completely different approach has been designed.
The rationale behind USP is that, in most cases, a high cutoff energy is only required for the plane-wave
basis set when there are tightly bound orbitals that have a substantial fraction of their weight inside the
core region of the atom. In these situations, the only way to reduce the basis set is to violate the norm-
conservation condition by removing the charge associated with these orbitals from the core region. The
pseudo wavefunctions are thus allowed to be as soft as possible within the core, yielding a dramatic
reduction in the cutoff energy.
Technically, this is accomplished by introducing a generalized orthonormality condition. In order to
recover the full electronic charge, the electron density given by the square moduli of the wavefunctions
is augmented in the core regions. The electron density can thus be subdivided into a soft part extending
through the unit cell and a hard part localized in the core regions.
USP formalism in solid state
The total energy in the USP scheme has the same form as other pseudopotential plane-wave methods,
with the nonlocal potential VNL given as:
Eq. CASTEP 7
where the projectors β and coefficients D(0) characterize the pseudopotential and differ for different
atomic species. The index I refers to an atomic site. The electron density in the expression for the total
energy is given by:
Eq. CASTEP 8
where ϕ are the wavefunctions and Q(r) are the augmentation functions that are strictly localized in the
core regions. The ultrasoft potential is fully determined by the local part, Vlocion(r) and by the
coefficients D(0), Q, and β. The algorithm that generates these quantities is described below.
The relaxation of the norm-conserving constraint is achieved by introducing a generalized
orthonormality condition:
Eq. CASTEP 9
where coefficients q are obtained by integrating Q(r). Kohn-Sham equations can be rewritten for the
USP case as:
Eq. CASTEP 11
where Veff contains Vlocion(r), Hartree and exchange-correlation terms. All the terms arising from the
augmented part of the electron density are grouped with the nonlocal part of the pseudopotential (Eq.
CASTEP 7) by defining new coefficients:
Eq. CASTEP 13
The difference compared with the norm-conserving case is the presence of the overlap operator S, the
wave-function dependence of the coefficients D and the fact that the number of projector function β is
typically twice as large. A number of calculations related to augmentation charges can be carried out in
real space because of the localized nature of the function involved, so that the overall impact of these
extra steps on efficiency is not large.
Further technical details of the USP implementation, including expressions for the derivatives of the
total energy, can be found in Laasonen et al. (1993).
Pseudopotential generation
As in the norm-conserving case, an all-electron calculation is carried out on a free atom, leading to a
screened atomic potential, VAE(r). For each angular momentum a set of reference energies, εl, is
chosen. Typically two reference energies are sufficient. These energies should cover the range over
which good scattering properties are required. At each reference energy the solution of the radial Kohn-
Sham equation which is regular at the origin is obtained. Next cutoff radii Rcl are chosen and for each all-
electron wavefunction ψ generated above, a pseudo wavefunction ϕ is constructed. The only constraint
is that it should join smoothly to ψ at Rcl. A smooth local potential, Vloc(r), is generated to match VAE(r)
smoothly at a cutoff radius, Rloc. An auxiliary radius, R, is defined to be slightly higher than all of the core
radii. Finally, the local orbitals are formed (they vanish beyond R):
Eq. CASTEP 14
It is now possible to define the quantities needed for the solid state calculation (Vlocion(r), D(0), Q, and
β):
Eq. CASTEP 15
Eq. CASTEP 16
Eq. CASTEP 18
Note: The non-linear core correction term can be introduced in the descreening procedure, Eq.
CASTEP 17, in exactly the same way as in the norm-conserving case.
Note: The formalism described above is based on the non-relativistic Schroedinger approach. With
CASTEP you can also use a scalar-relativistic approach either as a Koelling-Harmon (1977) scheme or as
its approximation commonly referred to as ZORA, zeroth order regular approximation (Lenthe et al.
1994).
In the pseudopotential formalism, the charge density is divided into core and valence contributions. The
energy of the core is assumed to be constant and is subtracted out. Thus, in Eq. CASTEP 19 above the
total charge density is replaced by a (pseudo) valence charge density and Eion is evaluated using
pseudopotentials.
As a result all interaction between core and valence electrons is transferred to the pseudopotential. This
implies linearization with respect to charge density which can only be an approximation to the kinetic
energy and the explicitly nonlinear exchange-correlation energy.
This linearization is obviously a good approximation when core and valence densities are well separated
in space. However, if there is significant overlap between the two densities, it will be the source of
systematic errors and will lead to reduced transferability of the potential.
The solution to the NLCC problem lies in a modifying the pseudopotential generation procedure and the
solid-state algorithm. In a typical generation scheme a screened atomic potential Vl is produced for each
angular momentum channel subject to certain constraints, for example norm-conservation, matching
eigenvalues to all-electron values, and so on.
These screened potentials give rise to atomic pseudowavefunctions that represent valence states only.
The valence pseudo charge density is constructed from these wavefunctions and is used to descreen the
potential to produce the bare ionic potential:
Eq. CASTEP 20
Since the exchange-correlation potential is a nonlinear function of the charge density, it can be shown
that this procedure, especially for spin-polarized systems, creates ionic pseudopotentials that are
dependent on the valence configuration. Louie et al. (1982) suggested substituting Eq. CASTEP 20 with
the following expression:
Eq. CASTEP 21
Here the total exchange-correlation potential is subtracted from the screened atomic potential. In
addition, the core charge must now be added to the valence charge whenever the exchange-correlation
potential is calculated. This additional atomic information has to be passed on to CASTEP and the core
charge is deemed to be the same in all applications. A drawback of this is that the core charge is difficult
to represent accurately on the Fourier grid used in pseudopotential calculations. Furthermore, the core
density is usually bigger than the valence density, so its presence might mask effects related to valence
charge density.
The next step in developing the formalism was to introduce the partial core correction. This approach
recognizes the fact that only the area of overlap between the core and valence densities is of interest.
Core density close to the nucleus is of no consequence although this is precisely the part of the core
density that causes the problems described above. Partial NLCC replaces the full core density with a
function that coincides with ρc outside a certain radius, and falls off smoothly toward the nucleus.
CASTEP uses a partial core correction with numerical core density in the case of ultrasoft
pseudopotentials for certain elements. The database of norm-conserving potentials does not, however,
include NLCC information.
Real-space representations of pseudopotentials
The nonlocality of the pseudopotential only extends over the region occupied by the core of the atom.
As the core region is relatively small, it should be possible to deal efficiently with the nonlocality of the
pseudopotential by working in real space. Only a small number of operations should be required to
project the angular momentum components of each wavefunction in the core of each atom.
Furthermore, the number of operations needed to project the angular momentum components of a
single wavefunction around a single atom in real space is independent of the size of the system, leading
to better scaling with system size than in the reciprocal space projection scheme. The computational
cost of the real-space implementation increases with the square of the number of atoms, compared
with the cubic relationship that exists for reciprocal space projection methods (Payne et al., 1992).
CASTEP uses the scheme developed originally for norm-conserving potentials (King-Smith et al., 1991)
and subsequently generalized for the case of ultrasoft pseudopotentials. The reciprocal-to-real space
transformation involves the following steps:
Select the plane wave cutoff, Gmax, which is to be used in the solid-state calculation.
Set χl(q) = Vl(q) for 0 < q < Gmax and χl(q) = 0 for q > γ, where γ is the difference between the ideal
Fourier grid size with no wrap-around errors for potential evaluation (at least 4Gmax). The Fourier
transform of the pseudopotential Vl(q), is defined as:
Eq. CASTEP 22
where Vl(r) is the original nonlocal projector and jl(qr) is the spherical Bessel function.
Select a real-space cutoff radius, R0. Generally this is about 1.5-2.0 × Rc, where Rc is the core radius
used in pseudopotential generation.
Variationally select χl(q) in the intermediate region, Gmax < q < γ by minimizing:
Eq. CASTEP 23
The object of this step is to achieve the best possible convergence of the modified potential in real
space.
Transform χl(q) back to real space to get χl(r ) which is now used in the real-space evaluation of
nonlocal potential matrix elements in solid-state calculations.
The modified real-space projectors are no longer identically zero outside Rc, although the minimization
in Eq. CASTEP 23 ensures the best possible convergence compatible with the removal of the wrap
around error. A quantitative measure of the error introduced by the transformation is given by:
Eq. CASTEP 24
This error function should be small (less than 0.001) for all wavevectors, q, and can be inspected in the
CASTEP output file.
One should bear in mind that the use of real-space scheme represents an approximation and that more
accurate results are obtained with the reciprocal-space version. The accuracy of the real-space
transformation is controlled by the value of the cutoff radius, R0. The default set of these values in
CASTEP is designed to be for accuracy rather than performance. It is advisable to carry out independent
tests on small systems before embarking on large-scale calculations with drastically reduced R0 values.
The real space transformation of the pseudopotential depends on the cutoff energy for plane wave basis
set, and thus it is not possible to precalculate real-space projectors in the same way as the reciprocal
space potentials (which are provided in CASTEP database).
The truncation of the basis set at a finite cutoff energy will lead to an error in the computed total energy
and its derivatives. It is possible to reduce the magnitude of the error in a systematic way by increasing
the value of the cutoff energy. In principle, the cutoff energy should be increased until the calculated
total energy converges within the required tolerance. This would be the recommended procedure if, for
example, you were conducting a phase stability study where the absolute values of total energies of
different structures are compared. However, the energy differences for the same structure converge at
much lower cutoff energies than the total energy itself. This is due to the cancellation of errors and
allows one to use moderate basis sets for reliable geometry optimization or molecular dynamics studies.
These arguments are also valid for the convergence testing of Brillouin zone sampling.
Finite basis set correction
One of the difficulties associated with the use of plane-wave basis sets is that the number of basis states
changes discontinuously with cutoff energy. In general these discontinuities will occur at different
cutoffs for different k-points in the k-point set. In addition, at a fixed cutoff energy, a change in the size
or shape of the unit cell will cause discontinuities in the plane wave basis set. This problem can be
reduced by using a denser k-point set, so that the weight attached to any particular plane wave basis
state is reduced. However, the problem is still present even with quite dense k-point samplings. It can be
handled approximately by applying a correction factor that accounts for the difference between the
number of a states in a basis set with an infinitely large number of k-points and the number of basis
states actually used in the calculation (Francis and Payne, 1990).
The finite basis set correction is of the utmost importance when cell optimization is performed with a
basis set that is not absolutely converged. For example, the norm-conserving silicon pseudopotential is
sufficiently soft and provides accurate results with a cutoff energy for plane waves of about 200 eV.
However, if one calculates the equation of state using this cutoff (that is, the volume dependence of the
total energy and pressure), the volume that corresponds to the minimum in total energy does not
coincide with the volume that gives zero pressure. As one repeats such EOS calculations at progressively
higher cutoff energies and with better k-point sampling, the difference between the two volume values
becomes smaller and smaller. In addition, the E-V curve calculated at low cutoff energy is jagged but
becomes more and more smooth as the cutoff energy is increased. The reason for the jagged
appearance of the E-V curve is the discontinuous change in the number of plane waves used at the same
cutoff energy but for different lattice constants. The finite basis set correction, when added to the total
energy, allows one to perform calculations with a fixed number of basis states and to interpolate the
results as if the more physical condition of a fixed energy cutoff were used. A detailed description of the
recommended use of this technique can be found in Milman et al. (1994).
The only parameter that must be known in order for this correction term to be evaluated is dEtot/d
lnEcut, where Etot is the total energy of the system and Ecut is the cutoff energy. CASTEP can calculate
this term automatically or you can input this parameter manually.
The value of the dEtot/d lnEcut gives a good indication of the convergence of the calculation with respect
to the energy cutoff and k-point sampling. When its value per atom (that is, the value reported in the
CASTEP output file divided by the number of atoms) is smaller than 0.01 eV/atom, the calculation can be
considered very well converged. A value of 0.1 eV/atom is sufficient for most calculations.
conjugate gradient-based approach is used to minimize the sum of eigenvalues. A slightly more
elaborate scheme that involves separate mixing of spin density has been developed for spin-polarized
calculations.
CASTEP also supports a more traditional scheme for electronic relaxation, involving minimization of the
total energy. The electronic wavefunctions are expanded using a plane-wave basis set and the expansion
coefficients are varied so as to minimize the total energy. This minimization is performed by using an all-
bands method that allows simultaneous update of all wavefunctions. The scheme uses a preconditioned
conjugate gradients technique (Payne et al., 1992).
The main advantage of the density mixing method is its robustness for metallic systems, especially for
metallic surfaces. A traditional total energy minimization scheme might become unstable in a metallic
system with the cell elongated in one dimension, which is the typical setup for supercell calculations on
surfaces. The density mixing scheme converges equally well for insulating and metallic cases, and offers
at least a factor of three increase in speed for moderately sized insulator systems.
Note: When using the density mixing method, the SCF energy no longer decreases monotonically to
the final converged SCF energy and unconverged energies may have values lower than the final
converged energy. This behavior is due to the fact that in the density mixing method, the Harris
functional for the energy is used, rather than the Kohn-Sham functional. Unlike the Kohn-Sham
functional, the Harris functional does not necessarily have a minimum at the SCF solution.
Preconditioning
All electronic relaxation methods in CASTEP use preconditioning to speed up the rate of convergence
(Payne et al., 1992). The idea is to find a matrix which, when multiplied with the residual vector, gives the
exact error in the wavefunction. Formally, this matrix can be written down as:
Eq. CASTEP 28
where εn is the exact eigenvalue for the band being optimized. It in not possible to evaluate this matrix,
but by recognizing that the kinetic energy dominates the Hamiltonian for large G-vectors, it is possible to
approximate the matrix by a diagonal function which converges to G-2 for large G-vectors and is
constant for small G-vectors. The actual form of the matrix is (Payne et al., 1992):
Eq. CASTEP 29
where x is the ratio of |k + G|2 to the kinetic energy of the given state.
Application of the preconditioning scheme causes all of the large wave-vector components of a
wavefunction to converge at nearly the same rate.
Density mixing schemes
CASTEP supports four schemes for generating new starting charge densities from the results of the
previous SCF step (Kresse and Furthmuller, 1996). The simplest is the linear mixing scheme. This method
requires one parameter and the output density is produced as a linear combination of the input and
output densities on the last iteration.
Kerker mixing recognizes the fact that small-G components of the charge density should be mixed with
smaller weights in order to prevent charge sloshing during SCF optimization. The new density is given
by:
Eq. CASTEP 30
The Kerker scheme is, consequently, defined by two parameters, the mixing amplitude, A, and the
cutoff wavevector, Gmax.
The most efficient mixing scheme is Pulay's scheme. In this approach, the input charge density and the
residual vectors are stored over a number of SCF optimization steps. A new input density is obtained in
each step as a linear combination of charge densities of all previous steps. The new density is
determined such that it minimizes the normal of the residual vector subject to the constraint of
conserving the number of electrons. Pulay's scheme starts with a Kerker-type step, so it is effectively
controlled by three parameters: the mixing amplitude, A, the cutoff wavevector, Gmax, and the depth of
the optimization history.
Broyden mixing is very similar to the Pulay scheme, except that it performs a quasi-Newton relaxation
instead of DIIS minimization of the residuals.
Treatment of metallic systems
The main difference between metals and insulators, from the technical point of view, is that the number
of occupied bands is not the same at different k-points in the Brillouin zone. The number of occupied
bands for insulators is calculated as one half the total number of valence electrons, but this approach is
not suitable for metals. Partial occupancies are introduced to eliminate discontinuous changes in total
energy that are created when an energy band crosses a Fermi level during SCF minimization.
The overall strategy for treating metallic systems in CASTEP is as follows. The number of bands has to be
slightly higher than would be required for an insulator. It may be necessary to add more bands if
convergence is slow, especially for spin-polarized systems. An artificial electronic temperature is then
introduced by assuming Gaussian-like smearing of each energy level (de Vita, 1992). Occupation
numbers are deduced from the ratio of the area of the Gaussian that falls below the Fermi level to its
total area. Thus, a level deep in the valence band has an occupation number of 1, a level directly on the
Fermi surface has an occupation number of 0.5, and a level high above the Fermi energy is empty. In
some sense, this is the same as giving the Kohn-Sham particles a finite temperature. Therefore, CASTEP
uses the Mermin finite temperature expression for the total energy (Marzari, 1997):
E = EKS - TS
where:
T is the temperature (that is, smearing width)
S is the Mermin entropy due to the different ways in which the partially filled bands could have been
filled
The CASTEP output is as follows. The line
Final energy, E = -861.8315373731 eV
gives the Kohn-Sham energy, EKS, which ignores the entropy. However, it is the total Mermin free
energy that is minimized by CASTEP and reported in the SCF cycles in the line
Final free energy (E-TS) = -861.8315374521 eV
If you were actually interested in the electronic states at some reasonable nonzero temperature, you
would smear the Fermi level with a thermal (that is, Fermi-Dirac) smearing method and the free energy
reported by CASTEP would be the value you require.
Note: Temperature equivalent of energy is given by the conversion factor of 11604.5 K/eV; so the
default smearing width of 0.1 eV corresponds to a very high temperature of 1160 K.
However, it is often the T = 0 K value that is required and the smearing is necessary to improve the
convergence of the numerical algorithm. As the smearing ('temperature') is increased, the TS term
increases and the free energy, EKS - TS, goes down. At the same time, as the entropy contributes more
and more to the free energy, the electronic minimization pays less attention to theEKS term, so the final
EKS increases. Because the dependence of the free energy and the Kohn-Sham energy on the smearing
width is the same (to first order), averaging the two values gives a much better approximation to the T =
0 K result:
NB est. 0K energy (E-0.5TS) = -861.8315374126 eV
The total energy calculated by CASTEP for metals is thereby corrected for the fact that it now includes
the artificial electronic entropy contribution. This correction is possible because a closed analytical form
for the dependence of the total energy on the smearing width (or electronic temperature), s, exists. In
principle, evaluation of Etot (s -> 0) is necessary in order to obtain a physically meaningful energy. In the
past, values for s as low as 0.01 eV have been used to calculate the converged energy. The total energy
correction described above allows the use of a much higher smearing width (up to 1 eV), while still giving
results converged with respect to s. The advantage is the added stability of the calculation, since
occasional Fermi-level crossings do not create instabilities. However, there is no simple expression for a
similar correction for either atomic forces or stress on the unit cell.
The error in the forces introduced by this limitation is generally small and acceptable. Nonetheless,
geometry optimizations for metals should be performed with some caution. You should use smaller
smearing values than for single-point energy runs. The calculated forces will be more accurate, but there
is a risk of instability, since changes in atomic geometry are likely to cause reordering of bands and some
Fermi-level crossings. Cell optimization is also more difficult for metallic systems, since the stress tensor
could be affected by nonphysical contributions from nearly empty conduction bands.
Disorder in solids
Many crystal structures possess static positional disorder. The crystal may either contain fewer atomic
species than there are crystallographically equivalent sites to populate, or there might, for example, be
statistical occupancy of a given crystallographic site by more than one type of atom in different unit
cells. This positional disorder is typically manifested in site occupancy factors of less than unity for the
average unit cell.
Materials Studio allows you to model positional disorder by specifying atom occupancy and by defining
mixture atoms.
Atom occupancy
The vast majority of atoms will have an occupancy of unity. However, in the case of an atom on a
partially occupied interstitial position, you can specify an occupancy ranging from 0.0 to 1.0.
Atom occupancies can be modified in the Properties Explorer.
Mixture atoms
Atomic sites in a crystal can also be described in terms of a hybrid atom that consists of two or more
element types. The relative concentrations can be set for any number of atoms, but the total
concentration must not exceed 100%. The mixture atoms description is the most often used
representation of solid solutions, metallic alloys, disordered minerals, and so on.
Virtual crystal approximation (VCA): this offers technically the simplest approach, allowing
calculations on disordered systems to be carried out at the same cost as calculations for ordered
structures. VCA ignores any possible short range order and assumes that on each potentially
disordered site there is a virtual atom which interpolates between the behavior of the actual
components. This approach neglects such effects as local distortions around atoms and cannot be
expected to reproduce the finer details of the disordered structures very accurately.
Using large ordered supercells followed by configurational averaging: this is a very expensive
approach with limited applicability. For example, it is not possible to treat arbitrary and particularly
small concentrations.
Coherent potential approximation (CPA): this method approximates a configurationally random alloy
with an effective medium that is determined self-consistently from the condition of stationary
scattering. The CPA technique is used extensively with model Hamiltonians with well-known
scattering properties or in the context of multiple scattering methods of band structure calculation
(KKR, LMTO). CPA is not well suited to total energy calculations or geometry optimization tasks.
"Computational alchemy": this method uses the perturbation theory to calculate the response to
the difference between the true and VCA potentials. This approach is very demanding
computationally, as are all linear response calculations.
The basic ideas of the workable VCA implementation for DFT methods, in particular for the
pseudopotential-based techniques, were set out by Bellaiche and Vanderbilt (2000). The main statement
for the implementation of VCA with ultrasoft potentials can be expressed as:
Eq. CASTEP 86
where the total external potential is generated as the sum of the nonlocal potentials of each atomic
species, α, taken with the weights, w, of the component atoms in the mixture atom. This means that all
the key components of the ultrasoft potentials, that is, the local part, Vloc, and the D and Q matrices,
are all weighted according to the site occupancies.
The VCA scheme described above has been applied successfully to study disorder in the perovskites Pb
(ZrTi)O3 (Bellaiche and Vanderbilt, 2000) and BiScO3-PbTiO3 (Iniguez et al., 2000), and Al-Si disorder in
silicates such as hollandite and gehlenite (Winkler et al., 2002).
Note: Ramer and Rappé (2000) suggested an alternative scheme where the pseudopotentials are
generated on the fly for the mixture atoms. Their scheme appears to be less readily generalized for
the case of more than two disordered species or where the mixture atom's components have
different chemical valences.
the data for the end-members and, in general, this is not the preferred application of VCA in CASTEP. On
the other hand, properties such as the bulk modulus of the NaCl/KCl solid solution are described very
well within the same framework (see Figure 1).
An important aspect of the VCA implementation has not been discussed by the authors of the formalism
(Bellaiche and Vanderbilt, 2000). One should always test the pseudopotentials for the presence of ghost
states. They often manifest themselves in the solid state calculations as a strong change in the total
energy as a function of the energy cutoff of the plane wave basis set. It seems that the ultrasoft
potentials are prone to generating ghost states in the VCA framework, while none of the individual
potentials has a ghost state. The NaCl/KCl system could not be studied with the ultrasoft potentials for
this very reason - the finite basis set correction calculated for solid solutions was orders of magnitude
higher than for the end-members. This is a clear indication of a ghost state in the calculation. There is no
easy way of testing the VCA approach for ghost states, so one should always examine the value of the
derivative of the total energy as displayed in the output file during the finite basis set correction
calculation. It should be of the same order as the derivatives for the end-member structures.
Technical limitations
Atom occupancy cannot be used with the current CASTEP implementation of the virtual crystal
approximation (VCA). Partial atom occupancy can be considered as a special case of a mixture atom,
where one part of the mixture is an atom of "nothing". This case is not supported for a number of
technical and fundamental reasons.
Current implementation of the molecular dynamics algorithms in CASTEP is not yet compatible with the
VCA formalism. None of the MD schemes (NVE, NPT, and so on) works for disordered crystals in the
current version.
Linear response calculations (phonons, polarizability) are not supported for disordered crystals.
Test results
The VCA implementation in CASTEP is capable of correctly describing a number of mixture atoms, as
shown by the results below.
Bulk modulus of NaCl/KCl solid solution
The bulk modulus of the halite-sylvite mixture (NaCl/KCl) has been calculated as a function of
concentration by calculating the P-V equation of state for different Na concentration and fitting them
with the third-order Birch-Murnaghan analytical expression. The results agree with the experimental
data (Figure 1) to better accuracy than is typically achieved for the ordered crystals. The norm-
conserving pseudopotentials were used in this study (all other tests described below were carried out
with ultrasoft pseudopotentials).
Figure 1. Dependence of the bulk modulus of the NaCl/KCl solid solution on concentration.
Experimental data are from Walker et al. (2004). The solid line shows a polynomial fit to the calculated results.
Table 2. Structure of the R3m rhombohedral phase of PZTO. Experimental data are from Amin et al.
(1981), earlier VCA results are from Ramer and Rappé (2000).
a (Å) α (°) Ox Oy Pbx Tix Pb-O (Å) Ti-O (Å)
CASTEP 4.0749 89.535 -0.0040 0.5080 0.5586 0.0250 2.516 1.973, 2.115
exp. 4.0809 89.676 -0.0046 0.5092 0.5620 0.0216 2.537 1.994, 2.098
VCA 4.0215 90 (fixed) - - - - - -
Table 3. Structure of the R3c rhombohedral phase of PZTO. Experimental data are from Jirak and
Kala (1988), earlier VCA results are from Ramer and Rappé (2000).
a (Å) α (°) Ox Oy Oz Pbx Tix Pb-O (Å) Ti-O (Å)
CASTEP 5.7726 59.589 0.4942 0.0284 -0.0180 0.0283 0.2632 2.565 1.979, 2.111
exp. 5.8240 59.600 0.4860 0.0330 -0.0190 0.0341 0.2620 2.487 2.024, 2.109
VCA 5.6790 60 (fixed) - - - - - - -
Table 4. Energy differences between the three phases of PZTO, in meV per 5 atom cell. Earlier VCA
results are from Ramer and Rappé (2000).
E(R3m) - E(P4mm) E(R3c) - E(P4mm)
CASTEP -4.7 -6.3
VCA 9 6
These results indicate that the structural features are reproduced quite accurately within VCA. Note that
the experimental data for rhombohedral phases are for Zr concentrations slightly different from 0.5,
since these phases are not stable for the 1:1 composition. The energy differences between the phases
are extremely small in recent studies and earlier work by Ramer and Rappé (2000). DFT energies cannot
be trusted at this level of accuracy to judge the relative stability of the polymorphs. For example, the
fact that the angles were fixed to 90 and 60° in the earlier VCA work suggests that after the full
optimization, the rhombohedral phases are likely to become more stable than the tetrahedral phase, in
agreement with the CASTEP results (Table 4).
The structure of leucite
Tetragonal leucite, KAlSi2O6, contains three different sites with a fully disordered distribution of Al and Si
cations. The structure is only slightly distorted with respect to the cubic cell and the accuracy of
reproduction of this distortion is a measure of the quality of the VCA description. The results presented
below (Table 5) show exceptionally good agreement with the experimental data. Furthermore, atomic
positions are also predicted very accurately. The highest deviation from the experimental data for any
individual fractional coordinate is 0.001 in the CASTEP calculations, compared with maximum deviations
of up to 0.007 in the forcefield modeling.
Table 5. Lattice parameters of leucite compared to experimental data (Mazzi et al., 1976 ) and the
results of forcefield calculations (Winkler et al., 1991).
a (Å) c (Å) c/a
CASTEP 13.1497 13.8318 1.052
exp. 13.09 13.75 1.050
empirical 12.9884 13.8000 1.062
Geometry optimization
CASTEP supports two schemes for geometry optimization: BFGS and damped molecular dynamics.
Constraints
CASTEP can perform geometry optimization with constraints applied. The simplest type of constraint is
to fix the atom positions. In CASTEP, this means fixing the fractional coordinates of the atoms.
Note: Atoms on special positions need not be fixed manually as the symmetry treatment in CASTEP
ensures the correct behavior of such atoms.
It is also possible to fix lattice parameters. Once again, it is only necessary to do this for parameters that
are not fixed by symmetry. This type of constraint is often useful in phase stability studies when, for
example, you want to fix the angles to 90° (Winkler and Milman, 1997).
It is also possible to impose more general linear constraints on atomic coordinates. These constraints
are specified using a matrix that transforms the Cartesian coordinates of all atoms to the subspace of
unconstrained coordinates. This facility is intended for fixing, for example, the z-coordinates of atoms in
slab calculations of surface processes.
Non-linear constraints
Non-linear constraints refer to constraints on interatomic distances (bonds), angles, and torsions. Such
constraints can be imposed using the delocalized internals optimizer.
Estimated compressibility
You can facilitate cell optimization convergence by making a reasonable initial estimate of the bulk
modulus for the material. The initial changes to lattice vectors are calculated on the basis of this value
(and, of course, based on the calculated stress tensor). When the estimated bulk modulus is too high,
the steps become smaller than is ideal for the minimizer; therefore, it is conceivably possible that you
could reduce the number of geometry optimization steps by reducing this value. On the other hand, too
small a bulk modulus for a hard material could result in an oscillating behavior, where the first step is too
big. Thus, prior knowledge of the hardness of the material could help to reduce the number of steps
required for calculations. The effect of a judicious choice of the initial bulk modulus value is illustrated in
the table below (times are given relative to that of the calculation using an initial value of 500 GPa).
Dynamics
Molecular dynamics (MD) involves the stepwise integration of Newton's equations from a given starting
point. It is the most natural method of performing equilibrium statistical-mechanical calculations using a
simulation. Additionally, MD may be used to explore conformations, such as molecular adsorption sites
on a surface. If frictional forces are added to the equations of motion, Langevin dynamics becomes
possible, as does geometry optimization using damped MD. Finally, extended Lagrangian methods
allow thermostatic control of the temperature.
Molecular dynamics in total-energy DFT schemes is implemented in essentially the same way as in
conventional forcefield based methods. The main difference is that the energy and atomic forces are
derived by solving DFT equations rather than from empirical potentials of interatomic interactions.
Electrons are kept on the Born-Oppenheimer surface by means of explicit electronic structure
optimization after each MD step. A side effect of this is that evaluation of force and energy from first
principles is always the most computationally expensive part of ab initio MD. As a result, the efficiency of
the MD step itself has no impact on the speed of the calculation.
MD in CASTEP is based on the velocity Verlet algorithm for integration of the equation of motion. The
default time step can be as high as 1 fs with this algorithm because of its numerical stability and the
conservation of the constant of motion.
The efficiency of the method is due in large part to the introduction of wavefunction extrapolation
between MD steps (Arias et al., 1992). In addition, charge density extrapolation (Alfe, 1999) has been
introduced.
The coefficients α and β are calculated by determining the best quadratic extrapolation of the atomic
positions. This extrapolation scheme not only speeds up the calculation but also improves conservation
of the constant of motion and dramatically reduces the "electronic drag" effect (Payne et al., 1992).
An improvement suggested by Alfe (1999) recognizes the fact that the charge density is mostly
determined by the superposition of the atomic charge densities. Therefore one can write:
Eq. CASTEP 33
where ρ(t) is the self-consistent charge density at time t, and ρat(t) is the sum of the atomic charge
densities. The charge at time t+dt is simply extrapolated as:
Eq. CASTEP 34
The atomic charge density can be calculated exactly and cheaply using the same methods as for
Mulliken population analysis. The resultant scheme includes extrapolation of wavefunctions using Eq.
CASTEP 31, extrapolation of charge density difference using Eq. CASTEP 35 and recalculation of the
atomic charge densities.
Experience shows that the second-order extrapolation scheme described above is not necessarily the
best or the fastest algorithm. CASTEP therefore offers a selection of extrapolation schemes that differ in
the way the coefficients are selected: 1st order extrapolation with variable coefficients; 2nd order
extrapolation with variable coefficients; alternating first and second order extrapolation steps with
variable coefficients; and similar combinations of 1st and 2nd order schemes with fixed coefficients. The
actual setting is controlled by the values of the and MD_EXTRAP_FIT keywords in the .param file. The
fixed coefficient scheme is based essentially on a Taylor expansion, while the variable coefficients
schemes are based on the best fit between extrapolated and MD-predicted atomic coordinates. It has
been shown that the accuracy of wavefunction extrapolation improves greatly when the coefficients are
chosen based on the extrapolation of atomic coordinates.
An alternative to using wavefunction extrapolation is to use extended Lagrangian formulation, XL-BOMD
(Steneteg 2010, Niklasson 2011) . The XL-BOMD scheme allows simultaneous propagation of nuclear and
electronic degrees of freedom and shows good energy conservation at time steps that are unusually
high for first principles calculations.
Ensembles
Integrating Newton's equations of motion allows you to explore the constant-energy surface of a
system. However, most natural phenomena occur under conditions where the system is exposed to
external pressure and/or exchanges heat with the environment. Under these conditions, the total
energy of the system is no longer conserved and extended forms of molecular dynamics are required.
Several methods are available for controlling temperature and pressure. Depending on which state
variables (the energy E, enthalpy H (that is, E +PV), number of particles N, pressure P, stress S,
temperature T, and volume V) are kept fixed, different statistical ensembles can be generated. A variety
of structural, energetic, and dynamic properties can then be calculated from the averages or the
fluctuations of these quantities over the ensemble generated.
Both isothermal (where heat is exchanged with a temperature bath to maintain a constant
thermodynamic temperature) and adiabatic (where no heat exchange occurs) ensembles are available:
Table 1. Thermodynamic ensembles handled by CASTEP
Ensemble
Constant temperature, constant pressure (NPT)
Constant energy, constant volume (NVE)
Constant pressure, constant enthalpy (NPH)
Constant temperature, constant volume (NVT)
NVE ensemble
The constant-energy, constant-volume ensemble (NVE), also known as the microcanonical ensemble, is
obtained by solving the standard Newton equation without any temperature and pressure control.
Energy is conserved when this (adiabatic) ensemble is generated. However, because of rounding and
truncation errors during the integration process, there is always a slight fluctuation, or drift in energy.
True constant-energy conditions (that is, without temperature control) are not recommended for the
equilibration phase of the simulation because, without the energy flow facilitated by temperature
control, the desired temperature cannot be achieved.
However, during the data collection phase, if you are interested in exploring the constant-energy surface
of the conformational space, or if for some other reason you do not want the perturbation introduced
by temperature- and pressure-bath coupling, this is a useful ensemble.
Where:
g is the number of degrees of freedom (usually 3N - 3, where N is the number of atoms)
k B is the Boltzmann constant
T is the thermostat temperature
τ is the relaxation time.
An improvement on the standard Nosé thermostat (or Nosé-Hoover thermostat) is the Nosé-Hoover
chain method, described in detail by Tuckerman et al. (2001). In this method the kinetic energy
fluctuations of the thermostat variable are controlled by coupling it to another thermostat variable. The
kinetic energy fluctuations of the second thermostat are, in turn, controlled by coupling to a third
thermostat, and so on, to form a chain of M thermostats. This new coupling (the Nosé-Hoover "chain"
thermostatting mechanism) leads to a more general canonical dynamics method.
Langevin NVT dynamics
The Langevin thermostat generates stochastic dynamics using a Brownian motion model, implemented
using the fluctuation-dissipation theorem. It is controlled by the damping time parameter, which
controls the rate of decay of fluctuations in the temperature. In practice, this should be chosen such
that it is larger than the time scale of any motions of interest. An advantage of the Langevin description
is that it can be proved to provide ergodic results. The Nosé thermostat, on the other hand, provides
good short term dynamics, but fails to give ergodicity.
Nosé-Hoover-Langevin thermostat
The Nosé-Hoover-Langevin (NHL) thermostat suggested by Leimkuhler et al. (2009) combines the
advantages of the Nosé-Hoover chain method with the ergodicity of Langevin dynamics. In practical
terms this thermostat converges to equilibrium faster than the Nosé-Hoover chain method and offers
much better conservation of the constant of motion.
NPT ensemble
The constant-temperature, constant-pressure ensemble (NPT) allows control over both the temperature
and pressure. The unit cell vectors are allowed to change, and the pressure is adjusted by adjusting the
volume of the unit cell.
Pressure is currently controlled in CASTEP using either the Andersen or Parrinello-Rahman method.
Note: Only the size, and not the shape, of the unit cell can be changed with the Andersen method.
Temperature can be controlled using either the Nosé or the Langevin thermostat.
NPT is the ensemble of choice when the correct pressure, volume, and densities are important in the
simulation. This ensemble can also be used during equilibration to achieve the desired temperature and
pressure, before changing to the constant-volume or constant-energy ensemble when data collection
starts.
Andersen method of pressure control
In the Andersen (1980) method of pressure control, the volume of the cell can change, but its shape is
preserved by only allowing the cell to change isotropically.
The Andersen method is useful for liquid simulations since the box could become quite elongated in the
absence of restoring forces if the shape of the cell were allowed to change. A constant shape also makes
the dynamics analysis easier.
However, this method is not very useful for studying materials under anisotropic stress or undergoing
phase transitions, which involve changes in both cell lengths and cell angles (in these situations, the
Parrinello-Rahman method should be used where available).
The basic idea is to treat the volume V of the cell as a dynamic variable in the system. The Lagrangian of
the system is modified so that it contains a kinetic energy term with a user-defined mass M and a
potential term which is the pV potential derived from an external pressure Pext acting on volume V of the
system.
Parrinello-Rahman method of pressure and stress control
The Parrinello-Rahman method of pressure and stress control can allow simulation of a structure under
externally applied stress. This is useful for studying the stress-strain relationship of materials. Both the
shape and the volume of the cell can change, so that the internal stress of the system can match the
externally applied stress.
The method is discussed in more detail in Parrinello and Rahman, 1981 and is only summarized here.
The Lagrangians of the system are modified such that a term representing the kinetic energy of the cell
depends on a user-defined mass-like parameter W. An elastic energy term pΩ is related to the pressure
and volume or the stress and strain of the system. The equations of motion for the atoms and cell
vectors can be derived from this Lagrangian. The motion of the cell vectors, which determines the cell
shape and size, is driven by the difference between the target and internal stress.
With hydrostatic pressure only:
Eq. CASTEP 37
Where:
h={a•b•c} is the cell vector matrix
G=h'h
r i=hsi
ϕ is the interaction potential
Ω is the volume of the cell
Tr is the trace of a matrix
The dots above some symbols indicate time derivatives and the primes indicate matrix transposition.
With stress, the elastic term pΩ is replaced by:
Eq. CASTEP 38
Where:
Note: It is the user-defined variable W, which determines the rate of change of the volume/shape
matrix.
A large W means a heavy, slow cell. In the limiting case, infinite W reverts to constant-volume dynamics.
A small W means fast motion of the cell vectors. Although that may mean that the target stress can be
reached faster, there may not be enough time for equilibration.
NPH ensemble
The constant-pressure, constant-enthalpy ensemble (Andersen, 1980) is the analogue of constant-
volume, constant-energy ensemble, where the size of the unit cell is allowed to vary.
Constraints
CASTEP supports linear constraints defined using the matrix Aij:
Eq. CASTEP 39
The summations are over Ni ions and Nc constraints. Vector Ri is the Cartesian position of the ith atom
and C is a constant. These constraints can be used to, for example:
Fix some of the Cartesian coordinates of the atom
Fix the x-separation between a pair of atoms
Constrain an atom to lie in a plane
Constrain the center of mass to be fixed
Example
The example below (Figure 1) shows the results of an NVE calculation for a nitrogen diatomic molecule
with using a time step of 1 fs. The energy conservation is excellent, the energy drift over 500 steps
(0.5 ps) is less than 0.1 kcal/mole. The power spectrum of the trajectory gives the vibrational frequency
as 2340 cm-1, which is within 1% of the experimental value of 2360 cm-1.
Figure 1. Bond length of the N 2 molecule and power spectrum of the trajectory
Emission spectroscopy
X-ray emission spectroscopy (XES) is a classical technique used to study the electronic structure of bulk
samples. It is ideally suited to these systems due to the large information depth (around 0.1 m for soft X-
rays). In XES the core hole created by an X-ray absorption process is filled by the decay of a valence
electron. For this process energy is conserved by the emission of an x-ray photon of matching energy. A
selective, resonant excitation of a core hole state at the atomic center of an adsorbate can be used to
probe surfaces.
Absorption spectroscopy
Electron energy-loss near-edge structure (ELNES or EELS) and x-ray absorption near-edge structure
(XANES) spectroscopies provide information on the unoccupied electronic states by exciting one
electron from a core level into an unoccupied state. Scanning transmission electron microscopes with an
electron energy-loss spectrometer attached have been used extensively in the study of nanoscale
materials, providing information on local composition, structure, and electronic structure. However, the
probing electron or x-ray interacts with a system that has been perturbed by the probe itself. The
system being studied has had an inner-shell electron removed, leaving a core hole.
Energy broadening
The ELNES calculation can be performed with an energy resolution far better than that used to obtain
experimental results. Therefore, the calculated ELNES must be broadened before comparing it with the
experiment. The broadening observed in the experimental spectra has three origins: the lifetime of the
core hole, the lifetime of the excited state, and instrumental broadening. A good description of this
subject was given by Hebert (2007).
Instrumental broadening is easiest to simulate: it can be modeled by a Gaussian with a FWHM given by
the instrument. For a TEM equipped with a field emission gun, this is usually about 0.6-0.7 eV. Some
instruments are equipped with a monochromator to improve energy resolution to about 0.1 eV. In
nearly all cases the energy distribution can be modeled by a Gaussian curve.
The broadening by the core hole lifetime depends on the atom and the edge. Values for lifetime
broadening are tabulated and can be found in the literature, see Fuggle and Inglesfield (1992).
Broadening due to the lifetime of the core hole is, however, relatively low for edges accessible in EELS
(about 0.2 eV for the Ni or Cu L3 edge). The broadening of core hole lifetimes can be modeled by a
Lorentzian (Fuggle and Inglesfield, 1992).
The broadening by the excited state lifetimes is more complicated. At the edge onset (where the lifetime
of the excited state approaches infinity) the broadening is zero and increases with increasing energy.
Different methods have been employed to obtain the broadening factor, see Hebert (2007) for a
comparative review. An empirical linear function Γ(E) = 0.1 E (where E is the energy above the threshold)
gives good results when compared to the experiment - this is the option employed in CASTEP.
Spin-orbit splitting
Experimental spectra record transitions involving core states that are split as a result of the spin-orbit
interactions; so one should distinguish between states such as p 1/2 and p 3/2 and so on. The CASTEP
implementation lacks spin-orbit terms, so the calculations can only produce "generic" spectra for p, d,
or f states. In spectroscopic terms this means producing (for example) L2,3 spectra rather than just L2.
The simplest, albeit slightly approximate, way to model experimental spectra is to modify the calculated
spectrum as follows:
Find the experimental value of the spin-orbit splitting of the core states.
Generate an approximate L3 spectrum by shifting the L2 spectrum.
Apply intensity scaling based on the occupancy of the respective electronic shell. The intensity ratios
for L spectra are 2:4 and for M spectra 4:6, and so on.
Add the two shifted and scaled spectra together.
For a more general discussion of the core level spectroscopy and details of its implementation see S.-P.
Gao et al. (2008) and references.
where e j is the eigenvector (normalized to unit length) associated with the mode of energy Ej. The
projected density of states is then obtained by summation of these contributions over all phonon
bands. By construction all the projected phonon DOS sum up to the true phonon DOS.
The Pauli repulsion between two like-spin electrons, described by the size of D(r), is taken as a measure
of the electron localization. Using the corresponding factor found for a uniform electron gas, Dh(r),
Becke and Edgecombe, defined ELF as:
Eq. CASTEP 88
where
Eq. CASTEP 89
Becke and Edgecombe attributed the ratio χBE(r) to a dimensionless localization index, calibrated with
respect to the uniform electron gas. This reference was chosen arbitrarily, so ELF is only a relative
measure of the electron localization. High ELF values show that at the examined position the electrons
are more localized than in a uniform electron gas of the same density. For example, when η(r) = 1/2 the
effect of the Pauli repulsion is the same as in a uniform electron gas of the same density.
The ELF formulation originates from the Hartree-Fock description of electron gas. A formulation for ELF
in DFT has been developed by Savin et al. (1992). This DFT-ELF approach evaluates the Pauli kinetic
energy density based on the diagonal elements of the one-particle density matrix (the electron density).
The Pauli kinetic energy is the energy due to the redistribution of the electrons in accordance with the
Pauli principle and is the integral of the Pauli kinetic energy density:
Eq. CASTEP 90
The Pauli kinetic energy density itself does not resolve the bonding situation. It is an arbitrary division of
tP(r) by the kinetic energy density of a uniform electron gas of the same electron density, this yields all
the information:
is formally identical to the ratio χBE(r) in the HF approximation. The same applies for an open shell
system, where the kinetic energy densities are computed for the corresponding spin part only. So the
ELF formulas based on χBE(r)) and χS(r) are identical. In the interpretation of Savin and coworkers (1992)
ELF is a measure of the influence of Pauli principle as given by the Pauli kinetic energy density, relative to
a uniform electron gas of the same density. Similarly, for the original definition ELF does not mirror tP
(r).
Introduction
A disadvantage of the use of a plane wave (PW) basis set is that, due to the delocalized nature of the
basis states, it provides no information regarding the localization of the electrons in the system. In
contrast, a Linear Combination of Atomic Orbitals (LCAO) basis set provides a natural way of specifying
quantities such as atomic charge, bond population, charge transfer, and so on.
Population analysis in CASTEP is performed using a projection of the PW states onto a localized basis
using a technique described by Sanchez-Portal et al. (1995). Population analysis of the resulting
projected states is then performed using the Mulliken formalism (Mulliken, 1955). This technique is
widely used in the analysis of electronic structure calculations performed with LCAO basis sets.
Formalism
The eigenstates |ψα(k)>, obtained from the PW calculation when sampling at a given wavevector k, are
projected onto Bloch functions formed from a LCAO basis set |ϕμ(k)>. In general, such a localized basis
set will be neither orthonormal nor complete. Therefore, care must be taken when performing the
projection.
The overlap matrix of the localized basis set, S(k), is defined as:
Eq. CASTEP 63
Where:
Nα is the number of PW states
wk are the weights associated with the calculated k-points in the Brillouin zone
p(k) is the projection operator of Bloch functions with wavevector k generated by the atomic basis set:
Eq. CASTEP 65
where |ϕμ(k)> are the duals of the LCAO basis, such that:
Eq. CASTEP 66
The spilling parameter varies between one, when the LCAO basis is orthogonal to the PW states, and
zero, when the projected wavefunctions perfectly represent the PW states.
The density operator may be defined:
Eq. CASTEP 67
where nα are the occupancies of the PW states, |χα(k)> are the projected PW states p(k)|ψα(k)> and |χα
(k)> are the duals of these states. From this operator the density matrix for the atomic states may be
calculated as follows:
Eq. CASTEP 68
The density matrix P(k) and the overlap matrix S(k) are sufficient to perform population analysis of the
electronic distribution. In Mulliken analysis (Mulliken, 1955) the charge associated with a given atom, A,
is determined by:
Eq. CASTEP 69
Eq. CASTEP 70
The weight of a band on a given orbital may be calculated by simply projecting the band onto the
selected orbital. So, the weight of band α on orbital μ is given by:
Eq. CASTEP 71
The contribution of each band α to the density of states is multiplied by the weight Wαμ(k) to get the
projected density of states for orbital μ.
Implementation details
The elements of the overlap matrix S(k) are computed in reciprocal space, as the imposition of periodic
boundary conditions implies that the orbitals need only be evaluated on a discrete reciprocal space grid.
The overlaps between orbitals on different atomic sites are calculated on the same grid with the
application of a phase factor. The overlaps between the plane wave states and the basis functions:
Eq. CASTEP 72
are also calculated in reciprocal space as this is the natural representation of the plane wave states.
The duals of the orbitals are constructed as follows:
Eq. CASTEP 73
Eq. CASTEP 75
and
Eq. CASTEP 77
In the case of spin dependent systems, the populations of the two spin components are calculated
separately and the sum and difference of the atomic and overlap populations are calculated to find the
net charge and spin, respectively.
that link the Si atom at the origin with the periodic images of itself, in the primitive cell. A manual
analysis of the multiplicities is required in such cases, specifically: determine the number of bonds to
periodic images of the same atom and divide the bond order by that number.
Note: The physical meaning of Mulliken charges or bond populations for metallic systems is unclear.
This calculation is allowed, but the scientific interpretation of the results will be left to the user.
The shielding tensor, σ(r), connects the induced magnetic field to the applied magnetic field:
Eq. CASTEP 43
originally introduced by Blöchl (1994) makes it possible to obtain expectation values of all-electron
operators in terms of pseudo-wavefunctions coming from a pseudopotential calculation and the GIPAW
formalism reconciles the requirement of translational invariance of the crystal in a uniform magnetic
field with the localized nature of Blöchl's projectors. The theory was initially applied with Troullier-
Martins norm-conserving pseudopotentials (Pickard and Mauri, 2001) and has been extended
subsequently to the case of ultrasoft pseudopotentials (Yates, 2007).
The first-order perturbation wavefunction, Ψ(1):
Eq. CASTEP 45
where Q is the projection operator onto the unoccupied Hilbert subspace. The system is solved by a
conjugate gradient minimization scheme, whereby the tedious summation over unoccupied states is
avoided. The method is, thus, comparable in computational cost to the calculation of the ground-state
electronic structure.
the number of basis functions (plane waves) must be ensured and a well-converged conjugate gradient
procedure put in place to determine the coefficients of the plane waves. Apart from that, in calculating
solid-state NMR properties (a small unit cell as opposed to a molecule in a box) the convergence of the k-
space sum over the Brillouin zone must be achieved. The NMR observables are not particularly sensitive
to uncertainties in the ground-state density distribution in the system, which determines the
unperturbed Hamiltonian. Here, the usual convergence criteria for self-consistent DFT calculations are
sufficient.
Chemical shift (or shielding) can be calculated for paramagnetic materials where the total spin is zero,
even if a spin-polarized treatment is applied. This opens the possibility of using the DFT+U method as
implemented by Shih and Yates (2017). The nonlocal Hubbard correction potential has been reexamined
in order to comply with the gauge-including projector augmented-wave transformation under an
external uniform magnetic field. The resulting expression is suitable for chemical shift calculations using
both norm-conserving and ultrasoft pseudopotentials in the projector augmented-wave scheme. As a
result more accurate results can be obtained for transition metal and rare earth oxides.
Note: It is important to examine the results and establish that the solution is indeed paramagnetic. If
the total spin of the final state is non-zero, or the spin arrangement is antiferromagnetic, the results
are likely to be meaningless.
It follows from Table 1 that a grid of at least 12 × 12 × 12 is required to achieve convergence of the
chemical shift to within 1-2 ppm, and finer grids might be needed to achieve higher accuracy.
NMR properties are very sensitive to atomic positions, which makes NMR such a useful experimental
tool for structure analysis. This implies that it is highly recommended to perform a geometry
optimization run prior to the NMR calculation. If the structure of a crystal or molecule under
investigation is obtained from an experimental study, it is advisable to optimize positions of hydrogen
atoms first of all. If the forces on heavy atoms as reported by CASTEP are high (in excess of 1 eV/Å) then
complete structure optimization is recommended.
NMR J-couplings
NMR J-coupling or nuclear spin-spin coupling is an indirect interaction of the nuclear magnetic moments
mediated by the bonding electrons. It is manifested as the fine structure in NMR spectra, providing a
direct measure of bond strength and a map of the connectivities of the system.
The J-coupling mechanism is an essential component of many NMR experiments. Joyce et al. (2007)
developed a method to calculate J-coupling constants from first-principles in extended systems in a
planewave-pseudopotential density functional theory framework, using the projected augmented wave
method (PAW) to reconstruct the all-electron properties of the system. This method has been validated
for a small number of systems containing light atoms against quantum chemical calculations and against
experimental data (see for example, Joyce et al., 2008). This technique has been further developed by
Green and Yates (2014) to incorporate scalar relativistic effects in the ZORA (zeroth-order regular
approximation) approach and hence to provide a highly efficient method for predicting J-coupling in
extended systems containing heavy ions at negligible extra computational cost compared to the non-
relativistic method.
A general review of the formalism is given by Yates (2010), this discusses various aspects of the
calculations which should be taken into account when comparing results with solid-state NMR
experiments including anisotropy and orientation of the J tensors, the reduced coupling constant, and
the relationship between the J-coupling and crystal structure.
J-coupling interactions can be decomposed into four mechanisms:
two due to interactions of the electron spins with the nuclear moments
two due to electron currents induced by the nuclear moments
When spin-orbit coupling is neglected these can be treated separately.
The spin term can be decomposed into an analog of a spin-dipole interaction plus a Fermi-contact term,
which is due to the finite probability of the presence of an electron at the nucleus.
Induced current operators can be decomposed into diamagnetic and paramagnetic current operators.
Joyce et al. (2007) found that the Fermi-contact contribution to be consistently the largest component,
while the diamagnetic and spin-dipolar contributions were very small for all the cases studied.
Experimental interest is focused primarily on the isotropic coupling constant which is obtained from the
trace of the J-coupling tensor and is measured in Hertz. Recent extensive validation studies (for example,
by Green and Yates 2014) demonstrate that the pseudopotential PAW approach for J-coupling
calculations gives results in good qualitative and quantitative agreement with experiment both for light
and heavy elements.
It is important to note that solid state calculations of J-couplings using CASTEP correctly account for
long-range effects in the periodic systems and reproduce the differences between solution and solid-
state values (Joyce et al., 2008).
Note: Induced magnetization density and current density are expected to be short-ranged. This
forms the basis of using J-coupling as a tool for probing the strength of interatomic bonds. However,
in a periodic calculation the perturbing nucleus can be viewed as similar to a defect in a defect
calculation. Hence, sometimes it might be necessary to construct a supercell which is large enough to
inhibit the interaction between the periodic defects or perturbations. Convergence with respect to
the cell size should represent an important test in establishing accuracy of J-coupling calculations in
either periodic systems or in molecule in a box calculations.
EPR G-tensor
Electron Spin Resonance (EPR - also known as Electron Paramagnetic Resonance) is a powerful
experimental probe of the structure of defects in solids. EPR spectra of spin ½ centers are made up of
two contributions:
the hyperfine parameters
the g-tensor
The g-tensor arises from the interaction of the electronic spin with external magnetic field. This term
plays a somewhat similar role to the shielding in NMR; induced electronic currents in the sample modify
the g tensor from its vacuum value.
EPR spectrum can be modeled using the following effective Hamiltonian, bilinear in the total electron
spin S, and the applied uniform magnetic field or nuclear spins, B and II, respectively:
where:
atomic units are used
α is the fine structure constant
the summation I runs over the nuclei
The tensors AI are the hyperfine parameters, and the tensor g is the EPR g-tensor.
The Gauge Including Projector Augmented Waves (GIPAW) approach has been used to compute g
tensors in several crystalline materials including defects in α-quartz and zirconia.
The hyperfine tensor can be obtained from the ground state charge density. In CASTEP it is computed
using the PAW approach of Van de Walle and Blöchl (1993). The calculation of the g-tensor is more
involved, requiring the linear response currents. These are computed using the GIPAW approach of
Pickard and Mauri (2001). The total g-tensor is obtained as:
Where the contributions to the total change in the g-tensor are the electron Zeeman kinetic energy,
spin-orbit, and the spin-other-orbit correction. The calculation of these terms follows the approach of
Pickard and Mauri (2002) extended for the use of ultrasoft potentials by Yates et al. (2007). The GIPAW
approach has been used to compute g-tensors in several crystalline materials including defects in quartz
and zirconia by Pietrucci et al. (2006).
Optical properties
Definition of optical constants
CASTEP can calculate the optical properties of solids that are due to electronic transitions.
In general, the difference in the propagation of an electromagnetic wave through vacuum and some
other material can be described by a complex refractive index, N:
Eq. CASTEP 48
In vacuum N is real, and equal to unity. For transparent materials it is purely real, the imaginary part
being related to the absorption coefficient by:
Eq. CASTEP 49
The absorption coefficient indicates the fraction of energy lost by the wave when it passes through the
material, so that the intensity at the distance x from the surface is:
However, when performing calculations of optical properties it is common to evaluate the complex
dielectric constant and then express other properties in terms of it. The complex dielectric constant, ε
(ω), is given by:
Eq. CASTEP 51
and hence the relation between the real and imaginary parts of the refractive index and dielectric
constant is:
Eq. CASTEP 52
Another frequently used quantity for expressing optical properties is the optical conductivity, σ(ω):
Eq. CASTEP 53
Optical conductivity is usually used to characterize metals, however CASTEP is aimed more toward the
optical properties of insulators and semiconductors. The main difference between the two is that
intraband transitions play important role in the IR part of the optical spectra of metals and these
transitions are not considered at all in CASTEP.
A further property that can be calculated from the complex dielectric constant is the energy loss
function. It describes the energy lost by an electron passing through a homogeneous dielectric material
and is given by:
Eq. CASTEP 54
DFT optics
In this approach excited states are represented as unoccupied Kohn-Sham states. Transitions between
occupied and unoccupied states are caused by the electric field of the photon (the magnetic field effect is
weaker by a factor of v/c). When these excitations are collective they are known as plasmons (which are
most easily observed by the passing of a fast electron through the system rather than a photon, in a
technique known as Electron Energy Loss Spectroscopy, described by Eq. CASTEP 54 , since transverse
photons do not excite longitudinal plasmons). When the transitions are independent they are known as
single particle excitations. The spectra resulting from these excitations can be thought of as a joint
density of states between the valence and conduction bands, weighted by appropriate matrix elements
(introducing selection rules).
where u is the vector defining the polarization of the incident electric field.
This expression is similar to Fermi's Golden rule for time dependent perturbations, and ε2(ω) can be
thought of as detailing the real transitions between occupied and unoccupied electronic states. Since
the dielectric constant describes a causal response, the real and imaginary parts are linked by a Kramers-
Kronig transform. This transform is used to obtain the real part of the dielectric function, ε1(ω).
Ultrasoft pseudopotentials produce an additional contribution to optical matrix elements that is also
included in CASTEP results.
Drude correction
The intraband contribution to the optical properties affects mainly the low energy infrared part of the
spectra. It can be described sufficiently accurately using a semiempirical Drude term in the optical
conductivity:
Eq. CASTEP 57
in terms of the plasma frequency ωP and damping parameter γD which depends on many details of the
material and is usually obtained from experiment. The Drude damping parameter describes the
broadening of the spectra due to effects not included in the calculation. Examples of processes that
contribute to this broadening are electron-electron scattering (including Auger processes), electron-
phonon scattering, and electron-defect scattering. This last contribution is usually the most important.
As a result an a priori determination of the broadening would require knowledge as to the
concentrations and kinds of defects present in the sample under study.
Polarization
For materials that do not display full cubic symmetry, the optical properties will display some
anisotropy. This can be included in the calculations by taking the polarization of the electromagnetic
field into account. As mentioned above, the unit vector u defines the polarization direction of the
electric field. When evaluating the dielectric constant there are three options:
polarized: requires a vector to define the direction of the electric field vector for the light at normal
incidence to the crystal.
unpolarized: requires a vector to define the direction of propagation of incident light at normal
incidence to the crystal. The electric field vector is taken as an average over the plane perpendicular
to this direction.
polycrystal: no direction need be specified, the electric field vectors are taken as a fully isotropic
average.
Scissors operator
As discussed below, the relative position of the conduction to valence bands is erroneous when the
Kohn-Sham eigenvalues are used. In an attempt to fix this problem, inherent in DFT, a rigid shift of the
conduction band with respect to the valence band is allowed. This procedure of artificially increasing the
band gap is know as a scissor operator.
Figure 1. Convergence of the dielectric function with the number of conduction bands
Energy cutoff
The value of the energy cutoff that was used in the original SCF calculation of the ground state electron
density is an important factor that determines the accuracy of the calculated optical properties. A bigger
basis set provides more accurate self-consistent charge density and more variational freedom when
searching for wavefunctions of unoccupied states. Figure 2 shows that while it is important to converge
the calculation with respect to the planewave cutoff to obtain the correct energies for the spectral
features, the shape of those features is reached rapidly.
Figure 3. Convergence of the dielectric function with the number of k-points in the SCF calculation
Figure 4. Convergence of the dielectric function with the number of k-points in the optical matrix elements
calculation
TD-DFT optics
TD-DFT is a formally exact treatment of electronic excited states. The implementation in CASTEP follows
the work of Hutter (2003), which takes a linear response approach to computing excitation energies
directly. A benefit of this method is that the response wavefunctions for excited states are calculated
and can then be used to derive further properties such as optical matrix elements and atomic forces. In
the case of atomic forces, a geometry optimization or molecular dynamics run can be performed for a
chosen excitation.
Hutter reformulated the equations of time-dependent Hartree-Fock in the Tamm-Dancoff
approximation applied to TD-DFT (Hirata and Head-Gordon, 1999) so that they could be efficiently
implemented in a plane-wave basis set. This self-consistent eigenvalue problem is solved in CASTEP by
the user’s choice of conjugate gradient or block-Davidson minimizers. The result is a set of electronic
excitation energies and linear response wavefunctions.
A technical report on the implementation details of the TD-DFT minimizers can be found at
http://www.hector.ac.uk/cse/distributedcse/reports/castep02/.
A second report on the implementation of excited state forces can be found at
http://www.hector.ac.uk/cse/distributedcse/reports/castep03/.
Phonons
The basic theory of phonons, or lattice vibrations, in crystals is well understood and has been described
in detail in text books such as those by Born and Huang (1954) and Ashcroft and Mermin (1976). The
importance of the phonon interpretation of lattice dynamics is illustrated by the large number of
physical properties that can be understood in terms of phonons: infrared, Raman, and neutron
scattering spectra; specific heat, thermal expansion, and heat conduction; electron-phonon interactions
and, thus, resistivity and superconductivity, and so on.
A number of approximations are made in order to arrive at the phonon description of lattice vibrations.
First of all, it is assumed that the mean equilibrium position of each ion, i, is a Bravais lattice site, Ri.
Secondly, it is assumed that the amplitude of atomic displacements is small compared to interatomic
distances. This leads to a harmonic approximation which is sufficiently accurate to describe most of the
lattice dynamical effect of interest. However, further refinement, in the form of anharmonic theory, is
required to explain physical properties at elevated temperatures when the harmonic approximation
breaks down.
The N-ion harmonic crystal can be considered as 3N independent harmonic oscillators, whose
frequencies are those of 3N classical normal modes. Thus, at each wave vector, q, in the Brillouin zone
there are 3N vibrational modes. There are two equivalent descriptions of this system, either in terms of
normal modes or phonons. Phonons are the quanta of the ionic displacement field that describe
classical sound; they are similar to photons, the quanta of the radiation field that describe classical light.
The properties of phonons can be described using a harmonic approximation based on the knowledge
of just one fundamental quantity, the force constants matrix:
Eq. CASTEP 58
Here u refers to the displacement of a given atom and E is the total energy in the harmonic
approximation. This force constants matrix (or Hessian matrix) can also be represented in reciprocal
space and the result is commonly referred to as the dynamical matrix:
Eq. CASTEP 59
Classical equations of motion can be written in the language of dynamical matrices, as an eigenvalue
problem. Each atomic displacement is described in the form of plane waves:
Eq. CASTEP 60
where the polarization vector of each mode, ε, is an eigenvector with the dimension of 3N of the
eigenvalue problem:
Eq. CASTEP 61
The dependence of the frequency, ω, on the wave vector is known as the phonon dispersion.
Each lattice always has three acoustic modes. Their dispersion relation at small values (near the Γ point)
is linear, which is characteristic of sound waves. The rest of the vibrational modes, 3N - 3, in a Bravais
lattice with basis are known as optical modes because the long wavelength optical modes in ionic
crystals can interact with electromagnetic radiation and are therefore responsible for much of the
characteristic optical behavior of such crystals. The frequencies of optical modes are finite at q = 0. A
simplistic characterization of acoustic and optical branches (Ashcroft and Mermin, 1976) would be: All
ions in a primitive cell move essentially in phase in an acoustic mode and the dynamics is determined by
the interaction between cells; an optical mode is one in which the ions within each cell exhibit a
molecular vibration mode which is broadened into a band of frequencies due to intercellular
interactions.
A popular way of classifying lattice vibrations is based on the relationship between the orientation of the
polarization vector, ε, and the propagation direction, q. In an isotropic medium for the case of a
monatomic primitive cell it is always possible to choose three solutions for a given q so that one branch
(longitudinal) is polarized along the propagation direction and the other two branches (transverse) are
polarized perpendicular to this direction. This simple relationship does not hold for an arbitrary q-vector
in an anisotropic crystal, nor for a Bravais lattice with basis. It is still common to classify vibrational
modes along high symmetry directions in simple lattices based on the transverse and longitudinal
description.
Long wavelength vibrations in polar materials deserve a special mention. The long range character of the
Coulomb forces gives rise to macroscopic electric fields for longitudinal optic (LO) phonons at the Γ-point
in polar semiconductors and insulators. The coupling between longitudinal phonons and the
nonperiodic electric field gives rise to LO-TO splitting at the Γ-point. The value of the splitting is
determined by the static dielectric constant of the crystal and by the Born effective charge of the ions.
The Born effective charge tensor of the sth ion is the partial derivative of the macroscopic polarization
with respect to a periodic displacement of all the periodic images of that ion at zero macroscopic electric
field. A good review of the practical methods of dealing with this effect is given by Baroni et al., (2001).
Thermodynamic properties of crystals can be evaluated in a fairly straightforward way based on a
knowledge of the phonon frequencies across the Brillouin zone (see Ashcroft and Mermin, 1976; Baroni
et al., 2001). These quasiharmonic results are quite accurate at moderate temperatures and only small
corrections to calculated phase transition properties can be found at temperatures as high as 1000-
2000 K (Kern et al., 1999).
phonon method, or to overcome the long range interaction problem (force constants matrix from
supercell calculations). A more detailed description of the linear response method can be found in
Baroni et al., (2001). The CASTEP implementation is described in the Linear response topic.
Interpolation schemes
The force constant matrix (Eq. CASTEP 58) for non-polar insulators and most metals decays
proportionally to r-5 or even faster. This fact allows the introduction of an effective interpolation scheme
to accelerate phonon calculations within both the finite displacement and linear response formalisms
through the introduction of a cutoff radius, Rc, beyond which all the elements of the force constant
matrix can be treated as zero. If an approximation for the force constant is available, the dynamical
matrix for any given reciprocal vector can be calculated using Eq. CASTEP 59.
Finite displacement: supercell method
In the supercell method, finite displacement calculations are carried out in the supercell, circumventing
the sphere described by the cutoff radius, which directly give all the non-zero elements of the force
constant matrix.
Linear response: Fourier interpolation
In the Fourier interpolation method, calculations are performed on the regular reciprocal mesh (with a
spacing corresponding to the real space cutoff radius). The set of dynamical matrices obtained in these
calculations can be used to construct the force constant matrix using Fourier transformation.
Infrared spectra
In the infrared energy range (typically below 1 eV), vibrations are an important component of optical
spectra. In the case of metals, this process is screened considerably by the plasmon (intraband)
electronic contribution, while for semiconductors and insulators, it is vibrations that are mainly
responsible for absorbing light energy.
Theoretically, infrared absorption intensities are described in terms of a dynamical matrix (also known as
a Hessian) and Born effective charges (also known as atomic polarizability tensors, ATP). The Born
effective charge tensor of an ion is the partial derivative of the macroscopic polarization with respect to a
periodic displacement of all the periodic images of that ion at zero macroscopic electric field. A good
review of the practical methods of dealing with this effect is given by Baroni et al. (2001). The Born
effective charge tensor is calculated within the linear response formalism by applying a Gonze
approximation. Once these data are known, it is straightforward to calculate IR intensities (see
Calculating vibrational frequencies). IR absorption intensities are printed in the CASTEP output file for
any run where phonons at the Γ-point and LO-TO splitting are calculated.
The concept of IR absorption intensities is mostly used in the analysis of molecules. CASTEP can be used
to model isolated molecules if the molecule in question is assumed to be contained within a box (see
Setting up a calculation on an isolated molecule. This approach allows accurate prediction of IR
absorption intensities. Figure 1 compares the results of such calculations obtained using DMol3 and
CASTEP for a variety of molecules.
Figure 1. Comparison of IR spectra calculated using DMol3 and CASTEP for a range of molecules
Linear response
Linear response, or density functional perturbation theory (DFPT), is one of the most popular methods
of ab initio calculation of lattice dynamics (Baroni et al. 2001). However, the applicability of the method
extends beyond the study of vibrational properties. Linear response provides an analytical way of
computing the second derivative of the total energy with respect to a given perturbation. Depending on
the nature of this perturbation, a number of properties can be calculated. A perturbation in ionic
positions gives the dynamical matrix and phonons; in magnetic field - NMR response; in unit cell vectors
- elastic constants; in an electric field - dielectric response, and so on.
The force constants matrix can be obtained by differentiating the Hellmann-Feynman forces on atoms,
with respect to ionic coordinates. This procedure reveals that the force constants matrix depends on the
ground state electron charge density and on its linear response to a distortion of atomic positions. Due
to the variational principle of the density functional formalism, the second order change in energy
depends on the first order change in the electron density.
The DFPT formalism is, in many ways, very similar to the density functional theory (DFT) itself. DFT states
that the total energy is the functional of the electron density; thus one can solve the DFT equations by
minimizing the total energy. Similarly, the DFPT problem can be solved by minimizing the second order
perturbation in the total energy, which gives the first order changes in density, wavefunctions and
potential (Gonze et al. 1994, Gonze 1997).
This variational technique for solving DFPT problems is a more robust and accurate method than the
original Green's function, iterative scheme suggested by Baroni et al. 1987. Both methods should
converge to the same solution but the Green's function method does not rely on the variational
principle and its convergence properties are thus inferior. Moreover, once the first order change in
wavefunctions, ψ(1), is evaluated, then the Green's function scheme evaluates the second order energy,
which is not stationary with respect to first-order errors in ψ(1). Thus, the variational scheme of Gonze
1997 is expected to be more accurate.
The electronic second order energy, which is minimized in this approach, as implemented in CASTEP, is:
Eq. CASTEP 62
where the superscripts refer to the ground state (0) and first (1) and second (2) order changes,
respectively. Similar terms have to be evaluated for the ionic terms in the total energy. The
preconditioned conjugate gradients minimization scheme can be used to find the minimum of this
functional with respect to the first order wavefunctions. The dynamical matrix for a given q is then
evaluated from the converged first order wavefunctions and densities (Gonze 1997).
Raman spectra
Raman spectroscopy is used to study the vibrational, rotational, and other low-frequency modes in a
system. It is based on the Raman effect of inelastic scattering of monochromatic light. This interaction
with vibrations results in the energy of incident photons being shifted up or down. The energy shift is
defined by the vibrational frequency and the proportion of the inelastically scattered light is defined by
the spatial derivatives of the macroscopic polarization, technical details are described by Porezag and
Pederson (1996).
Spatial derivatives of the macroscopic polarization are calculated numerically along eigenvectors of each
Raman active phonon mode by calculating the polarization for each displacement using a linear
response formalism. Once these derivatives are known, it is straightforward to calculate the Raman
cross-section through appropriate space averaging.
Raman activities defined by Porezag and Pederson (1996) characterize phonon mode contributions to
the intensity of peaks in Raman spectra. These intensities depend on some other factors such as the
temperature and incident light wavelength. It is important to specify these parameters in order to
simulate a realistic Raman spectrum that can be compared to experimental results.
The Raman susceptibility tensor from which the Raman intensity can be calculated is defined as:
where:
χ(1) is the first order dielectric susceptibility
ν is a phonon eigenvector (the direction in which atoms, I, at equilibrium positions R, move under
excitation of a phonon mode, m in a unit cell with volume V)
Greek subscripts denote Cartesian directions
The derivative of χ(1) inside the sum can be calculated in CASTEP using a finite difference approach,
making small atomic displacements corresponding to the eigenvectors of each Raman active mode.
However, the derivative can be written in full as:
where:
ϵ is the electric field of a photon in a Raman experiment exciting the phonon
E is the total energy of the system.
We can use the (2n+1) theorem in quantum mechanics to evaluate this in a more direct manner, see
Miwa (2011). This theorem states that, under a perturbation, if the perturbed wavefunctions are known
to order n then we can evaluate the perturbed energy up to order 2n+1. In particular, in a CASTEP
phonon calculation, we need to evaluate the perturbed wavefunctions up to first order and therefore
we should have access to the 3rd order energy perturbation, E(3), from which we can compute the
susceptibility derivatives.
For Raman intensities, the full expression for this third derivative is given by equations (28)-(31) of Miwa
(2011). These expressions are implemented in CASTEP for norm-conserving pseudopotentials.
The finite difference method and the "2n+1" linear response method lead to the same Raman
susceptibility tensor, however the mathematical, and hence computational, routes are rather different.
In the finite difference method, the phonon eigenvectors are calculated during a phonon task, and are
then used to calculate the third order derivative for each mode one at a time. This means that there is a
separate Raman intensity calculation for each Raman active mode to obtain its intensity.
Computationally, this is usually the most time consuming part of a Raman intensity calculation.
Alternatively, in the linear response method, we first precompute the 9 second order derivatives with
respect to electric field: equation 19 of Miwa (2011) and then construct the full set of Raman tensors
during the phonon perturbations: equation (28) of Miwa (2011). Computationally, this means that in the
linear response Raman intensity method there is an initialization stage and each phonon perturbation
calculation has slightly more work to do than in the finite difference method. However, the
computational work is then complete, unlike in the finite difference method where additional electric
field perturbations are required for every Raman intensity.
For small cells the linear response method will be slower as the initialization stage and the extra cost of
each phonon perturbation does not outweigh the effort of calculating the finite difference Raman
tensor. For example, a linear response calculation for the primitive cell of boron nitride in the diamond
structure takes about twice as long as the finite displacement calculation. However, the linear response
method quickly becomes significantly more efficient as the number of degrees of freedom increases.
Calculations for molecular crystals containing 50-100 atoms per unit cell can be an order of magnitude
faster using the linear response method compared to the finite difference method.
Note: It is important to remember that Raman intensities are effectively third order derivatives, so to
obtain reasonable results very accurate calculations are required. Both the energy cutoff and k-point
sampling can contribute significantly to a convergence error, so a careful convergence test is
necessary to obtain reliable Raman intensities.
Thermodynamic calculations
The results of a calculation of phonon spectra can be used to compute energy (E), entropy (S), free
energy (F), and lattice heat capacity (Cv) as functions of temperature. The CASTEP total energy yields the
total electronic energy at 0 K. The vibrational contributions to the thermodynamic properties are
evaluated to compute E, S, F, and Cv at finite temperatures as discussed below.
Note: Thermodynamic calculations can be performed only if the system is in the ground state, that is,
geometry optimization is fully converged. This means that all the phonon eigenfrequencies must be
real and non-negative.
When you perform a vibrational analysis with CASTEP the results of the thermodynamic calculations can
be visualized using the thermodynamic analysis tools.
The formulas below are based on work by Baroni et al. (2001).
The temperature dependence of the energy is given by:
Eq. CASTEP 80
where Ezp if the zero point vibrational energy, k is the Boltzmann constant, ħ is the Planck constant and
F(ω) is the phonon density of states. Ezp can be evaluated as:
Eq. CASTEP 81
A popular representation of the experimental data on heat capacity is based on the comparison of the
actual heat capacity to that predicted by the Debye model. This leads to the concept of the temperature
dependent Debye temperature, ΘD(T). Heat capacity in Debye model is given by (Ashcroft and Mermin,
1976):
Eq. CASTEP 85
where N is the number of atoms per cell. Thus, the value of the Debye temperature, ΘD, at a given
temperature, T, is obtained by calculating the actual heat capacity, Eq. CASTEP 84, then inverting Eq.
CASTEP 85 to obtain ΘD.
Setup tab
The Setup tab allows you to choose the type and quality of calculation that CASTEP will perform along
with other basic input options such as exchange-correlation functional, spin polarization, and total
charge.
Task: Select the type of calculation that CASTEP will perform from the dropdown list. Available options
are:
Energy - performs a single-point energy calculation
Geometry Optimization - searches for a minimum energy structure
Dynamics - performs a molecular dynamics calculation
Elastic Constants - performs an elastic constants calculation
TS Search - performs a transition state search
TS Confirmation - produces a refined reaction path based on a TS search
Properties - calculates properties based on the results obtained from one of the other tasks
More...: Provides access to further options for the selected task: opening the CASTEP Geometry
Optimization, CASTEP Dynamics, CASTEP Elastic Constants, CASTEP Transition State Search , or CASTEP
TS Confirmation dialogs.
Quality: Set the overall quality of a single-point energy, geometry optimization, or dynamics calculation.
This quality affects the basis set, k-point, and SCF convergence criteria, along with the convergence
criteria for the Geometry Optimization, Elastic Constants, and TS Search tasks. Available options are:
Express
Coarse
Medium
Fine
Ultra-fine
Tip: Use the Coarse quality setting for a quick assessment of the calculation. Use the Express quality
setting to achieve a good compromise between speed and accuracy which is appropriate for most
calculations. Use Fine and Ultra-fine quality settings for calculations that require very high accuracy, at
the expense of longer calculation times. Carry out convergence testing for highly sensitive calculations
by increasing the quality setting and possibly by increasing accuracy of the basis set and the k-point
sampling.
The Quality setting affects all relevant task parameters that control the precision of the simulation. If
any parameter is set to a value different from that specified by the overall quality level, the Quality is
displayed as Customized.
Functional: Select the type of DFT exchange-correlation potential to be used in the calculation. Choose
the class of functional from the first dropdown list, then select the specific functional from the second
dropdown list.
TS for GGA PBE, PBESOL, RPBE, BLYP, PW91; also for PBE0 and B3LYP
Grimme for GGA PBE, GGA BLYP, and B3LYP
OBS for GGA PW91 and LDA
MBD* for GGA PBE; also for HSE03, HSE06, and PBE0
Note: The option selected will automatically update the Use custom DFT-D parameters setting on the
DFT-D tab of the CASTEP Electronic Options dialog.
Spin polarization: Select how spin density should be treated. Available options are:
Non-polarized also known as 'spin-restricted' calculation, uses the same orbitals for alpha and beta
spins.
Collinear also known as 'spin-unrestricted' calculation, separate calculation for majority and minority
spin projections.
Non-collinear the calculation allows spin density to vary the quantization axis in each point of space.
Use formal spin as initial: When checked, indicates that the initial value for the number of unpaired
electrons for each atom will be taken from the formal spin specified for each atom. This starting value
will be subsequently optimized during the calculation. If unchecked, the initial value for the number of
unpaired electrons can be specified. Default = checked.
Note: This option is enabled only if the Spin polarization is Non-collinear or Collinear.
Note: Atom-resolved initial spin is used only if the Electronic minimizer is set to Density mixing on the
SCF tab of the CASTEP Electronic Options dialog or if the DFT+U is selected.
Use DFT+U: When checked, indicates that DFT+U will be used (also known as the LDA+U formalism).
Actual values of U can be set up through the Hubbard U tab of the Electronic Configuration dialog.
Note: This option is only enabled if the Spin polarization is Collinear.
Note: The DFT+U formalism is not compatible with NMR or polarizability calculations. The formalism
cannot be used with mixture atoms or real-space pseudopotentials.
Include spin-orbit coupling: When checked, indicates that spin-orbit coupling will be added to the
Hamiltonian.
Note: This option is only enabled if the Spin polarization is Non-polarized or Collinear. The formalism
is currently implemented only for tabulated norm-conserving pseudopotentials, with no LDA+U
corrections, and is not supported for nonlocal exchange-correlation functionals. Additionally, it is not
yet compatible with calculations of:
NMR
Dipole corrections
Electron localization function
Linear response, including polarizability calculation
Optical properties
Electronic excitations
Partial density of states
Hirshfeld population analysis
Visualization of the electrostatic potential is also not yet implemented.
Metal: When checked this indicates that the system is metallic so that empty bands can be created and
edited. When unchecked the Fix occupancy checkbox on the SCF tab of the CASTEP Electronic Options
dialog is checked. When unchecked the k-point separations used by default are coarser. Default =
checked.
Note: In some calculations is not sufficient to use fixed orbital occupancies if the system under
investigation should actually have a band gap according to DFT results. This applies to calculations
that use the linear response formalism for vibrational properties and to calculations of electric field
responses (polarizability and IR and Raman spectra). Attempting to study a metallic systems using
fixed orbital occupancies will result in poor convergence and usually in unphysical results for IR and
Raman intensities and for polarizability. If this is the case, check whether your system is metallic by
running either density of states or band structure calculations.
Charge: Specify the total charge on the unit cell.
Access methods
Access methods
Minimizer tab
The Minimizer tab allows you to specify the convergence level of the minimization and the external
pressure, and to control cell optimization.
Quality: Set the geometry optimization convergence thresholds for energy change, maximum force,
maximum stress, and maximum displacement between optimization cycles. The optimization will stop
when all of these criteria are satisfied.
Four sets of convergence thresholds are available:
Coarse
Medium
Fine
Ultra-fine
The values of the convergence thresholds in each set are given in the table below:
Alternatively, thresholds can be specified independently for Energy, Max. force, Max. stress, and Max.
displacement. If you enter your own values for any of these settings, the Quality is displayed as
Customized on both the Minimizer tab and the Setup tab of the CASTEP Calculation dialog.
Note: When the main quality is set to Express the geometry optimization quality is also set to
Express. In this case energy tolerance will be displayed in eV/cell rather than eV/atom, the default
value is 0.001 eV/cell. All other tolerances are ignored and geometry optimization runs stop when the
energy change is less than the tolerance regardless of the values of forces or displacements.
Energy: Specify the convergence threshold for the maximum energy change, in eV/atom, during the
geometry optimization. The units are eV/cell if the Quality is set to Express.
Max. force: Specify the convergence threshold for the maximum force, in eV/Å, during the geometry
optimization. If the Quality is set to Express, this tolerance by default will be set to a very high value and
will effectively be ignored in the calculation.
Max. stress: Specify the convergence threshold for the maximum stress, in GPa, during the geometry
optimization. If the Quality is set to Express, this tolerance by default will be set to a very high value and
will effectively be ignored in the calculation.
Max. displacement: Specify the convergence threshold for the maximum displacement, in Å, during the
geometry optimization. If the Quality is set to Express, this tolerance by default will be set to a very high
value and will effectively be ignored in the calculation.
Max. iterations: Specify the maximum number of geometry optimization cycles. If this number of cycles
is reached, then the calculation will stop, even if the convergence criteria are not satisfied.
Cell optimization: Specify whether the cell should be optimized and how. Default = None. Options are:
None - No cell optimization is requested and the Basis set for variable cell and Compressibility
options are not available.
Full - Complete optimization of the cell.
Fixed Volume - The cell is optimized while keeping the volume fixed, cell angles and cell lengths are
varied.
Fixed Shape - The cell is optimized while keeping the cell angles and cell length ratios fixed, the cell
volume is varied.
Basis set for variable cell: Specify the desired behavior of the basis set when the cell size changes.
Default = Fixed Basis Quality. Options are:
Fixed Basis Quality - The number of plane waves changes to maintain the fixed cutoff energy (finite
basis set correction is required)
Fixed Basis Size - The number of plane waves is kept constant, so the effective cutoff energy changes
(finite basis set correction is not required)
Tip: Fixed Basis Quality is the recommended option.
Compressibility: Specify an estimated compressibility value for the crystal under investigation in order
to accelerate the geometry optimization. Each entry in the dropdown list is interpreted as a preset
value:
Soft - 25 GPa, suitable for soft materials like molecular crystals
Medium - 200 GPa, suitable for most transition metals
Hard (default) - 500 GPa, suitable for minerals, ceramics, and hard metals
Note: CASTEP geometry optimization will respect constraints on the fractional coordinates of atoms.
These constraints may be imposed using the controls on the Atom tab of the Edit Constraints dialog.
Nonlinear constraints are respected only for P1 structures that do not contain mixture atoms and
only when the delocalized internals optimizer is used, that is, the Use delocalized internals checkbox
is checked on the Options tab of the CASTEP Geometry Optimization dialog.
Access methods
Options tab
The Options tab allows you to specify the minimization algorithm and the parameters controlling the
algorithm.
Algorithm: Specify the minimization algorithm. These algorithms are supported by CASTEP:
LBFGS
BFGS
Damped MD
TPSD
The LBFGS algorithm is generally recommended, especially for large systems. It implements a universal
sparse preconditioner that accelerates geometry optimization (Packwood et al., 2016). However, if there
are constraints TPSD might be a better choice (see the Geometry optimization theory topic for further
details).
The TPSD geometry optimization algorithm is a viable alternative for systems where the potential energy
surface deviates significantly from the quadratic form. TPSD offers robust convergence and is
particularly recommended when user-supplied constraints on lattice parameters are applied during cell
optimization (for example, when optimizing a solid-solid interface in a direction perpendicular to the
interface plane).
Note: The Damped MD algorithm is not used when cell optimization is performed.
Use line search: When checked, indicates that optimization should use the advanced line search
algorithm.
Note: This checkbox is checked by default, except when the main quality is set to Express. If you
specify the Express quality setting and then request line search, the Quality is displayed as
Customized on both the Minimizer tab and the Setup tab of the CASTEP Calculation dialog. In the
latter scenario, you must set convergence criteria for gradients and displacements to sensible values,
as the line search algorithm cannot function using only the energy change criterion.
Use delocalized internals: When checked, indicates that delocalized internal coordinates should be
used during geometry optimization, instead of Cartesian coordinates. This setting typically speeds up
the calculation by 2-3 times.
Note: The Use delocalized internals option is enabled only if the BFGS algorithm is selected.
Note: The delocalized internals minimizer does not currently support cell optimization. As a result,
CASTEP will automatically switch over to Cartesian coordinates when the cell is allowed to vary.
The delocalized internals minimizer respects nonlinear constraints only for P1 structures that do not
contain mixture atoms.
Damping algorithm: Specify the algorithm for the Damped MD method. The supported algorithms are:
Independent - the damping constant is chosen independently for each mode, so that all modes lose
energy at the same rate.
Coupled - the same damping constant is used for all modes at each step.
Steepest Descent
The Independent damping algorithm is recommended (see the Geometry optimization theory topic for
details).
Damping coefficient recalculation frequency: During the damped MD optimization, the damping
coefficients are recalculated occasionally to improve the damping rate. This value specifies the number
of MD steps between these recalculations.
Note: The Damping coefficient recalculation frequency value is not used by the steepest descent
algorithm.
Wavefunction extrapolation: Specify the method to be used for wavefunction extrapolation between
MD steps.
None - no extrapolation is performed.
1st VV - first-order extrapolation with variable coefficients.
2nd VV - second-order extrapolation with variable coefficients.
2/1 VV - alternate second- and first-order extrapolation with variable coefficients.
1st CC - first-order extrapolation with constant coefficients.
2nd CC - second-order extrapolation with constant coefficients.
2/1 CC - alternate second- and first-order extrapolation with constant coefficients.
Time step: Specify the time step to be used in the damped MD geometry optimization.
Auto-update time step: When checked, indicates that the time step will be automatically updated to
speed up the geometry optimization.
Note: The Time step and Auto-update time step controls are enabled only if the Damped MD
algorithm is selected.
Access methods
Stress tab
The Stress tab allows you to specify an external stress or hydrostatic pressure on the structure for
geometry optimization.
Note: The options on this tab are applicable only when cell optimization has been requested.
External stress: Specify any element of the external stress tensor on the structure, in GPa.
Equivalent hydrostatic pressure: Specify the hydrostatic pressure on the structure.
The hydrostatic pressure is one third of the trace of the stress tensor. When a value is specified here, the
diagonal elements of the stress tensor are modified so as to leave any anisotropic term unchanged.
Note: A positive value of external stress and hydrostatic pressure indicates that the structure is
compressed.
Reset external stress to zero: Sets all elements of the stress tensor to zero.
Access methods
Dynamics tab
The Dynamics tab allows you to specify the main parameters for controlling dynamics simulations.
Ensemble: Specify the ensemble to be used in the dynamics simulation.
NVE - dynamics at fixed volume and constant energy.
NVT - dynamics at fixed volume with a thermostat to maintain a constant temperature.
NPH - dynamics at constant enthalpy with a barostat to maintain a constant pressure.
NPT - dynamics with a thermostat to maintain a constant temperature and with a barostat to
maintain a constant pressure.
Initial velocities: Select the method of velocity initialization to be used for the dynamics calculation. The
available options are:
Random - set initial velocities to random value (default).
Current - set initial velocities to values currently defined on the structure.
Temperature: Specify the temperature of the dynamics simulation. For the NVE ensemble, the initial
random velocities of the atoms are scaled to this temperature.
Pressure: Specify the external pressure for the dynamics simulation in the NPH or NPT ensemble. For
Parrinello barostat full stress tensor can be specified on the Stress tab.
Time step: Specify the time step for the dynamics simulation.
Total simulation time: Specify the total time for the dynamics simulation. When modified the number
of steps is adjusted appropriately for the current time step.
Number of steps: Specify the total number of steps for the dynamics simulation.
Basis set for variable cell: Specify the desired behavior of the basis set when the cell size changes.
Fixed Basis Quality - the number of plane waves changes to maintain the fixed cutoff energy (finite
basis set correction is required).
Fixed Basis Size - the number of plane waves is kept constant, so the effective cutoff energy changes
(finite basis set correction is not required).
Tip: Fixed Basis Quality is the recommended option.
Access methods
Options tab
The Options tab allows you to specify parameters which control the details of the dynamics algorithm.
Thermostat: Specify the thermostat to be used for NVT or NPT dynamics. Available options are:
Langevin
Nose
NHL
Note: This option in enabled only if the NVT or NPT ensemble is selected on the Dynamics tab. The
Nosé-Hoover-Langevin (NHL) thermostat is only available for the NVT ensemble.
Barostat: Specify the barostat to be used for NPH or NPT dynamics. Available options are:
Andersen - scales the cell uniformly
Parrinello - allows variation in the cell shape
Note: This option in enabled only if the NPT or NPH ensemble is selected on the Dynamics tab.
Langevin constant: Specify the damping time of temperature fluctuations during Langevin NVT
dynamics. This time should normally be larger than the time scale of any motions of interest.
Nose Q ratio: Specify a scaling factor for the fictitious mass Q of the Nosé thermostat for Nosé or Nosé-
Hoover-Langevin NVT dynamics. A larger Q ratio implies increased damping of temperature fluctuations.
Cell time constant: Specify the characteristic cell time, which is used to estimate the mass associated
with the barostat. A larger value implies increased damping of pressure fluctuations.
Wavefunction extrapolation scheme: Specify the method to be used for wavefunction extrapolation
between molecular dynamics steps. This selection is not available when Use Extended Lagrangian (XL-
BOMD) is selected.
Stress tab
The Stress tab allows you to specify an external stress or hydrostatic pressure on the structure for
molecular dynamics.
Note: The options on this tab are available only when the NPT or NPH ensemble is selected on the
Dynamics tab.
External stress: Specify any element of the external stress tensor on the structure, in GPa.
Equivalent hydrostatic pressure: Specify the hydrostatic pressure on the structure.
The hydrostatic pressure is one third of the trace of the stress tensor. When a value is specified here, the
diagonal elements of the stress tensor are modified so that any anisotropic term remains unchanged.
Note: A positive value of external stress and hydrostatic pressure indicates that the structure is
compressed.
Note: When the Andersen barostat is selected on the Options tab only hydrostatic pressure is used
by CASTEP.
Reset external stress to zero: Sets all elements of the stress tensor to zero.
Access methods
means that the xx, yz (and zy) components of the strain tensor will be non-zero.
Note: This matrix is not editable.
Note: For trigonal symmetry, the orientation standard where C lies along the z-axis and A is in the xz
plane must be used. For further details on the lattice orientation standard and how to set it, see the
Viewing or changing the lattice parameters topic.
Access methods
Options tab
The Options tab allows you to specify the convergence level of the elastic constants calculation.
Quality: Sets the convergence thresholds for energy change, maximum force, and maximum
displacement between cycles. This is used for the geometry optimization runs that are required for the
elastic constants calculation. The calculation will stop when all of these criteria are satisfied.
Four sets of convergence thresholds are available; Coarse, Medium, Fine and Ultra-fine. The values of
each convergence threshold in each set are given in the table below:
Alternatively, thresholds can be specified independently. If user defined values are used, the Quality
displayed is Customized.
Note: When the main quality is set to Express the elastic constants quality is also set to Express. In
this case energy tolerance will be displayed in eV/cell rather than eV/atom, the default value is
0.001 eV/cell. All other tolerances are ignored and geometry optimization runs stop when the energy
change is less than the tolerance regardless of the values of forces or displacements.
Energy: Specify the convergence threshold for the maximum energy change, in eV/atom. The units are
eV/cell if the Quality is set to Express.
Max. force: Specify the convergence threshold for the maximum force, in eV/Å. If the Quality is set to
Express, this tolerance by default will be set to a very high value and will effectively be ignored in the
calculation.
Max. displacement: Specify the convergence threshold for the maximum displacement, in Å. If the
Quality is set to Express, this tolerance by default will be set to a very high value and will effectively be
ignored in the calculation.
Max. iterations: Specify the maximum number of elastic constants cycles. If this number of cycles is
reached, then the calculation will stop even if the convergence criteria are not satisfied.
Access methods
Note: When a transition state search is performed on a periodic system the unit cell is fixed.
Search protocol: Select the type of synchronous transit that will be performed from the dropdown list.
Available options are:
LST Maximum - performs a single linear synchronous transit (LST) maximization, bracketing the
maximum between the reactants and product
Halgren-Lipscomb - performs an LST maximization, followed by a single-line search minimization
LST/Optimization - performs an LST maximization, followed by a full conjugate gradient minimization
Complete LST/QST - performs an LST, followed by repeated conjugate gradient minimizations and
quadratic synchronous transit (QST) maximizations until a transition state has been located
QST/Optimization - starting from a QST, performs repeated maximizations and conjugate gradient
minimizations until a transition state has been located
Quality: Set the TS search convergence thresholds for the root mean square (RMS) forces on the atoms.
The search will stop when this criterion is satisfied.
Five quality settings are available:
Express
Coarse
Medium
Fine
Ultra-fine
The value of the convergence threshold for each setting is given in the table below:
RMS convergence: Specify the value, in eV Å-1, at which convergence is considered to take place in terms
of the RMS of the gradients.
Max. number QST steps: Specify the maximum number of QST maximization cycles. If this number of
cycles is reached, then the calculation will stop, even if the convergence criteria are not satisfied.
Optimize reactants and products: Specifies that the input structure for the reactant and product in a TS
search calculation should be optimized to a local minimum. Selecting this allows the TS search to start
from a "raw" trajectory, where the reactant and product structures have not already been optimized.
Note: This choice may lead to reactant and product structures deviating substantially from the input
structures, so it is recommended that you carefully check the final path.
Calculate partition functions: Specifies whether to calculate partition functions based on the Gamma-
point dynamical matrix for the reactants, products, and the transition state. This data will be stored in
the output 3D Atomistic Collection document.
Note: This is not available unless Optimize reactants and products is checked.
Help: Displays the Help topic in a browser.
Access methods
Alternatively, thresholds can be specified independently for Energy, Max. force, and Max.
displacement. If you enter your own values for any of these settings, the Quality is displayed as
Customized on both the CASTEP TS Confirmation dialog and the Setup tab of the CASTEP Calculation
dialog.
Note: When the main quality is set to Express the transition state confirmation quality is also set to
Express. In this case the energy tolerance will be displayed in eV/cell rather than eV/atom, the default
value is 0.002 eV/cell.
Energy: Specify the convergence threshold for the maximum energy change, in eV/atom, during the
geometry optimization. The units are eV/cell if the Quality is set to Express.
Max. force: Specify the convergence threshold for the maximum force, in eV/Å, during the geometry
optimization.
Max. displacement: Specify the convergence threshold for the maximum displacement, in Å, during the
geometry optimization.
Altering the value of any threshold is allowed and results in the Quality being set to Customized.
Max. images: The number of intermediate NEB images used during the transition state confirmation.
Help: Displays the Help topic in a browser.
Access methods
Electronic tab
The Electronic tab allows you to set the parameters associated with the electronic Hamiltonian. These
include the basis set, pseudopotentials, SCF convergence criteria, and k-point set.
Energy cutoff: Select the precision used for the plane wave basis set.
Coarse
Medium
Fine
Ultra-fine
The actual value of the energy cutoff corresponding to the selected quality for the current structure is
also displayed.
Note: Calculation of the NMR parameters may require the Energy cutoff to be set to a higher value
than for total energy or geometry optimization calculations. It is advisable to study the convergence
of the results as the Energy cutoff parameter is increased. Generally, setting the cutoff to between
270 and 400 eV should produce convergence of the shielding constant to about 1 ppm, but in some
cases, the cutoff has to be increased up to 550 eV.
SCF tolerance: Select the threshold used to determine whether an SCF has converged. Available options
and associated convergence thresholds are:
Coarse - 10-5 eV/atom
Medium - 2 × 10-6 eV/atom
Fine - 10-6 eV/atom
Ultra-fine - 5 × 10-7 eV/atom
Note: When the main quality is set to Express the SCF tolerance is also set to Express which
corresponds to 10-4 eV/cell.
Energy tolerances per: Specifies whether energy tolerances are calculated as the energy change per
atom (Atom is the default setting) or per unit cell (the Cell value is enforced when the main quality, and
hence the SCF tolerance quality, is set to Express).
k-point set: Define the number of integration points that will be used to integrate the wavefunction in
reciprocal space. Available options are:
Gamma - a single point at (0, 0, 0)
Coarse
Medium
Fine
Pseudopotentials: Select the type of pseudopotential to be used. Two different types of
pseudopotentials are available, ultrasoft and norm-conserving; both of them are available as either
generated on the fly (OTFG) potentials or as tabulated potentials. OTFG potentials are generally
preferred for reasons of accuracy and consistency. They are required for NMR calculations.
OTFG ultrasoft (default) - the preferred option, ultrasoft pseudopotentials allow calculations to be
performed with lower energy cutoffs. On-the-fly generation produces potentials that are consistent
between solid state and pseudo-atom calculations since they use the same exchange-correlation
functional throughout. The set of OTFG ultrasoft pseudopotentials introduced in Materials Studio
8.0 provides results in close agreement with all electron calculations and is very accurate for
describing ground state structures.
OTFG norm conserving - typically harder and therefore more computationally expensive than
ultrasoft pseudopotentials. Norm-conserving potentials are currently required for linear response-
based calculations of phonon properties and of polarizabilities and for calculations with nonlocal
exchange-correlation functionals (for example, screened exchange).
Ultrasoft - tabulated ultrasoft pseudopotentials, provided for compatibility with earlier versions of
Materials Studio.
Norm conserving - tabulated norm-conserving pseudopotentials, provided for compatibility with
earlier versions of Materials Studio.
Note: It is not recommended to use PW91 exchange-correlation functional when requesting on the
fly generation of pseudopotentials; PBE, RPBE, WC, BLYP, or PBESOL are better options when a GGA
functional is required.
Note: When you specify the type of pseudopotential to be used in this way, the default
pseudopotential of that type for each element will be used in the calculation.
Tip: Use the Electronic Options dialog to exercise more control over which pseudopotentials are used
for each element.
Relativistic treatment: The way relativistic effects are incorporated into OTFG pseudopotentials.
Options are:
Schroedinger
Koelling-Harmon (default)
ZORA
Use core hole: Specify whether to include core holes in the calculation; core holes can be used in core
level spectroscopy calculations and should be defined using the Core Hole tab of the Electronic
Configuration dialog.
Note: For calculations exploiting core holes, on-the-fly pseudopotentials must be used.
If the Use core hole checkbox is not checked, any core holes in the input system will not be preserved
during the calculation.
Note: CASTEP calculations with core holes assume by default that an electron is removed from the
system, so it is treated as having a charge of 1 (or one more than specified in the Charge field on the
Setup tab of the CASTEP Calculation dialog). In some circumstances, for example when studying
impurities, it might be more appropriate to consider the system as charge neutral. In order to achieve
this you should specify the Charge of -1 on the Setup tab, in this way the CASTEP input file will have a
zero charge. It is also possible to edit the seedname.param file to specify a fractional charge. The
strength of the core hole can be adjusted by editing the seedname.cell file and modifying the
pseudopotential definition string (for example, change {1s1} to {1s0.5} to use a core hole with
the charge of 0.5).
More...: Provides access to the CASTEP Electronic Options dialog, which allows you to set up and display
further details of the electronic Hamiltonian.
Access methods
Basis tab
The Basis tab provides access to basis set information, including the plane-wave energy cutoff, FFT grid
specification and finite basis set correction.
Use custom energy cutoff: When checked, a custom value for the energy cutoff can be specified in the
adjacent text box. Otherwise the text box displays the energy cutoff appropriate for the Energy cutoff
quality parameter on selected on the Electronic tab.
Density: Specify the quality of the FFT grid. Three options are available:
Standard
Fine
Precise
The FFT grid parameters are chosen such that they provide a good representation of the electron
density. At the Precise level, an exact representation of the density is provided for the given energy-
cutoff. At the Standard and Fine levels, a reduced FFT grid is used to speed up the calculation. Some
aliasing will occur as a result but the effect on the SCF solution is usually small. The FFT grid parameters
that will be used in the CASTEP calculation are displayed as derived using the current energy-cutoff and
unit cell parameters.
Augmentation density scaling factor: Specify a finer grid for representation of the augmentation charge
density in the atomic core region. By default the same grid is used as for the standard electron density; it
is reasonable in some cases to increase the augmentation grid by a factor of up to 4 in order to improve
the accuracy of calculations. This can be controlled by the Quality setting on the Setup tab of the
CASTEP Calculation dialog.
Apply finite basis set correction: Specify when to use a finite basis set correction in the evaluation of
energy and stress. This can be controlled by the Quality setting on the Setup tab of the CASTEP
Calculation dialog.
This correction gives a volume dependent addition to the energy that may result in a significant
correction to any calculated stress. It is particularly important where an accurate stress or cell geometry
optimization is required. Three settings are available:
Smart - apply the correction only when stress is required. This will include any cell geometry
optimization.
Always - apply the correction to all calculations.
Never - do not apply a correction, even when stress is calculated. Any result for stress or cell
geometry may be unreliable as a result.
Correction mode: Specify how the finite basis set correction should be calculated. The evaluation of the
correction requires an estimate for the derivative of the total energy with respect to the logarithm of the
plane-wave energy cutoff. The options are:
Automatic - the energy derivative will be calculated automatically using numerical differentiation.
Manual - the energy derivative is specified manually.
Numerical differentiation using: Specify the number of energy points to use in evaluating the energy
derivative required for the finite basis set correction. A converged SCF energy will be evaluated at each
point.
Note: This option is enabled only if the Automatic Correction mode is selected.
Energy derivative w.r.t. cutoff: Specify the value of the energy derivative required for the finite basis set
correction.
Note: This option is enabled only if the Manual Correction mode is selected.
Access methods
SCF tab
The SCF tab on the CASTEP Electronic Options dialog provides access to parameters that control the
electronic minimization algorithm.
SCF tolerance: Specify the SCF convergence threshold. This will override the SCF tolerance option
specified on the Electronic tab.
Note: When calculating linear response properties (for example phonons, polarizabilities, NMR
properties), it is important that the SCF convergence threshold is sufficiently strict from the
computational point of view to accurately calculate these properties. When the calculation of linear
response properties is requested, CASTEP will use a convergence threshold of 10-8 eV atom-1, unless
the specified threshold is lower. To force CASTEP to use a less stringent threshold, the ELEC_ENERGY_
TOL parameter should be manually inserted in the input parameters (.param) file for the property
calculation.
Max. SCF cycles: Set the maximum number of SCF iterations allowed for an energy calculation. The
energy calculation will end after the specified number of iterations, even if the SCF has not converged.
Convergence window: The convergence tolerance window for SCF. This is number of SCF iterations in a
row for which convergence criteria are fulfilled. This parameter is required in order to avoid occasional
oscillations.
Electronic minimizer: Specify the electronic minimization method to be used for the SCF calculation.
Two options are available, Density Mixing and All Bands/EDFT.
Tip: The Density Mixing option is recommended, particularly for variable occupancy calculations. The
All Bands/EDFT method is usually slower and requires more memory. However, the EDFT scheme is
recommended for metallic systems where converging electronic structure using Density Mixing
option proves problematic.
Charge: Specify the amplitude for charge density mixing (that is, the amplitude of the output charge
density to mix with the input charge density to obtain input for the next iteration).
Note: This option is enabled only if the Density Mixing minimization method is selected.
Spin: Specify the amplitude for spin density mixing, that is, the amplitude of the output spin density to
mix with the input spin density to obtain input for the next iteration.
Note: This option in enabled only for spin-polarized calculations using the Density Mixing
minimization method.
More...: Provides access to the CASTEP Density Mixing Options dialog, where more detailed control over
the Density Mixing electronic minimization method is available.
Note: This option is enabled only if the Density Mixing minimization method is selected.
Fix occupancy: When checked, the electronic occupation numbers will be fixed during electronic
minimization. Only the lowest, occupied states will be included in the calculation. Default = checked.
More...: Provides access to the CASTEP Occupancy Options dialog, where more detailed control over the
occupancies is available.
Apply dipole corrections: Select the type of dipole corrections to apply from the dropdown list.
Available options are:
None (default)
Non self-consistent
Self-consistent
Self-consistent is the most accurate option, as this affects the electrostatic potential as well as the total
energy and its gradients. This is the only option that is suitable to investigate the effect of dipole
corrections, for example on surface workfunctions.
Tip: It is recommended to use the All Bands/EDFT electronic minimization scheme when applying a
self-consistent dipole correction to an elongated cell of a slab representing a metal surface; the
Density mixing minimization scheme may fail to converge for such systems.
Non self-consistent is recommended for cases where it is hard to converge the SCF with Apply dipole
corrections set. This option can only be used for Energy calculations and is not compatible with phonon
calculations.
Note: Dipole corrections will be applied only if the system is either molecule in the box or a periodic
slab with the vacuum layer of at least 8 Å.
Note: If dipole corrections are to be applied the symmetry of the system will be converted to P1 to
bring the molecule (or slab) into the center of the unit cell.
Access methods
Linear - the input density and the output density are mixed in a simple linear combination.
Kerker - the input density and output density are mixed using a reduced mixing factor for the long
length scale Fourier coefficients of the density.
Pulay (default) - the output density is mixed with densities from a number of previous iterations,
using the RMM-DIIS method, leading to more rapid convergence.
Broyden - the output density is mixed with densities from a number of previous iterations, using the
quasi-Newton relaxation method. The overall convergence is similar to that of Pulay mixing.
The Pulay or Broyden method is recommended. The Linear method is not usually suitable for large
systems.
Charge mixing amplitude: Specify the amplitude of the output charge density to mix with the input
charge density to obtain input for the next iteration.
Charge mixing cutoff: Specify the length scale used. Charge mixing is reduced for Fourier coefficients at
reciprocal lattice vectors less than about this value.
Note: This option is enabled only if the Kerker, Broyden, or Pulay density mixing method is selected.
DIIS history list: Specify the number of previous iterations to be considered in the DIIS for the Pulay or
Broyden density mixing method.
Note: This option is enabled only if the Pulay or Broyden density mixing method is selected.
Spin mixing amplitude: Specify the amplitude of the output spin density to mix with the input spin
density to obtain input for the next iteration.
Note: This option is enabled only for spin-polarized calculations.
Spin mixing cutoff: Specify the length scale used. Spin mixing is reduced for Fourier coefficients at
reciprocal lattice vectors less than about this value.
Note: This option is enabled only for spin-polarized calculations using the Kerker, Broyden, or Pulay
density mixing methods.
Help: Displays the Help topic in a browser.
Access methods
Note: The spin will be fixed throughout the calculation (including possible steps of geometry
optimization) if the checkbox is unchecked.
Tip: In spin-polarized systems there may be more than one stable SCF solution with different total
spin values. By setting the initial spin on the Setup tab and by fixing the total spin value for a number
of SCF iterations, it is possible to exert some control over which solution is found.
Help: Displays the Help topic in a browser.
Access methods
k-points tab
The k-points tab provides access to more detailed options for controlling the k-point set used in CASTEP
calculations.
The Monkhorst-Pack k-point grid to be used in the calculation can be specified in several ways. For cubic
cells and for the C direction of hexagonal cells the even and odd grids for the Monkhorst-Pack scheme
give the same number of k-points. However, the even grid provides better sampling and will always be
used automatically under these conditions. This ensures that a good grid with k-point separation at (or
less than) the specified target can be achieved more economically. As a consequence, such lattices may
have much finer separations than requested as odd grids have been excluded - even though they would
have been closer to the specified separation - and the better even grids have been taken in preference.
Gamma point only: When selected, indicates that a single k-point at (0,0,0) will be used for the density
of states calculation.
Quality: When selected, indicates that the k-point grid will be generated using a k-point separation
appropriate to the specified quality level. Select the desired quality level from the dropdown list.
Available options are:
Coarse
Medium
Fine
The k-point separations associated with the three Quality settings depend on whether the Metal
checkbox on the Setup tab is checked and are as follows:
Separation: When selected, indicates that the k-point grid will be generated according to the specified k-
point separation. Specify the k-point separation, in Å-1, in the associated text box.
Note: When the Separation option is selected, the Monkhorst-Pack parameters are derived to give
the specified separation between neighboring grid points.
Custom grid parameters: When selected, indicates that the k-point grid will be generated using the
Monkhorst-Pack grid parameters and the origin shift in fractional reciprocal space coordinates specified
in the Grid parameters and Origin shift text boxes, respectively.
Grid parameters: Specify the Monkhorst-Pack grid parameters in each of the lattice directions.
Actual spacing: Displays the k-point separation, in Å-1, resulting from the currently specified
Monkhorst-Pack grid parameters in each of the lattice directions.
Origin shift: Specify the offset of the Monkhorst-Pack grid in fractional reciprocal space coordinates.
Note: The Grid parameters and Origin shift controls are enabled only if the Custom grid parameters
option is selected.
Display points...: Displays the number and fractional coordinates of the reciprocal space mesh points
that would be generated using the currently specified parameters.
Note: The actual set of k-points that will be used in the calculations may be altered if the symmetry of
the system changes or DFT+U calculation is requested.
Access methods
Potentials tab
The Potentials tab allows you to control which pseudopotentials will be used for each element in the
structure.
Scheme: Select the type of pseudopotential to be used. Two different types of pseudopotentials are
available, ultrasoft and norm-conserving; both of them are available as either generated on the fly
(OTFG) potentials or as tabulated potentials. OTFG potentials are generally preferred for the reasons of
accuracy, consistency, and finally these are required for NMR calculations:
OTFG ultrasoft (default) - the preferred option, ultrasoft pseudopotentials allow calculations to be
performed with lower energy cutoffs. On-the-fly generation produces potentials that are consistent
between solid state and pseudo-atom calculations since they use the same exchange-correlation
functional throughout. The set of OTFG ultrasoft pseudopotentials introduced in Materials Studio
8.0 provides results in close agreement with all electron calculations and is very accurate for
describing ground state structures.
OTFG norm conserving - typically harder and therefore more computationally expensive than
ultrasoft pseudopotentials. Norm-conserving potentials are currently required for linear response-
based calculations of phonon properties and of polarizabilities and for calculations with nonlocal
exchange-correlation functionals (for example, screened exchange).
Ultrasoft - tabulated ultrasoft pseudopotentials, provided for compatibility with earlier versions of
Materials Studio.
Norm conserving - tabulated norm-conserving pseudopotentials, provided for compatibility with
earlier versions of Materials Studio.
Note: The latest set of OTFG settings for ultrasoft pseudopotentials has been developed in order to
minimize the error with respect to fully converged all-electron DFT calculations. The error achieved by
this set is 0.4 meV/atom, which puts CASTEP among the most accurate pseudopotential codes
available. A full definition of the test framework and the meaning of the error is given by Lejaeghere et
al. (2014), and on the website of the Delta project: http://molmod.ugent.be/deltacodesdft. The files
that correspond to this set have the _2017R2 suffix . This is the recommended set of OTFG ultrasoft
potentials. Files with the _2017R2ncp suffix are recommended when norm-conserving potentials
are required (this set has a 1.1 meV/atom error in the Delta project tests). In addition, a set of "high
throughput" ultrasoft OTFG settings is available for scripting; this QC5 set generally requires lower
cutoff energy and offers faster but less accurate calculations (1.9 meV/atom error in the Delta project
tests).
Note: It is not recommended to use PW91 exchange-correlation functional when requesting on the
fly generation of pseudopotentials; PBE, RPBE, WC, BLYP, or PBESOL are better options when a GGA
functional is required.
Note: When you specify the type of pseudopotential to be used in this way, the default
pseudopotential of that type for each element will be used in the calculation.
Representation: Choose between Reciprocal space and Real space representations of the
pseudopotentials.
Tip: The real space representation may give a performance advantage for large systems.
More...: Provides access to the CASTEP Real Space Potentials dialog, which allows you to specify details
of the transformation of pseudopotentials to a real space representation.
Note: This button is enabled only if Real space is selected from the Representation dropdown list.
Selected potentials: Displays information about the selected pseudopotentials for each element in a
grid.
There is a row in the grid for each element. The element type, current pseudopotential, energy, and
valence (Z) are displayed. To select a different pseudopotential for a particular element, click in the
appropriate pseudopotential grid cell and choose a new pseudopotential from the dropdown list.
If changes are made to the default pseudopotentials, the Scheme displayed is Custom.
Show potentials for all elements: When checked, the Selected potentials list will display information
about all elements in the periodic table for which pseudopotentials are available. Otherwise, only
elements present in the current structure are displayed in the list. Default = unchecked.
View: Displays a modal view on the selected pseudopotential file.
External Potential
Electric field: Specify the external electric field strength, in eV/Å/e.
Field direction (X Y Z): Vector specifying the direction of the electric field.
Note: Only systems that contain molecules or slabs are appropriate for electric field calculations.
For slabs, the field must be along the surface normal. In both cases atoms should be positioned in the
middle of the cell and the symmetry must be P1.
Note: The field direction is specified in Cartesian coordinates. The values of the X, Y, and Z direction
components of the electric field are interrelated. The three field components are used to define a unit
vector. When a job is launched the direction components are normalized to give a unit vector which
is then multiplied by the field magnitude to give the actual field components. Entering a vector with
all zero components has the same effect as entering a (111) vector.
Access methods
Note: The real space core radius determines the radius of real space integration to be used in the
calculation. It should be larger than the core radius used in pseudopotential generation, normally by
a factor of 1.5 to 2.0, so as to overcome the aliasing problems inherent in the real space integration
method.
Reset all core radii to defaults: Sets all core radii to the default values.
Use custom energy cutoff for transformation: When checked, a value may be specified for the energy
cutoff used in the transformation to the real space form of pseudopotentials. Otherwise a value will be
calculated automatically based on the plane-wave energy cutoff to be used in the calculation. Default =
unchecked.
Impose tolerance: When checked, the real space pseudopotential transformation will be tested to
ensure it is of the quality specified in the dropdown list. Default = checked.
If the transformation is not of the requested quality, then the CASTEP calculation will not proceed. This
should ensure that the results obtained from a real space pseudopotential calculation accurately
reproduce those of a similar calculation using reciprocal space pseudopotentials.
Note: If this option in unchecked, the CASTEP calculation will be performed regardless of the quality
of the real space pseudopotential transformation.
Help: Displays the Help topic in a browser.
Access methods
DFT-D tab
The DFT-D tab allows you to set up customized parameters for van der Waals dispersion corrections.
This can involve the definition of DFT-D corrections for exchange functionals that are not usually
supported, the definition of support for additional elements, or changing existing parameters.
Use custom DFT-D parameters: Specify whether to use custom DFT-D parameters. When this checkbox
is checked, select the van der Waals scheme to use from the dropdown list, options are:
TS (default)
Grimme
OBS
MBD*
Note: The option selected will automatically update the Use method for DFT-D correction setting on
the Setup tab of the CASTEP Calculation dialog.
Note: The schemes that rely on calculated electron densities, namely TS and MBD*, may not work
well in calculations with small unit cells, where the diameter of van der Waals spheres is comparable
to the lattice parameters. The MBD* scheme is particularly sensitive to such situations. In such cases,
the CASTEP output file contains a warning explaining the problem. The MBD* scheme can also fail if
the geometry is far from equilibrium, in which case it is useful to perform a preliminary geometry
optimization with the TS scheme. The main area of application of the MBD* scheme is molecular
crystals, so it may experience problems with highly ionic systems.
Atomic parameters
This table allows you to edit the dispersion correction parameters for each of the atomic species. The
type and number of parameters depend on the DFT-D scheme selected, please refer to the original
literature for the meaning and usage of each parameter.
The units for all parameters are in eV for energies and in Å for lengths. The available columns are:
Atom: Denotes the element to be edited.
C6 (eV Å6): Available for TS, MBD*, and Grimme schemes.
R0 (Å): Available for TS, MBD*, and Grimme schemes.
Note: Each scheme includes a radius (R0 for TS and Grimme, Rvdw for OBS) that must be non-zero for
each of the active elements.
Scheme parameters
Scheme parameters are dimensionless numbers that define the functional form of each scheme.
Please refer to the original literature to for the meaning and usage of each parameter.
Depending on the van der Waals scheme selected for the custom DFT-D parameters setting, the Scheme
parameters that can be specified are:
TS: sR, d
Grimme: s6, d
OBS: lambda, n
MBD*: sR
Note: The default values for these parameters depend on the exchange correlation functional
selected on the Setup tab of the CASTEP Calculation dialog.
Note: Both scheme parameters must be non-zero for the calculations to start and for input files to be
written.
Reset All: Restores the default settings for each element in the grid.
Access methods
Properties tab
The Properties tab allows you to select the properties that will be computed as part of a CASTEP
calculation.
Choose the properties you wish to compute by checking the appropriate checkboxes in the list. Once
you select a properties checkbox, additional options may be displayed below the list.
Access methods
Separation: Specify the approximate separation between k-points in Å-1. The default depends on the
selected k-point set.
More...: Provides access to the CASTEP Band Structure Options dialog, which allows you to set
additional parameters, including the reciprocal space path.
Access methods
Note: There is an important difference between standard DFT calculations with local exchange-
correlation potentials and the nonlocal exchange case. The potential used in the latter scenario
depends on the SCF k-points, while in the former case, the potential depends only on electron
density. This difference can make all properties calculations a lot more expensive in terms of memory
usage and CPU time, so it is advisable to limit the number of SCF k-points that you use in such
situations. This is particularly relevant for small unit cells, where the default settings may generate a
very large k-point set.
Functional: Select the type of exchange-correlation potential to be used in the band structure
calculation.
Choose the type of functional from the first dropdown list. Available options are:
LDA
GGA
HF
HF-LDA
sX
sX-LDA
PBE0
B3LYP
HSE03
HSE06
Then, if appropriate, select the specific functional from the second dropdown list. Depending on the
functional type selected from the first dropdown list, some of the following options may be available:
CA-PZ
PBE
RPBE
PW91
WC
PBESOL
BLYP
Note: This option is enabled only when Use separate XC functional for band structure calculation is
checked.
Band energy tolerance: Specify the convergence criterion for electronic eigenvalues during the band
structure calculation. The calculation will stop when all electronic eigenvalues change by less than this
value over a single iteration of the electronic structure.
Note: More information about the symmetry labels used in the Band Structure Options dialog can be
found in Bradley and Cracknell (1972).
Path...: Provides access to the Brillouin Zone Path dialog, which allows you to specify a custom
reciprocal space path.
Help: Displays the Help topic in a browser.
Access methods
More...: Provides access to the CASTEP Core Level Spectroscopy Options dialog, which allows you to set
additional parameters, including the k-point set specification.
Access methods
Separation: When selected, indicates that the k-point grid will be generated according to the specified k-
point separation. Specify the k-point separation, in Å-1, in the associated text box.
Note: When the Separation option is selected, the Monkhorst-Pack parameters are derived to give
the specified separation between neighboring grid points.
Custom grid parameters: When selected, indicates that the k-point grid will be generated using the
Monkhorst-Pack grid parameters and the origin shift in fractional reciprocal space coordinates specified
in the Grid parameters and Origin shift text boxes, respectively.
Grid parameters: Specify the Monkhorst-Pack grid parameters in each of the lattice directions.
Actual spacing: Displays the k-point separation, in Å-1, resulting from the currently specified
Monkhorst-Pack grid parameters in each of the lattice directions.
Origin shift: Specify the offset of the Monkhorst-Pack grid in fractional reciprocal space coordinates.
Note: The Grid parameters and Origin shift controls are enabled only if the Custom grid parameters
option is selected.
Display points...: Displays the number and fractional coordinates of the reciprocal space mesh points
that would be generated using the currently specified parameters.
Note: The actual set of k-points that will be used in the calculations may be altered if the symmetry of
the system changes.
Band energy tolerance: Specify the convergence criterion in eV for electronic eigenvalues during the
core level spectroscopy calculation. The calculation will stop when all electronic eigenvalues change by
less than this value over a single iteration of the electronic structure.
Help: Displays the Help topic in a browser.
Access methods
Access methods
Separation: When selected, indicates that the k-point grid will be generated according to the specified k-
point separation. Specify the k-point separation, in Å-1, in the associated text box.
Note: When the Separation option is selected, the Monkhorst-Pack parameters are derived to give
the specified separation between neighboring grid points.
Custom grid parameters: When selected, indicates that the k-point grid will be generated using the
Monkhorst-Pack grid parameters and the origin shift in fractional reciprocal space coordinates specified
in the Grid parameters and Origin shift text boxes, respectively.
Grid parameters: Specify the Monkhorst-Pack grid parameters in each of the lattice directions.
Actual spacing: Displays the k-point separation, in Å-1, resulting from the currently specified
Monkhorst-Pack grid parameters in each of the lattice directions.
Origin shift: Specify the offset of the Monkhorst-Pack grid in fractional reciprocal space coordinates.
Note: The Grid parameters and Origin shift controls are enabled only if the Custom grid parameters
option is selected.
Display points...: Displays the number and fractional coordinates of the reciprocal space mesh points
that would be generated using the currently specified parameters.
Note: The actual set of k-points that will be used in the calculations may be altered if the symmetry of
the system changes.
Use separate XC functional for DOS calculation: When checked, indicates that a different exchange-
correlation functional will be used for the density of states calculation from the one used in the self-
consistent calculation.
Tip: This feature is particularly useful for carrying out expensive screened exchange calculations:
perform the main run with the LDA or GGA functional, then invoke screened or exact exchange in non-
self-consistent mode during the density of states calculation.
Note: There is an important difference between standard DFT calculations with local exchange-
correlation potentials and the non-local exchange case. The potential used in the latter scenario
depends on the SCF k-points, while in the former case, the potential depends only on electron
density. This difference can make all properties calculations a lot more expensive in terms of memory
usage and CPU time, so it is advisable to limit the number of SCF k-points that you use in such
situations. This is particularly relevant for small unit cells, where the default settings may generate a
very large k-point set.
Functional: Select the type of DFT exchange-correlation potential to be used in the density of states
calculation.
Choose the type of functional from the first dropdown list. Available options are:
LDA
GGA
HF
HF-LDA
sX
sX-LDA
PBE0
B3LYP
HSE03
HSE06
Then, if appropriate, select the specific functional from the second dropdown list. Depending on the
functional type selected from the first dropdown list, some of the following options may be available:
CA-PZ
PBE
RPBE
PW91
WC
PBESOL
BLYP
Note: The Functional control is enabled only if the Use separate XC functional for DOS calculation
checkbox is checked.
Band energy tolerance: Specify the convergence criterion, in eV, for electronic eigenvalues during the
density of states calculation. The calculation will stop when all electronic eigenvalues change by less than
this value over a single iteration of the electronic structure.
Help: Displays the Help topic in a browser.
Access methods
Tip: When only one set with the correct name is present in the structure, Materials Studio assumes
that the rest of the atoms should be treated as a second set. Thus, in the case of a molecule-surface
interaction, it is sufficient to create a single set that comprises all the atoms in the molecule.
Atomic densities: When selected, indicates that only the density difference with respect to the sum of
atomic densities will be calculated.
Sets of atoms: When selected, indicates that only the density difference with respect to the sum of the
densities of sets of atoms will be calculated.
Both atomic densities and sets of atoms: When selected, indicates that both kinds of density
difference will be calculated.
Access methods
Access methods
NMR selection
Checking the NMR checkbox on the Properties tab displays options for calculating shielding tensors and
electric field gradients.
Note: NMR in CASTEP is part of the separately licensed module NMR CASTEP. NMR calculations can
only be performed if you have purchased this module.
Shielding: Determines the chemical shielding tensor for each atom in the system.
Note: The shielding tensor is ill-defined for spin-polarized calculations. NMR calculations are allowed
wth a spin-polarized setting for a paramagnetic system, but you should check that the final electronic
state is indeed paramagnetic. Similarly, such calculations are not recommended for metallic systems
without a band gap; however, it is legitimate to use variable orbital occupancies and metallic settings
while modeling an insulator.
EFG: Determines the electric field gradients for each atom in the system.
J-coupling: Determines the J-coupling between the selected atom(s) and all other atoms in the system.
At least one atom must be selected in the input 3D Atomistic document.
Note: J-coupling can be calculated only for non-magnetic systems. The Relativistic treatment of the
OTFG pseudopotentials (on the Electronic tab of the CASTEP Calculation dialog) must be set to either
Schroedinger for non-relativistic treatment or ZORA for scalar-relativistic effects to be taken into
account. J-coupling calculations are supported only for systems with P1 symmetry. If your crystal has
symmetry other than P1, you will be prompted to convert the crystal symmetry to P1 before you can
continue.
G-tensor: Calculates the change in the EPR g-tensor for a molecule in a box or a defect in a crystal, as well
as the tensor of hyperfine parameters.
Note: The g-tensor and hyperfine parameters can only be calculated with spin-polarization turned on
and for systems with P1 symmetry. If your crystal has symmetry other than P1, you will be prompted
to convert the crystal symmetry to P1 before you continue.
System type: Specify the type of system used in the calculation. Options are:
Crystal
Molecule
Auto - CASTEP will assess the system and treat it as a crystal or molecule as appropriate
Note: Calculations in the Molecule mode can only be performed for systems with P1 symmetry. If
your crystal representing molecule in the box has symmetry other than P1, you will be prompted to
convert the crystal symmetry to P1 before you can continue.
More...: Provides access to the CASTEP NMR Options dialog, which allows you to specify the nuclear
quadrupolar moment for each element.
Note: Calculation of the NMR parameters requires higher accuracy for the wavefunctions than total
energy or geometry optimization calculations. This affects how you choose the Energy cutoff quality
parameter on the Electronic tab, even choosing Ultra-fine may not be sufficient to obtain high quality
NMR parameters. Therefore, it is advisable to study the convergence of the results as the Energy
cutoff parameter is increased. Generally, setting the cutoff to between 270 and 400 eV should
produce convergence of the shielding constant to about 1 ppm, but in some cases, the cutoff has to
be increased up to 550 eV.
Access methods
suggestion based on the most typical isotope used in solid state NMR experiments. The value of Q
affects only the quadrupolar coupling constant, CQ, calculated and printed out by CASTEP. If you find
that the wrong value of Q was used you can rescale the generated CQ constant using a different Q value.
The list of default values is based on the compilation by Pyykkö (2008).
Note: CASTEP versions before Materials Studio 5.0 used an older compilation by Harris (1996), so
some results for quadrupolar coupling constants may have changed in later versions.
Note: NMR in CASTEP is part of the separately licensed module NMR CASTEP. NMR calculations can
only be performed if you have purchased this module.
Q moment: Specify the nuclear quadrupolar moment of the element displayed. Change the element
type using the dropdown list.
Tip: To reset the nuclear quadrupolar moment for the displayed element to the default value, enter 0
for the Q moment.
Reset all Q values to defaults: Sets all nuclear quadrupolar moments for all elements to the default
values.
Help: Displays the Help topic in a browser.
Separation: When selected, indicates that the k-point grid will be generated according to the specified k-
point separation. Specify the k-point separation, in Å-1, in the associated text box.
Note: When the Separation option is selected, the Monkhorst-Pack parameters are derived to give
the specified separation between neighboring grid points.
Custom grid parameters: When selected, indicates that the k-point grid will be generated using the
Monkhorst-Pack grid parameters and the origin shift in fractional reciprocal space coordinates specified
in the Grid parameters and Origin shift text boxes, respectively.
Grid parameters: Specify the Monkhorst-Pack grid parameters in each of the lattice directions.
Actual spacing: Displays the k-point separation, in Å-1, resulting from the currently specified
Monkhorst-Pack grid parameters in each of the lattice directions.
Origin shift: Specify the offset of the Monkhorst-Pack grid in fractional reciprocal space coordinates.
Note: The Grid parameters and Origin shift controls are enabled only if the Custom grid parameters
option is selected.
Display points...: Displays the number and fractional coordinates of the reciprocal space mesh points
that would be generated using the currently specified parameters.
Note: The actual set of k-points that will be used in the calculations may be altered if the symmetry of
the system changes.
Use separate XC functional for optics calculation: When checked, indicates that a different exchange-
correlation functional will be used for the optical properties calculation from the one used in the self-
consistent calculation.
Tip: This feature is particularly useful for carrying out expensive, screened exchange calculations.
Perform the main run with the LDA or GGA functional, then invoke screened or exact exchange in non
self-consistent mode during the band structure calculation.
Note: There is an important difference between standard DFT calculations with local exchange-
correlation potentials and the non-local exchange case. The potential used in the latter scenario
depends on the SCF k-points, while in the former case, the potential depends only on electron
density. This difference can make all properties calculations a lot more expensive in terms of memory
usage and CPU time, so it is advisable to limit the number of SCF k-points that you use in such
situations. This is particularly relevant for small unit cells, where the default settings may generate a
very large k-point set.
Functional: Select the type of DFT exchange-correlation potential to be used in the optical properties
calculation.
Choose the type of functional from the first dropdown list. Available options are:
LDA
GGA
HF
HF-LDA
sX
sX-LDA
PBE0
B3LYP
HSE03
HSE06
Then, if appropriate, select the specific functional from the second dropdown list. Depending on the
functional type selected from the first dropdown list, some of the following options may be available:
CA-PZ
PBE
RPBE
PW91
WC
PBESOL
BLYP
Note: The Functional control is enabled only if the Use separate XC functional for optics calculation
checkbox is checked.
Band energy tolerance: Specify the convergence criterion, in eV, for electronic eigenvalues during the
optical properties calculation. The calculation will stop when all electronic eigenvalues change by less
than this value over a single iteration of the electronic structure.
Help: Displays the Help topic in a browser.
Access methods
Orbitals selection
Checking the Orbitals checkbox on the Properties tab causes the orbitals (wavefunctions) to be
calculated as part of the CASTEP run.
Note: Orbitals are required to calculate the STM profile.
Access methods
Phonons selection
Checking the Phonons checkbox on the Properties tab displays options for calculating phonon
properties.
Density of states: When checked, indicates that the phonon density of states will be computed as part
of the CASTEP run.
Dispersion: When checked, indicates that the phonon dispersion will be computed as part of the
CASTEP run.
Both: When selected both the phonon density of states and dispersion will be calculated during the
CASTEP run.
Calculate LO-TO splitting: When checked, indicates that a non-analytical correction to the dynamical
matrix will be applied. The LO-TO phonon frequency splitting at the Γ-point will be calculated along the
directions connecting the Γ-point with the neighboring points along the reciprocal space path. Default =
checked.
Method: Select the technique to be used to calculate phonon frequencies from the dropdown list.
Available options are:
Linear response
Finite displacement
Finite displacement phonons are available only at the commensurate q-points (at the cost of creating a
supercell). However, in this case, the phonon frequencies can be obtained with no limitations on the
settings or the physical properties of the system. The finite displacement technique can be used for
metals, ultrasoft potentials, spin-polarized systems, and so on.
Note: If LO-TO splitting is requested, then the restrictions on the system type and settings (insulator,
norm-conserving potentials, non-spin-polarized calculation) are the same for both the linear response
and finite displacement techniques.
More...: Provides access to the CASTEP Phonon Properties Setup dialog, which allows you to set
additional parameters affecting a phonon calculation, including the convergence tolerance.
Access methods
Linear response
Use interpolation: When checked, indicates that the real space dynamical matrix will be calculated using
the Monkhorst-Pack mesh defined by the separation parameter.
q-vector grid spacing for interpolation: Specify the q-point separation parameter, in Å-1, which
represents the average distance between Monkhorst-Pack mesh q-points used in the real space
dynamical matrix calculations. A smaller separation parameter produces a denser mesh, giving more
accurate results at the expense of longer calculation times.
Note: The q-vector grid spacing for interpolation control is enabled only if the Use interpolation
checkbox is checked.
Convergence tolerance: Specify the convergence criterion, in eV Å-2, for the force constants during a
phonon properties run.
Note: The Convergence tolerance control is enabled only if Linear response is selected from the
Method dropdown list.
Finite displacement
Use: Select the method to calculate the dynamic matrix using finite displacement. Available options are:
Several small supercells - uses the Monkhorst-Pack mesh defined by the separation parameter.
When Method is set to Finite displacement this invokes the nondiagonal supercell approach of
Lloyd-Williams and Monserrat (2015).
One large supercell
q-vector grid spacing for interpolation: Specify the q-point separation parameter, in Å-1. This
represents the average distance between Monkhorst-Pack mesh q-points used in the real space
dynamic matrix calculations. A smaller separation parameter produces a denser mesh, giving more
accurate results at the expense of longer calculation times.
Note: The q-vector grid spacing for interpolation control is enabled only if Several small supercells is
selected.
Supercell defined by cutoff radius: Specify the real space cutoff radius, in Å, for dynamical matrix
calculations. This value will be used to construct an appropriate supercell. A larger cutoff radius
produces more accurate results at the expense of longer calculation times.
If the cutoff radius specified creates a large supercell, its size is reported as a factor of the size of the
current cell, indicating that the calculation may be computationally expensive. If the cutoff radius is
reasonable, it is confirmed that the original cell is large enough. For non-3D periodic systems a reminder
that a supercell cannot be constructed is displayed.
Note: The Supercell defined by cutoff radius control is enabled only if One large supercell is selected.
Dispersion
Quality: Set the quality of the q-vector set for the phonon dispersion calculation. The quality level
affects the approximate separation between consecutive q-vectors on the reciprocal space path.
Available options and the corresponding q-vector separations are:
Separation: Specify the approximate separation between q-vectors in Å-1. The default depends on the
selected Quality of the q-vector.
Path...: Provides access to the Brillouin Zone Path dialog, which allows you to specify a custom
reciprocal space path.
Density of states
Quality: Set the quality of the q-vector set for the phonon density of states calculation. The quality level
affects the separation between neighboring q-vectors in the Monkhorst-Pack grid. Available options and
the corresponding q-vector separations are:
Note: For Linear response calculations, if Gamma point is selected and the Use interpolation
checkbox is checked frequencies will be calculated using interpolation method. This involves
calculations of phonon frequencies at multiple q-vectors in the Brillouin zone and is therefore an
expensive way of generating Gamma point phonons. Such calculations can be justified only as a way
of testing the accuracy of interpolation scheme (directly calculated frequencies are more accurate). To
run calculations only at the Gamma point you should uncheck the Use interpolation checkbox.
More...: Provides access to the CASTEP Phonon Density of States Options dialog, which allows you to
specify the q-vector set.
Help: Displays the Help topic in a browser.
Access methods
Separation: When selected, indicates that the q-vector grid will be generated according to the specified
q-vector separation. Specify the q-vector separation, in Å-1, in the associated text box.
Note: When the Separation option is selected, the Monkhorst-Pack parameters are derived so as to
produce the specified separation between neighboring grid points.
Custom grid parameters: When selected, indicates that the q-vector grid will be generated using the
Monkhorst-Pack grid parameters and the origin shift in fractional reciprocal space coordinates specified
in the Grid parameters and Origin shift text boxes, respectively.
Grid parameters: Specify the Monkhorst-Pack grid parameters in each of the lattice directions.
Actual spacing: Displays the k-point separation, in Å-1, resulting from the currently specified
Monkhorst-Pack grid parameters in each of the lattice directions.
Origin shift: Specify the offset of the Monkhorst-Pack grid in fractional reciprocal space coordinates.
Note: The Grid parameters and Origin shift controls are enabled only if the Custom grid parameters
option is selected.
Display points...: Displays, in a new window, the number and fractional coordinates of the reciprocal
space mesh points that would be generated using the currently specified parameters.
Note: The actual set of q-vectors that will be used in the calculation may be altered if the symmetry of
the system changes.
Help: Displays the Help topic in a browser.
Access methods
Access methods
Stress selection
Checking the Stress checkbox on the Properties tab causes the stress tensor to be calculated as part of
the CASTEP run.
Access methods
Using up to: Specify the maximum number of threads allowed to be used by each MPI process. If the
number of threads is greater than 1, the hybrid OpenMP/MPI parallelization will be invoked. The actual
number of threads in use will depend on the details of the hardware configuration and the queuing
system setup. For example, under with some queuing systems you can set up the gateway to guarantee
exclusive use of nodes when number of threads is greater than 1.
Note: This functionality is available only on Linux gateways. To ensure it works as expected when a
gateway is using a queuing system, check that the queuing system is set up consistently. See Working
with queues for additional details.
Note: Hybrid OpenMP/MPI parallelization can substantially decrease the amount of memory
required for a job (though it could somewhat decrease speed).
Runtime optimization: Specify the strategy used to balance memory use and speed during the
calculation. Available options are:
Default - Balance speed and memory use. Wavefunction coefficients for all k-points in a calculation
will be kept in memory during, rather than be paged to disk. Some large work arrays will be paged to
disk.
Memory - Minimize memory use. All wavefunctions and large work arrays are paged to disk.
Speed - Maximize speed. No paging to disk.
Note: This option does not apply to calculations using the nonlocal exchange correlation potential. In
this case paging does not save any memory and Speed optimization is enforced.
More...: Provides access to the CASTEP Job Control Options dialog which allows you to set additional
options associated with monitoring and controlling the results of a CASTEP calculation.
Access methods
Note: The rate at which new results appear is limited by the time it takes for the CASTEP server to
perform a single iteration step of the chosen task. This may be significantly longer than the chosen
update interval.
Retain server files: When checked, indicates that the folder on the server containing the job files will be
retained after the job is complete. Default = unchecked.
If this checkbox is left unchecked, the job files on the server will be deleted. Regardless of whether it is
checked or unchecked, copies of the results files will always be retrieved from the server, placed in the
associated project on the local machine, and displayed in the Project Explorer.
Tip: It may be useful to retain the server files so that standalone CASTEP runs can performed.
Automatically view output: When checked, the output files from the job will be opened automatically
when the calculation is completed. Files opened may include a structure document and a CASTEP
output (.castep) file for the main task performed by the job. Default = checked.
Notify on job completion: When checked, indicates that a dialog will be displayed when the job is
complete. Default = checked.
Tip: If you run several short jobs in one session, you may find it useful to stop the automatic display
of job completion notices and results files.
Return BibTeX list of references: When checked, indicates that a BibTeX formatted list of references
used for this run will be returned when the job has completed.
Return complete check file: When checked, indicates that the full check file will be returned when the
job has completes. Availability of this file (which can be very large) can accelerate the restart of a job.
Note: This option does not apply to calculations using the nonlocal exchange correlation potential. In
this case the check file is always returned so that restarts are enabled.
Help: Displays the Help topic in a browser.
Access methods
The input files are placed in a subfolder of the current Materials Studio project directory and the primary
CASTEP input (.param) file is displayed in the Project Explorer.
Run Files: Runs a CASTEP job using an existing set of input files.
Note: The Run Files button is enabled only when the current document is a CASTEP input (.param)
file.
The job is submitted using the settings specified on the Job Control tab.
The results files will be placed in a subfolder of the current Materials Studio project directory.
When band structure, density of states or optical properties are requested, additional input files will be
produced for each property. This is because these properties must each be calculated using a separate
run of the CASTEP server. These additional input files are named according to the property they are
intended to calculate.
In such situations, selecting the input file for the main task and pressing the Run Files button runs all of
the input files in a single job.
Help: Displays the Help topic in a browser.
Access methods
Scissors: Specify the scissors operator to be used in plotting the band structure.
The scissors operator is only applied for insulating systems, which have a clear separation between
valence band and conduction band states. It is ignored for metallic systems.
Graph style: Specify the style to be used for the band structure graph. Available options are:
Points
Line
Show DOS: When checked, indicates that a density of states from the specified results file will be
displayed, together with the band structure graph.
Full DOS: When selected, indicates that the total density of states will be displayed.
Partial: When selected, indicates that the partial density of states (PDOS) will be displayed.
The angular momenta to be included in the PDOS display can be controlled using the s, p, d, f, and Sum
checkboxes.
Note: When the appropriate structure document is active and atoms are selected, the contribution
to the density of states from the selected atoms will be plotted. Otherwise, the contribution from all
atoms is considered.
Display DOS: Specify which spin components should be plotted in the density of states graph. For a
spin-polarized calculation, the supported options are:
Total - contributions from both spin-up and spin-down eigenstates are summed
Alpha - contributions from spin-up eigenstates only
Beta - contributions from spin-down eigenstates only
Alpha and Beta - contributions from both spin-up and spin-down eigenstates are displayed in a
butterfly plot
Spin - difference between contributions from spin-up and spin-down eigenstates is displayed
Total and Spin
When a non-spin-polarized CASTEP calculation is analyzed, only the Total option is available.
Function: Specify whether to plot the untreated DOS or the integrated density of states (the number of
states).
More...: Provides access to the CASTEP DOS Analysis Options dialog which allows you to specify
parameters controlling the density of states integration method.
Note: The Full, Partial, Display DOS, and More... options are enabled only if Show DOS is checked.
View: Displays the band structure using the options specified.
Note: If you have calculated DOS for a spin polarized system with a non-zero initial spin and the total
spin is not optimized two charts will automatically be displayed, <seedname> Band
Structure Alpha.xcd and <seedname> Band Structure Beta.xcd.
Access methods
Tip: If you included a core hole in your calculation, you can select the relevant atom using the Atom
Selection dialog.
Spectrum: Specify the type of spectrum that will be calculated. If there is a core hole in the shell a *
symbol is included in the spectrum name, for example 1s*[K1]. Available options (with and without core
holes) are:
1s[K1]
2s[L1]
2p[L23]
3s[M1]
3p[M23]
3d[M45]
4s[N1]
4p[N23]
4d[N45]
5s[O1]
5p[O23]
Type: Specify the type of spectrum that will be calculated. Available options are:
Absorption - the predicted absorption spectrum
Emission - the predicted emission spectrum
More...: Opens the CASTEP EELS Analysis Options dialog.
Calculation: Specify the polarization of the incident radiation for the core level spectroscopy calculation.
Polarization: Specify the direction of the polarization of the incident radiation in fractional (lattice)
coordinates. Not available when Unpolarized is selected for Calculation.
Atom Selection...: Opens the Atom Selection dialog.
View: Displays the selected core level spectrum.
A chart document is created using the information contained in the active grid document.
Note: If the requested spectrum is not available, a warning message will be returned explaining the
reasons.
Access methods
eV
Ha
Full DOS: When selected, indicates that the total density of states will be displayed.
Partial: When selected, indicates that the partial density of states (PDOS) will be displayed.
Note: PDOS analysis formalism is not valid for high energy states in the conduction band: PDOS
representation will usually decay to zero at about 20 eV above the Fermi level. This is related to the
fact that expansion of essentially free electron states in terms of a limited number of atomic-like basis
functions is impossible to carry out with any degree of accuracy. Only the valence band and lower
part of the conduction band are meaningful in the PDOS plot.
The angular momenta to be included in the PDOS display can be controlled using the s, p, d, f, and Sum
checkboxes.
Note: When the appropriate structure document is active and atoms are selected, the contribution
to the density of states from the selected atoms will be plotted. Otherwise, the contribution from all
atoms is considered.
Display DOS: Specify which spin components should be plotted in the density of states graph. For a
spin-polarized calculation, the supported options are:
Total - contributions from both spin-up and spin-down eigenstates are summed
Alpha - contributions from spin-up eigenstates only
Beta - contributions from spin-down eigenstates only
Alpha and Beta - contributions from both spin-up and spin-down eigenstates are displayed in a
butterfly plot
Spin - difference between contributions from spin-up and spin-down eigenstates is displayed
Total and Spin
When a non-spin-polarized CASTEP calculation is analyzed, only the Total option is available.
Note: If you have calculated DOS for a spin polarized system with a non-zero initial spin and the total
spin is not optimized only the Total option is available. In this case, two charts will automatically be
displayed, <seedname> DOS Alpha.xcd and <seedname> DOS Beta.xcd.
Function: Specify whether to plot the untreated DOS or the integrated density of states (the number of
states).
Scissors: Specify the scissors operator to be used in plotting the density of states.
The scissors operator is only applied for insulating systems, which have a clear separation between
valence band and conduction band states. It is ignored for metallic systems.
Atom Selection...: Opens the Atom Selection dialog.
More...: Provides access to the CASTEP DOS Analysis Options dialog, which allows you to specify
parameters controlling the density of states integration method.
View: Displays the density of states using the options specified.
Access methods
Access methods
Note: This file is hidden by default. Use the Tools | Folder Options... | View | Show hidden files and
folders option in the Windows File Explorer to access the file.
Import: Imports the selected density field from the CASTEP results file into the current structure
document.
Access methods
Access methods
View isosurface on import: When checked, an isosurface will be created automatically when the ELF
field is imported.
Import: Imports the ELF field from the CASTEP results file into the current structure document.
Access methods
Access methods
IR spectrum selection
The following options are available when IR spectrum is selected from the list of properties.
Results file: Select the CASTEP results file from which the Hessian (dynamical matrix) and ATP tensor
(Born charges) information will be taken. When more than one set of results are available, use the
button to browse the current directory and appropriate subdirectories for results files.
Import Hessian from CASTEP output: Imports the Hessian and ATP tensor data, if present, from the
selected CASTEP results file into the current structure document.
Note: This only is enabled if the currently active document contains a structure for which CASTEP
results for the dynamical matrix at the Γ-point are available.
Once a Hessian has been imported, vibrational mode frequencies and, if ATP tensors were calculated,
absorption intensities can be displayed in the form of a list of values or graphically as a vibrational
spectrum using the Vibrational Analysis tool.
View vibrational analysis: Opens the Vibrational Analysis dialog. This is only enabled when the Hessian
is imported into the current structure document.
Access methods
NMR selection
The following options are available when NMR is selected from the list of properties.
Note: NMR in CASTEP is part of the separately licensed module NMR CASTEP. NMR calculations can
only be performed if you have purchased this module.
Results file: Select the CASTEP results file from which the NMR information will be taken. When more
than one set of results is available, use the button to browse the current directory and appropriate
subdirectories for results files.
Assign isotropic chemical shielding to structure: Adds the NMRShielding property to the atoms for
which NMR shielding data are available.
Assign electric field gradients to structure: Adds the EFGQuadrupolarCoupling and EFGAsymmetry
properties to the atoms for which electric field gradient data are available.
Once added, all three of these properties are accessible in the Properties Explorer and can be used for
labeling.
Show J-coupling constants: Generates and opens a study table reporting the calculated J-coupling
constants. This option is only available when the Results file selector is set to use a seedname_
NMRJC.castep file.
Access methods
Reflectivity
Absorption
Refractive Index - both the real part, n, and imaginary part, k, of the complex optical constant are
displayed.
Dielectric Function - both the real and imaginary parts are displayed.
Conductivity - both the real and imaginary parts are displayed.
Loss Function
Units: Specify the frequency units used for the display of optical properties.
More...: Provides access to the Optics Analysis Options dialog, which allows you to specify any Drude
contribution to the optical properties.
Calculate: Calculates the dielectric function from the optical matrix elements and eigenvalues in the
CASTEP results file.
A grid document is produced containing the calculated dielectric function.
View: Displays the selected optical property as a function of frequency.
Note: This button is enabled only if the current document is a grid document containing a dielectric
function.
A chart document is created using the dielectric function information contained in the active grid
document.
Access methods
Access methods
Orbitals selection
The following options are available when Orbitals is selected from the list of properties.
Results file: Select the CASTEP results file from which the orbitals information will be taken. When more
than one set of results is available, use the button to browse the current directory and appropriate
subdirectories for results files.
Filter: Choose which orbitals are displayed in the table:
Alpha - displays data only for alpha-spin orbitals (spin up)
Beta - displays data only for beta-spin orbitals (spin down)
Note: For non-spin-polarized calculations, this option is not available.
The orbital analysis table, below the Filter dropdown list, lists the eigenvalues and other information
about each orbital. The list starts with the lowest energy orbital. Other information contained in the
table includes:
N - number of the orbital, with 1 corresponding to the lowest energy orbital
s - spin, + for alpha, and - for beta.
Note: In a non-spin-polarized calculation, all orbitals are labeled +.
From - lowest value of the energy of the Nth band at any k-point (in eV)
To - highest value of the energy of the Nth band at any k-point (in eV)
Scissors: Specify the scissors operator to be used in displaying the orbital eigenvalues.
The scissors operator is only applied for insulating systems, which have a clear separation between
valence band and conduction band states. It is ignored for metallic systems.
View isosurface on import: When checked, an isosurface will be created automatically when the orbital
field is imported. The units for the isovalues are e/Å3.
Import: Imports the selected orbital field from the CASTEP results file into the current structure
document.
Access methods
Results file: Select the CASTEP results file from which the phonon dispersion information will be taken.
When more than one set of results is available, use the button to browse the current directory and
appropriate subdirectories for results files.
Units: Specify the frequency units to be used for the phonon dispersion graph. Available options are:
THz
meV
cm-1
Graph style: Specify the style to be used for the band structure graph. Available options are:
Points
Line
Show DOS: When checked, indicates that a phonon density of states from the specified results file will
be displayed, together with the phonon dispersion graph.
Display DOS: Specify the type of the phonon density of states that will be displayed. Available options
are:
Full
Partial
Note: When atoms are selected in the active structure document, the contribution to the phonon
density of states from only the selected atoms will be plotted. Otherwise, the contribution from all
atoms is considered.
More...: Provides access to the CASTEP Phonon DOS Analysis Options dialog which allows you to specify
parameters that control the density of states integration method and DOS normalization scheme.
Note: The DOS display and More options are enabled only if Show DOS is checked.
View: Displays the phonon dispersion using the options specified.
Access methods
Note: When atoms are selected in the active structure document, the contribution to the phonon
density of states from only the selected atoms will be plotted. Otherwise, the contribution from all
atoms is considered.
Units: Specify the frequency units to be used for the phonon dispersion graph. Available options are:
THz
meV
cm-1
More...: Provides access to the CASTEP Phonon DOS Analysis Options dialog which allows you to specify
parameters that control the density of states integration method.
View: Displays the phonon density of states using the options specified.
Access methods
Potentials selection
The following options are available when Potentials is selected from the list of properties.
Results file: Select the CASTEP results file from which the potentials information will be taken. When
more than one set of results is available, use the button to browse the current directory and
appropriate subdirectories for results files.
Note: The local potential cannot be analyzed for calculations with spin-orbit interaction taken into
account.
Potential field: Indicates the type of potential field to be imported. Currently only SCF local potential is
available.
View isosurface on import: When checked, an isosurface will be created automatically when the
potential field is imported.
Import: Imports the selected potential field from the CASTEP results file into the current structure
document. If the structure is a slab with a region of vacuum, a Chart document named <seedname>
Potential Profile.xcd is also displayed containing a plot of the potential averaged in the
planes perpendicular to the surface normal. This chart document also contains the value of work
function calculated as a difference between the potential level in a vacuum and the Fermi energy.
Note: When calculating a work function from a periodic slab model, you should ensure that the self-
consistent dipole correction is activated on the SCF tab of the CASTEP Electronic Options dialog.
Access methods
Note: In some reactions, the transition state may have optical isomers with degeneracy n. These
require the prefactor of the Arrhenius rate to be corrected by a factor n. Materials Studio does not
automatically include this prefactor, users are encouraged to add it to the results study table by
hand.
Calculate: Calculate and display a study table containing rate coefficients for the forward and reverse
reactions.
Note: The prefactor for the modified Arrhenius equation is calculated using T0= 298.15 K as reference
temperature.
Access methods
Access methods
Note: When more than one set of results is available, it is preferable to use output files for DOS
calculation, especially when STM images of empty bands are required.
STM bias: Specify the value of the bias for STM modeling. Positive bias corresponds to the imaging of
empty (conduction) states, negative bias to the imaging of occupied (valence) states.
View isosurface on import: When checked, an isosurface will be created automatically when the STM
profile field is imported.
Import: Imports the selected STM profile field from the CASTEP results file into the current structure
document.
Access methods
Structure selection
The following options are available when Structure is selected from the list of properties.
Results file: Select the CASTEP results file from which the structure information will be taken. When
more than one set of results is available, use the button to browse the current directory and
appropriate subdirectories for results files.
Update structure from CASTEP output: Restores atomic coordinates and cell parameters from the
CASTEP results file.
Note: This button is enabled only if the current document contains a structure for which CASTEP
results are available.
Create trajectory: Creates a trajectory (.xtd) file from the results of a CASTEP Geometry Optimization,
Dynamics or TS Search task.
Note: This button is enabled only if the current document contains a structure for which CASTEP
trajectory results are available.
Access methods
Note: Heat capacity is measured in calories per unit cell per Kelvin. The unit cell can contain several
formula units.
Access methods
Flubacher, P.; Leadbetter, A. J.; Morrison, J. A. "The heat capacity of pure silicon and germanium and
properties of their vibrational frequency spectra", Phil. Mag., 4, 273-294 (1959).
Francis, G. P.; Payne, M. C. "Finite Basis Set Corrections to Total Energy Pseudopotential Calculations",
J. Phys.: Condens. Matter, 2, 4395-4404 (1990).
Frantti, J. et al. "Neutron diffraction studies of Pb(ZrxTi1-x)O3 ceramics", Jpn. J. Appl. Phys., Pt. I, 39,
5697-5703 (2000).
Fuggle, J.C., Inglesfield, J.E. (Eds.) "Unoccupied Electronic States", Springer, Berlin (1992).
Gale, J. D.; Rohl, A. L.; Milman, V.; Warren, M. C. "An ab initio study of the structure and properties of
aluminium hydroxide: gibbsite and bayerite", J. Phys. Chem. B, 105, 10236-10242 (2001).
Gao, S-P.; Pickard, C.J.; Payne, M.C.; Zhu, J.; Yuan, J. "Theory of core-hole effects in 1s core-level
spectroscopy of the first-row elements", Phys. Rev. B, 77, 115122 (2008).
Godby, R. W. "Exchange and correlation in solids", Top. Appl. Phys., 69, 51-88 (1992).
Gonze, X.; Allan, D. C.; Teter, M. P. "Dielectric tensor, effective charges, and phonons in a-quartz by
variational density-functional perturbation theory", Phys. Rev. Lett., 68, 3603-3606 (1994).
Gonze, X. "First-principles responses of solids to atomic displacements and homogeneous electric fields:
Implementation of a conjugate-gradient algorithm", Phys. Rev. B, 55, 10337-10354 (1997).
Govind, N.; Petersen, M.; Fitzgerald, G.; King-Smith, D.; Andzelm, J. "A generalized synchronous transit
method for transition state location", Comput. Mater. Sci., 28, 250-258 (2003).
Green, T. F. G.; Yates, J. R. "Relativistic nuclear magnetic resonance J-coupling with ultrasoft
pseudopotentials and the zeroth-order regular approximation", J. Chem. Phys., 140, 234106 (2014).
Hakala, M.; Puska, M. J.; Nieminen, R. M. "First-principles calculations of interstitial boron in silicon",
Phys. Rev. B, 61, 8155-8161 (2000).
Hamann, D. R.; Schluter, M.; Chiang, C. "Norm-Conserving Pseudopotentials", Phys. Rev. Lett., 43, 1494-
1497 (1979).
Hammer, B.; Hansen, L. B.; Norskov, J. K. "Improved adsorption energetics within density-functional
theory using revised Perdew-Burke-Ernzerhof functionals", Phys. Rev. B, 59, 7413-7421 (1999).
Harris, R.K. "Nuclear spin properties and notation", In: Encyclopedia of nuclear magnetic resonance,
Grant, D.M.; Harris, R.K., editors. Chichester: John Wiley & Sons; 5, 3301 (1996).
Hebert, C. "Practical aspects of running the WIEN2k code for electron spectroscopy", Micron, 38, 12-28
(2007).
Henkelman, G.; Jónsson, H. "Improved tangent estimate in the nudged elastic band method for finding
energy paths and saddle points", J. Chem. Phys., 113, 9978 (2000).
Heßelman, A.; Görling, A. "Blindness of the Exact Density Response Function to Certain Types of
Electronic Excitations: Implications for Time-Dependent Density-Functional Theory", Phys. Rev. Lett.,
102, 233003 (2009).
Heyd, J.; Scuseria, G. E.; Ernzerhof, M. "Hybrid functionals based on a screened Coulomb potential", J.
Chem. Phys., 118, 8207-8215 (2003).
Hirata, S.; Head-Gordon, M. "Time-dependent density functional theory within the Tamm-Dancoff
approximation", Chem. Phys. Lett., 314, 291-299 (1999).
Hirshfeld, F. L. "Bonded-Atom Fragments for Describing Molecular Charge Densities", Theoret. Chim.
Acta, 44, 129-138 (1977).
Ho, K. M.; Fu, C. L.; Harmon, B. N. "Vibrational frequencies via total energy calculations - Applications to
transition metals", Phys. Rev. B, 29, 1575-1587 (1984).
Hutter, J. "Excited state nuclear forces from the Tamm-Dancoff approximation to time-dependent
density functional theory within the plane wave basis set framework", J. Chem. Phys., 118, 3928-3934
(2003).
Iniguez, J.; Vanderbilt, D.; Bellaiche, L. "First-principles study of (BiScO3)1-x-(PbTiO3)x piezoelectric
alloys", Phys. Rev. B, 67, 224-107 (2003).
IUPAC, "Notations and conventions in molecular spectroscopy: Part 2. Symmetry notation.", Pure and
Appl. Chem., 69 , 1641-1649 (1997).
Jirak, Z.; Kala, T. "Crystal Structures of Ferroelectric Phases FR(LT)/FR(HT) In PbZr0.75Ti0.25O3 Solid
Solutions and Their Dependence on Temperature", Ferroelectrics, 82, 79-84 (1988).
Joyce, S. A.; Yates, J. R.; Pickard, C. J.; Mauri, F. "A first principles theory of nuclear magnetic resonance -
coupling in solid-state systems", J. Chem. Phys., 127, 204107 (2007).
Joyce, S. A.; Yates, J. R.; Pickard, C. J.; Brown, S. P. "Density Functional Theory Calculations of Hydrogen-
Bond-Mediated NMR J Coupling in the Solid State", J. Am. Chem. Soc., 130, 12663-12670 (2008).
Juan, Y. M.; Kaxiras, E.; Gordon, R. G. "Use of the generalized gradient approximation in
pseudopotential calculations of solids", Phys. Rev. B, 51, 9521-9525 (1995).
Karki, B. B.; Stixrude, L.; Clark, S. J.; Warren, M. C.; Ackland, G. J.; Crain, J. "Structure and elasticity of
MgO at high pressure", Am. Mineral., 82, 51-60 (1997).
Karki, B. B.; Stixrude, L.; Clark, S. J.; Warren, M. C.; Ackland, G. J.; Crain, J. "Elastic properties of
orthorhombic MgSiO3 perovskite at lower mantle pressures", Am. Mineral., 82, 635-638 (1997).
Karki, B. B.; Stixrude, L.; Crain, J. "Ab initio elasticity of three high-pressure polymorphs of silica",
Geophys. Res. Lett., 24, 3269-3272 (1997).
Karki, B. B.; Clark, S. J.; Warren, M. C.; Hsueh, H. C.; Ackland, G. J.; Crain, J. "Ab initio elasticity and lattice
dynamics of AgGaSe2", J. Phys.: Cond. Matt., 9, 375-380 (1997).
Kerker, G. "Non-singular atomic pseudopotentials for solid state applications", J. Phys. C, 13, L189-L194
(1980).
Kern, G.; Kresse, G.; Hafner, J. "Ab initio calculation of the lattice dynamics and phase diagram of boron
nitride", Phys. Rev. B, 59, 8551-8559 (1999).
King-Smith, R. D.; Payne, M. C.; Lin, J. S. "Real-space implementation of nonlocal pseudopotentials for
first-principles total-energy calculations", Phys. Rev. B, 44, 13063-13066 (1991).
Kleinman, L.; Bylander, D. M. "Efficacious Form for Model Pseudopotentials", Phys. Rev. Lett., 48, 1425-
1428 (1982).
Koelling, D. D.; Harmon, B. N. "A technique for relativistic spin-polarised calculations", J. Phys. C: Solid
State Phys., 10, 3107-3114 (1977).
Kresse, G.; Furthmuller, J. "Efficient iterative schemes for ab initio total-energy calculations using a
plane-wave basis set", Phys. Rev. B, 54, 11169-11186 (1996).
Krukau, A. V.; Vydrov, O. A.; Izmaylov, A. F.; Scuseria, G. E. "Influence of the exchange screening
parameter on the performance of screened hybrid functionals", J. Chem. Phys., 125, 224106 (2006).
Kunc, K.; Needs, R. J.; Nielsen, O.H.; Martin, R.M. Symmetry and Special Points Program K290 (1985).
Laasonen, K.; Pasquarello, A.; Car, R.; Lee, C.; Vanderbilt, D. "Car-Parrinello molecular dynamics with
Vanderbilt ultrasoft pseudopotentials", Phys. Rev. B, 47, 10142-10153 (1993).
Lee, C.; Yang, W.; Parr, R.G. "Development of the Colle-Salvetti correlation-energy formula into a
functional of the electron density", Phys. Rev. B, 37, 785-789 (1988).
Lee, M.H. PhD Thesis, Cambridge University (1996).
Leimkuhler, B.; Noorizadeh, E.; Theil, F. "A Gentle Stochastic Thermostat for Molecular Dynamics", J.
Stat. Phys., 135, 261-277 (2009).
Lejaeghere, K.; Van Speybroeck, V.; Van Oost, G.; Cottenier, S. "Error Estimates for Solid-State Density-
Functional Theory Predictions: An Overview by Means of the Ground-State Elemental Crystals", Critical
Reviews in Solid State and Materials Sciences, 39, 1-24 (2014).
van Lenthe, E.; Baerends, E. J.; Snijders, J. G. "Relativistic total energy using regular approximations", J.
Chem. Phys. , 101, 9783-9792 (1994).
Lin, J. S.; Qteish, A.; Payne, M. C.; Heine, V. "Optimized and transferable nonlocal separable ab initio
pseudopotentials", Phys. Rev. B, 47, 4174-4180 (1993).
Lindh, R.; Bernhardsson, A.; Karlström, G.; Malmqvist, P.-A. "On the use of a Hessian model function in
molecular geometry optimizations", Chemical Physics Letters, 241, 423-428 (1995).
Lloyd-Williams, J. H.; Monserrat, B. "Lattice dynamics and electron-phonon coupling calculations using
nondiagonal supercells", Phys. Rev. B, 92, 184301 (2015).
Louie, S. G.; Froyen, S.; Cohen, M. L. "Nonlinear ionic pseudopotentials in spin-density-functional
calculations", Phys. Rev. B, 26, 1738-1742 (1982).
Makov, G.; Payne, M. C. "Periodic boundary conditions in ab initio calculations", Phys. Rev. B, 51, 4014-
4022 (1995).
Marlo, M.; Milman, V. "Density-functional study of bulk and surface properties of titanium nitride using
different exchange-correlation functionals", Phys. Rev. B, 62, 2899-2907 (2000).
Marzari, N.; Vanderbilt, D.; Payne, M. C. "Ensemble density-functional theory for ab initio molecular
dynamics of metals and finite-temperature insulators", Phys. Rev. Lett., 79, 1337-1340 (1997).
Mazzi, F.; Galli, E.; Gottardi, G. "The crystal structure of tetragonal leucite", Am. Miner., 61, 108-115
(1976).
Milman, V.; Payne, M. C.; Heine, V.; Needs, R. J.; Lin, J. S. "Free energy and entropy of diffusion by ab
initio molecular dynamics: Alkali ions in silicon", Phys. Rev. Lett., 70, 2928-2931 (1993).
Milman, V.; Lee, M. H.; Payne, M. C. "Ground-state properties of CoSi2 determined by a total-energy
pseudopotential method", Phys. Rev. B, 49, 16300 (1994).
Milman, V.; Winkler, B.; White, J. A.; Pickard, C. J.; Payne, M. C.; Akhmatskaya, E. V.; Nobes, R. H.
"Electronic structure, properties and phase stability of inorganic crystals: A pseudopotential plane-wave
study", Int. J. Quantum Chem., 77, 895-910 (2000).
Milman, V.; Warren, M. C. "Elasticity of hexagonal BeO", J. Phys.: Condens. Matter, 13, 241-245 (2001).
Milman, V.; Warren, M. C. "Elastic properties of TiB2 and MgB2", J. Phys.: Condens. Matter, 13, 5585-
5595 (2001b).
Minkiewicz, V. J.; Shirane, G.; Nathans, R. "Phonon Dispersion Relation for Iron", Phys. Rev., 162, 528-
531 (1967).
Miwa, K. "Prediction of Raman spectra with ultrasoft pseudopotentials", Phys. Rev. B, 84, 094304 (2011).
Mohr, P. J.; Taylor, B. N.; Newell, B. D. "CODATA recommended values of the fundamental physical
constants: 2006", Rev. Mod. Phys., 80, 633-730 (2008).
Monkhorst, H. J.; Pack, J. D. "Special points for Brillouin-zone integrations", Phys. Rev. B, 13, 5188-5192
(1976).
Monkhorst, H. J.; Pack, J. D. "Special points for Brillouin-zone integrations" - a reply", Phys. Rev. B, 16,
1748-1749 (1977).
Montanari, B.; Harrison, N. M. "Lattice dynamics of TiO2 rutile: influence of gradient corrections in
density functional calculations", Chem. Phys. Lett., 364, 528-534 (2002).
Ramer, N. J.; Rappe, A. M. "Virtual-crystal approximation that works: Locating a compositional phase
boundary in Pb(Zr1-xTix)O3", Phys. Rev. B, 62, 743-746 (2000).
Ranganathan, S. I.; Ostoja-Starzewski, M. "Universal Elastic Anisotropy Index", Phys. Rev. Lett., 101,
055504 (2008).
Rappe, A. M.; Rabe, K. M.; Kaxiras, E.; Joannopoulos, J. D. "Optimized pseudopotentials", Phys. Rev. B,
41, 1227-1230 (1990).
Read, A. J.; Needs, R. J. "Calculation of optical matrix elements with nonlocal pseudopotentials", Phys.
Rev. B, 44, 13071-13073 (1991).
Sahl, K. "Refinement of the crystal structure of bicchulite Ca2[Al2SiO6](OH)2", Z. Kristallogr., 152, 13-21
(1980).
Sanchez-Portal, D.; Artacho, E.; Soler, J. M. "Projection of plane-wave calculations into atomic orbitals",
Solid State Commun., 95, 685-690 (1995).
Savin, A.; Jepsen, O.; Flad, J.; Andersen, O. K.; Preuss, H.; von Schnering, H. G. "Electron localization in
solid-state structures of the elements - the diamond structure", Angewandte Chemie-International
Edition , 31, 187-188 (1992).
Segall, M. D.; Pickard, C. J.; Shah, R.; Payne, M. C. "Population analysis in plane wave electronic
structure calculations", Mol. Phys., 89, 571-577 (1996).
Segall, M. D.; Shah, R.; Pickard, C. J.; Payne, M. C. "Population analysis of plane-wave electronic
structure calculations of bulk materials", Phys. Rev. B, 54, 16317-16320 (1996).
Segall, M. D.; Lindan, P. J. D.; Probert, M. J.; Pickard, C. J.; Hasnip, P. J.; Clark, S. J.; Payne, M. C. "First-
principles simulation: ideas, illustrations and the CASTEP code", J. Phys.: Condens. Matter, 14, 2717-
2743 (2002).
Seidl, A.; Gorling, A.; Vogl, P.; Majewski, J. A.; Levy, M."Generalized Kohn-Sham schemes and the band-
gap problem", Phys. Rev. B, 53, 3764-3774 (1996).
Shih, B-C.; Yates , J.R. "Gauge-including projector augmented-wave NMR chemical shift calculations with
DFT+U", Phys. Rev. B, 96, 045142 (2017).
Srivastava, G. P.; Weaire, D. "The theory of the cohesive energies of solids", Adv. Phys., 26, 463-517
(1987).
Steneteg, P.; Abrikosov, I.A.; Weber, V.; Niklasson, A.M.N. "Wavefunction extended Lagrangian Born-
Oppenheimer molecular dynamics", Phys. Rev. B, 92, 075110 (2010).
Sun, J.; Remsing, R. C.; Zhang, Y. ; Sun, Z.; Ruzsinszky, A.; Peng ,H.; Yang, Z. ; Paul, A. ; Waghmare, U.
;Wu, X. ;Klein, M. L. ; Perdew, J. P. Nat. Chem. 8 , 831 (2016).
Tersoff, J.; Hamman, D. R. "Theory of the scanning tunneling microscope", Phys. Rev. B, 31, 805-813
(1985).
Tian, Y.; Xu, B.; Zhao, Z. "Microscopic theory of hardness and design of novel superhard crystals", Int. J.
Refr. Met. Hard Mater., 33, 93-106 (2012).
Troullier, N.; Martins, J. L. "Efficient pseudopotentials for plane-wave calculations", Phys. Rev. B, 43,
1993-2006 (1991).
Tuckerman, M. E.; Liu, Y.; Ciccotti, G.; Martyna, G. J. "Non-Hamiltonian molecular dynamics:
Generalizing Hamiltonian phase space principles to non-Hamiltonian systems", J. Chem. Phys., 115,
1678-1702 (2001).
Vanderbilt, D. "Soft self-consistent pseudopotentials in a generalized eigenvalue formalism", Phys. Rev.
B, 41, 7892-7895 (1990).
Walker, D. et al. "Halite-sylvite thermoelasticity", Am. Mineral., 89, 204-210 (2004).
Warren, J. L.; Worlton, T. G. "Improved version of group-theoretical analysis of lattice dynamics", Comp.
Phys. Commun., 8, 71-84 (1974).
Warren, M. C.; Ackland, G. J. "Ab Initio Studies of Structural Instabilities in Magnesium Silicate
Perovskite", Phys. Chem. Miner., 23, 107-118 (1996).
Warren, M. C.; Ackland, G. J.; Karki, B. B.; Clark, S. J. "Phase Transitions in Silicate Perovskites from First
Principles", Mineral. Mag., 62, 585-598 (1998).
Wei, S. Q.; Chou, M. Y. "Phonon dispersions in silicon and germanium from first principles calculations",
Phys. Rev. B, 50, 4859-4862 (1994).
White, J. A.; Bird, D. M. "Implementation of gradient-corrected exchange-correlation potentials in Car-
Parrinello total-energy calculations", Phys. Rev. B, 50, 4954-4957 (1994).
Winkler, B.; Dove, M. T.; Leslie, M. "Static lattice energy minimization and lattice dynamics calculations
on aluminosilicate minerals", Am. Mineral., 76, 313-331 (1991).
Winkler, B.; Milman, V. "Polymorphism of CsI", J. Phys.: Condens. Matter, 9, 9811-9817 (1997).
Winkler, B. "An introduction to 'Computational Crystallography'", Z. Kristallogr., 214, 506-527 (1999).
Winkler, B.; Pickard, C. J.; Segall, M. D.; Milman, V. "Density functional study of charge ordering in Cs2Au
(I)Au(III)Cl6 under pressure", Phys. Rev. B, 63, 14103 (2001).
Winkler, B.; Hytha, M.; Warren, M. C.; Milman, V.; Gale, J.; Shreuer, J. "Calculation of the elastic
constants of the Al2SiO5 polymorphs andalusite, sillimanite and kyanite", Z. Kristallogr., 216, 67-70
(2001).
Winkler, B.; Pickard, C. J.; Milman, V. "Applicability of a quantum mechanical "virtual crystal
approximation" to study Al/Si-disorder", Chem. Phys. Lett., 362, 266-270 (2002).
Wu, Z.; Cohen, R. E. "More accurate generalized gradient approximation for solids", Phys. Rev. B, 73,
235116 (2006).
Yanson, I. K. "Point contact spectroscopy of metals", Phys. Script., T23, 88-94 (1988).
Yates, J. R.; Pickard, C. J.; Mauri, F. "Calculation of NMR chemical shifts for extended systems using
ultrasoft pseudopotentials", Phys. Rev. B, 76, 024401 (2007).
Yates, J. R."Prediction of NMR J-coupling in solids with the planewave pseudopotential approach",
Magnetic Resonance in Chemistry, 48, S23-S31 (2010).
Yeh, I-C; Berkowitz, M.L. "Ewald summation for systems with slab geometry", J. Chem Phys., 111, 3155-
3162 (1999).
Yin, M. T.; Cohen, M. L. "Theory of lattice dynamical properties of solids - Application to Si and Ge",
Phys. Rev. B, 26, 3259-3272 (1982).