Title: Basic Monte Carlo (chapter 3)
1Basic Monte Carlo(chapter 3)
- Algorithm
- Detailed Balance
- Other points
2Molecular Simulations
MD
- Molecular dynamics solve equations of motion
- Monte Carlo importance sampling
r1
r2
rn
MC
r1
r2
rn
3Does 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.
4Energy is conserved! dE1-dE2
This can be seen as an equilibrium condition
5Canonical ensemble
1/kBT
Consider a small system that can exchange heat
with a big reservoir
Hence, the probability to find Ei
Boltzmann distribution
6Thermodynamics
What is the average energy of the system?
Compare
Hence
7Statistical Thermodynamics
Partition function
Ensemble average
Probability to find a particular configuration
Free energy
8Monte Carlo simulation
9Ensemble average
Generate configuration using MC
with
10Monte Carlo simulation
11(No Transcript)
12(No Transcript)
13Questions
- 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?
14Detailed balance
o
n
15NVT-ensemble
16(No Transcript)
17Questions
- 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(No Transcript)
19Questions
- 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?
20Mathematical
Transition probability
?0
Probability to accept the old configuration
21Keeping old configuration?
22Questions
- 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?
23Not too small, not too big!
24(No Transcript)
25Periodic boundary conditions
26Lennard Jones potentials
- The Lennard-Jones potential
- The truncated Lennard-Jones potential
- The truncated and shifted Lennard-Jones potential
27Phase diagrams of Lennard Jones fluids
28Non-Boltzmann sampling
Why are we not using this?
T1 is arbitrary!
We only need a single simulation!
We perform a simulation at TT2 and we determine
A at TT1
29T1
T2
T3
T4
T5
Overlap becomes very small
30How 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!
31Parallel 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
32Conventional acceptance rule
Conventional acceptance rules leads to a bias
33Why this bias?
34Detailed balance
o
n
?
35(No Transcript)
36(No Transcript)
37Modified acceptance rule
Modified acceptance rule remove the bias exactly!