1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE 591-009 Prof. C. Heath Turner Lecture 17 Some materials adapted from Prof. Keith E. Gubbins:

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
The Kinetic Theory of Gases
Statistical mechanics
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
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.
Survey of Molecular Dynamics Simulations: Week 2 By Will Welch For Jan Kubelka CHEM 4560/5560 Fall, 2014 University of Wyoming.
Introduction to Statistical Thermodynamics (Recall)
Lecture 4 – Kinetic Theory of Ideal Gases
Molecular Dynamics. Basic Idea Solve Newton’s equations of motion Choose a force field (specified by a potential V) appropriate for the given system under.
Incorporating Solvent Effects Into Molecular Dynamics: Potentials of Mean Force (PMF) and Stochastic Dynamics Eva ZurekSection 6.8 of M.M.
MSEG 803 Equilibria in Material Systems 8: Statistical Ensembles Prof. Juejun (JJ) Hu
1 Lecture 3 Entropy in statistical mechanics. Thermodynamic contacts: i.mechanical contact, ii.heat contact, iii.diffusion contact. Equilibrium. Chemical.
Symmetry. Phase Continuity Phase density is conserved by Liouville’s theorem.  Distribution function D  Points as ensemble members Consider as a fluid.
Statistical Mechanics
Introduction to Thermostatics and Statistical Mechanics A typical physical system has N A = X particles. Each particle has 3 positions and.
1 Ch3. The Canonical Ensemble Microcanonical ensemble: describes isolated systems of known energy. The system does not exchange energy with any external.
1 CE 530 Molecular Simulation Lecture 2 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
PTT 201/4 THERMODYNAMIC SEM 1 (2012/2013). Objectives Apply the second law of thermodynamics to processes. Define a new property called entropy to quantify.
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 11 Some materials adapted from Prof. Keith E. Gubbins:
Introduction to (Statistical) Thermodynamics
1 Lecture 2 Summary Summary 1) The Zeroth Law: Systems that have no tendency to transfer heat are at the same temperature. 2) Work: A process which transfers.
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.
Statistical Thermodynamics CHEN 689 Fall 2015 Perla B. Balbuena 240 JEB
© 2005 Pearson Prentice Hall This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their.
1 CE 530 Molecular Simulation Lecture 17 Beyond Atoms: Simulating Molecules David A. Kofke Department of Chemical Engineering SUNY Buffalo
Lecture 2 : Canonical Ensemble and the Partition Function Dr. Ronald M. Levy Statistical Thermodynamics.
The Laws of Thermodynamics
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December 2001 Lecture 18: First Look at Molecular Dynamics CASTEP Developers’ Group.
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
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 14 Some materials adapted from Prof. Keith E. Gubbins:
8. Selected Applications. Applications of Monte Carlo Method Structural and thermodynamic properties of matter [gas, liquid, solid, polymers, (bio)-macro-
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Supplement – Statistical Thermodynamics
9/24/2014PHY 711 Fall Lecture 131 PHY 711 Classical Mechanics and Mathematical Methods 10-10:50 AM MWF Olin 103 Plan for Lecture 13: Finish reading.
Lecture 2 Molecular dynamics simulates a system by numerically following the path of all particles in phase space as a function of time the time T must.
Thermodynamics System: Part of Universe to Study. Open or Closed boundaries. Isolated. Equilibrium: Unchanging State. Detailed balance State of System:
1 CE 530 Molecular Simulation Lecture 12 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Monte Carlo method: Basic ideas. deterministic vs. stochastic In deterministic models, the output of the model is fully determined by the parameter values.
Monte Carlo in different ensembles Chapter 5
Molecular dynamics (2) Langevin dynamics NVT and NPT ensembles
Monatomic Crystals.
2/18/2014PHY 770 Spring Lecture PHY Statistical Mechanics 11 AM – 12:15 & 12:30-1:45 PM TR Olin 107 Instructor: Natalie Holzwarth.
An Introduction to Statistical Thermodynamics. ( ) Gas molecules typically collide with a wall or other molecules about once every ns. Each molecule has.
Other Partition Functions
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 19 Some materials adapted from Prof. Keith E. Gubbins:
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
Chapter 6: Basic Methods & Results of Statistical Mechanics
Made by, Vasava vipul [ ]. Thermodynamics Thermodynamics is the science of energy conversion involving heat and other forms of energy, most.
Physics 141Mechanics Lecture 24 Heat and Temperature Yongli Gao So far we have concentrated on mechanical energy, including potential and kinetic energy.
Introduction to Entropy. Entropy A formal attempt to quantify randomness by relating it to the amount of heat “wasted” by a thermodynamic process. The.
Ch 2. THERMODYNAMICS, STATISTICAL MECHANICS, AND METROPOLIS ALGORITHMS 2.6 ~ 2.8 Adaptive Cooperative Systems, Martin Beckerman, Summarized by J.-W.
Boltzmann statistics, average values
Statistical Mechanics
Continuum Mechanics (MTH487)
Fundamentals of Molecular Dynamics Simulations
Maintaining Adiabaticity in Car-Parrinello Molecular Dynamics
Lecture 41 Statistical Mechanics and Boltzmann factor
Molecular Dynamics.
Exams timetable Revision
Advanced Molecular Dynamics
Chapter 1: Statistical Basis of Thermodynamics
Temperature Main Concept:
Presentation transcript:

1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 17 Some materials adapted from Prof. Keith E. Gubbins: Some materials adapted from Prof. David Kofke:

2 Review  Molecular dynamics is a numerical integration of the classical equations of motion  Total energy is strictly conserved, so MD samples the NVE ensemble  Dynamical behaviors can be measured by taking appropriate time averages over the simulation Spontaneous fluctuations provide non-equilibrium condition for measurement of transport in equilibrium MD Non-equilibrium MD can be used to get less noisy results, but requires mechanism to remove energy via heat transfer  Two equivalent formalisms for EMD measurements Einstein equation Green-Kubo relation time correlation functions

3 Molecular Dynamics in Other Ensembles  Standard MD samples the NVE ensemble  There is need enable MD to operate at constant T and/or P with standard MD it is very hard to set initial positions and velocities to give a desired T or P with any accuracy NPT MD permits control over state conditions of most interest NEMD and other advanced methods require temperature control  Two general approaches stochastic coupling to a reservoir feedback control  Good methods ensure proper sampling of the appropriate ensemble

4 What is Temperature?  Thermodynamic definition temperature describes how much more disordered a system becomes when a given amount of energy is added to it high temperature: adding energy opens up few additional microstates low temperature: adding energy opens up many additional microstates  Thermal equilibrium entropy is maximized for an isolated system at equilibrium total entropy of two subsystems is sum of entropy of each: consider transfer of energy from one subsystem to another if entropy of one system goes up more than entropy of other system goes down, total entropy increases with energy transfer equilibrium established when both rates of change are equal (T 1 =T 2 ) –(temperature is guaranteed to increase as energy is added) Number of microstates having given E Disordered: more ways to arrange system and have it look the same 12 Q

5 Momentum and Configurational Equilibrium  Momentum and configuration coordinates are in thermal equilibrium momentum and configuration coordinates must be “at same temperature” or there will be net energy flux from one to other  An arbitrary initial condition (p N,r N ) is unlikely to have equal momentum and configurational temperatures and once equilibrium is established, energy will fluctuate back and forth between two forms...so temperatures will fluctuate too  Either momentum or configurational coordinates (or both) may be thermostatted to fix temperature of both assuming they are coupled pNpN rNrN Q

6 An Expression for the Temperature 1.  Consider a space of two variables schematic representation of phase space  Contours show lines of constant E standard MD simulation moves along corresponding 3N dimensional hypersurface  Length of contour E relates to   While moving along the E A contour, we’d like to see how much longer the E B contour is  Analysis yields Relates to gradient and rate of change of gradient

7 Momentum Temperature  Kinetic energy  Gradient  Laplacian  Temperature d = 2 The standard canonical-ensemble “equipartition” result

8 Configurational Temperature  Potential energy  Gradient  Laplacian  Temperature

9 Lennard-Jones Configurational Temperature  Spherically-symmetric, pairwise additive model  Force  Laplacian

10 Thermostats  All NPT MD methods thermostat the momentum temperature  Proper sampling of the canonical ensemble requires that the momentum temperature fluctuates momentum temperature is proportional to total kinetic energy energy should fluctuate between K and U variance of momentum-temperature fluctuation can be derived from Maxwell-Boltzmann fluctuations vanish at large N rigidly fixing K affects fluctuation quantities, but may not matter much to other averages  All thermostats introduce unphysical features to the dynamics EMD transport measurements best done with no thermostat use thermostat equilibrate r and p temperatures to desired value, then remove pNpN rNrN Q

11 Isokinetic Thermostatting 1.  Force momentum temperature to remain constant  One (bad) approach at each time step scale momenta to force K to desired value advance positions and momenta apply p new = p with chosen to satisfy repeat “equations of motion” are irreversible “transition probabilities” cannot satisfy detailed balance does not sample any well-defined ensemble

12 Isokinetic Thermostatting 2.  One (good) approach modify equations of motion to satisfy constraint is a friction term selected to force constant momentum-temperature  Time-reversible equations of motion no momentum-temperature fluctuations configurations properly sample NVT ensemble (with fluctuations) temperature is not specified in equations of motion!

13 Thermostatting via Wall Collisions  Wall collision imparts random velocity to molecule selection consistent with (canonical-ensemble) Maxwell-Boltzmann distribution at desired temperature click here to see an applet that uses this thermostatclick here  Advantages realistic model of actual process of heat transfer correctly samples canonical ensemble  Disadvantages can’t use periodic boundaries wall may give rise to unacceptable finite-size effects not a problem if desiring to simulate a system in confined space not well suited for soft potentials random p Gaussian Wall can be made as realistic as desired

14 Andersen Thermostat  Wall thermostat without the wall  Each molecule undergoes impulsive “collisions” with a heat bath at random intervals  Collision frequency describes strength of coupling Probability of collision over time dt is  dt Poisson process governs collisions  Simulation becomes a Markov process  NVE is a “deterministic” TPM it is not ergodic for NVT, but  is  Click here to see the Andersen thermostat in action Click here random p

15 Barostats  Approaches similar to that seen in thermostats constraint methods stochastic coupling to a pressure bath extended Lagrangian equations of motion  Instantaneous virial takes the role of the momentum temperature  Scaling of the system volume is performed to control pressure  Example: Equations of motion for constraint method  (t) is set to ensure dP/dt = 0

16 Summary  Standard MD simulations are performed in the NVE ensemble initial momenta can be set to desired temperature, but very hard to set configuration to have same temperature momentum and configuration coordinates go into thermal equilibrium at temperature that is hard to predict  Need ability to thermostat MD simulations aid initialization required to do NEMD simulations  Desirable to have thermostat generate canonical ensemble  Several approaches are possible stochastic coupling with temperature bath constraint methods more rigorous extended Lagrangian techniques See D. Frenkel and B. Smit text  Barostats and other constraints can be imposed in similar ways