DFT Calculations Shaun Swanson.

Slides:



Advertisements
Similar presentations
Javier Junquera Exercises on basis set generation 1. The default basis set.
Advertisements

The H 2 molecule without convergence studies Objectives: - the (pseudo)total energy - the bond length r HH Acknowledgment: exercise inspired on the first.
Modelling of Defects DFT and complementary methods
Quantum Theory of Solids
Introduction to PAW method
CHE Inorganic, Physical & Solid State Chemistry Advanced Quantum Chemistry: lecture 4 Rob Jackson LJ1.16,
DFT – Practice Simple Molecules & Solids [based on Chapters 5 & 2, Sholl & Steckel] Input files Supercells Molecules Solids.
Introduction to Molecular Orbitals
Computational Chemistry
Computational Solid State Physics 計算物性学特論 第2回 2.Interaction between atoms and the lattice properties of crystals.
Meeting 31, April 7 th Theory: ZnTe, ZnSe dispersion curves.
Physics “Advanced Electronic Structure” Lecture 3. Improvements of DFT Contents: 1. LDA+U. 2. LDA+DMFT. 3. Supplements: Self-interaction corrections,
Case Studies Class 5. Computational Chemistry Structure of molecules and their reactivities Two major areas –molecular mechanics –electronic structure.
§5.6 §5.6 Tight-binding Tight-binding is first proposed in 1929 by Bloch. The primary idea is to use a linear combination of atomic orbitals as a set of.
Exam Study Practice Do all the reading assignments. Be able to solve all the homework problems without your notes. Re-do the derivations we did in class.
Ab Initio Total-Energy Calculations for Extremely Large Systems: Application to the Takayanagi Reconstruction of Si(111) Phys. Rev. Lett., Vol. 68, Number.
Fundamentals: the quantum-mechanical many-electron problem and the Density Functional Theory approach Javier Junquera.
1 Motivation (Why is this course required?) Computers –Human based –Tube based –Solid state based Why do we need computers? –Modeling Analytical- great.
Computing lattice constant, bulk modulus and equilibrium energies of solids Bulk Si Diamond structure.
PA4311 Quantum Theory of Solids Quantum Theory of Solids Mervyn Roy (S6) www2.le.ac.uk/departments/physics/people/mervynroy.
FUNDAMENTALS The quantum-mechanical many-electron problem and Density Functional Theory Emilio Artacho Department of Earth Sciences University of Cambridge.
Introduction to run Siesta
Javier Junquera Exercises on basis set generation Increasing the angular flexibility: polarization orbitals.
Philippe Ghosez Lattice dynamics Andrei Postnikov Javier Junquera.
Density Functional Theory And Time Dependent Density Functional Theory
Computational Solid State Physics 計算物性学特論 第7回
Molecular Modeling Part I Molecular Mechanics and Conformational Analysis ORG I Lab William Kelly.
Computational Chemistry
Network for Computational Nanotechnology (NCN) Purdue, Norfolk State, Northwestern, MIT, Molecular Foundry, UC Berkeley, Univ. of Illinois, UTEP DFT Calculations.
Lectures Introduction to computational modelling and statistics1 Potential models2 Density Functional.
Practical quantum Monte Carlo calculations: QWalk
Which method? We’re using Density Functional Theory (DFT) as it gives us the most accurate results for transition metals in the least amount of time.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : DFT Plane Wave Pseudopotential versus Other Approaches CASTEP Developers’
STA Lecture 161 STA 291 Lecture 16 Normal distributions: ( mean and SD ) use table or web page. The sampling distribution of and are both (approximately)
First principles electronic structure: density functional theory
Density Functional Theory (DFT) DFT is an alternative approach to the theory of electronic structure; electron density plays a central role in DFT. Why.
Specific Heat of Solids Quantum Size Effect on the Specific Heat Electrical and Thermal Conductivities of Solids Thermoelectricity Classical Size Effect.
How to generate a pseudopotential with non-linear core corrections Objectives Check whether the non-linear core-corrections are necessary and how to include.
- Compute and analyze the band structure of an ionic solid
Electronic Band Structures electrons in solids: in a periodic potential due to the periodic arrays of atoms electronic band structure: electron states.
The eggbox effect: converging the mesh cutoff Objectives - study the convergence of the energy and the forces with respect to the real space grid.
Comp. Mat. Science School 2001 Lecture 21 Density Functional Theory for Electrons in Materials Richard M. Martin Bands in GaAs Prediction of Phase Diagram.
Fundamentals of DFT R. Wentzcovitch U of Minnesota VLab Tutorial Hohemberg-Kohn and Kohn-Sham theorems Self-consistency cycle Extensions of DFT.
Density Functional Theory A long way in 80 years L. de Broglie – Nature 112, 540 (1923). E. Schrodinger – 1925, …. Pauli exclusion Principle.
Physics “Advanced Electronic Structure” Lecture 1. Theoretical Background Contents: 1. Historical Overview. 2. Basic Equations for Interacting Electrons.
Fundamentals of Density Functional Theory Santa Barbara, CA Walter Kohn Physics-Chemistry University of California, Santa Barbara
Physics “Advanced Electronic Structure” Lecture 2. Density Functional Theory Contents: 1. Thomas-Fermi Theory. 2. Density Functional Theory. 3.
Solid State Computing Peter Ballo. Models Classical: Quantum mechanical: H  = E  Semi-empirical methods Ab-initio methods.
DENSITY FUNCTIONAL THEORY From the theory to its practical applications. - Matthew Lane; Professor J. Staunton.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : Testing Testing. Basic procedure to “validate” calculations CASTEP.
Advanced methods of molecular dynamics 1.Monte Carlo methods 2.Free energy calculations 3.Ab initio molecular dynamics 4.Quantum molecular dynamics 5.Trajectory.
© copyright 2011 William A. Goddard III, all rights reservedCh121a-Goddard-L14 Periodic Boundary Methods and Applications: Ab-initio Quantum Mechanics.
Lecture 9. Many-Electron Atoms
Computational Physics (Lecture 22) PHY4061. In 1965, Mermin extended the Hohenberg-Kohn arguments to finite temperature canonical and grand canonical.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
Comp. Mat. Science School Electrons in Materials Density Functional Theory Richard M. Martin Electron density in La 2 CuO 4 - difference from sum.
Kronig-Penney model and Free electron (or empty lattice) band structure Outline: Last class: Bloch theorem, energy bands and band gaps – result of conduction.
Isolated Si atoms.
BY SELLAVEL E (CA15M006) Guided By Prof.B.Viswanathan
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
Band structure of a cubic perovskite oxide:
Do all the reading assignments.
Production of an S(α,β) Covariance Matrix with a Monte Carlo-Generated
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
Maintaining Adiabaticity in Car-Parrinello Molecular Dynamics
Prof. Sanjay. V. Khare Department of Physics and Astronomy,
The Nuts and Bolts of First-Principles Simulation
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
Quantum Chemistry / Quantum Mechanics Density Functional Theory
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
Presentation transcript:

