Parallel Materials Modelling Packages @ EPCC 1 / 55
Introduction to DFT and the plane-wave pseudopotential method
Keith Refson STFC Rutherford Appleton Laboratory Chilton, Didcot, OXON OX11 0QX
23 Apr 2014
Introduction to DFT and the plane-wave pseudopotential method Keith - - PowerPoint PPT Presentation
Introduction to DFT and the plane-wave pseudopotential method Keith Refson STFC Rutherford Appleton Laboratory Chilton, Didcot, OXON OX11 0QX 23 Apr 2014 Parallel Materials Modelling Packages @ EPCC 1 / 55 Introduction Synopsis Motivation
Parallel Materials Modelling Packages @ EPCC 1 / 55
Keith Refson STFC Rutherford Appleton Laboratory Chilton, Didcot, OXON OX11 0QX
23 Apr 2014
Introduction Synopsis Motivation Some ab initio codes Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 2 / 55
Introduction Synopsis Motivation Some ab initio codes Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 3 / 55
A guided tour inside the “black box” of ab-initio simulation.
Recommended Reading and Further Study
Theory and Computational Methods, Cambridge, ISBN-13: 9780521815918
urg Hutter Ab Initio Molecular Dynamics: Basic Theory and Advanced Methods Cambridge University Press, ISBN: 0521898633
Basic Theory and Practical Density Functional Approaches Vol 1 Cambridge University Press, ISBN: 0521782856
Crystalline Materials, Springer, Lecture Notes in Chemistry vol.67 ISSN 0342-4901.
Introduction Synopsis Motivation Some ab initio codes Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 4 / 55
The underlying physical laws necessary for the mathematical theory
completely known, and the difficulty is only that the application of these laws leads to equations much too complicated to be soluble. P.A.M. Dirac, Proceedings of the Royal Society A123, 714 (1929) Nobody understands quantum mechanics.
Introduction Synopsis Motivation Some ab initio codes Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 5 / 55
http://www.psi-k.org/codes.shtml
Introduction Quantum-mechanical approaches Quantum-mechanics of electrons and nuclei The Schr¨
equation Approximations 1. The Hartree approximation The Hartree-Fock approximation Practical Aspects Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 6 / 55
Introduction Quantum-mechanical approaches Quantum-mechanics of electrons and nuclei The Schr¨
equation Approximations 1. The Hartree approximation The Hartree-Fock approximation Practical Aspects Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 7 / 55
nuclear co-ordinates.
electronic relaxation is much faster than ionic motion (me << mnuc). Then wavefunction is separable Ψ = Θ({R1, R2, ..., RN})Φ({r1, r2, ..., rn} Ri are nuclear co-ordinates and ri are electron co-ordinates.
fixed external potential of the nuclei, Vext{Ri}.
electron/nuclear behaviour for example superconductivity, quantum crystals such as He and cases of strong quantum motion such as H in KDP.
Introduction Quantum-mechanical approaches Quantum-mechanics of electrons and nuclei The Schr¨
equation Approximations 1. The Hartree approximation The Hartree-Fock approximation Practical Aspects Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 8 / 55
h = me = e = 1)
2∇2 + ˆ Vext({RI}, {ri}) + ˆ Ve-e({ri})
where − 1
2 ∇2is the kinetic-energy operator,
ˆ Vext= −
Zi |RI − ri|is the Coulomb potential of the nuclei, ˆ Ve-e= 1 2
1 |rj − ri|is the electron-electron Coulomb interaction and Ψ({ri}) = Ψ(r1, . . . rn) is a 3N-dimensional wavefunction.
electrons.
Introduction Quantum-mechanical approaches Quantum-mechanics of electrons and nuclei The Schr¨
equation Approximations 1. The Hartree approximation The Hartree-Fock approximation Practical Aspects Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 9 / 55
yields
2∇2 + ˆ Vext({RI}, r) + ˆ VH(r)
where the Hartree potential: ˆ VH(r) =
n(r′) |r′ − r| is Coulomb interaction
i |φi(r)|2. Sum is over
all occupied states.
Hartree potential
φi(r). Requires self-consistent solution.
antisymmetry and violates the Pauli principle.
Introduction Quantum-mechanical approaches Quantum-mechanics of electrons and nuclei The Schr¨
equation Approximations 1. The Hartree approximation The Hartree-Fock approximation Practical Aspects Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 10 / 55
antisymmetry under electron exchange Ψ(r1, . . . rn) = 1 √ n!
φ1(r2, σ2) . . . φ1(rn, σn) φ2(r1, σ1) φ2(r2, σ2) . . . φ2(rn, σn) . . . . . . ... . . . φn(r1, σ1) φn(r2, σ1) . . . φn(rn, σn)
2∇2 + ˆ Vext({RI}, r) + ˆ VH(r)
(1) −
φ∗
m(r′)φn(r′)
|r′ − r| φm(r) = Enφn(r) (2)
exchange potential and creates repulsion between electrons of like spin.
to solve.
Introduction Quantum-mechanical approaches Quantum-mechanics of electrons and nuclei The Schr¨
equation Approximations 1. The Hartree approximation The Hartree-Fock approximation Practical Aspects Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 11 / 55
Sometimes known as SCF methods (Self Consistent Field).
DOS at ǫF.)
Coupled-Cluster, full CI are based on HF methods, and give approximations to the correlation energy.
Introduction Quantum-mechanical approaches Density Functional Theory Density-Functional Theory Density-Functional Theory II The Kinetic term - Kohn-Sham DFT Exchange and Correlation in DFT The Local-Density Approximation Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 12 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Density-Functional Theory Density-Functional Theory II The Kinetic term - Kohn-Sham DFT Exchange and Correlation in DFT The Local-Density Approximation Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 13 / 55
Pople.
instead on electron density n(r).
and all properties can be calculated as an explicit or implicit functional of
Introduction Quantum-mechanical approaches Density Functional Theory Density-Functional Theory Density-Functional Theory II The Kinetic term - Kohn-Sham DFT Exchange and Correlation in DFT The Local-Density Approximation Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 14 / 55
E[n(r)] = F[n(r)] +
ˆ Vext(r)n(r). where F[n(r)] is a universal functional of the density.
specified by external nuclear potential ˆ Vext(r).
alternative to solving the Schr¨
not so kind!
F[n(r)] = EK[n(r)] + EH[n(r)] + EXC[n(r)]
EH[n(r)] = 1 2 drdr′ n(r)n(r′) |r′ − r|
Introduction Quantum-mechanical approaches Density Functional Theory Density-Functional Theory Density-Functional Theory II The Kinetic term - Kohn-Sham DFT Exchange and Correlation in DFT The Local-Density Approximation Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 15 / 55
Replace our system of interacting electrons with a ficticious system of non-interacting electrons of the same density. Represent by set of ficticious orbitals φi(r) with density given by n(r) =
|φi(r)|2 and introduce effective Hamiltonian
2∇2 + ˆ Vext({RI}, r) + ˆ VH(r) + ˆ vxc(r)
EK[n(r)] = − 1 2
φ∗
i (r)∇2φi(r)
Use this as approximation for kinetic energy functional (defined implicitly via non-interacting effective Hamiltonian).
Introduction Quantum-mechanical approaches Density Functional Theory Density-Functional Theory Density-Functional Theory II The Kinetic term - Kohn-Sham DFT Exchange and Correlation in DFT The Local-Density Approximation Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 16 / 55
ˆ vxc = δExc[n(r)] δn and contains all remaining “uncertainty” about F[n(r)]. By comparison with Hartree-Fock effective Hamiltonians, this must include (a) Exchange energy, (b) Correlation energy and (c) the difference between kinetic energies of non-interacting and interacting systems.
single term. How does this help?
even smaller. Therefore a reasonable ap- proximation to Exc is a very good approx- imation to F.
Hartree-Fock, no claim at all is made about the form of wavefunction.
Introduction Quantum-mechanical approaches Density Functional Theory Density-Functional Theory Density-Functional Theory II The Kinetic term - Kohn-Sham DFT Exchange and Correlation in DFT The Local-Density Approximation Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 17 / 55
Exc[n(r)] =
n(r)εxc(n(r)) where εxc(n(r)) is the XC energy density at point r and is a function, not a functional of n.
a uniform electron gas, from highly accurate quantum monte-carlo calculations. [ The exchange part of this εx(n(r)) varies as n1/3 ]
initially appreciated and it was virtually ignored for 10 years!
bonding in solids, molecules, surfaces and defects. Less satisfactory for atoms - errors of 2eV or more. Band gaps too low.
also on local gradient of n.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Electronic Structure of Extended Systems The Reciprocal Lattice and the Brillouin Zone Bandstructure of Solids Bandstructure of Typical Solids Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 18 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Electronic Structure of Extended Systems The Reciprocal Lattice and the Brillouin Zone Bandstructure of Solids Bandstructure of Typical Solids Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 19 / 55
1/wavelength Energy Ψ phase
Atoms Discrete energy levels Diatomic Each atomic level splits into bonding and antibonding states. Molecule Molecular orbitals at many energy levels Crystal Continuum of energy levels of same symmetry called bands
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Electronic Structure of Extended Systems The Reciprocal Lattice and the Brillouin Zone Bandstructure of Solids Bandstructure of Typical Solids Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 20 / 55
(1/λ).
Fourier Transform
reciprocal lattice and denoted by reciprocal lattice vectors a∗,b∗,c∗, a∗ = 2π
Ω b × c etc.
louin Zone - periodically repeated it fills reciprocal space.
form complete description of all electronic states in infinite crystal.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Electronic Structure of Extended Systems The Reciprocal Lattice and the Brillouin Zone Bandstructure of Solids Bandstructure of Typical Solids Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 21 / 55
band structure
according to Aufbau principle.
have low dispersion and can be mapped 1-1 onto molecular energy levels.
solid corresponds to state label in molecule. Example: Benzene, Phase III
1 / 2 , , 1 / 2 , , 1 / 2 , , 1 / 2 , , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , , 1 / 2 , 1 / 2 , 1 / 2 , 1 / 2 , , ,
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Electronic Structure of Extended Systems The Reciprocal Lattice and the Brillouin Zone Bandstructure of Solids Bandstructure of Typical Solids Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 22 / 55
Fermi energy
Γ K X Γ M
5 10
ε (eV)
Insulator (MnO2)
Bands completely occupied or unoccupied. Fermi energy lies in band-gap and divides (valence bands) from (conduction bands)
Γ X Γ L W X
10 20 30 40
ε (eV)
Metal(Al)
Conduction bands partially
crossed by Fermi level. In 3D filled states define Fermi surface
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Total Energy Calculations Ion-Ion term Forces Periodic Boundary Conditions Cell-periodic Formulation Brillouin-Zone integration Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 23 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Total Energy Calculations Ion-Ion term Forces Periodic Boundary Conditions Cell-periodic Formulation Brillouin-Zone integration Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 24 / 55
E =
Nocc
φ∗
i (r)∇2φi(r) +
Vext(r)n(r) + 1 2 drdr′ n(r)n(r′) |r′ − r| + Exc[n(r)] + EII({RI})
contains 2 “electrons”, so Nocc = Ne/2. Density is n(r) =
Nocc
|φi(r)|2
φ∗
i (r)φj(r) = δij
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Total Energy Calculations Ion-Ion term Forces Periodic Boundary Conditions Cell-periodic Formulation Brillouin-Zone integration Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 25 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Total Energy Calculations Ion-Ion term Forces Periodic Boundary Conditions Cell-periodic Formulation Brillouin-Zone integration Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 26 / 55
also need to evaluate forces acting on ions. (Numerical derivatives of E inadequate and expensive.)
FIα = − dE dRIα = − ∂E ∂RIα −
δE δφi ∂φi ∂RIα − −
δE δφ∗
i
∂φ∗
i
∂RIα
the φi are eigenstates of the Hamiltonian the second two terms vanish.
are the external potential and EII({RI}). FI = −
dVext dRI n(r) − dVII dRI The ions feel only the electrostatic forces due to the electrons and the other ions.
derivative of orbital basis wrt ionic position - “Pulay forces”.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Total Energy Calculations Ion-Ion term Forces Periodic Boundary Conditions Cell-periodic Formulation Brillouin-Zone integration Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 27 / 55
potentials. Vext(r + T ) = Vext(r) where T is a lattice translation of the simulation cell.
n(r + T ) = n(r)
solid state physics text for proof). φk(r + T ) = exp(ik.T )φk(r) φk(r) = exp(ik.r)uk(r) where uk(r) is a periodic function u(r + T ) = u(r)
unlike φ(r).
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Total Energy Calculations Ion-Ion term Forces Periodic Boundary Conditions Cell-periodic Formulation Brillouin-Zone integration Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 28 / 55
group symmetry and which can be periodically repeated to fill wavevector space reciprocal- space known as Brillouin Zone.
terms of Bloch functions T =
dk
dr u∗
k(r) (−i∇ + k)2 uk(r)
n(r) =
dk u∗
mk(r)umk(r)
Need only store values of umk(r) for a single simulation cell in computer representation.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Total Energy Calculations Ion-Ion term Forces Periodic Boundary Conditions Cell-periodic Formulation Brillouin-Zone integration Basis sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 29 / 55
place integral
sum over discrete set of wavevectors BZ
k
(“k- points”).
a regular grid for 3d inte- gration (Monkhorst and Pack, Phys. Rev. B 13,5188 (1976)
Nuts and Bolts 2001
Lecture 6: Plane waves etc.
25
varies inversely with simulation cell volume.
to represent fermi surface.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 30 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 31 / 55
Numerical representation
/ wavefunctions on computer should be
Simple discretization insufficiently accu- rate derivatives needed to compute K.E: −∇2φ
2 4 6 8 10 r/a0 0.2 0.4 0.6 0.8 1 ψ(r) 2 4 6 8 10 r/a0 Fe 3d orbital
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 32 / 55
the computer.
umk(r) =
Nf
cmk,ifi(r)
entirely in terms of coefficients cmk,i.
and can be stored in computer.
become matrix-eigenvalue equations Hk,ijcmk,j = ǫmkcmk,i and possible computer algorithms to solve them are suggested.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 33 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 34 / 55
ψi(r) =
Cij,lme−αir2Ylm(ˆ r) Pros
Cons
needed.
”double-zeta+polarization”, ”diffuse”
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 35 / 55
ψi(r) =
flm(r)Ylm(ˆ r) where flm is stored on a radial numerical grid. e.g. DMOL, FHI-Aims, SIESTA Pros
Cons
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 36 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 37 / 55
ψi,k(r) =
|G|<Gmax
cik,Gei(k+G).r) Pros
grid of G.
G-space representations.
Cons
store Hamiltonian matrix.
represent ⇒ need pseudopotentials
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets How to represent wavefunctions Mathematical representation of basis sets Gaussian basis set Gaussian Basis Sets Numerical Basis Sets Plane-wave basis set Plane-Wave Basis Sets Summary of Popular Basis Sets Plane-waves and Pseudopotentials How to solve the equations Parallel Materials Modelling Packages @ EPCC 38 / 55
GTOs “Gaussian-type orbitals” Very widely used in molecular calculations, also periodic because integrals are analytic and can be tabulated. Atom-centering can be a disadvantage, giving rise to additional terms in forces and biassing the
STOs: “Slater-type orbitals” atom-centered but uses eigenfunctions of atomic
MTOs: “Muffin-Tin orbitals”. Atom centred using eigenfunctions in spherically-symmetric, truncated potential (muffin-tin). Plane Waves: Very widely used in solid-state calculations. Formally equivalent to a Fourier series. Can use powerful Fourier methods including FFTs to perform integrals. Ideally suited to periodic system. Unbiassed by atom position. Systematically improvable convergence by increasing Gmax. APW “Augmented Plane Waves” a mixed basis set of spherical harmonics centred
but restricted to small systems.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 39 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 40 / 55
EKS =
|G + k|2|cmk(G)|2 +
Vext(G)n(G) +
|n(G)|2 |G|2 +
There are only single sums over G or r which can therefore be evaluated in O(NG) operations.
with G, accuracy can be systematically improved by increasing Gmax.
Ec = ¯ h2G2
max
2me instead of Gmax.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 41 / 55
between real and reciprocal-space. Example, density n(r) constructed as n(r) =
k
m |umk(r)|2
where umk(r) =
G cmk(G) exp(iG.r)
which requires 1 FFT for each band and k-point to transform umk(G) into real-space. To compute Hartree and local, potential terms, we need n(G) =
r n(r) exp(−iG.r)
Nuts and Bolts 2001
Lecture 6: Plane waves etc.
11
2Gmax
grid_scale
*2Gmax
≈ 4Gmax
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 42 / 55
systematically improve basis set to full or desired level
dent of nature of bonding.
tion.
and memory allows for 100s of atoms.
model rapid variations in elec- tron density.
as expensive as atoms.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 43 / 55
V (r) = − Ze
r
near ion causes rapid oscil- lations of φ(r).
Fourier components need very high energy plane-wave cutoff.
electrons are unper- turbed by crystalline environment. All chemical bonding in- volves valence elec- trons only.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 44 / 55
weaker pseudopotential which gives identical valence electron wavefunc- tions outside core region, r > rc. This gives identical scattering properties.
r < rc unlike true wavefunction.
with few plane waves.
imply the Frozen Core approximation
lated from all-electron DFT calcula- tions on a single atom.
Dirac equation incorporating relativ- ity of core electrons into PSP. Valence electrons usually non-relativistic.
ps
ps
v
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 45 / 55
curate description of most elements.
ator VPS =
|Ylm > Vl(r) < Ylm| where |Ylm > are spherical harmonics of angular momentum l.
prescriptions to generate pseudopoten- tials; Hamman-Schluter,Chang, Kerker, Trouiller- Martins,Optimised (Rappe), Vanderbilt.
vs ultrasoft.
has been to get “smoothest” pseudo- wavefunctions to reduce plane-wave cutoff energy. Vanderbilt ultrasoft pseudopotentials give lowest cutoff energies and high accuracy. 1 2 3 4
R (Bohr)
10 20 V_ion (Ryd)
3s 3p 3d 2Z_eff/r V_loc
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 46 / 55
states inevitably hard
conservation. ˆ V NL
I
=
Djk |βj βk| with Djk = Bjk + ǫjqjk and Qjk(r) = ψ∗,AE
j
(r)ψAE
k (r) − φ∗,PS j
(r)φPS
k (r)
qjk =
j |ψAE k
j |φPS k
rc Qjk(r)dr
1 2 r (Bohr)
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 47 / 55
states inevitably hard
conservation. ˆ V NL
I
=
Djk |βj βk| with Djk = Bjk + ǫjqjk and Qjk(r) = ψ∗,AE
j
(r)ψAE
k (r) − φ∗,PS j
(r)φPS
k (r)
qjk =
j |ψAE k
j |φPS k
rc Qjk(r)dr
1 2 r (Bohr)
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 48 / 55
With overlap operator ˆ S defined as ˆ S = ˆ 1 +
qjk |βj βk|
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 48 / 55
With overlap operator ˆ S defined as ˆ S = ˆ 1 +
qjk |βj βk|
j |ψAE k
j
k
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 48 / 55
With overlap operator ˆ S defined as ˆ S = ˆ 1 +
qjk |βj βk|
j |ψAE k
j
k
The density aquires additional augmentation term n(r) =
|φi(r)|2 +
ρjkQjk(r); ρjk =
φi|βj βk|φi
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 48 / 55
With overlap operator ˆ S defined as ˆ S = ˆ 1 +
qjk |βj βk|
j |ψAE k
j
k
The density aquires additional augmentation term n(r) =
|φi(r)|2 +
ρjkQjk(r); ρjk =
φi|βj βk|φi The K-S equations are transformed into generalised eigenvalue equations ˆ Hφi = ǫi ˆ Sφi
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 48 / 55
With overlap operator ˆ S defined as ˆ S = ˆ 1 +
qjk |βj βk|
j |ψAE k
j
k
The density aquires additional augmentation term n(r) =
|φi(r)|2 +
ρjkQjk(r); ρjk =
φi|βj βk|φi The K-S equations are transformed into generalised eigenvalue equations ˆ Hφi = ǫi ˆ Sφi What gain does this additional complexity give?
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 49 / 55
S are similar to norm-conserving projectors.
constructing augmented charge density.
wave code.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 49 / 55
S are similar to norm-conserving projectors.
constructing augmented charge density.
wave code.
higher moments of charge density.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 49 / 55
S are similar to norm-conserving projectors.
constructing augmented charge density.
wave code.
higher moments of charge density.
naug(r)
parameter fine grid scale.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials Plane-wave basis sets The FFT Grid Advantages and disadvantages of plane-waves Pseudopotentials Pseudopotentials II Pseudopotential Technicalities Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials Ultrasoft Pseudopotentials More Projectors How to solve the equations Parallel Materials Modelling Packages @ EPCC 50 / 55
dr log φ(r)) vs energy plots are guide to transferrability.
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Calculation Schemes 1: SCF methods Calculation Schemes 2: SCF with density mixing Calculation Schemes 3: Total Energy Minimization Summary of important concepts Parallel Materials Modelling Packages @ EPCC 51 / 55
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Calculation Schemes 1: SCF methods Calculation Schemes 2: SCF with density mixing Calculation Schemes 3: Total Energy Minimization Summary of important concepts Parallel Materials Modelling Packages @ EPCC 52 / 55
Hamiltonian is effective Hamiltonian as Hartree term depends on electron density n(r). But density depends on orbitals, which in turn are eigenvectors of Hamiltonian.
tion where cmk,i are eigenvalues
tron density is constructed from cmk,i.
density n(r) Choose initial Construct Hamiltonian Hij Eigenvalues Converged? Construct new density n(r) Finished
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Calculation Schemes 1: SCF methods Calculation Schemes 2: SCF with density mixing Calculation Schemes 3: Total Energy Minimization Summary of important concepts Parallel Materials Modelling Packages @ EPCC 53 / 55
mixing fraction of “new” density with density from previous itera- tion.
ing algorithms available, due to Pulay, Kerker, Broyden.
used in Quantum Chemistry, LAPW, LMTO, LCAO-GTO codes with small basis set.
10,000+ coefficients ⇒ Hij is far too large to store.
; use iterative solver to find only lowest-lying eigenvalues of occu- pied states(plus a few extra).
Construct Finished mix densities Choose initial density n(r) Hamiltonian Hij Eigenvalues Converged? Construct new density n′(r) n(n+1) = (1 − β)n(n) + βn′
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Calculation Schemes 1: SCF methods Calculation Schemes 2: SCF with density mixing Calculation Schemes 3: Total Energy Minimization Summary of important concepts Parallel Materials Modelling Packages @ EPCC 54 / 55
total energy.
energy KS is E =
|G + k|2|cmk(G)|2 +
Vext(G)n(G) +
|n(G)|2 |G|2 +
c∗
mk(G)cnk(G) = δmn
all-bands method. See M. Payne et al Rev. Mod. Phys. 64, 1045 (1992); M. Gillan J. Phys Condens. Matt. 1 689-711 (1989)
Introduction Quantum-mechanical approaches Density Functional Theory Electronic Structure of Condensed Phases Total-energy calculations Basis sets Plane-waves and Pseudopotentials How to solve the equations Calculation Schemes 1: SCF methods Calculation Schemes 2: SCF with density mixing Calculation Schemes 3: Total Energy Minimization Summary of important concepts Parallel Materials Modelling Packages @ EPCC 55 / 55