This is an old revision of the document!
−Table of Contents
How to run a GFN1-xTB calculation
This is a short tutorial on how to run GFN1-XTB computations. The details on the theory and the original implementation by Grimme can be found in https://pubs.acs.org/doi/full/10.1021/acs.jctc.7b00118. Please cite this paper if you were to use the GFN1-XTB module.
Brief theory recap
The semi-empirical GFN1-xTB energy expression comprises contributions due to electronic (EL), atom-pairwise repulsion (REP), dispersion (DISP), and halogen-bonding (XB) terms as well as optionally, a generic nonbonding potential correction (NONBOND),
EGFN1−xTB=EEL+EREP+EDISP+EXB+ENONBOND.
1. The electronic energy contribution,
Eel=occ∑ini⟨Ψi|h0|Ψi⟩+12∑A,B∑lA∑l′BpAlpl′BγAB,ll′+13∑AΓAq3A−TelSel,
contains zeroth-order contributions based on a zeroth-order Hamiltonian h0, the valence molecular orbitals Ψi, occupation numbers ni as well as second-order contributions which are optimized self-consistently as well as third-order diagonal contributions. The second order contributions are described using the semi-empirical electron repulsion operator γAB,ll′ which depends on the interatomic distance of atoms A and B as well as further empirical parameters that are specific for different angular momenta l and l′. The monopole charges of the second-order expression are optimized self-consistently,
pAl=pA0l−NAO∑ν∑μ∈A,μ∈lSμνPμν,
referring to the atomic orbital overlap matrix S and the density matrix P.
The remaining diagonal terms represent a cubic charge correction based on the Mulliken charge qA of atom A and the charge derivative ΓA of the atomic Hubbard parameter ηA. Furthermore, the electronic temperature times entropy term TelSel enables fractional orbital occupations.
2. Repulsion is described via an atom-pairwise potential,
Erep=∑ABZeffAZeffBRABexp−(αAαB)1/2(RAB)kf, with the effective nuclear charge Zeff as well as the global or element-specific parameters kf and α.
3. Dispersion is included by the well-established D3 method in the BJ-damping schemehttps://aip.scitation.org/doi/10.1063/1.3382344.
4. Corrections for element-specific interactions are possible using either a halogen-bonding correction term (XB) or a generic nonbonding potential correction (NONBOND). Note that the generic nonbonding potential correction is CP2K specific.
The GFN1-xTB input section
The most important keywords and subsections of section xTB
are:
DO_EWALD
: keyword to activate Ewald summation for periodic boundary conditions (PBC); has to be switched to true in case of PBCUSE_HALOGEN_INTERACTION
: keyword to switch off contribution EXB to correct halogen interactions, default is to include this correctionCHECK_ATOMIC_CHARGES
: the cubic charge diagonal contribution is checked to be numerically stable by switching the keyword to true.DO_NONBONDED
: add a generic correction potential to correct bond- or atomic-specific interactions
The additional keywords COULOMB_INTERACTION
, COULOMB_LR
and TB3_INTERACTION
are for debugging purposes only and it is recommended to use the default options here.