
The exchange and correlation functional used for calculations in CASTEP can be specified in one of two main ways.
-
xc_functional
The most straightforward is with the .param file keywordxc_functional. For example to use the PBE functional in the .param file simply use
Local density approximation:
LDALDA-XLDA-CGeneralised gradient approximations (GGA):
PW91PBEPBEsolRPBEWCBLYPB86PBEPBE_XPBE_CPBEsol_XPBEsol_CB88_XLYP_CHybrid (non-local) functionals:
HFSHF-LDAPBE0B3LYPHSE03HSE06SPBE0Meta-GGA functionals:
RSCANMS2
xc_definition
The keyword xc_definition in the .param file (used instead of
xc_functional) is used when you want to modify the standard behaviour
of hybrid functionals, or if you want to construct your own hybrid
functionals.
The simplest use of xc_definition is to replicate that of
xc_functional, for example
Recall that hybrids are (usually) a mixture of pure (or screened) non-local Hartree-Fock exchange, some local exchange and local correlation. So you could, for example, build a functional that could be 20% Hartree Fock, 80% LDA exchange and 100% LDA correlation. You can run a CASTEP calculation with this using
Examples:
1. B3LYP
Firstly you cansimply use xc_functional : B3LYP, however
B3LYP is a hybrid functional consisting of a mixture of
Hartree-Fock, LDA and B88 exchange, LYP and LDA correlation. This
functional can be specified component by component:
xc_definition makes it straightforward
to adjust the various component weightings to your own specification.There are other adjustments that can be made within the functional. For example the popular functional HSE06 contains a screened Hartree-Fock component, with a mixture of other local functionals. It can be specified component by component as
%block xc_definition
SHF 0.25
PBE 1.0
PBE_X_SR -0.25
NLXC_SCREENING_LENGTH 0.11
NLXC_SCREENING_FUNCTION ERRORFUNCTION
%endblock xc_definition
NLXC_SCREENING_LENGTH parameter (natural units).2. Hybrid functionals are expensive calculations, much(!) more computationally intensive than (semi-)local functionals. They are often used because they are able to give much better electronic band gaps. If we do LDA and SHF-LDA band structure for silicon we can use the cell file
%block lattice_cart
2.7 2.7 0.0
2.7 0.0 2.7
0.0 2.7 2.7
%endblock lattice_cart
%block positions_frac
Si 0.00 0.00 0.00
Si 0.25 0.25 0.25
%endblock positions_frac
symmetry_generate
%block spectral_kpoint_path
W
G
X
W
L
G
%endblock spectral_kpoint_path
%block species_pot
NCP
%endblock species_pot

https://castep-docs.github.io/castep-docs/documentation/XC/XC/
0 Comments