Once Upon A Time, There Was A Certain Ludwig

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

Temperature and Pressure Controls

MACROSCOPIC VARIABLES, THERMAL EQUILIBRIUM. Contents AND BOLTZMANN ENTROPY. 1 Macroscopic Variables 3. 2 Local quantities and Hydrodynamics fields 4

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

Statistical Mechanics and Thermodynamics of Small Systems

Summer Lecture Notes Thermodynamics: Fundamental Relation, Parameters, and Maxwell Relations

Brief Review of Statistical Mechanics

Irreversible Processes

UNIVERSITY OF OSLO FACULTY OF MATHEMATICS AND NATURAL SCIENCES

although Boltzmann used W instead of Ω for the number of available states.

Temperature and Pressure Controls

Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature.

to satisfy the large number approximations, W W sys can be small.

Langevin Dynamics of a Single Particle

213 Midterm coming up

PHYSICS 653 HOMEWORK 1 P.1. Problems 1: Random walks (additional problems)

A Brief Introduction to Statistical Mechanics

Introduction Statistical Thermodynamics. Monday, January 6, 14

Part II: Statistical Physics

CHEM-UA 652: Thermodynamics and Kinetics

PHYS 352 Homework 2 Solutions

Statistical Mechanics

Lecture 6: Ideal gas ensembles

Computational Physics (6810): Session 13

Chapter 2: Motion a Straight Line

4. The Green Kubo Relations

Adiabatic Expansion (DQ = 0)

Part II: Statistical Physics

Gear methods I + 1/18

Caltech Ph106 Fall 2001

Statistical thermodynamics Lectures 7, 8

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B

Rubber elasticity. Marc R. Roussel Department of Chemistry and Biochemistry University of Lethbridge. February 21, 2009

Entropy and Free Energy in Biology

Lecture 8. The Second Law of Thermodynamics; Energy Exchange

Let s start by reviewing what we learned last time. Here is the basic line of reasoning for Einstein Solids

Statistical thermodynamics Lectures 7, 8

Physics 408 Final Exam

4.1 Constant (T, V, n) Experiments: The Helmholtz Free Energy

Lecture 8. The Second Law of Thermodynamics; Energy Exchange

Statistical thermodynamics (mechanics)

Energy functions and their relationship to molecular conformation. CS/CME/BioE/Biophys/BMI 279 Oct. 3 and 5, 2017 Ron Dror

What is Classical Molecular Dynamics?

First Law Limitations

Energy Barriers and Rates - Transition State Theory for Physicists

Langevin Equation Model for Brownian Motion

Statistical thermodynamics L1-L3. Lectures 11, 12, 13 of CY101

Statistical Physics. How to connect the microscopic properties -- lots of changes to the macroscopic properties -- not changing much.

ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 15 - Tues 20th Nov 2018 First and Higher Order Differential Equations

Linear algebra and differential equations (Math 54): Lecture 19

G : Statistical Mechanics Notes for Lecture 3 I. MICROCANONICAL ENSEMBLE: CONDITIONS FOR THERMAL EQUILIBRIUM Consider bringing two systems into

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs.

Statistical Mechanics. Atomistic view of Materials

CHEM-UA 652: Thermodynamics and Kinetics

e (x y)2 /4kt φ(y) dy, for t > 0. (4)

1 The fundamental equation of equilibrium statistical mechanics. 3 General overview on the method of ensembles 10

Entropy and Free Energy in Biology

Entropy for Mathematicians or... The final Blaubeuren chapters

Physics Sep Example A Spin System

Introduction. Chapter The Purpose of Statistical Mechanics

CHAPTER V. Brownian motion. V.1 Langevin dynamics

Review Materials Midterm 1

Removing the mystery of entropy and thermodynamics. Part 3

UNDERSTANDING BOLTZMANN S ANALYSIS VIA. Contents SOLVABLE MODELS

Basic Concepts and Tools in Statistical Physics

G : Statistical Mechanics

1. Thermodynamics 1.1. A macroscopic view of matter

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

Topics covered so far:

Thermodynamics: Entropy

