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

Slides:



Advertisements
Similar presentations
Properties of a Pure Substance
Advertisements

Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Review Of Statistical Mechanics
Statistical Physics Approach to Understanding the Multiscale Dynamics of Earthquake Fault Systems Theory.
Hypothesis testing Another judgment method of sampling data.
Molecular Dynamics at Constant Temperature and Pressure Section 6.7 in M.M.
Lecture 15. Phases of Pure Substances (Ch.5) Up to now we have dealt almost exclusively with systems consisting of a single phase. In this lecture, we.
Introduction to Statistical Thermodynamics (Recall)
Bare Surface Tension and Surface Fluctuations of Clusters with Long–Range Interaction D.I. Zhukhovitskii Joint Institute for High Temperatures, RAS.
Thermodynamics of surface and interfaces
Mechanical & Aerospace Engineering West Virginia University Phase Diagram (1)
1 CE 530 Molecular Simulation Lecture 8 Markov Processes David A. Kofke Department of Chemical Engineering SUNY Buffalo
Computer Simulations, Nucleation Rate Predictions and Scaling Barbara Hale Physics Department and Cloud and Aerosol Sciences Laboratory, University of.
Statistical Mechanics
CE 400 Honors Seminar Molecular Simulation Prof. Kofke Department of Chemical Engineering University at Buffalo, State University of New York Class 4.
1 CE 530 Molecular Simulation Lecture 16 Dielectrics and Reaction Field Method David A. Kofke Department of Chemical Engineering SUNY Buffalo
Observables. Molar System The ratio of two extensive variables is independent of the system size.  Denominator N as particle  Denominator N as mole.
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
CE 530 Molecular Simulation
Advanced methods of molecular dynamics Monte Carlo methods
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 11 Some materials adapted from Prof. Keith E. Gubbins:
Vapor Pressure and Changes of State Heat of vaporization Enthalpy of vaporization energy required to vaporize 1 mole of a liquid at a pressure of 1 atm.
Physical Transformations of Pure Substances
Free energies and phase transitions. Condition for phase coexistence in a one-component system:
1 CE 530 Molecular Simulation Lecture 18 Free-energy calculations David A. Kofke Department of Chemical Engineering SUNY Buffalo
PETE 310 Lecture # 5 Phase Behavior – Pure Substances.
4.The Grand Canonical Ensemble 1.Equilibrium between a System & a Particle-Energy Reservoir 2.A System in the Grand Canonical Ensemble 3.Physical Significance.
1 CE 530 Molecular Simulation Lecture 6 David A. Kofke Department of Chemical Engineering SUNY Buffalo
For a new configuration of the same volume V and number of molecules N, displace a randomly selected atom to a point chosen with uniform probability inside.
Ensembles II: 1.The Gibbs Ensemble (Chap. 8) Bianca M. Mladek University of Vienna, Austria
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-
1 CE 530 Molecular Simulation Lecture 22 Chain-Molecule Sampling Techniques David A. Kofke Department of Chemical Engineering SUNY Buffalo
Surface and Bulk Fluctuations of the Lennard-Jones Clusrers D. I. Zhukhovitskii.
1. (1.3) (1.8) (1.11) (1.14) Fundamental equations for homogeneous closed system consisting of 1 mole:
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 25 Some materials adapted from Prof. Keith E. Gubbins:
Properties of Pure Substances Chapter 3. Why do we need physical properties?  As we analyze thermodynamic systems we describe them using physical properties.
Fluid-substrate interactions; structure of fluids inside pores.
Physical Property Modeling from Equations of State David Schaich Hope College REU 2003 Evaluation of Series Coefficients for the Peng-Robinson Equation.
Chapter 8: The Thermodynamics of Multicomponent Mixtures
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 18 Some materials adapted from Prof. Keith E. Gubbins:
Interacting Molecules in a Dense Fluid
An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA
Pressure – Volume – Temperature Relationship of Pure Fluids.
Monte Carlo in different ensembles Chapter 5
The Boltzmann Distribution allows Calculation of Molecular Speeds Mathematically the Boltzmann Distribution says that the probability of being in a particular.
Generalized van der Waals Partition Function
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 20 Some materials adapted from Prof. Keith E. Gubbins:
Review Of Statistical Mechanics Continued
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 17 Some materials adapted from Prof. Keith E. Gubbins:
Other Partition Functions
Introduction to phase equilibrium
Thermodynamics and the Phase Rule
8. Solute (1) / Solvent (2) Systems 12.7 SVNA
General Phase Equilibrium
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
And now, THERMODYNAMICS!. Thermodynamics need not be so hard if you think of it as heat and chemical “flow” between “phases”.
공정 열역학 Chapter 3. Volumetric Properties of Pure Fluids
Thermodynamics of Moist Air
The Stability of Phases
Lecture 49 More on Phase Transition, binary system
Equilibria Involving Condensed Matter
Chapter 4 Revision.
Thermodynamic Energy Balances in Solids
Phase Transitions in Biological Systems with Many Components
Phase Diagram.
Chapter 3: Evaluating Properties
11 CHAPTER Thermodynamic Property Relations.
Presentation transcript:

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

2 Thermodynamic Phase Equilibria  Certain thermodynamic states find that two (or more) phases may be equally stable thermodynamic phase coexistence  Phases are distinguished by an order parameter; e.g. density structural order parameter magnetic or electrostatic moment  Intensive-variable requirements of phase coexistence T  = T  P  = P   i  =  i , i = 1,…,C

3 Phase Diagrams  Phase behavior is described via phase diagrams  Gibbs phase rule F = 2 + C – P F = number of degrees of freedom –independently specified thermodynamic state variables C = number of components (chemical species) in the system P = number of phases Single component, F = 3 – P Field variable e.g., temperature Density variable L+V tie line V L S S+V L+S triple point critical point Field variable (pressure) Field variable (temperature) V L S critical point isobar two-phase regionstwo-phase lines

