Beruflich Dokumente
Kultur Dokumente
Physics Instructor
physicsassignmenthelp@gmail.com
0.1 Introduction
Metropolis Monte Carlo method is used to simulate a system of hard sphere
particles in (N,P,T)-constant ensemble, where there are two types of trial
moves: displacement trials (random move of particles), and trial move of
volume.
(N,P,T) ensemble simulation is more applicable to real problems when the
pressure and temperature are constant. For instance when we want to find
density of a fluid under constant atmosphere pressure, (N,P,T) is prefered.
(N,P,T) ensemble simulation is also used for equilibration, in order to find
a fixed volume under constant pressure (usually 1atm) for (N,V,T) ensemble.
βP
Z Z
−βP V N)
∆N (N, P, T ) = 3N dV e drN e−βU (r (1)
Λ N!
where the thermodynamic potential of a system with specified values of N,P,
and T, is Gibbs free energy:
where d is the diameter of hard sphere (or particle), and r is the distance
between two particles.
2
A simple but accurate equation of state for a hard sphere fluid is given by
Carnahan-Starling equation as,
βP 1 + η + η2 − η3
= (5)
ρ (1 − η)3
v → v 0 = v + ∆v
The entire project, packed in a zip file, is available for sale, and
by purchasing it you will get Simulation code (Fortran 90 project
for simulation of hard-sphere fluid in (N, P, T )-constant ensemble
with Metropolis Monte Carlo method.), and this report. For more
information,
send email to Physics Instructor physicsassignmenthelp@gmail.com
or message to Physics Assignment Help Facebook Page.
I’m available to help students with their homework assignments
in calculus, physics, and computer simulation projects.
4
Figure 1: Compressibility in terms of ρd3 for N=256 hard spheres in isothermal-isobaric ensemble (N,P,T).
The compressibility factor found from simulation is compared with the compressibility factor found from
Carnahan-Starling equation of state. For small values of reduced density, compressibility factor found from
Carnahan-Starling equation is very close to its values found from simulation, but by increasing ρd3 , Z of
Carnahan-Starling grows faster than Z of simulation.
References:
1. David P. Landau, Kurt Binder. A Guide to Monte Carlo Simulations in
Statistical Physics. Cambridge University Press.
2. Daan Frenkel, Berend Smit. Understanding Molecular Simulation. Aca-
demic Press.
3. Jean-Pierre Hansen. Theory of Simple Liquid.
4. Richard L. Rowley. Statistical Mechanics for Thermophysical Property
Calculations.
The entire project, packed in a zip file, is available for sale, and
by purchasing it you will get Simulation code (Fortran 90 project
for simulation of hard-sphere fluid in (N, P, T )-constant ensemble
with Metropolis Monte Carlo method.), and this report. For more
information,
send email to Physics Instructor physicsassignmenthelp@gmail.com
or message to Physics Assignment Help Facebook Page.
I’m available to help students with their homework assignments
in calculus, physics, and computer simulation projects.