TSTC Lectures: Theoretical & Computational Chemistry

Similar documents
TSTC Lectures: Theoretical & Computational Chemistry

3.320 Lecture 18 (4/12/05)

Principles of Equilibrium Statistical Mechanics

CH 240 Chemical Engineering Thermodynamics Spring 2007

Phase Equilibria and Molecular Solutions Jan G. Korvink and Evgenii Rudnyi IMTEK Albert Ludwig University Freiburg, Germany

Phase transitions and finite-size scaling

fiziks Institute for NET/JRF, GATE, IIT-JAM, JEST, TIFR and GRE in PHYSICAL SCIENCES

Suggestions for Further Reading

Introduction Statistical Thermodynamics. Monday, January 6, 14

Metropolis Monte Carlo simulation of the Ising Model

Nanoscale simulation lectures Statistical Mechanics

Wang-Landau Monte Carlo simulation. Aleš Vítek IT4I, VP3

J ij S i S j B i S i (1)

Scaling Theory. Roger Herrigel Advisor: Helmut Katzgraber

Wang-Landau sampling for Quantum Monte Carlo. Stefan Wessel Institut für Theoretische Physik III Universität Stuttgart

Physics 212: Statistical mechanics II Lecture XI

2. Thermodynamics. Introduction. Understanding Molecular Simulation

MONTE CARLO METHODS IN SEQUENTIAL AND PARALLEL COMPUTING OF 2D AND 3D ISING MODEL

Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles. Srikanth Sastry

A Monte Carlo Implementation of the Ising Model in Python

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below

ChE 210B: Advanced Topics in Equilibrium Statistical Mechanics

Temperature and Pressure Controls

Optimized statistical ensembles for slowly equilibrating classical and quantum systems

Renormalization Group for the Two-Dimensional Ising Model

Evaluation of Wang-Landau Monte Carlo Simulations

3.320: Lecture 19 (4/14/05) Free Energies and physical Coarse-graining. ,T) + < σ > dµ

Monte Carlo study of the Baxter-Wu model

Numerical Analysis of 2-D Ising Model. Ishita Agarwal Masters in Physics (University of Bonn) 17 th March 2011

PHYS 352 Homework 2 Solutions

Statistical Physics of The Symmetric Group. Mobolaji Williams Harvard Physics Oral Qualifying Exam Dec. 12, 2016

Classical Monte Carlo Simulations

Phase Transitions in Condensed Matter Spontaneous Symmetry Breaking and Universality. Hans-Henning Klauss. Institut für Festkörperphysik TU Dresden

Complex Systems Methods 9. Critical Phenomena: The Renormalization Group

Temperature and Pressure Controls

c 2007 by Harvey Gould and Jan Tobochnik 28 May 2007

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission.

Generalized Ensembles: Multicanonical Simulations

Topological defects and its role in the phase transition of a dense defect system

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

The Phase Transition of the 2D-Ising Model

Statistical mechanics, the Ising model and critical phenomena Lecture Notes. September 26, 2017

(# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble

Phase Transition & Approximate Partition Function In Ising Model and Percolation In Two Dimension: Specifically For Square Lattices

Introduction to the Renormalization Group

Brief Review of Statistical Mechanics

PHASE TRANSITIONS AND CRITICAL PHENOMENA

Parallel Tempering Algorithm in Monte Carlo Simulation

NPTEL

Lecture V: Multicanonical Simulations.

Phys Midterm. March 17

Statistical Thermodynamics Solution Exercise 8 HS Solution Exercise 8

424 Index. Eigenvalue in quantum mechanics, 174 eigenvector in quantum mechanics, 174 Einstein equation, 334, 342, 393

Advanced sampling. fluids of strongly orientation-dependent interactions (e.g., dipoles, hydrogen bonds)

Physics 127b: Statistical Mechanics. Second Order Phase Transitions. The Ising Ferromagnet

Statistical Mechanics

An Extended van der Waals Equation of State Based on Molecular Dynamics Simulation

i=1 n i, the canonical probabilities of the micro-states [ βǫ i=1 e βǫn 1 n 1 =0 +Nk B T Nǫ 1 + e ǫ/(k BT), (IV.75) E = F + TS =

Phase transitions and critical phenomena

Random Walks A&T and F&S 3.1.2

Thermodynamics of Three-phase Equilibrium in Lennard Jones System with a Simplified Equation of State

Thermal and Statistical Physics Department Exam Last updated November 4, L π

Statistical Thermodynamics and Monte-Carlo Evgenii B. Rudnyi and Jan G. Korvink IMTEK Albert Ludwig University Freiburg, Germany

Contents. 1 Introduction and guide for this text 1. 2 Equilibrium and entropy 6. 3 Energy and how the microscopic world works 21

Monte Carlo. Lecture 15 4/9/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Monte Carlo Methods. Ensembles (Chapter 5) Biased Sampling (Chapter 14) Practical Aspects

Monte Carlo Study of Planar Rotator Model with Weak Dzyaloshinsky Moriya Interaction

Monte Carlo Simulation of the Ising Model. Abstract

Lecture 8: Computer Simulations of Generalized Ensembles

ChE 503 A. Z. Panagiotopoulos 1

Hanoi 7/11/2018. Ngo Van Thanh, Institute of Physics, Hanoi, Vietnam.

Markov Chain Monte Carlo Method

Molecular Interactions F14NMI. Lecture 4: worked answers to practice questions

Statistical Physics. Solutions Sheet 11.

Fundamentals. Statistical. and. thermal physics. McGRAW-HILL BOOK COMPANY. F. REIF Professor of Physics Universüy of California, Berkeley

Chapter 3. Entropy, temperature, and the microcanonical partition function: how to calculate results with statistical mechanics.

The Monte Carlo Method in Condensed Matter Physics

Computational Physics (6810): Session 13

Progress toward a Monte Carlo Simulation of the Ice VI-VII Phase Transition

Phase Transitions and Critical Behavior:

Is there a de Almeida-Thouless line in finite-dimensional spin glasses? (and why you should care)

Collective Effects. Equilibrium and Nonequilibrium Physics

Invaded cluster dynamics for frustrated models

Thermodynamics at Small Scales. Signe Kjelstrup, Sondre Kvalvåg Schnell, Jean-Marc Simon, Thijs Vlugt, Dick Bedeaux

Introduction to Phase Transitions in Statistical Physics and Field Theory

Lecture 14: Advanced Conformational Sampling

(1) Consider a lattice of noninteracting spin dimers, where the dimer Hamiltonian is

Graphical Representations and Cluster Algorithms

The Ising model Summary of L12

WORLD SCIENTIFIC (2014)

Kinetic Monte Carlo (KMC) Kinetic Monte Carlo (KMC)

Recitation: 10 11/06/03

Multicanonical parallel tempering

Collective Effects. Equilibrium and Nonequilibrium Physics

Krammers-Wannier Duality in Lattice Systems

Intro. Each particle has energy that we assume to be an integer E i. Any single-particle energy is equally probable for exchange, except zero, assume

André Schleife Department of Materials Science and Engineering

Teaching Statistical and Thermal Physics Using Computer Simulations

Surface effects in frustrated magnetic materials: phase transition and spin resistivity

Collective Effects. Equilibrium and Nonequilibrium Physics

Transcription:

TSTC Lectures: Theoretical & Computational Chemistry Rigoberto Hernandez May 2009, Lecture #2 Statistical Mechanics: Structure

S = k B log W! Boltzmann's headstone at the Vienna Zentralfriedhof.!! Photo by Daderot on www.sklogwiki.org By the way, SklogWiki s symbol,!" cs,is the short-hand used by James Clerk Maxwell for the word thermodynamics. Statistical Mechanics 2

! Part II, continued:! Statistical Mechanics: Ideal This Lecture! Cf. Introduction to Modern Statistical Mechanics by D. Chandler, (Oxford University Press, USA, 1987) The green book!! Cf. Statistical Mechanics by B. Widom! Cf. Basic concepts for simple and complex liquids by J. L. Barrat & J- P. Hansen! Part III:! Statistical Mechanics: Nonideal! Part IV:! Cf. Ibid!! Statistical Mechanics of Liquids Statistical Mechanics 3

Major Concepts, Part II Ideal! Thermodynamics (macroscopic theory)! S-conjugate variables! Legendre Transforms! Statistical Mechanics Fundamentals! Ensemble! Ensemble Averages & Observables! Partition Functions! Ergodicity! Entropy and Probability! Ensembles! Extensive vs. Intensive variables! Harmonic Oscillator! Ideal Gas Sampling by: "!Monte Carlo "!Molecular Dynamics Ensembles: "!(S,V,N) #canonical "!(T,V,N) Canonical (or Gibbs) "!(T,V,!) Grand-Canonical "!(T,P,N) Isothermal-Isobaric Statistical Mechanics 4

Completing the Square Statistical Mechanics 5

Gas Consider N particles in volume, V with a generic two-body potential: V (! r 1,...,! and kinetic energy: T( p! 1,..., p! N ) = # i< j ( r ) j! r N ) = V ij r i "! " i! p i 2 2m i The Canonical partition function: 3N # 1 & Q = % ( ) d r " ) d p " e *+H ( r ", p " ) $ 2"! ' d! r = dr 1 dr 2...dr N Statistical Mechanics 6

Integrating the K.E. Q in a Gas Q = # 1 & % ( $ 2"! ' 3N ) d r " ) d p " e *+H " ( ) r, p " May generally be written as: (Warning: this is not separability!) # 1 & Q = % ( $ 2"! ' # 1 & Q = % ( $ 2"! ' 3N 3N d " p ) e N * i *+ N, # 2m i " & % ( $ ) ' i p i 2 2m i 3 2 d " r ( ) ) d r " e *+ V r " With the generic solution for any system ( ) + e,) V r " # $ e "ax 2 dx = % "# a Statistical Mechanics 7

No Interactions!Ideal Gas Assume: 1.! Ideal Gas! V(r)=0 2.! Only one molecule type: m i =m! " d r! e #$ V ( r! ) = " d r! = V N N * i 3 $ 2m i " ' 2 $ & ) = 2m" ' & ) % # ( % # ( 3N 2 The ideal gas partition function: # 1 & 3N 3N # 2m" & 2 Q = % ( % ( V N $ 2"! ' $ ) ' Statistical Mechanics 8

The Ideal Gas Law Q = # 1 & 3N # 2m" & % ( % ( $ 2"! ' $ ) ' 3N 2 V N Recall: da = "SdT " PdV + µdn ( ) A = "k B T ln Q The Pressure $ P = " #A ' & ) %#V ( T,N P = k B T " ln(q) "V P = k B T N Ideal Gas Law! V Statistical Mechanics 9

Ideal Gas: Other Observables E(T,V,N) = " # lnq #$ A(T,V,N) = "kt lnq S(T,V,N) = E " A Recall : A = E " TS T % & "(T,P,N) = e #$PV Q(T,V,N)dV 0 G(T, p,n) = #kt ln " ( S(T, p,n) = k ln " + kt ' ln " + * - ) 'T, N,P # 1 & 3N # 2m" & Q = % ( % ( $ 2"! ' $ ) ' 3N 2 V N Statistical Mechanics 10

Major Concepts, Part III! Non-Ideal Systems! Ising Model! H: Applied Field! J: Interaction (non-ideality)! Isomorphic to Lattice Gas!! Geometric vs. Energetic Frustration! Phase Transitions! Spontaneous magnetization & Critical Temperature! Exact solution for J=0 (ideal)! Nonzero J Ising Solution in 1D (exact, transfer matrix)! Nonzero J Ising Solution in 2D (exact, Onsager)! Mean Field Theory (Approximate)! Monte Carlo (Numerical) Statistical Mechanics 11

Non-Ideal Systems! Ideal systems!non-interacting systems! i.e. ideal gas! Non-ideal systems!most systems! Interactions between particles! One manifestation of particle interactions is the possibility of phase transitions!e.g., Spin Ising System or Lattice Gas:! Interactions included only at nearest neighbors Statistical Mechanics 12

Ising Spin (Magnet) Model! Ising model is lattice of spins.! Each square is large enough to hold one spin.! H: magnetic field! µ: magnetic moment! S i : direction of spin (±1)! Isomorphic to lattice gas H N E ({ S }) =!" # Hµ i S i i= 1 + interaction energy Statistical Mechanics 13

Ideal Ising Model: Q! What if the interaction energy term is 0 (i.e. the system is ideal)?! the partition function can then be obtained readily: Q( # ) "#!! i 1 e = = = { S i N }! " i= 1 S = ± 1 i N e Hµ S i # $ Hµ S i! Hµ! Hµ N N = ( e " + e ) = (2 cosh(! Hµ ))! Using the partition function many observables can be calculated. calculated. Statistical Mechanics 14

Ideal Ising Model: <E>! The average energy of the system is given by: Q (! ) = (2 cosh(! Hµ )) N E # ln Q = " #! sinh(! Hµ ) = " NHµ cosh(! Hµ ) = " NHµ tanh(! Hµ ) Statistical Mechanics 15

Interactions in the Ising Model! In the Ising model, only nearest neighbors interact. " J! ' s i s j H ij! J is the coupling constant! Why not add terms with s i squared or higher power?! J > 0 (ferromagnet)! energetically favorable for spins to be aligned! J < 0 (antiferromagnet) Statistical Mechanics 16

Frustration! Frustration occurs when you can t avoid unfavorable contacts. E.g, in a non-rectilinear Ising model:! The spins are located on the vertices.? or! J < 0 Antiferromagnetic system! Frustration arises from unfavorable contacts Statistical Mechanics 17

Phase Transitions in Ising?! Through nearest neighbor interactions, spins separated by a macroscopic distance can influence each other.! Long range correlations lead to long range order! For the spin Ising system, long range order is indicated by net magnetization of the system even in the absence of a magnetic field. M N# M = µ! Si = Nµ i S T c T -N# Statistical Mechanics 18

Phase Transitions in Ising? M N#! Order-disorder (phase) transition occurs at T c - N# M = µ! Si = Nµ i T c T S! Does a phase transition exist?! Does a region with net magnetization exist?! If H=0 when J>0 and there is a region of net magnetization then the system shows spontaneous magnetization. Statistical Mechanics 19

PMF: F(M)! The potential of mean force (PMF) gives rise to a free energy in the net magnetization! At T>T c! F(M) is a single well centered at M=0! At T=T c! F(M) is a single well centered at M=0, but the second derivative at 0 is 0! At T<T c! F(M) is a double well with a saddle at M=0, and now giving rise to TWO stable nonzero M s. Statistical Mechanics 20

1D Ising Model: Find T c! How can the critical temperature, T c, be found?! Calculate the partition function for the system Q($,H) $ M = "(lnq) ' & ) [* sinh(#µh) in 1D] % "(#H) ( H=0! If M > 0 for any $ then the system exhibits spontaneous magnetization (an order-disorder transition).! Peierl s Theorem argues that there is no net magnetization in 1D.!It also claims that if you have net magnetization at a given T for nd, then you have net magnetization at that same T at all higher dimensionality Statistical Mechanics 21

1D Ising Model: Find Q(",H) $ ' $ ' # & # Q(",H) = exp "µh S i # ) & + "J ' Si S j # & # S ) = exp "µh i + S i+1 # ) & + "J S & ) 2 i S i+1 ) & ) {S i } %& i i, j () {S i } % i i ( $ # = exp["µh S i + Si+1 + "JSiSi+1] 2 {S i } i = & q = $ % q () 1,1 1, ' 1 qs + ; q isi 1 { S } i ' 1,1 q' 1, ' 1 i = Tr( q N ) N N! = # + # " # + q N + #! " Transfer Matrix = exp{ N[! J + ln{cosh(!µ H ) + [sinh (!µ H ) + e 2 " 4! J ] 1/ 2 }]} Statistical Mechanics 22

Two Dimensions and Higher! Exact (analytic) result obtained by Lars Onsager in the 1940 s using a 2D transfer matrix technique, T = 2. 269 J C k B 1 2 ( TC! T ) T T C M " for <! Peierl s Theorem guarantees T c > 0 for the 3D and higher dimensionality Ising models T c /(J/k B ) Numerical (Exact) Onsager Net Magnetization? 1D 0 0 no 2D 2.3 2.269 yes 3D ~4 yes 4D ~8 yes Statistical Mechanics 23

Mean Field Theory (MFT) Universe of spins? S k Tagged spin H: Mean field due to the universe of spins E # N! ({ S }) = " Hµ S i - J i i= 1 2! i, j ' S i S j " E " S k =! µ H! JzS # E # S k = " µ H " J (! j S j ) k z = 2D S : Average spin of an equivalent neighbor Statistical Mechanics 24

! Consider a single spin system:! But Mean Field Theory (MFT) S = E Q( ",1, H ) =! exp{ " ( µ H S k S k S n =± 1 = 2cosh{ " ( µ H = = ' % & tanh(! JzS ) Statistical Mechanics = ( ln Q(!,1, H ) $ " (!µ H # S since no spin is special! Obtain spontaneous magnetization at k " + JzS )}! E! S + JzS ) S H = 0 T C = k k } Jz k B = 2DJ k B 25

Variational MFT! How do you know to choose the reference Hamiltonian to be that of an ideal system with mean forces?! Gibbs-Bogoliubov-Feynman Inequality!! Note also connections to:!perturbation theory!cumulant expansions!mayer cluster expansion Statistical Mechanics 26

Sping Ising Model: Summary T c /(J/k B ) Numerical (Exact) Onsager MFT 1D 0 0 2 2D 2.3 2.269 4 3D ~4 6 4D ~8 8! MFT is not always accurate.!accuracy increases with increasing dimensionality!flory-huggins Theory is a MFT for polymers!! Sometimes need something better! RG: Renormalization Group Theory Statistical Mechanics 27

Monte Carlo: Naïve Statistical Mechanics 28

Naïve MC: Calculating!! Numerics of!:! N circ, N sq, 4*N circ /N sq! 72 100 2.88 (1 digit)! 782 1000 3.128! 7910 10000 3.164 (2 digits)! 78520 100000 3.1408! 785322 1000000 3.141288 (3 digits)! 7854199 10000000 3.1416796! 78540520 100000000 3.1416208 (4 digits)! 785395951 1000000000 3.1415838! 1686652227 2147483647 3.14163459!,, 3.1415927 (8 digits) Statistical Mechanics 29

Monte Carlo: Metropolis! N. Metropolis, A. Rosenbluth, M.Rosenbluth, A. Teller and E. Teller, J. Chem. Phys. 21, 1087 (1953) Statistical Mechanics 30

Monte Carlo: Umbrella Sampling Statistical Mechanics 31

Parallel Tempering & Replica Exchange! Problem:! How do you sample all of the space on a corrugated energy landscape? (barriers greater than target T.)! Answer:! run N many replicas using MC at N different temperatures, T i, in parallel! Every so often, attempt exchanges between replicas according to probability = min( 1, exp([1/kt i - 1/kT j ][E i - E j ]))! Satisfies detailed balance RH Swendsen and JS Wang, Replica Monte Carlo simulation of spin glasses, Phys. Rev. Lett. 57, 2607-2609 (1986) " C. J. Geyer, in Computing Science and Statistics Proceedings of the 23rd Symposium on the Interface, American Statistical Association, New York, 1991, p. 156. Statistical Mechanics 32

Wang-Landau! A Monte Carlo approach for obtaining the density of states, "(E), directly! Rather than computing g(r) or other observables! A random walk through energy space!! Algorithm:! Initialize "(E)=1 for all E! Accept moves according to:! probability = min[ 1, "(E initial )/"(E trial move ) ]! Let E be the energy of the state at the end of the trial! Update "(E )= f"(e ) & the histogram H( Set(E ) )+=1! Stop once the histogram is flat, [error in "(E) = O{ln(f)} ]! Iterate, now using smaller f, F. Wang & D.P. Landau, Phys. Rev. Lett. 86, 205 (2001). [original version for spin Hamiltonian] Statistical Mechanics 33

Major Concepts, Part IV! Review:! Fluid Structure! Gas, liquid, solid,! Radial distribution function, g(r)! Potential of Mean Force! Classical Determination of g(r):! Integral Equation Theories! Molecular Dynamics! Monte Carlo! Scattering experiments (e.g., x-ray, or SANS)! Renormalization Group Theory Statistical Mechanics 34

Quantifying Structure! The Radial distribution function, g(r) solid liquid ideal gas! Statistical Mechanics 35

Liquid Structure, I! Configurational distribution:! Specific joint probability distribution: [Particle 1 (2) at r 1 (r 2 )]! Generic reduced probability distribution function: (Any particle at r 1 )! Generic n-point reduced probability distribution function (RPDF) Statistical Mechanics 36

Aside about Dirac vs. Kronecker Delta s! Kronecker: (Discrete) $ 1, if i = j " ij = " i, j = % & 0, if i # j! Dirac: (Continuous) "( x) = lim a # 0 "( x) = lim a # 0 1 2$ +& ' %& ikx% ak e %x 1 2 a $ e a 2 dx Statistical Mechanics 37

Liquid Structure, II! The 1-point RPDF is the density in an isotropic fluid:! The 2-point RPDF is also simple in an ideal gas! Separability reduces configurational distribution and the n-point specific reduced probability distribution:! Hence the 2-point RPDF is: Statistical Mechanics 38

radial distribution function, g(r)! Measure liquid structure according to how it deviates from the isotropic ideal gas limit:! If the system is isotropic, then these quantities depend only on r = r 1 r 2, and this leads to:! The challenge is: How does one calculate or measure g(r)?! Theory (e.g., integral equations, mode coupling theory, expansions)! Simulations! Experiment [FT of g(r) is related to the structure factor S(q)] Statistical Mechanics 39

Potential of Mean Force! Reversible Work Theorem:!!! Proof: Where w(r) is the Helmholtz free energy (reversible work) to move a particle from infinity to a distance r from a chosen center That is, the force on the particle in the fluid is:! Take-Home Message:! A structural calculation of g(r) can lead to an understanding of forces Statistical Mechanics 40

Integral Equations! Ornstein-Zernike Equation:! h(r 12 ) : total (pair) correlation function [ = g(r)-1 ]! c(r 12 ) : direct correlation function! Closures:! Percus-Yevick:! Hypernetted Chain (HNC):! Many others!! Reference Interaction Site Model (RISM)! Anderson & Chandler, JCP 57,1918 & 1930 (1972).! RISM for ring polymers (PRISM)! Schweizer & Curro, PRL 58, 246 (1987) c(r) e βw(r) e β[w(r) u(r)] c(r) g(r) w(r) Statistical Mechanics 41

Computer simulations of g(r)! Need force field, e.g., Lennard-Jones! Need a SamplingTechnique:! Molecular Dynamics! Monte Carlo Sampling Statistical Mechanics 42

Computer simulations of g(r)! Molecular Dynamics!!! Integration algorithm! Convergence w.r.t. step size! Convergence w.r.t. final time (ergodic?)! How do you assert convergence?»! Conservation of Energy?»! Reproducibility with time step?»! Conservation of symplectic norm»! Other? Equilibrium & nonequilibrium averages Constant T or S, P or V, µ or N Ensemble?! Stochastic forces?! Anderson barostats or Nose-Hoover thermostats! Langevin dissipation Statistical Mechanics 43

Computer simulations of g(r)! Monte Carlo Sampling! No real time averages!! Use Metropolis Monte Carlo! Choosing new configurations for the Metropolis step?! Pick initial arbitrary step size for particles! Optimize step size according to acceptance! Other types of moves???! REGARDLESS, need to ensure ergodic sampling!! Constant T ensembles! Constant µ or P ensembles?! charging methods! Widom insertion method Statistical Mechanics 44