30 January 20014471 Solid-State Physics1 4471 Session 4: Numerical Simulations Introduction to simulations Potential functions and inter-atomic interactions.

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Introduction to Computational Chemistry NSF Computational Nanotechnology and Molecular Engineering Pan-American Advanced Studies Institutes (PASI) Workshop.
Wave function approaches to non-adiabatic systems
Review Of Statistical Mechanics
Molecular Dynamics at Constant Temperature and Pressure Section 6.7 in M.M.
Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
Modelling of Defects DFT and complementary methods
Monte Carlo Methods and Statistical Physics
1 Lecture 5 The grand canonical ensemble. Density and energy fluctuations in the grand canonical ensemble: correspondence with other ensembles. Fermi-Dirac.
Molecular Quantum Mechanics
Introduction to Molecular Orbitals
Chapter 3 Electronic Structures
Computational Chemistry
Quantum One: Lecture 3. Implications of Schrödinger's Wave Mechanics for Conservative Systems.
Computational Solid State Physics 計算物性学特論 第2回 2.Interaction between atoms and the lattice properties of crystals.
Quantum Mechanics Discussion. Quantum Mechanics: The Schrödinger Equation (time independent)! Hψ = Eψ A differential (operator) eigenvalue equation H.
Potential Energy Surfaces
Periodicity of Atomic Properties Elements in the same group have the same number of valence electrons and related electron configurations; hence have similar.
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
Thermal Properties of Crystal Lattices
Density Functional Theory And Time Dependent Density Functional Theory
Molecular Modeling Fundamentals: Modus in Silico C372 Introduction to Cheminformatics II Kelsey Forsythe.
Advanced methods of molecular dynamics Monte Carlo methods
Solid State Physics Bands & Bonds. PROBABILITY DENSITY The probability density P(x,t) is information that tells us something about the likelihood of.
Introduction to (Statistical) Thermodynamics
Monte-Carlo simulations of the structure of complex liquids with various interaction potentials Alja ž Godec Advisers: prof. dr. Janko Jamnik and doc.
MSEG 803 Equilibria in Material Systems 6: Phase space and microstates Prof. Juejun (JJ) Hu
1 Physical Chemistry III Molecular Simulations Piti Treesukol Chemistry Department Faculty of Liberal Arts and Science Kasetsart University :
Atomic units The atomic units have been chosen such that the fundamental electron properties are all equal to one atomic unit. (me=1, e=1, = h/2 = 1,
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : DFT Plane Wave Pseudopotential versus Other Approaches CASTEP Developers’
Free energies and phase transitions. Condition for phase coexistence in a one-component system:
Javier Junquera Molecular dynamics in the microcanonical (NVE) ensemble: the Verlet algorithm.
Molecular Dynamics Simulation Solid-Liquid Phase Diagram of Argon ZCE 111 Computational Physics Semester Project by Gan Sik Hong (105513) Hwang Hsien Shiung.
MODULE 8 APPROXIMATION METHODS I Once we move past the two particle systems, the Schrödinger equation cannot be solved exactly. The electronic inter-repulsion.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points.
1 CE 530 Molecular Simulation Lecture 6 David A. Kofke Department of Chemical Engineering SUNY Buffalo
The Ideal Monatomic Gas. Canonical ensemble: N, V, T 2.
8. Selected Applications. Applications of Monte Carlo Method Structural and thermodynamic properties of matter [gas, liquid, solid, polymers, (bio)-macro-
Mean-Field Description of Heavy Neutron-Rich Nuclei P. D. Stevenson University of Surrey NUSTAR Neutron-Rich Minischool Surrey, 2005.
Chapter 11 – Intermolecular Forces, Liquids and Solids Homework: 13, 16, 18, 19, 23, 43, 45, 47, 48, 49, 50, 51, 54, 55, 56.
THEORY The argumentation was wrong. Halting theorem!
Time-dependent Schrodinger Equation Numerical solution of the time-independent equation is straightforward constant energy solutions do not require us.
Path integral Monte Carlo
NCN nanoHUB.org Wagner The basics of quantum Monte Carlo Lucas K. Wagner Computational Nanosciences Group University of California, Berkeley In collaboration.
Ch 22 pp Lecture 2 – The Boltzmann distribution.
Chapter2. Some Thermodynamics Aspects of Intermolecular Forces Chapter2. Some Thermodynamics Aspects of Intermolecular Forces 한국과학기술원 화학과 계면화학 제 1 조 김동진.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
ChE 452 Lecture 17 Review Of Statistical Mechanics 1.
Chemistry 700 Lectures. Resources Grant and Richards, Foresman and Frisch, Exploring Chemistry with Electronic Structure Methods (Gaussian Inc., 1996)
Quantum Mechanics/ Molecular Mechanics (QM/MM) Todd J. Martinez.
Interacting Molecules in a Dense Fluid
Last hour: Electron Spin Triplet electrons “avoid each other”, the WF of the system goes to zero if the two electrons approach each other. Consequence:
Lecture 5. Many-Electron Atoms. Pt
Javier Junquera Importance sampling Monte Carlo. Cambridge University Press, Cambridge, 2002 ISBN Bibliography.
Lecture 3. Full statistical description of the system of N particles is given by the many particle distribution function: in the phase space of 6N dimensions.
The Hydrogen Atom The only atom that can be solved exactly.
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
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.
Electrostatic field in dielectric media When a material has no free charge carriers or very few charge carriers, it is known as dielectric. For example.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
Computational Physics (Lecture 10) PHY4370. Simulation Details To simulate Ising models First step is to choose a lattice. For example, we can us SC,
Comp. Mat. Science School Electrons in Materials Density Functional Theory Richard M. Martin Electron density in La 2 CuO 4 - difference from sum.
Ch.1. Elementary Quantum Chemistry
Overview of Molecular Dynamics Simulation Theory
Maintaining Adiabaticity in Car-Parrinello Molecular Dynamics
Schrödinger Theory of the Electronic Structure of Matter from a ‘Newtonian’ Perspective Viraht Sahni.
Hartree Self Consistent Field Method
Quantum One.
Presentation transcript:

30 January Solid-State Physics Session 4: Numerical Simulations Introduction to simulations Potential functions and inter-atomic interactions [Break] How to simulate on the atomic scale: Monte Carlo and Molecular Dynamics approaches Contact details: Andrew Fisher, UCL x1378,

30 January Solid-State Physics2 The idea of (atomistic) simulation This course is about structureof materials and its relationship to properties The simulation approach: start from atoms and the interactions between them + Interactions

30 January Solid-State Physics3 The idea of (atomistic) simulation Deduce the equilibrium structure of the system, and other properties: –Macroscopic variables (e.g. pressure, volume) –Measurable structural parameters for comparison with experiment (e.g. structure factor for a liquid, lattice vectors for a crystal) –Quantities not directly related to structure (e.g. electrical properties) + Interactions Properties e.g. S(q,  ), p(V,T),  Structure

30 January Solid-State Physics4 Why do this? Point is not (just) to reproduce the results of experiments Aim to –Gain confidence to calculate quantities that cannot easily be measured –Gain understanding of relationships between physical quantities in situations too complicated to treat by analytical theory

30 January Solid-State Physics5 Warnings Simulation can be deceptively easy to do; they are not a substitute for experiment or understanding Results are entirely dependent on –Choosing a good enough form for the interatomic interactions –Using a suitable simulation algorithm to extract the physics one is interested in Garbage in, garbage out!

30 January Solid-State Physics6 Inter-atomic interactions Born-Oppenheimer approximation Variational Principle and Hellman-Feynman theorem Simple empirical potentials First-principles routes to interatomic interactions: Hartree- Fock and Density Functional Theory Modern approximations informed by first-principles results

30 January Solid-State Physics7 The Born-Oppenheimer Approximation (1) In a condensed-phase system the electron distributions of the atoms overlap strongly The interatomic forces and potential energy are determined by the behaviour of the bonding electrons, which itself depends on the atomic structure Formalise this within the Born-Oppenheimer approximation: Full wavefunction Atomic (nuclear) positions Electron coordinates Electron wavefunction for given nuclear positions R Nuclear wavefunction

30 January Solid-State Physics8 The Born-Oppenheimer Approximation (2) Nuclear wavefunction obeys the Schrödinger equation For many purposes (including everywhere in this lecture) it’s OK to replace this nuclear Schrödinger equation by its classical approximation, so the nuclei obey Newton’s classical laws of motion

30 January Solid-State Physics9 The Born-Oppenheimer Approximation (3) The effective potential for the nuclei is determined by solving the electronic Schrödinger equation and then adding in the nuclear-nuclear repulsion: I,J label atoms with positions R I, R J i,j label electrons with positions r i, r j Nucleus-nucleus interaction Electron K.E. Electron-electron interactionElectron-nucleus interaction

30 January Solid-State Physics10 The variational principle and the Hellman-Feynman theorem (1) In the vast majority of cases the system moves on the ground-state potential surface, for which the electronic energy is the minimum possible (subject to maintaining the normalization of the wavefunction):

30 January Solid-State Physics11 The variational principle and the Hellman-Feynman theorem (2) For a general electron state  we would have to remember that the electronic energy depends on the state, as well as explicitly on the atomic positions In order to find the force on any particular atom, we would therefore have use the chain rule to write Explicit dependence of H on R Implicit dependence of E on R via the change in wavefunction as atoms move

30 January Solid-State Physics12 The variational principle and the Hellman-Feynman theorem (3) For the ground state (or indeed any electronic eigenstate) the electronic energy is stationary with respect to variations in  We can therefore ignore the second term, to get Force just involves calculating the electric field at the nuclear site from the charge distribution of electrons Only part of electronic Hamiltonian depending explicitly on atomic positions Electric field produced by electron charge distribution

30 January Solid-State Physics13 Simple empirical potentials Capture very simple interactions between atoms Usually work in situations where it is easy to identify individual `atomic’ charge distributions, and these do not vary strongly as the atoms move around We will look at three often used examples: –`Hard-sphere’ potentials –Models of rare-gas liquids and solids –Models of strongly ionic solids and liquids (point charges, shell model, and other polarizable ion models)

30 January Solid-State Physics14 Hard-sphere potential Atoms modelled by hard spheres that never overlap: Not a realistic model for physical systems but considerable historical interest (was among first systems simulated, exhibits entropy-driven phase freezing) and useful as a reference point for thermodynamic integration (see later) V r Allowed region Forbidden region

30 January Solid-State Physics15 Interactions of rare-gas atoms Rare-gas atoms have chemically-inert closed shells of electrons Dominant features are –Long-range attraction via Van der Waals forces –Sort-range replulsion from overlap of electron clouds Captured by potentials such as Lennard-Jones: R=  V=-  R=2 1/6  V R

30 January Solid-State Physics16 Strongly ionic materials: point ion model Interactions driven by a transfer of electron(s) from one species to another, creating positively and negatively charged ions Point ion model: these ions interact with one another like point charges

30 January Solid-State Physics17 Strongly ionic materials: point ion model (2) Unlike Lennard-Jones potential, potential at any given site is not dominated by the nearest neighbours Instead, must perform sum to infinity- this sum is not `absolutely convergent’ so the order of terms matters (corresponds to different terminations of the material)

30 January Solid-State Physics18 Strongly ionic materials: shell model Next level of refinement: introduce a `shell’ which can move independently of the ion core Adjust position of `shell’ to minimise the local energy: corresponds to a dipole moment - Local electric fieldAtomic polarizability Core charge Xe Shell charge Ye Xe+Ye=Ze (full ion charge)

30 January Solid-State Physics19 Strongly ionic materials - summary Shell and point-ion models work best for very highly ionic solids such as alkali halides (Group I + Group VII) For materials such as oxides there is more covalent character in the bonding Either introduce a complicated dependence of the polarizability on the environment, or treat the covalent bonding explicitly (e.g. by first-principles techniques)

30 January Solid-State Physics20 ‘Ab initio’ approaches Choosing the right interatomic potential is a delicate and subtle business. Potentials that work in one environment (e.g. a perfect crystal) may fail in another (e.g. a defective or disordered material) X

30 January Solid-State Physics21 ‘Ab initio’ approaches - the ideal Aim to get round this by calculating electronic energy directly from the principles of quantum mechanics If done properly, such calculations will automatically be ‘transferable’, since they embody no information specific to a particular structure + - Assume some V(R)  (r) Deduce V eff (R)

30 January Solid-State Physics22 ‘Ab initio’ approaches - the problem Need to solve the N-particle Schrödinger equation For one electron, might do this by expanding  in terms of a complete set of basis states {  }: For M basis states, there are M unknown coefficients {c  }

30 January Solid-State Physics23 ‘Ab initio’ approaches - the problem But for N electrons, the wavefunction has to depend on all N variables Taking account of the Pauli exclusion principle, suitable N- electron basis functions are Slater determinants: The number of determinants (and hence of unknown expansion coefficients) increases very rapidly - as N-electron basis function 1-electron basis functions

30 January Solid-State Physics24 ‘Ab initio’ approaches - the problem Example: consider a situation with 4 outer electrons per atom (e.g. carbon or silicon) and 8 basis functions per atom (e.g. s, p x, p y, p z with spin up and spin down) 8 electrons: number of coefficients needed is electrons: number of coefficients needed is 1.38  electrons: number of coefficients needed is 1.08  Continues to grow exponentially with system size

30 January Solid-State Physics25 The Hartree-Fock Approximation Ideally we would like to recover a set of independent Schrödinger equations for N separate electrons (as treated in elementary solid-state physics courses!) One way of doing this: restrict the expansion of the wavefunction to a single optimized determinant One-particle states optimized to give lowest total energy

30 January Solid-State Physics26 The Hartree-Fock Approximation This approach omits correlation between the electrons The one-electron orbitals are determined by an effective Schrödinger-like equation: Each individual  is a one-electron function, so need only N  M variational parameters (many fewer) ` Hartree potential’ - potential of classical electron charge distribution `Exchange potential’ - purely quantum, comes from Pauli principle Interaction with external potential (nuclei)

30 January Solid-State Physics27 The Hartree-Fock Approximation Caution: the total electronic energy is not the sum of the Hartree-Fock eigenvalues (this would double-count the electron-electron interaction terms) The difficulty: the exchange term is quite difficult to evaluate since it is non-local Still have no account at all of correlation between electrons of opposite spin Solution to (some of) these difficulties: Density Functional Theory (Hohenberg and Kohn 1964; Nobel Prize 1999)

30 January Solid-State Physics28 Density Functional Theory Energy of a system of electrons can (in principle) be written in a way that depends only on the electron charge density  (r) This is so because no two ground states for different potentials can have the same charge density Write total energy as K.E. of noninteracting particles at this density Interaction with external potential The rest! Interaction with Hartree potential

30 January Solid-State Physics29 Density Functional Theory (2) Enables one to derive an exact set of one-electron equations Problem: all the nasty bits (including exchange) are now swept up into the exchange-correlation energy A simple approximation, the Local Density Approximation, is surprisingly good: approximate exchange-correlation energy per electron at each point by its value for a homogeneous electron gas of the same density

30 January Solid-State Physics30 Simulation methods Static calculations Molecular dynamics Monte Carlo methods

30 January Solid-State Physics31 Static methods Based on minimizing the energy as a function of the atomic configuration Appropriate when total energy dominates fluctuations (i.e. for solids, low temperatures) Tricky issues: –Avoiding getting `stuck’ in false energy minima –Finding efficient algorithms to cope with an energy surface that has very different slopes in different directions (e.g. a steep `valley’ with a shallow `bottom’) –Coping with long-range parts of the force –Indluing finite-temperature effects (expand potential about ground- state position, treat as collection of harmonic oscillators)

30 January Solid-State Physics32 Molecular Dynamics (1) Basic idea: simply follow Newton’s equations of motion for the atoms Break time into discrete `steps’  t, compute forces on atoms from their positions at each timestep Evolve positions by, for example, Verlet algorithm......or the equivalent `velocity Verlet’ scheme

30 January Solid-State Physics33 Molecular Dynamics (2) Follow the `trajectory’ and use it to sample the states of the system Assuming forces are conservative, the total energy will be conserved with time (to order (  t) 2 in the case of Verlet) So, the system samples the ‘microcanonical’ (constant- energy) thermodynamic ensemble, provided that the trajectory eventually passes through all states with a given energy Requires that there should be no conserved quantities in the dynamics apart from the total energy (ergodicity)

30 January Solid-State Physics34 Molecular Dynamics (3) Refinements exist to allow simulations at – Constant temperature (an additional variable is connected to the system which acts as a ‘heat bath’) –Constant pressure (the volume of the system is allowed to fluctuate) –Constant stress (the shape, as well as the volume, of the system is allowed to fluctuate) Can be combined especially efficiently with ab initio density functional theory: electronic states are evolved continuously as the atoms are propagated, in order to keep the atomic forces (calculated by Hellman-Feynman) up to date

30 January Solid-State Physics35 Monte Carlo Methods (1) For a system in thermal equilibrium, know the probability P that it should occupy any given microstate r: So in principle can find the thermodynamic average of any quantity by summing over all microstates: for example, for the energy,

30 January Solid-State Physics36 Monte Carlo Methods (2) The catch: there are usually far too many microstates to evaluate this sum explicitly Example: suppose we have N atoms and we need to sample 10 positions of each atom to average properly. We need 10 N points to perform the whole average. The Monte Carlo method: replace the whole sum by a sample of a selected set of states

30 January Solid-State Physics37 Monte Carlo sampling procedures (1) Could in principle select states completely at random (with uniform probability) - but this would very often pick a high-energy state with negligible probability of occurrence Instead, arrange that each state r is selected with a probability equal to its probability P r of appearing in thermal equilibrium, so more likely states appear more often Ideally would like the states to be drawn independently from this distribution; in practice this is very difficult because we do not know the partition function Z

30 January Solid-State Physics38 Monte Carlo sampling procedures (2): Markov processes Generate a sequence of configurations via a Markov process: at each step generate a new configuration with a probability that depends only on the current configuration, not on the history For a stationary Markov process the transition probabilities W remain fixed with time Transition probability W(r  r’)

30 January Solid-State Physics39 Monte Carlo sampling procedures (3): Detailed Balance Two important requirements for the Markov chain: –The microreversibility (or detailed balance) condition: –The accessibility condition: every configuration of the system must be accessible from every other in a finite number of steps (necessary to prevent the system becoming `trapped’ and never sampling parts of configuration space)

30 January Solid-State Physics40 Monte Carlo sampling procedures (4) The Metropolis algorithm (Metropolis et al 1953): choose a new configuration from the old one by making some trial change in a way that treats the old and new configurations symmetrically (e.g. move one atom randomly within a sphere of selected radius) Trial Accept Reject rr’ r

30 January Solid-State Physics41 Monte Carlo sampling procedures (5) Accept trial configuration as new configuration with probability Trial Accept Reject rr’ r

30 January Solid-State Physics42 Making use of Monte Carlo To think about: given a sequence of configurations generated by the Metropolis algorithm, how would you find –The mean energy of the system? –An estimate for the statistical error in the energy? –The pair correlation function? –The heat capacity? –The free energy?