Free energies and phase transitions. Condition for phase coexistence in a one-component system:

Slides:



Advertisements
Similar presentations
PRAGMA – 9 V.S.S.Sastry School of Physics University of Hyderabad 22 nd October, 2005.
Advertisements

The thermodynamics of phase transformations
Statistical mechanics
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.
Monte Carlo Methods and Statistical Physics
Introduction to Statistical Thermodynamics (Recall)
Classical Statistical Mechanics in the Canonical Ensemble.
Lecture 22. Ideal Bose and Fermi gas (Ch. 7)
The Calculation of Enthalpy and Entropy Differences??? (Housekeeping Details for the Calculation of Free Energy Differences) first edition: p
MSEG 803 Equilibria in Material Systems 8: Statistical Ensembles Prof. Juejun (JJ) Hu
Introduction to Thermostatics and Statistical Mechanics A typical physical system has N A = X particles. Each particle has 3 positions and.
Monte Carlo Simulation of Ising Model and Phase Transition Studies
Thermo & Stat Mech - Spring 2006 Class 19 1 Thermodynamics and Statistical Mechanics Partition Function.
Monte Carlo Simulation of Ising Model and Phase Transition Studies By Gelman Evgenii.
Advanced methods of molecular dynamics Monte Carlo methods
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
Physical Chemistry content Physical Chemistry 1 (BSC) Thermodynamics Terms The thermodynamic system First law of thermodynamics Work, heat, internal energy,
Monte Carlo Simulation: Simulate an Isothermal-Isobaric Ensemble Timothy Tie Dong Bing School of Physics, Computer Lab 25 th Jan 2013.
1 CE 530 Molecular Simulation Lecture 18 Free-energy calculations David A. Kofke Department of Chemical Engineering SUNY Buffalo
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
Monte Carlo Methods in Statistical Mechanics Aziz Abdellahi CEDER group Materials Basics Lecture : 08/18/
Nathan Baker BME 540 The Monte Carlo method Nathan Baker BME 540.
Ionic Conductors: Characterisation of Defect Structure Lecture 15 Total scattering analysis Dr. I. Abrahams Queen Mary University of London Lectures co-financed.
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:
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-
Computer Simulation of Biomolecules and the Interpretation of NMR Measurements generates ensemble of molecular configurations all atomic quantities Problems.
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 M.Sc. Project of Hanif Bayat Movahed The Phase Transitions of Semiflexible Hard Sphere Chain Liquids Supervisor: Prof. Don Sullivan.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 25 Some materials adapted from Prof. Keith E. Gubbins:
Understanding Molecular Simulations Introduction
Advanced methods of molecular dynamics 1.Monte Carlo methods 2.Free energy calculations 3.Ab initio molecular dynamics 4.Quantum molecular dynamics 5.Trajectory.
Fluid-substrate interactions; structure of fluids inside pores.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Monte Carlo method: Basic ideas. deterministic vs. stochastic In deterministic models, the output of the model is fully determined by the parameter values.
The Markov Chain Monte Carlo Method Isabelle Stanton May 8, 2008 Theory Lunch.
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
General considerations Monte Carlo methods (I). Averages X = (x 1, x 2, …, x N ) – vector of variables P – probability density function.
Introduction to Statistical Thermodynamics of Soft and Biological Matter Lecture 2 Statistical thermodynamics II Free energy of small systems. Boltzmann.
Monte Carlo in different ensembles Chapter 5
Generalized van der Waals Partition Function
Monte Carlo methods (II) Simulating different ensembles
Monatomic Crystals.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 19 Some materials adapted from Prof. Keith E. Gubbins:
--Experimental determinations of radial distribution functions --Potential of Mean Force 1.
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
Entropy – Randomness & Disorder Mr Nelson
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points non-Boltzmann sampling.
Chapter 6: Basic Methods & Results of Statistical Mechanics
Lecture 14: Advanced Conformational Sampling Dr. Ronald M. Levy Statistical Thermodynamics.
CHEE 323J.S. Parent1 Reaction Kinetics and Thermodynamics We define a catalyst as a substance that increases the rate of approach to equilibrium of a reaction.
Systematic errors of MC simulations Equilibrium error averages taken before the system has reached equilibrium  Monitor the variables you are interested.
On the understanding of self-assembly of anisotropic colloidal particles using computer simulation methods Nikoletta Pakalidou1✣ and Carlos Avendaño1 1.
Monte Carlo: A Simple Simulator’s View
On the understanding of self-assembly of anisotropic colloidal particles using computer simulation methods Nikoletta Pakalidou1✣ and Carlos Avendaño1 1.
Lecture 22. Ideal Bose and Fermi gas (Ch. 7)
Common Types of Simulations
The Grand Canonical Ensemble
Ideal gas: Statistical mechanics
CE 530 Molecular Simulation
Presentation transcript:

Free energies and phase transitions

Condition for phase coexistence in a one-component system:

The Gibbs “Ensemble”

NVT Ensemble Fluid

NVT Ensemble G L L G

Gibbs Ensemble G L Equilibrium!

Distribute n 1 particles over two volumes Change the volume V 1 Displace the particles

Distribute n 1 particles over two volumes:

Integrate volume V 1