Christel Hohenegger A simple model for ketchup-like liquid, its numerical challenges and limitations April 7, 2011

Statistical thermodynamics for MD and MC simulations

Lecture 14. Entropy relationship to heat

Columbia University Department of Physics QUALIFYING EXAMINATION

Grand Canonical Formalism

arxiv: v1 [cond-mat.stat-mech] 7 Mar 2019

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

Sequences and infinite series

Lecture Notes Set 3a: Probabilities, Microstates and Entropy

Thus, the volume element remains the same as required. With this transformation, the amiltonian becomes = p i m i + U(r 1 ; :::; r N ) = and the canon

Entropy and Ergodic Theory Lecture 12: Introduction to statistical mechanics, I

The Completion of a Metric Space

Dynamical Systems and Mathematical Models A system is any collection of objects and their interconnections that we happen to be interested in; be it

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

Onsager theory: overview

Mathematics 256 a course in differential equations for engineering students

Non-equilibrium phenomena and fluctuation relations

Ab Ini'o Molecular Dynamics (MD) Simula?ons

ChE 503 A. Z. Panagiotopoulos 1

Statistical mechanics of classical systems

This is a Gaussian probability centered around m = 0 (the most probable and mean position is the origin) and the mean square displacement m 2 = n,or

Contents. 1 Introduction 1

Metric spaces and metrizability

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 8 10/1/2008 CONTINUOUS RANDOM VARIABLES

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 Equilibria and Molecular Solutions Jan G. Korvink and Evgenii Rudnyi IMTEK Albert Ludwig University Freiburg, Germany

A path integral approach to the Langevin equation

Some Notes on Linear Algebra

3 Biopolymers Uncorrelated chains - Freely jointed chain model

The fine-grained Gibbs entropy

Transcription:

Once Upon A Time, There Was A Certain Ludwig Statistical Mechanics: Ensembles, Distributions, Entropy and Thermostatting Srinivas Mushnoori Chemical & Biochemical Engineering Rutgers, The State University of New Jersey 2 nd March 2016

First, a few things It is impossible to cover this topic comprehensively in fifteen minutes A lot of the math has been omitted for accessibility Have an open mind

Statistical Mechanics Thermodynamics has a certain reputation Classical thermodynamics especially so Statistical Thermodynamics is slightly easier to visualize (Far easier to imagine a bunch of balls flying around in a box) It is concerned with Emergent Behaviour

What are they? Ensembles

What are they? Ensembles

What are they? Ensembles

What are they? Ensembles

What are they? Ensembles

What are they? Ensembles

Ensembles What are they? Four distinct (and permissible) microstates

Ensembles What are they? Four distinct (and permissible) microstates Repeat for all atoms and all possible displacements So an ensemble is really an ensemble of states

Ensembles In terms of Thermodynamic Constraints: Canonical (N, V, T): Closed system Microcanonical (N, V, E): Isolated system Grand Canonical (μ, V, T): Open system Therefore, constraints define an ensemble but do not constitute it

The Notion of Time Another look at the four microstates: No global order of precedence can be established

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf Several throws later

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf?!

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf The Boltzmann Distribution! E M

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf The Boltzmann Distribution! E e x M

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf The Boltzmann Distribution! E P i = Ce Ei/kT M

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf The Boltzmann Distribution! P i = Ce Ei/kT E M C = 1/ i=1 e Ei/kT M

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf The Boltzmann Distribution! E P i = e Ei/kT σ M i=1 e Ei/kT M

Distribution of Energy States Consider a thought experiment: You and a really big bookshelf The Boltzmann Distribution! E P i = e Ei/kT σ M i=1 e Ei/kT M

Partition Function Q (N, V, T): M Q = i=1 e Ei/kT The Partition Function A measure of the total number of accessible states Also tells us how the energy, in a sense, is partitioned between the various microstates (density of states), hence the name

Practical Significance of the partition Function The Partition Function can be used to compute thermodynamic properties, for example the Internal Energy E: E defined as the probabilistically weighted ensemble average energy < E >= σ M i=1 p i E i = Q(N, V, T) i=1 Some simple differentiation yields: M Ei e Ei/kT E = kt 2 lnq T

