Professional Documents
Culture Documents
Simulation Final Project
Simulation Final Project
Simulation Final Project
Project Title:
Select one state point of LJ fluid comparing the
simulation results obtained NVT and NPT MC Simulations (for
example, density and pressure obtained)
Submitted to:
Dr. Qingyuan yang
Submitted By:
Muhammad Mudassar Aslam
Student ID:
2014220016
Date:
2016-12-26
Abstract
Monte Carlo Simulation on lennard-Jones fluid (Methane CH4) is carried out in python software
for Isothermal-Isochoric (NVT) and Isothermal-Isobaric (NPT) system. Simulations was run in a
hard cubic sphere. The system becomes thermodynamically equilibrium after 2 million trial moves
and next 2 million trial moves for calculations. The results for energy change, reduced density,
reduced pressure, heat capacity, Trial Move Acceptance ratio are discussed in this article
Introduction
J.K. Johnson, et al. [1] investigated the Lennard-Jones equation of state with Molecular Dynamics
simulations over a range of temperature, density and steps. However, we do observe an increase
in pressure with an increase in density, as expected. The obtained values of pressure and density
in the current simulation is different from that reported by J.K. Johnson. In the current simulation,
Monte Carlo was chosen over Molecular Dynamics because of the different temperatures and
pressure parameters that is possible with a canonical ensemble (NVT or NPT).
In this work, the cutoff distance is taken to be 3σ, unless noted otherwise. An approximate
correction for this truncation to the energy and pressure of the system can be obtained by assuming
the spatial correlations beyond the cutoff distance are unity. The reader is referred to Refs. [4] And
[5] for these so-called “standard long range corrections” (sLRC). It should be noted that this not a
good assumption in inhomogeneous fluids. For completeness, the working expressions for
obtaining the long range corrections to the potential energy per particle and virial pressure are
provided below:
Where ρ is the bulk number density, VLJ(r) is the Lennard-Jones potential energy, and rc is the
truncation (cutoff) distance. A subtle point to note is that the above pressure correction does not
account for impulsive effects at rc where the potential energy (and therefore the force) changes
discontinuously. This is particularly important when trying to simulate directly interfacacial
phenomena [6]. Finally, it should be mentioned that other truncation and long range correction
schemes for dealing with non-bonded interactions exist. In some cases, the truncation schemes can
yield critical properties that differ from those quoted above.
Figure 1: Equation of stat Lennard Jones fluid isotherm at T=0.9, 0.95, 1.0, 1.05 for Monte Carlo NVT simulation
Figure 1 shows Reduced pressure increased with reduced density at different temperature of NVT
simulation.
NVT T* VS P*
3.50E-05
3.00E-05
Reduced
2.50E-05 density
0.
2.00E-05
9
P*
1.50E-05 0.
7
1.00E-05 0.
5
5.00E-06
0.00E+00
0.9 0.95 1 1.05
T*
Figure 2: Graph between reduce temperature and reduced pressure at different reduced densities for MC simulation for CH 4
lennard jones fluid
In figure 2 reduced pressure increased slightly at different reduce temperature but pressure
increased with increasing reduced densities
Figure 3 shows after equilibrium Energy of the system decreases with increasing reduced density
and becomes constant.
NVT
0.08
TRIAL MOVE ACCEPTANCE RATIO
0.075
0.07
Density = 0.1
0.065
0.06 Density = 0.3
0.055 Density = 0.5
0.05
0.045 Density = 0.7
0.04 Density = 0.9
0.85 0.9 0.95 1 1.05 1.1
T*
Figure 4: plot between reduced temperature and Trial move acceptance ratio
Figure 4 shows the acceptance ratio for different trial moves. Trial move acceptance ratio decreases
with increase in temperature but varying densities have not much effect.
A table for energies, heat capacity and acceptance ratio for Monte Carlo NVT simulations is shown
below
Table 1: results of different MC NVT simulation
NPT
10
6 T* = 0.90
P*
4 T* = 0.95
T* = 1.0
2
T* = 1.05
0
0 1 2 3 4
REDUCED DENSITY
Figure 5: Equation of stat Lennard Jones fluid isotherm at T=0.9, 0.95, 1.0, and 1.05 for Monte Carlo NPT simulation
Figure 5 shows with increasing pressure increased density increases at different temperature for
NPT simulation. In simulation in NPT simulation reduced pressure is bigger than NVT simulation
at different reduced densities
Figure 6: Plot between Reduced temperature and reduced density for MC NPT Simulation
Figure 5 shows with increasing temperature density of fluid decreases but with increasing pressure
density increases
Figure 8:Energy of lennard jones fluid particles vs. pressure graph at different temperature for MC NVT simulation
A table for energies, heat capacity and acceptance ratio for Monte Carlo NVT simulations is
shown below
NPT
0.9
TRIAL MOVE ACCCEPTANCE RATIO
0.8
0.7
0.6
P* = 1.0
0.5
P* = 3.0
0.4
P* = 5.0
0.3
P* = 7.0
0.2
0.1 P* = 9.0
0
0.85 0.9 0.95 1 1.05 1.1
T*
Figure 9: Plot between Reduced temperature and trial move acceptance ratio at different pressure for MC lj NVT simulation
Figure 9 shows acceptance ratio for trial move at different temperature and pressure varies with
T* and P*. In MC LJ NVT acceptance ratio decreases with increase in temperature.
Table 2: results of different MC NPT simulation
Conclusions:
I have presented MC simulation results for LJ fluid Methane at different state over a wide range
of temperature and density.
parameters for the equation of state for the LJ fluid have been studied for the temperature range
0.90, 0.95, 1.0, 1.05 and covering densities 0.1, 0.3, 0.4, 0.5, 0.7, 0.9. Performed calculations on
one state point to calculate energy of methane atoms for Monte Carlo NVT and NPT simulations.
System becomes equilibrium state afte 2 million steps and for next 2 million steps calculated
Potential Energies and heat capacities for both NVT and NPT. The probability of moving a single
particle or a cluster is dependent on local force fields. MC techniques require one to choose the
size step of local the MC displacement
References:
[1] J. Karl Johnson , John A. Zollweg & Keith E. Gubbins (1993) The Lennard-Jones equation of
state revisited, Molecular Physics, 78:3, 591-618, DOI:10.1080/00268979300100411
[2] S. Nosé, “A Molecular dynamics method for simulations in the canonical ensemble,”
Molecular Physics, vol.52, no. 2, pp. 225-268, 1984
[3] D. Adams, “Grand canonical ensemble monte carlo for a lennard-jones fluid,” Molecular
Physics, vol. 29, no. 1, pp.307-311, 1975
[4] M. P. Allen and D. J. Tildesley, Computer Simulation of Liquids (Oxford University Press,
New York, 1989)
[5] D. Frenkel and B. Smit, Understanding Molecular Simulation, 2nd ed. (Academic, San Diego,
2002)., pp.37-38.
[6] A. Trkohymchuk and J. Alejandre, J. Chem. Phys. 111, 8510 (1999).
[7] B. Smit, J. Chem. Phys. 96, 8639 (1992).
[8] Liong Seng Tee, Sukehiro Gotoh and Warren E. Stewart. Molecular Parameters for Normal
Fluids. The Lennard-Jones 12-6 Potential