Displace the particles in box 1 and box2

Probability distribution

Particle displacement Volume change Particle exchange

Acceptance rules Detailed Balance:

Displacement of a particle in box 1

Acceptance rules Adding a particle to box 2

Moving a particle from box 1 to box 2

Analyzing the results (1) Well below T c Approaching T c

Analyzing the results (2) Well below T c Approaching T c

Analyzing the results (3)

Condition for phase coexistence in a one-component system:

With normal Monte Carlo simulations, we cannot compute “thermal” quantities, such as S, F and G, because they depend on the total volume of accessible phase space. For example: and

F cannot be computed with importance sampling Generate configuration using MC: with

Solutions: 1.“normal” thermodynamic integration 2.“artificial” thermodynamic integration 3.“particle-insertion” method

How are free energies measured experimentally? P

Then take the limit V 0  . Not so convenient because of divergences. Better:  0, as V 0  

This approach works if we can integrate from a known reference state - Ideal gas (“T=  ”), Harmonic crystal (“T=0”), Otherwise: use “artificial” thermodynamic integration (Kirkwood) Suppose we know F(N,V,T) for a system with a simple potential energy function U 0 : F 0 (N,V,T). We wish to know F 1 (N,V,T) for a system with a potential energy function U 1.

Consider a system with a mixed potential energy function (1- )U 0 + U 1 : F (N,V,T). hence

Or: And therefore Examples of application:

F( ) 01 F(0) F(1) The second derivative is ALWAYS negative: Therefore: Good test of simulation results…

1.Any atomic or molecular crystal. Reference state: Einstein crystal 2.Nematic Liquid crystal: Start from isotropic phase. Switch on “magnetic field” and integrate around the I-N critical point isotropicnematic density field

Chemical Potentials

Particle insertion method to compute chemical potentials But N is not a continuous variable. Therefore

Does that help? Yes: rewrite s is a scaled coordinate: 0  s<1 r = L s (is box size)

Now write then

And therefore but

So, finally, we get: Interpretation: 1.Evaluate  U for a random insertion of a molecule in a system containing N molecule. 2.Compute 3.Repeat M times and compute the average “Boltzmann factor” 4.Then

Lennard-Jones fluid

Other ensembles: NPT NPT: Gibbs free energyNVT: Helmholtz free energy NVT: The volume fluctuates! NPT:

Hard spheres Probability to insert a test particle!

Particle insertion method to compute chemical potentials But N is not a continuous variable. Therefore

ACCEPTANCE OF RANDOM INSERTION DEPENDS ON SIZE

Particle insertion continued…. therefore But also

As before: With s a scaled coordinate: 0  s<1 r = L s (is box size)

Now write

And therefore

Interpretation: 1.Evaluate  U for a random REMOVAL of a molecule in a system containing N+1 molecule. 2.Compute 3.Repeat M times and compute the average “Boltzmann factor” 4.Then DON’T EVEN THINK OF IT!!!

What is wrong? is not bounded. The average that we compute can be dominated by INFINITE contributions from points that are NEVER sampled. What to do? Consider:

And also consider the distribution p 0 and p 1 are related:

Simulate system 0: compute f 0 Simulate system 1: compute f 1 Fit f 0 and f 1 to two polynomials that only differ by a constant.

Chemical potential System 1: N, V,T, USystem 0: N-1, V,T, U + 1 ideal gas System 0: test particle energySystem 1: real particle energy

Does it work for hard spheres? consider  U=0

Problems with Widom method: Low insertion probability yields poor statistics. For instance: Trial insertions that consist of a sequence of intermediate steps. Examples: changing polymer conformations, moving groups of atoms, …

What is the problem with polymer simulations? Illlustration: Inserting particles in a dense liquid Trial moves that lead to “hard-core” overlaps tend to be rejected.

ANALOGY: Finding a seat in a crowded restaurant. Can you seat one person, please…

Next: consider the random insertion of a chain molecule (polymer). Waiter! Can you seat 100 persons… together please! Random insertions of polymers in dense liquids usually fail completely…

(Partial) Solution: Biased insertion. Berend Smit’s lecture tomorrow…

Simulations of soft matter are time consuming: 1.Because of the large number of degrees of freedom (solution: coarse graining) 2.Because the dynamics is intrinsically slow. Examples: 1.Polymer dynamics 2.Hydrodynamics 3.Activated dynamics

Slow dynamics implies slow equilibration. This is particularly serious for glassy systems. 6 hours 8 hours Mountain hikes..

after a bit of global warming…

.. 20 minutes

Sampling the valleys.. Combine this….. …with this

Parallel Tempering COMBINE Low-temperature and high- temperature runs in a SINGLE Parallel simulation

In practice: System 1 at temperature T 1 System 2 at temperature T 2 Boltzmann factor Total Boltzmann factor

SWAP move System 1 at temperature T 2 System 2 at temperature T 1 Boltzmann factor Total Boltzmann factor

Ratio

Systems may swap temperature if their combined Boltzmann factor allows it.

number of MC cycles Window NOTES: 1.One can run MANY systems in parallel 2.The control parameter need not be temperature

Application: computation of a critical point INSIDE the glassy phase of “sticky spheres”: GLASSY