Boltzmann and the Second Law of Thermodynamics Boltzmann formulated the Second Law in the famous equation: S = k lnw S=Entropy k=boltzmann Constant W=Number of microstates corresponding to a given macrostate

Boltzmann and the Second Law of Thermodynamics Revisiting the Partition Function: M Q = i=1 e Ei/kT A low density of states means that there are literally fewer states for the system to jump to, meaning a lower entropy In the previously discussed example, the Q works out to zero, meaning that it is in the state of least entropy.

Thermostatting in MD simulations Thermostatting: The method of maintaining a specified temperature in the simulation Non-trivial. Must preserve thermodynamics, i.e. the correct distribution of microstates in the ensemble. Must preserve realistic dynamics, i.e. Newton s equations of motion should be able to accurately predict transport properties.

Thermostatting in MD simulations The meaning of temperature as seen earlier: Temperature is a direct consequence of velocities of the particles in a system Most intuitive way of controlling temperature?

Thermostatting in MD simulations The meaning of temperature as seen earlier: Temperature is a direct consequence of velocities of the particles in a system Most intuitive way of controlling temperature? Change velocities to see a corresponding change in temperature

Thermostatting: Velocity Rescaling Velocity Rescaling: controlling (scaling) the velocity distribution by a specific factor so as to arrive at the desired temperature. Velocities scaled according to the equation V new = T 0 ΤT V old Here, T 0 is the desired temperature, and T is the instantaneous temperature calculated from the velocities of the particles.

Thermostatting: Velocity Rescaling Velocity Rescaling however fails due to one major flaw: Consider how frequently the scaling is factored in. In the limit of scaling occurring at every timestep, energy remains constant, i.e. no fluctuations

Thermostatting: Velocity Rescaling Velocity Rescaling however fails due to one major flaw: Consider how frequently the scaling is factored in. In the limit of scaling occurring at every timestep, energy remains constant, i.e. no fluctuations Why is this bad?

The Langevin Thermostat The Langevin Thermostat is a superior thermostat to the Velocity Rescaling Method. Assumes that the particles being simulated exist in a continuum of smaller particles. Langevin Dynamics are extremely useful to mimic solvent effects in implicit solvent systems. Langevin Dynamics can rigorously reproduce the canonical ensemble.

The Langevin Thermostat The Langevin Thermostat accounts for the presence of a solvent by assuming a continuum of smaller particles. The smaller particles provide kicks to the particles being simulated the same way solvent molecules would. The technique simulates the effect of the solvent on the particles being simulated. Solvent hydrodynamics, however, are not captured.

The Langevin Thermostat The Langevin equation is very difficult to derive in three dimensions, but reasonably simple in a simple 1 dimensional system. We can start with the Newton s Equation of Motion: m dv dt = ζv = 6πηv Easy enough to solve: v t = e ζtτ m v(0) HUGE problem: < v 2 > k B T/m

The Langevin Thermostat The Random Kick Correction: m dv dt = ζv + δr(t) Random Force : δr(t) This is actually called a Gaussian White Noise Two properties must be fulfilled for a variable to be called a Gaussian White Noise signal <δr(t)> = 0 (Averages to zero) <δr(t) δr(t )> = 2Bδ(t t ) (Autocorrelation function)

The Langevin Thermostat The Random Kick Correction: m dv dt = ζv + δr(t) Random Force : δr(t) This is actually called a Gaussian White Noise Two properties must be fulfilled for a variable to be called a Gaussian White Noise signal <δr(t)> = 0 (Averages to zero) <δr(t) δr(t )> = 2Bδ(t t ) (Autocorrelation function)

Fluctuation-Dissipation Theorem Random kicks(i.e. fluctuations) and viscous drag (i.e. dissipation) CANNOT be independent of each other. Rigorous proof of this is beyond our scope for now. We can however write the fluctuations in a 1-D LD equations as a source term.

Fluctuation-Dissipation Theorem The general form of a first order linear ODE is as follows: dy dx + p x y = q(x)