DFT Calculations Shaun Swanson

The Game Plan DFT Basics Job File Structure Sample Structure: Solid Mg Performing ‘scf’ Calculations on Solid Mg Converging ‘scf’ Energies Performing ‘relax’ calculations on Solid Mg The Limits of DFT Current work: GST structure and CNT properties

What is Density Functional Theory (DFT)? In Summary: “Density Functional Theory is a phenomenally successful approach to finding solutions to the fundamental equation for the quantum behavior of atoms and molecules, the Schrodinger equation, in settings of practical value.” Problem: Solving the Schrodinger equation is a many-body problem (3N bodies to be exact). Solution: Electrons are indistinguishable. So the quantity of physical interest is instead the probability that N electrons in any order have specific coordinates. So the electron density, which is a function of only 3 coordinates, contains a great deal of information that is physically observable from the full solution to the Schrodinger equation.

The T in DFT The entire field of Density Functional Theory rests on two fundamental mathematical theorems proven by Kohn and Hohenberg, and the derivation of a set of equations by Kohn and Sham. Theorem #1: There exists a 1-to-1 mapping between the ground state wave function and the ground state electron density. Theorem #2: The electron density that minimizes the energy of the above functional is the true electron density corresponding to the full solution to the Schrodinger equation. Guess the functional form and vary the electron density iteratively until the energy is minimized!

