An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA 16803.

Slides:



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

Monte Carlo Simulation Wednesday, 9/11/2002 Stochastic simulations consider particle interactions. Ensemble sampling Markov Chain Metropolis Sampling.
Review Of Statistical Mechanics
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)
Lecture 14: Advanced Conformational Sampling
1 CE 530 Molecular Simulation Lecture 8 Markov Processes David A. Kofke Department of Chemical Engineering SUNY Buffalo
Statistical Models of Solvation Eva Zurek Chemistry Final Presentation.
The Calculation of Enthalpy and Entropy Differences??? (Housekeeping Details for the Calculation of Free Energy Differences) first edition: p
Monte Carlo Simulation Methods - ideal gas. Calculating properties by integration.
Computational statistics 2009 Random walk. Computational statistics 2009 Random walk with absorbing barrier.
Computer Simulations, Nucleation Rate Predictions and Scaling Barbara Hale Physics Department and Cloud and Aerosol Sciences Laboratory, University of.
1 Cluster Monte Carlo Algorithms & softening of first-order transition by disorder TIAN Liang.
Continuous Time Monte Carlo and Driven Vortices in a Periodic Potential V. Gotcheva, Yanting Wang, Albert Wang and S. Teitel University of Rochester Lattice.
Monte Carlo Methods H. Rieger, Saarland University, Saarbrücken, Germany Summerschool on Computational Statistical Physics, NCCU Taipei, Taiwan.
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Simulation of Random Walk How do we investigate this numerically? Choose the step length to be a=1 Use a computer to generate random numbers r i uniformly.
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:
Monte Carlo Methods: Basics
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.
Free energies and phase transitions. Condition for phase coexistence in a one-component system:
Monte Carlo Simulation of Liquid Water Daniel Shoemaker Reza Toghraee MSE 485/PHYS Spring 2006.
TUTORIAL no. 2 Monte Carlo simulations: Lennard Jones gas G. Lattanzi Università degli studi di Bari “Aldo Moro” Trieste, July 10 th, 2012 CECAM school.
Outline Review of extended ensemble methods (multi-canonical, Wang-Landau, flat-histogram, simulated tempering) Replica MC Connection to parallel tempering.
Monte Carlo Simulation: Simulate an Isothermal-Isobaric Ensemble Timothy Tie Dong Bing School of Physics, Computer Lab 25 th Jan 2013.
Molecular Dynamics Simulation Solid-Liquid Phase Diagram of Argon ZCE 111 Computational Physics Semester Project by Gan Sik Hong (105513) Hwang Hsien Shiung.
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.
Force Fields and Numerical Solutions Christian Hedegaard Jensen - within Molecular Dynamics.
Microscopic states (microstates) or microscopic configurations under external constraints (N or , V or P, T or E, etc.)  Ensemble (micro-canonical, canonical,
Nathan Baker BME 540 The Monte Carlo method Nathan Baker BME 540.
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
Principles of Equal a Priori Probability  All distributions of energy are equally probable  If E = 5 and N = 5 then                 
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
1 M.Sc. Project of Hanif Bayat Movahed The Phase Transitions of Semiflexible Hard Sphere Chain Liquids Supervisor: Prof. Don Sullivan.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
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
Exploring the connection between sampling problems in Bayesian inference and statistical mechanics Andrew Pohorille NASA-Ames Research Center.
Fluid-substrate interactions; structure of fluids inside pores.
Schematic representation of ‘Microstates’. Integretion over a Markovian Web. G. C. Boulougouris, D. Frenkel, J. Chem. Theory Comput. 2005, 1,
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Austin Howard & Chris Wohlgamuth April 28, 2009 This presentation is available at
7. Metropolis Algorithm. Markov Chain and Monte Carlo Markov chain theory describes a particularly simple type of stochastic processes. Given a transition.
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.
General considerations Monte Carlo methods (I). Averages X = (x 1, x 2, …, x N ) – vector of variables P – probability density function.
Monte Carlo in different ensembles Chapter 5
Generalized van der Waals Partition Function
Monte Carlo methods (II) Simulating different ensembles
Javier Junquera Importance sampling Monte Carlo. Cambridge University Press, Cambridge, 2002 ISBN Bibliography.
1 Molecular Simulations Macroscopic EOS (vdW, PR) Little molecular detail Empirical parameters (  ) Seeking understanding of complex systems Surfactants.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points non-Boltzmann sampling.
Lecture 14: Advanced Conformational Sampling Dr. Ronald M. Levy Statistical Thermodynamics.
Systematic errors of MC simulations Equilibrium error averages taken before the system has reached equilibrium  Monitor the variables you are interested.
The Monte Carlo Method/ Markov Chains/ Metropolitan Algorithm from sec in “Adaptive Cooperative Systems” -summarized by Jinsan Yang.
On the understanding of self-assembly of anisotropic colloidal particles using computer simulation methods Nikoletta Pakalidou1✣ and Carlos Avendaño1 1.
Simulated Annealing Chapter
Monte Carlo methods 10/20/11.
Fundamentals of Molecular Dynamics Simulations
On the understanding of self-assembly of anisotropic colloidal particles using computer simulation methods Nikoletta Pakalidou1✣ and Carlos Avendaño1 1.
Common Types of Simulations
CE 530 Molecular Simulation
Presentation transcript:

An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA 16803

Monte Carlo Methods: A New Way to Solve Integrals (in the 1950’s) “Hit or Miss” Method: What is  ? Algorithm: Generate uniform, random x and y between 0 and 1 Calculate the distance d from the origin If d ≤ 1,  hit =  hit + 1 Repeat for  tot trials A 1 C B y x 0 1

Monte Carlo Sample Mean Integration To Solve: We Write: Then: When on Each Trial We Randomly Choose  from 

Monte Carlo Sample Mean Integration: Uniform Sampling to Estimate  To Estimate Using a Uniform Distribution Generate  tot Uniform, Random Numbers

Monte Carlo Sample Mean Integration in Statistical Physics: Uniform Sampling Quadrature e.g., with N=100 Molecules 3N=300 Coordinates 10 Points per Coordinate to Span (-L/2,L/2) Integration Points!!!! L L L Uniform Sample Mean Integration Generate 300 uniform random coordinates in (-L/2,L/2) Calculate U Repeat  tot times…

Problems with Uniform Sampling… L L L Too Many Configurations Where Especially for a Dense Fluid!!

What is the Average Depth of the Nile? Integration Using… Adapted from Frenkel and Smit, “Understanding Molecular Simulation”, Academic Press (2002). Quadrature vs. Importance Sampling or Uniform Sampling

Importance Sampling for Ensemble Averages If We Want to Estimate an Ensemble Average Efficiently… We Just Need to Sample It With    NVT !!

Importance Sampling: Monte Carlo as a Solution to the Master Equation : Probability to be at State at Time t : Transition Probability per Unit Time from to

The Detailed Balance Criterion After a Long Time, the System Reaches Equilibrium At Equilibrium, We Have: This Will Occur if the Transition Probabilities  Satisfy Detailed Balance

Metropolis Monte Carlo Use: With: Let  Take the Form:  = Probability to Choose a Particular Move acc = Probability to Accept the Move N. Metropolis et al. J. Chem. Phys. 21, 1087 (1953).

Metropolis Monte Carlo Detailed Balance is Satisfied: Use:

Metropolis MC Algorithm Finished ? Yes No Give the Particle a Random Displacement, Calculate the New Energy Accept the Move with Select a Particle at Random, Calculate the Energy Calculate the Ensemble Average Initialize the Positions

Periodic Boundary Conditions L L d If d>L/2 then d=L-d It’s Like Doing a Simulation on a Torus!

Nearest-Neighbor, Square Lattice Gas A B Interactions  AA  BB  AB kT kT 0.0

When Is Enough Enough? Run it Long... …and Longer!

When Is Enough Enough? Run it Big… …and Bigger! Estimate the Error

When Is Enough Enough? Make a Picture!

When Is Enough Enough? Try Different Initial Conditions!

Phase Behavior in Two-Dimensional Rod and Disk Systems E. coli TMV and spheres Electronic circuits Bottom-up assembly of spheres Nature 393, 349 (1998).

Use MC Simulation to Understand the Phase Behavior of Hard Rod and Disk Systems Lamellar Nematic Isotropic Miscible Nematic Smectic Miscible Isotropic

A = U – TS Hard Core Interactions U = 0 if particles do not overlap U = ∞ if particles do overlap Maximize Entropy to Minimize Helmholtz Free Energy Overlap Volume Depletion Zones Ordering Can Increase Entropy! Hard Systems: It’s All About Entropy

Perform Move at Random Metropolis Monte Carlo Old Configuration New Configuration Ouch! A Lot of Infeasible Trials! Small Moves or…

Rosenbluth & Rosenbluth, J. Chem. Phys. 23, 356 (1955). Move Center of Mass Randomly Generate k-1 New Orientations b j New Old Configurational Bias Monte Carlo Select a New Configuration with Accept the New Configuration with Final

Configurational Bias Monte Carlo and Detailed Balance The Probability  of Choosing a Move: Recall we Have  of the Form: The Acceptance Ratio: Detailed Balance

Nematic Order Parameter Radial Distribution Function Orientational Correlation Functions Properties of Interest

800 rods ρ = 3.5 L -2 Snapshots 1257 rods ρ = 5.5 L -2

6213 rods ρ = 6.75 L -2 Snapshots 8055 rods ρ = 8.75 L -2

Accelerating Monte Carlo Sampling Energy x How Can We Overcome the High Free-Energy Barriers to Sample Everything?

Accelerating Monte Carlo Sampling: Parallel Tempering System N at T N System 1 at T 1 System 2 at T 2 System 3 at T 3 … Metropolis Monte Carlo Trials Within Each System Swaps Between Systems i and j T N >…>T 3 >T 2 >T 1 E. Marinari and and G. Parisi, Europhys. Lett. 19, 451 (1992).

Parallel Tempering in a Model Potential System 1 at kT 1 =0.05 System 2 at kT 2 =0.5 System 3 at kT 3 =5.0 90% Move Attempts within Systems 10% Move Attempts are Swaps Adapted from: F. Falcioni and M. Deem, J. Chem. Phys. 110, 1754 (1999).

Good Sources on Monte Carlo: D. Frenkel and B. Smit, “Understanding Molecular Simulation”, 2 nd Ed., Academic Press (2002). M. Allen and D. J. Tildesley, “Computer Simulation of Liquids”, Oxford (1987).