Fluctuation-Dissipation Theorem The general form of a first order linear ODE is as follows: dy dx + p x y = q(x) The solution to this equation is a linear combination of the general solution (i.e. q(x)=0) and the particular solution. y x = Ce x p t dt + e x p t dt x e s p t dt q s ds

Fluctuation-Dissipation Theorem The random-kick corrected equation of motion is of the same form, so making the appropriate substitutions and simplifying we have (PLEASE work through this at home): Τ v t = e ζt m v 0 + න 0 t Τ dt e ζ m t t δr(t )/m Now the correct ensemble mean squared velocity is given by: Square and take the average. < v 2 > = k BT m

Fluctuation-Dissipation Theorem < v 2 ζtτ >=< e m v 0 + න 0 t Τ dt e ζ m t t δr(t )/m 2 > 2ζt First Term: e m v 2 0 0 Second Term: < δr t > = 0 Third Term: Τ t 0 dt e ] ζτm t t t δr(t )/m] ] 0 dt e ζτm t t δr(t )/m]

Fluctuation-Dissipation Theorem < v 2 ζtτ >=< e m v 0 + න 0 t Τ dt e ζ m t t δr(t )/m 2 > 2ζt First Term: e m v 2 0 0 Second Term: < δr t > = 0 Third Term: Τ t 0 dt e ] ζτm t t t δr(t )/m] ] 0 dt e ζτm t t δr(t )/m] So, <v 2 >= 1 t m 2 0 e ζ(2t t t ) m < δr(t ) δr t Τ > dt dt

Fluctuation-Dissipation Theorem <v 2 >= 1 t m 2 0 e ζ(2t t t ) m < δr(t ) δr t Τ > dt dt Now, use Fubini s Theorem for solving the double integral and make a few variable transforms (I ll include a link at the end that details these transforms, they are a little involved but not difficult) Therefore, Τ <v 2 >= 1 t m 2 0 e ζ m < δr(0) δr t > dt

Fluctuation-Dissipation Theorem <v 2 >= 1 t m 2 0 e ζ(2t t t ) m < δr(t ) δr t Τ > dt dt Now, use Fubini s Theorem for solving the double integral and make a few variable transforms (I ll include a link at the end that details these transforms, they are a little involved but not difficult) Therefore, Τ <v 2 >= 1 t m 2 0 e ζ m < δr(0) δr t > dt = k B T/m

Fluctuation-Dissipation Theorem <v 2 >= 1 t m 2 0 e ζ(2t t t ) m < δr(t ) δr t Τ > dt dt Now, use Fubini s Theorem for solving the double integral and make a few variable transforms (I ll include a link at the end that details these transforms, they are a little involved but not difficult) Therefore, Τ <v 2 >= 1 t m 2 0 e ζ m < δr(0) δr t > dt = k B T/m Recall: <δr(t) δr(t )> = 2Bδ(t t ) (Autocorrelation Function)

Fluctuation-Dissipation Theorem <v 2 >= 1 t m 2 0 e ζ(2t t t ) m < δr(t ) δr t Τ > dt dt Now, use Fubini s Theorem for solving the double integral and make a few variable transforms (I ll include a link at the end that details these transforms, they are a little involved but not difficult) Therefore, Τ <v 2 >= 1 t m 2 0 e ζ m < δr(0) δr t > dt = k B T/m

Fluctuation-Dissipation Theorem Recall: <δr(t) δr(t )> = 2Bδ(t t ) (Autocorrelation Function) k So, we have B T = B 1 e 2ζtΤ m, m ζm which in the limit of t becomes B/ ζm Thus we have: <δr(t) δr(t )> = 2Bδ(t t )= 2k B Tζδ(t t )

Conclusions Through the course of the talk we have explored: Ensembles The Boltzmann Distribution Partition Functions Boltzmann s idea of Entropy The concept of thermostatting Velocity rescaling Langevin Dynamics And the dreaded link: https://web.stanford.edu/~peastman/statmech/friction.html

Conclusions Suggested reading: STRONGLY recommended (No, seriously.)

Conclusions Thank you.