The Math A useful way to write down the functional described by Theorem #1 is in terms of the single electron wave functions (according to the Hartree Product approximation). The Schrodinger equation then becomes the Kohn-Sham equations:

Define an initial, trial electron density. Pseudocode Define an initial, trial electron density. Solve the Kohn-Sham equations using the trial electron density to find the single particle wave functions. Calculate the electron density defined by the Kohn-Sham single particle wave functions from step 2. Compare the calculated electron density with the electron density used to solve the Kohn-Sham equations. If they agree with some specified error, then compute the total energy from this density, otherwise update the trial electron density in some way. Repeat. This iterative method can lead to a solution of the Kohn-Sham equations that is self-consistent!

Methods for Efficient Computation K-points (k) Discrete points specified in Brillouin Zone used to perform numerical integration during calculation. Energy Cut-off Value (ecut) Energy value for maximum energy state included in a summation over electron states. Pseudopotentials (pp) Offers specific exchange-correlation functional form which represents frozen “core electrons.” They are based largely on empirical data.

The Game Plan DFT Basics Job File Structure Sample Structure: Solid Mg Performing ‘scf’ Calculations on Solid Mg Converging ‘scf’ Energies Performing ‘relax’ calculations on Solid Mg The Limits of DFT Current work: GST structure and CNT properties

Job File Structure Name, mass, and pseudopotential Input variables that control the amount of I/O on the hard drive and on the screen Name, mass, and pseudopotential used for each atomic species present in the system Input variables that specify the system under study. Input variables that control the algorithms used to reach a self-consistent solution of the Kohn-Sham equations. Type and coordinates of each atom in the unit cell Coordinates and weights of the K-points used for BZ integration

The Game Plan DFT Basics Job File Structure Sample Structure: Solid Mg Performing ‘scf’ Calculations on Solid Mg Converging ‘scf’ Energies Performing ‘relax’ calculations on Solid Mg The Limits of DFT Current work: GST structure and CNT properties

Solid Mg (hcp) a = 3.21 Angstrom c = 5.21 Angstrom Space group: P63/mmc

Inputting Structures into Quantum ESPRESSO There are multiple options in QE, for inputting structures. In the &SYSTEM namelist, there is a parameter called ‘ibrav’ ibrav=4 refers to the index for an internally-specified hcp Bravais lattice. Ibrav=0 allows one to self-define their unit cell. Ibrav = 4 Ibrav = 0 Internally specifies lattice vectors Requires the celldm() parameters to be specified [alat = celldm(1)] Better recognizes symmetry operations Requires CELL_PARAMETERS card for lattice vector input. alat = the length of the first lattice vector

Inputting Vectors into Quantum ESPRESSO For the required ATOMIC_POSITIONS card and the optional CELL_PARAMETERS card, the input of basis and lattice vectors follow a general format: Note: While the three lattice vectors in the CELL_PARAMETERS card can only be specified in alat-normalized Bohr units, there are four options for inputting basis vectors in ATOMIC_POSITIONS: “alat” – alat-normalized Bohr units (default) “bohr” – Bohr units “angstrom” – Angstrom units “crystal” – fractional coordinates

Performing Self-consistent Energy Calculations on Solid Mg

LDA vs. GGA Pseudopotential Approximations “Local-density approximations (LDA) are a class of approximations to the exchange-correlation (XC) energy functional in DFT that depend solely upon the value of the electronic density at each point in space (and not, for example, derivatives of the density or the Kohn-Sham orbitals).” This is more of a first-order approximation. “Generalized gradient approximations (GGA) are still local but also take into account the gradient of the density at the same coordinate.”

