1 / 36

Basic Monte Carlo (chapter 3)

Basic Monte Carlo (chapter 3). Algorithm Detailed Balance Other points. Molecular Simulations. MD. Molecular dynamics: solve equations of motion Monte Carlo: importance sampling. r 1. r 2. r n. MC. r 1. r 2. r n.

louie
Download Presentation

Basic Monte Carlo (chapter 3)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basic Monte Carlo(chapter 3) Algorithm Detailed Balance Other points

  2. Molecular Simulations MD • Molecular dynamics: solve equations of motion • Monte Carlo: importance sampling r1 r2 rn MC r1 r2 rn

  3. Does the basis assumption lead to something that is consistent with classical thermodynamics? Systems 1 and 2 are weakly coupled such that they can exchange energy. What will be E1? BA: each configuration is equally probable; but the number of states that give an energy E1 is not know.

  4. Energy is conserved! dE1=-dE2 This can be seen as an equilibrium condition

  5. Canonical ensemble 1/kBT Consider a small system that can exchange heat with a big reservoir Hence, the probability to find Ei: Boltzmann distribution

  6. Statistical Thermodynamics Partition function Ensemble average Probability to find a particular configuration Free energy

  7. Monte Carlo simulation

  8. Ensemble average Generate configuration using MC: with

  9. Monte Carlo simulation

  10. Questions • How can we prove that this scheme generates the desired distribution of configurations? • Why make a random selection of the particle to be displaced? • Why do we need to take the old configuration again? • How large should we take: delx?

  11. Detailed balance o n

  12. NVT-ensemble

  13. Questions • How can we prove that this scheme generates the desired distribution of configurations? • Why make a random selection of the particle to be displaced? • Why do we need to take the old configuration again? • How large should we take: delx?

  14. Questions • How can we prove that this scheme generates the desired distribution of configurations? • Why make a random selection of the particle to be displaced? • Why do we need to take the old configuration again? • How large should we take: delx?

  15. Mathematical Transition probability: ≠0 Probability to accept the old configuration:

  16. Keeping old configuration?

  17. Questions • How can we prove that this scheme generates the desired distribution of configurations? • Why make a random selection of the particle to be displaced? • Why do we need to take the old configuration again? • How large should we take: delx?

  18. Not too small, not too big!

  19. Periodic boundary conditions

  20. Lennard Jones potentials • The Lennard-Jones potential • The truncated Lennard-Jones potential • The truncated and shifted Lennard-Jones potential

  21. Phase diagrams of Lennard Jones fluids

  22. Non-Boltzmann sampling Why are we not using this? T1 is arbitrary! We only need a single simulation! We perform a simulation at T=T2 and we determine A at T=T1

  23. P(E) E T1 T2 T3 T4 T5 Overlap becomes very small

  24. How to do parallel Monte Carlo • Is it possible to do Monte Carlo in parallel • Monte Carlo is sequential! • We first have to know the fait of the current move before we can continue!

  25. Parallel Monte Carlo Algorithm (WRONG): • Generate k trial configurations in parallel • Select out of these the one with the lowest energy • Accept and reject using normal Monte Carlo rule:

  26. Conventional acceptance rule Conventional acceptance rules leads to a bias

  27. Detailed balance! Why this bias?

  28. Detailed balance o n ?

  29. Modified acceptance rule Modified acceptance rule remove the bias exactly!

More Related