没有合适的资源?快使用搜索试试~ 我知道了~
首页modeling materials using density functional theory
modeling materials using density functional theory

modeling materials using density functional theory
资源详情
资源评论
资源推荐

Modeling materials using density functional theory
John Kitchin
2012-07-11 Wed
Contents
1 Introduction to this book 6
2 Introduction to DFT 7
2.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Exchange correlation functionals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Basis sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Pseudopotentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5 Fermi Temperature and band occupation numbers . . . . . . . . . . . . . . . . . . . . . . 11
2.6 Spin polarization and magnetism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.7 TODO Recommended reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Molecules 12
3.1 Defining and visualizing molecules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1.1 From scratch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1.2 Reading other data formats into a calculation . . . . . . . . . . . . . . . . . . . . . 15
3.1.3 Predefined molecules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1.4 Combining Atoms objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.2 Simple properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.2.1 Getting cartesian positions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.2.2 Molecular weight and molecular formula . . . . . . . . . . . . . . . . . . . . . . . . 24
3.2.3 Center of mass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.2.4 Moments of inertia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.2.5 Computing bond lengths and angles . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.3 Simple properties that require single computations . . . . . . . . . . . . . . . . . . . . . . 29
3.3.1 Energy and forces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.3.2 Visualizing electron density . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.3.3 Dipole moments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.3.4 The density of states (DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.3.5 Atom-projected density of states on molecules . . . . . . . . . . . . . . . . . . . . . 39
3.3.6 Electrostatic potential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.3.7 Bader analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.4 Geometry optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.4.1 Manual determination of a bond length . . . . . . . . . . . . . . . . . . . . . . . . 45
3.4.2 Automatic geometry optimization with VASP . . . . . . . . . . . . . . . . . . . . . 48
3.4.3 Relaxation of a water molecule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.5 Vibrational frequencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.5.1 Manual calculation of vibrational frequency . . . . . . . . . . . . . . . . . . . . . . 49
3.5.2 Automated vibrational calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.6 Simulated infrared spectra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.7 Thermochemical properties of molecules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
1

3.8 Molecular reaction energies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.8.1 O
2
dissociation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.8.2 Water gas shift example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
3.8.3 Temperature dependent water gas shift equilibrium constant . . . . . . . . . . . . 76
3.9 Molecular reaction barriers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3.9.1 Get initial and final states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3.9.2 Run band calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4 Bulk systems 83
4.1 Defining and visualizing bulk systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.1.1 Built-in functions in ase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.1.2 Using http://materialsproject.org . . . . . . . . . . . . . . . . . . . . . . . . . 87
4.2 Computational parameters that are important for bulk structures . . . . . . . . . . . . . . 91
4.2.1 k-point convergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.2.2 Effect of SIGMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.2.3 The number of bands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
4.3 Determining bulk structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4.3.1 fcc/bcc crystal structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
4.3.2 Optimizing the hcp lattice constant . . . . . . . . . . . . . . . . . . . . . . . . . . 100
4.3.3 Complex structures with internal degrees of freedom . . . . . . . . . . . . . . . . . 101
4.3.4 Effect of XC on bulk properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
4.4 Cohesive energy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.5 TODO Elastic properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4.5.1 Al elastic properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4.5.2 Fe elastic properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4.6 TODO Bulk thermodynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.7 Effect of pressure on phase stability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.8 Bulk reaction energies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
4.8.1 Alloy formation energies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
4.8.2 Metal oxide oxidation energies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
4.9 Bulk density of states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
4.10 Atom projected density of states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
4.10.1 Effect of RWIGS on ADOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
4.11 Band structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
4.11.1 TODO create example showing band dispersion with lattice constant . . . . . . . 133
4.12 Magnetism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
4.12.1 Determining if a magnetic solution is energetically favorable . . . . . . . . . . . . . 135
4.12.2 Antiferromagnetic spin states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
4.12.3 TODO NiO-FeO formation energies with magnetism . . . . . . . . . . . . . . . . . 136
4.13 TODO phonons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
4.14 TODO solid state NEB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
5 Surfaces 154
5.1 Surface structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.1.1 Simple surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.1.2 Vicinal surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.2 Surface calculation parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.3 Surface relaxation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
5.4 Surface reconstruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
5.4.1 Au(110) missing row reconstruction . . . . . . . . . . . . . . . . . . . . . . . . . . 159
5.4.2 Ag(110) missing row reconstruction . . . . . . . . . . . . . . . . . . . . . . . . . . 160
5.5 Work function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
5.6 Surface energy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
2

5.6.1 Advanced topics in surface energy . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
5.7 Dipole correction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
5.7.1 Slab with no dipole correction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
5.7.2 Slab with a dipole correction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
5.7.3 Comparing no dipole correction with a dipole correction . . . . . . . . . . . . . . . 166
5.8 Adsorption energies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
5.8.1 Simple estimate of the adsorption energy . . . . . . . . . . . . . . . . . . . . . . . 167
5.8.2 Coverage dependence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
5.8.3 Effect of adsorption on the surface energy . . . . . . . . . . . . . . . . . . . . . . . 172
5.9 Adsorbate vibrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
5.9.1 Vibrations of the bridge site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
5.10 Surface Diffusion barrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
5.10.1 Standard nudged elastic band method . . . . . . . . . . . . . . . . . . . . . . . . . 175
5.10.2 Climbing image NEB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
5.10.3 Using vibrations to confirm a transition state . . . . . . . . . . . . . . . . . . . . . 176
5.11 TODO Diffusion rates with transition state theory . . . . . . . . . . . . . . . . . . . . . . 177
5.12 TODO Effects of electric fields on adsorbates . . . . . . . . . . . . . . . . . . . . . . . . . 177
5.13 TODO Simulating STM images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
6 Atomistic thermodynamics 192
6.1 Bulk phase stability of oxides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
6.2 Effect on adsorption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
6.3 Atomistic therodynamics and multiple reactions . . . . . . . . . . . . . . . . . . . . . . . . 199
7 Advanced electronic structure methods 200
7.1 DFT+U . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
7.1.1 Metal oxide oxidation energies with DFT+U . . . . . . . . . . . . . . . . . . . . . 200
7.2 Hybrid functionals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
7.2.1 FCC Ni DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
7.3 TODO DFT+D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
7.3.1 PBE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
7.3.2 DFT-D2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
7.3.3 Advanced vdW-DF functionals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
7.4 ELF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
7.5 TODO Charge partitioning schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
7.6 TODO Modeling Core level shifts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
8 Acknowledgments 211
9 Appendices 211
9.1 Recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
9.1.1 Modifying Atoms by deleting atoms . . . . . . . . . . . . . . . . . . . . . . . . . . 211
9.1.2 Advanced tagging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
9.1.3 Using units in ase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
9.1.4 Extracting parts of an array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
9.1.5 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
9.1.6 Curve fitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
9.1.7 Nonlinear curve fitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
9.1.8 Nonlinear curve fitting by direct least squares minimization . . . . . . . . . . . . . 216
9.1.9 Nonlinear curve fitting with confidence intervals . . . . . . . . . . . . . . . . . . . 217
9.1.10 Interpolation with splines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
9.1.11 Interpolation in 3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
9.1.12 Reading and writing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
3

9.1.13 Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
9.1.14 Numerical differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
9.1.15 NetCDF files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
9.1.16 Python modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
9.1.17 Writing and reading Excel files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
9.1.18 TODO making movies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
9.2 Computational geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
9.2.1 Changing coordinate systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
9.2.2 Simple distances, angles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
9.2.3 Unit cell properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
9.2.4 d-spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
9.3 Equations of State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
9.3.1 Birch-Murnaghan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
9.3.2 Murnaghan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
9.3.3 Birch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
9.3.4 The Anton-Schmidt Equation of state
104
. . . . . . . . . . . . . . . . . . . . . . . 234
9.3.5 Fitting data to these equations of state . . . . . . . . . . . . . . . . . . . . . . . . 234
9.4 Miscellaneous jasp/VASP tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
9.4.1 Installing jasp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
9.4.2 Using a special setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
9.4.3 Running jasp in parallel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
9.4.4 Running multiple instances of jasp in parallel . . . . . . . . . . . . . . . . . . . . . 238
9.4.5 Exporting data json, xml, python, sqlite . . . . . . . . . . . . . . . . . . . . . . . . 242
9.4.6 Recommended values for ENCUT and valence electrons for different POTCAR files 248
10 Python 265
10.1 easy_install as a user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
10.2 Integer division math gotchas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
11 References 266
12 GNU Free Documentation License 273
13 Index 281
4

Copyright ©2012–2014\ John Kitchin
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU
Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is
included in the section entitled "GNU Free Documentation License".
5
剩余281页未读,继续阅读















安全验证
文档复制为VIP权益,开通VIP直接复制

评论1