SCF Output As intended, the ‘mg.txt’ file only contains the following: Reading the full ‘mg.scf.out’ file, however, allows us to step through the entire calculation, from initialization through each iteration. This is useful to visualize sometimes if you’re unsure of your results and would like to visually inspect the convergence of your self-consistent energies.

Ensuring k and ecut Lead to a Converged Energy The most important skill in performing DFT calculations is the ability to get converged energies. Since the appropriate choice of k-points and ecut vary wildly among different geometries (and even different required accuracies), it is important to be able to form the following graphs every time you perform ‘scf’ calculations on new geometries. Converged values of ecut and k should be reported any time you publish DFT results, so that someone else may reproduce your calculation and agree on the same numerical error.

Energy Cut-off Convergence Plot Not only should the graph look converged, but the difference in energy between the last two consecutive points should be smaller or equal to your required accuracy!

K-point Convergence Plot Note: In an automatic distribution of k-points, the value of k specifies how many discrete points there are equally-spaced along each lattice vector to populate the Brillouin Zone. As we can see from the convergence plots, the presence of smearing does little to ensure convergence with fewer k-points.

K-point Convergence Plot (cont.) When unit cells do not have equal-length lattice vectors, it is sometimes computationally rewarding to “geometrically-optimize” your automatic k-point distribution. For example, if one had a unit cell that was four times taller in one direction than its other two directions, one should specify only a quarter as many k-points along the taller direction. This makes sense, because in reciprocal space, the taller distance will only be a quarter as long as the other two distances.

Performing Geometry Relaxation Calculations on Solid Mg ‘vc-relax’ differs from ‘relax’ only in that the cell parameters can vary during the relaxation.

VC-RELAX Output Reading the full ‘mg.rx.out’ file allows us to step through the entire calculation, from initialization through each iteration. It becomes apparent that a relaxation calculation is simply a series of scf calculations with forces specified at each step and updated positions at each iteration that correspond to the strength of the forces between the atoms in the system.

Comparing the Relaxed Structure to Literature

Comparing the Relaxed Structure to Literature (cont.) On top of comparing the ‘a’ and ‘c/a’ lattice parameters to literature and to experiment, it is also useful to compare a quantity called “cohesive energy” The difference between the average energy of the atoms of a crystal and that of the free atoms. It is important to compare cohesive energies and not specifically the self-consistent energies, because only differences in energies are physically meaningful. The energy datum for an ‘scf’ calculation is specified by the choice of pseudopotential.

The Game Plan DFT Basics Job File Structure Sample Structure: Solid Mg Performing ‘scf’ Calculations on Solid Mg Converging ‘scf’ Energies Performing ‘relax’ calculations on Solid Mg The Limits of DFT Current work: GST structure and CNT properties

What Density Functional Theory Can Do Applies to atoms, molecules, surfaces and periodic structures... Self-consistent total energies, forces, stresses (ground state) Structural optimization Elastic modulus Electron band structure of many-body systems Phonon frequencies and eigenvectors at any wave vector Full phonon dispersions Electron-phonon interactions ab-initio MD etc..

What Density Functional Theory CanNOT Do DFT Calculations are not exact solutions of the full Schrodinger equation (exact functional unknown). The Hohenberg-Kohn theorems apply only to ground state energies. Excited states can be predicted, but these predictions are not on the same footing as predictions for ground-state energies. There is a well-known inaccuracy in DFT involving the underestimation of calculated band gaps in semiconducting and insulating materials. DFT gives inaccurate results involving weak van der Waals attractions, which are a direct result of long range electron correlation. It is computationally expensive to perform DFT calculations. Simulations with hundreds of atoms are about the largest you can get.

Current NTPL Use of DFT Calculations Determining the Structure of Ge2Sb2Te5 Phase-change Material Stable Structure (hcp) Meta-stable Structure (rocksalt) Electron and Phonon Properties of Carbon Nanotubes

Any Questions? Please visit the related pages on the NTPL Wiki for more information!