4 Approximate Methods for Phase Equilibria by Molecular Simulation 1.  Adjust field variables until crossing of phase transition is observed e.g., lower temperature until condensation/freezing occurs  Problem: metastability may obscure location of true transition  Try it out with the LJ NPT-MC appletLJ NPT-MC applet Pressure Temperature V L S Metastable region Temperature Density L S S+V L+S isobar L+V V Hysteresis

5 Approximate Methods for Phase Equilibria by Molecular Simulation 2.  Select density variable inside of two-phase region choose density between liquid and vapor values  Problem: finite system size leads to large surface-to-volume ratios for each phase bulk behavior not modeled  Metastability may still be a problem  Try it out with the SW NVT MD appletSW NVT MD applet Temperature Density L S S+V L+S L+V V

6 Rigorous Methods for Phase Equilibria by Molecular Simulation  Search for conditions that satisfy equilibrium criteria equality of temperature, pressure, chemical potentials  Difficulties evaluation of chemical potential often is not easy tedious search-and-evaluation process Chemical potential  Simulation data or equation of state Coexistence T constant Pressure Temperature V L S + Many simulations to get one point on phase diagram

7 Gibbs Ensemble 1.  Panagiotopoulos in 1987 introduced a clever way to simulate coexisting phases without an interface  Thermodynamic contact without physical contact How? Two simulation volumes

8 Gibbs Ensemble 2.  MC simulation includes moves that couple the two simulation volumes  Try it out with the LJ GEMC appletLJ GEMC applet Particle exchange equilibrates chemical potential Volume exchange equilibrates pressure Incidentally, the coupled moves enforce mass and volume balance

9 Gibbs Ensemble Formalism  Partition function  Limiting distribution  General algorithm. For each trial: with some pre-specified probability, select molecules displacement/rotation trial volume exchange trial molecule exchange trial conduct trial move and decide acceptance

10 Molecule-Exchange Trial Move Analysis of Trial Probabilities  Detailed specification of trial moves and probabilities Forward-step trial probability Scaled volume Reverse-step trial probability  is formulated to satisfy detailed balance

11 Molecule-Exchange Trial Move Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Limiting distribution Forward-step trial probability Reverse-step trial probability

12 Molecule-Exchange Trial Move Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Forward-step trial probability Reverse-step trial probability Limiting distribution

13 Molecule-Exchange Trial Move Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Forward-step trial probability Reverse-step trial probability Acceptance probability

14 Volume-Exchange Trial Move Analysis of Trial Probabilities  Take steps in = ln(V A /V B )  Detailed specification of trial moves and probabilities Forward-step trial probability Reverse-step trial probability

15 Volume-Exchange Trial Move Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Limiting distribution Forward-step trial probability Reverse-step trial probability

16 Volume-Exchange Trial Move Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Limiting distribution Forward-step trial probability Reverse-step trial probability

17 Volume-Exchange Trial Move Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Forward-step trial probability Reverse-step trial probability Acceptance probability

18 Phase Behavior of Alkanes  Panagiotopoulos group Histogram reweighting with finite-size scaling

19 Gibbs Ensemble Limitations  Limitations arise from particle-exchange requirement Molecular dynamics (polarizable models) Dense phases, or complex molecular models Solid phases N = 4n 3 (fcc)  and sometimes from the volume-exchange requirement too ?

20 Approaching the Critical Point  Critical phenomena are difficult to capture by molecular simulation  Density fluctuations are related to compressibility  Correlations between fluctuations important to behavior in thermodynamic limit correlations have infinite range in simulation correlations limited by system size surface tension vanishes Pressure Density L+V V L S S+V L+S C isotherm

21 Critical Phenomena and the Gibbs Ensemble  Phase identities break down as critical point is approached Boxes swap “identities” (liquid vs. vapor) Both phases begin to appear in each box surface free energy goes to zero

22 Gibbs-Duhem Integration  GD equation can be used to derive Clapeyron equation equation for coexistence line  Treat as a nonlinear first-order ODE use simulation to evaluate right-hand side  Trace an integration path the coincides with the coexistence line Field variable (pressure) Field variable (temperature) V L S critical point

23 lnp    GDI Predictor-Corrector Implementation  Given initial condition and slope (= –  h/  Z), predict new (p,T) pair.  Evaluate slope at new state condition…  …and use to correct estimate of new (p,T) pair

24 GDI Simulation Algorithm  Estimate pressure and temperature from predictor  Begin simultaneous NpT simulation of both phases at the estimated conditions  As simulation progresses, estimate new slope from ongoing simulation data and use with corrector to adjust p and T  Continue simulation until the iterations and the simulation averages converge  Repeat for the next state point Each simulation yields a coexistence point. Particle insertions are never attempted.

25 GDI Sources of Error  Three primary sources of error in GDI method 1 Stochastic error lnp  2 Uncertainty in slopes due to uncertainty in simulation averages Quantify via propagation of error using confidence limits of simulation averages Finite step of integrator Smaller step Integrate series with every-other datum Compare predictor and corrector values Stability Stability can be quantified Error initial condition can be corrected even after series is complete True curve ? Incorrect initial condition

26 Summary  Thermodynamic phase behavior is interesting and useful  Obvious methods for evaluating phase behavior by simulation are too approximate  Rigorous thermodynamic method is tedious  Gibbs ensemble revolutionized methodology two coexisting phases without an interface  Gibbs-Duhem integration provides an alternative to use in situations where GE fails dense and complex fluids solids  GDI can be extended in many ways