Monte Carlo Simulations for a Soft Sphere Fluid

Similar documents
A New Uniform Phase Bridge Functional: Test and Its Application to Non-uniform Phase Fluid

An Introduction to Two Phase Molecular Dynamics Simulation

Progress toward a Monte Carlo Simulation of the Ice VI-VII Phase Transition

Dilatancy Transition in a Granular Model. David Aristoff and Charles Radin * Mathematics Department, University of Texas, Austin, TX 78712

Using Fundamental Measure Theory to Treat the Correlation Function of the Inhomogeneous Hard-Sphere Fluid

Perturbation theory calculations of model pair potential systems

Improved association in a classical density functional theory for water. Abstract

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below

Scattering Properties of Gas Molecules on a Water Adsorbed Surface

Structural properties of low density liquid alkali metals

Equation of State of Dense Helium

MatSci 331 Homework 4 Molecular Dynamics and Monte Carlo: Stress, heat capacity, quantum nuclear effects, and simulated annealing

Binary Hard-Sphere Mixtures Within Spherical Pores

Structural properties of low-density liquid alkali metals

Weighted density functional theory of the solvophobic effect

Mean spherical model-structure of liquid argon

Study of Ni/Al Interface Diffusion by Molecular Dynamics Simulation*

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Matter: Properties and Change

Sunyia Hussain 06/15/2012 ChE210D final project. Hydration Dynamics at a Hydrophobic Surface. Abstract:


The Phase Transition of the 2D-Ising Model

UB association bias algorithm applied to the simulation of hydrogen fluoride

Lennard-Jones as a model for argon and test of extended renormalization group calculations

Molecular simulation of adsorption from dilute solutions

510 Subject Index. Hamiltonian 33, 86, 88, 89 Hamilton operator 34, 164, 166

Gibbs ensemble simulation of phase equilibrium in the hard core two-yukawa fluid model for the Lennard-Jones fluid

Part III. Cellular Automata Simulation of. Monolayer Surfaces

Quantum Percolation: Electrons in a Maze. Brianna Dillon-Thomas, PhD 2016

Introduction to molecular dynamics

Earth Solid Earth Rocks Minerals Atoms. How to make a mineral from the start of atoms?

Monte Carlo (MC) Simulation Methods. Elisa Fadda

A theory for calculating the number density distribution of. small particles on a flat wall from pressure between the two

Theory of Interfacial Tension of Partially Miscible Liquids

THE DETAILED BALANCE ENERGY-SCALED DISPLACEMENT MONTE CARLO ALGORITHM

An explicit expression for finite-size corrections to the chemical potential

Chapter 13 - States of Matter. Section 13.1 The nature of Gases

Matter and Energy Review Packet

Molecular Dynamics. Timothy O Sullivan Supervised by Naida Lacevic & John Sader The University of Melbourne

Physics 9 Spring 2011 Midterm 1 Solutions

SAM Teachers Guide Phase Change Overview Learning Objectives Possible Student Pre/Misconceptions

4.2.1 Chemical bonds, ionic, covalent and metallic

A MOLECULAR DYNAMICS SIMULATION OF A BUBBLE NUCLEATION ON SOLID SURFACE

STP : standard temperature and pressure 0 o C = 273 K kpa

From Random Numbers to Monte Carlo. Random Numbers, Random Walks, Diffusion, Monte Carlo integration, and all that

Unit 2 review for finals

Proteins in solution: charge-tuning, cluster formation, liquid-liquid phase separation, and crystallization

Exploring the energy landscape

Chemistry Day 5. Friday, August 31 st Tuesday, September 4 th, 2018

Citation PHYSICAL REVIEW E (2002), 65(6) RightCopyright 2002 American Physical So

Velocity cross-correlations and atomic momentum transfer in simple liquids with different potential cores

A Monte Carlo Implementation of the Ising Model in Python

AST1100 Lecture Notes

Adsorption properties of a colloid-polymer mixture confined in a slit pore

Mechanics, Heat, Oscillations and Waves Prof. V. Balakrishnan Department of Physics Indian Institute of Technology, Madras

Matter: Properties and Change

13.1 The Nature of Gases (refer to pg )

Closed virial equations for hard parallel cubes and squares*

Complete and precise descriptions based on quantum mechanics exist for the Coulombic/Electrostatic force. These are used to describe materials.

Monte Carlo. Lecture 15 4/9/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Physics 5D PRACTICE FINAL EXAM Fall 2013

Monte Carlo simulations of alloy segregation in PtAg octahedral nanoparticles

Department of Chemical Engineering University of California, Santa Barbara Spring Exercise 2. Due: Thursday, 4/19/09

Accuracy and transferability of GAP models for tungsten

Chapters 21 and 22: Giancoli, 4 th Edition Electrostatics

Chapter 3. The (L)APW+lo Method. 3.1 Choosing A Basis Set

- intermolecular forces forces that exist between molecules

CHEMISTRY CURRICULUM. Unit 1: Using Mathematics in Chemistry

MONTE CARLO METHODS IN SEQUENTIAL AND PARALLEL COMPUTING OF 2D AND 3D ISING MODEL

Potts And XY, Together At Last

A Study of the Thermal Properties of a One. Dimensional Lennard-Jones System

MOLECULAR DYNAMICS SIMULATION OF HETEROGENEOUS NUCLEATION OF LIQUID DROPLET ON SOLID SURFACE

Thermodynamics at Small Scales. Signe Kjelstrup, Sondre Kvalvåg Schnell, Jean-Marc Simon, Thijs Vlugt, Dick Bedeaux

Elements and Chemical Bonds

SAM Teachers Guide Phase Change Overview Learning Objectives Possible Student Pre/Misconceptions

An accurate expression for radial distribution function of the Lennard-Jones fluid

Fig. 3.1? Hard core potential

Physics 9 Spring 2012 Midterm 1 Solutions

Calorimetry. A calorimeter is a device in which this energy transfer takes place

Two simple lattice models of the equilibrium shape and the surface morphology of supported 3D crystallites

Monte Carlo Calculations of Effective Surface Tension for Small Clusters

Gases, Liquids and Solids

Monte Carlo Simulation of Ferroelectric Domain Structure: Electrostatic and Elastic Strain Energy Contributions

4.2 Bonding, structure, and the properties of matter

Handout 10: Heat and heat transfer. Heat capacity

Intermolecular Forces and Monte-Carlo Integration 열역학특수연구

The Nuclear Force and Limitations to the Lorentz Electrostatic Force Equation

Module 5: Rise and Fall of the Clockwork Universe. You should be able to demonstrate and show your understanding of:

Science Department-High School

Systematic Coarse-Graining and Concurrent Multiresolution Simulation of Molecular Liquids

CHAPTER 13. States of Matter. Kinetic = motion. Polar vs. Nonpolar. Gases. Hon Chem 13.notebook

How the maximum step size in Monte Carlo simulations should be adjusted

Kinetic Model of Gases

ADVANCED CHEMISTRY CURRICULUM. Unit 1: Mathematical Representation in Chemistry

Imperfect Gases. NC State University

Atomic orbitals of finite range as basis sets. Javier Junquera

Chem 1075 Chapter 13 Liquids and Solids Lecture Outline

Computer simulation methods (2) Dr. Vania Calandrini

CARBON 2004 Providence, Rhode Island. Adsorption of Flexible n-butane and n-hexane on Graphitized Thermal Carbon Black and in Slit Pores

SIMULATIONAL ANALYSIS OF GLASSES PREPARED VIA DIFFERENT INTERATOMIC POTENTIALS

Transcription:

Monte Carlo Simulations for a Soft Sphere Fluid Patrick Kreitzberg Advisor: Dr. David Roundy May 8 th, 2015 1

Contents 1 2 3 5 7 Abstract Introduction Methods Results and Discussion Conclusion Acknowledgments References 3 8 8 9 2

1 Abstract In this paper I present the results of Monte Carlo simulations for a soft sphere fluid with a Weeks- Chandler-Anderson (WCA) pair potential. The results are compared to Soft Fundamental Measure Theory (SFMT) results obtained by our research group. One of the research group s goals was to show that our SFMT is accurate over a wide range of reduced temperatures and densities. The radial distribution function and pressure calculations were accurate at temperatures below freezing and higher than room temperature as well as reduced densities ranging from 0.3 to 1.0. Experimental data for the radial distribution function of argon was matched very well using a soft-sphere fluid surrounding a sphere with a Leonard-Jones pair potential. 3

2 Introduction The hard-sphere fluid model is commonly used in statistical mechanics. Yaakov Rosenfeld derived a classical density functional (cdft) theory called Fundamental Measure Theory in 1989 which is able to calculate the free energy of a hard-sphere fluid [1]. Impenetrable hard spheres are not physical as they have an infinite potential. In 2000, Matthias Schmidt developed a Soft Fundamental Measure Theory (SFMT) based on Rosenfelds classical density functional theory which allowed the spheres to become soft and penetrate one another [2]. Rosenfeld and Schmidt have since worked together and tested Schmidt s SFMT, but not very extensively [3]. Dr. Roundy and Ph.D. candidate Eric Krebs of Oregon State University have created a simplified approximation for the SFMT that we believe will be easy to work with and relativity easy to compute. There is little experimental data on a soft sphere fluid so the SFMT data has to be compared to computer simulations; in this case Monte Carlo simulations. The Monte Carlo simulations will approach the exact answers, if allowed to run for a sufficient amount of time, which can be used to test the accuracy of the new SFMT. I created Monte Carlo simulations that can calculate the density, pressure, and the radial distribution function of a soft sphere fluid to compare against the SFMT results. The radial distribution function describes the density of the fluid as a function of distance from a reference sphere. Similar Monte Carlo simulations have been used to find similar properties for a hard sphere fluid in the past []. The Monte Carlo method relies on random sampling to provide numerical answers to problems which otherwise might not be solvable through more traditional mathematical techniques [5]. The downfall of the Monte Carlo method is that the inferences made based upon the Monte Carlo results have inherent uncertainty. The uncertainty stems from the fact that the data obtained from the Monte Carlo method represents only some possible outcomes of the system and in most cases does not represent all outcomes. To reduce uncertainty, at least for the experiments represented in this thesis, the Monte Carlo simulations need to run for a sufficient amount of time so that the results can be deduced from a large amount of observations of the fluid. The discovery and introduction of the Monte Carlo method to the scientific community is credited to the mathematicians and physicists Stanislaw Ulam, John von Neumann, and Enrico Fermi. Ulam and von Nuemann used random sampling while working on the atomic bomb during the Second World War to study the random neutron diffusion in fissile material []. Following the war, the three scientists helped popularize the Monte Carlo method, in part, when Fermi, Ulam, and Nicholas Metropolis used Monte Carlo Methods to estimate the eigenvalues of the Schrödinger equation. The oldest paper I could find that used the Monte Carlo method for a soft-sphere fluid was from 1970 [7]. However, the 1970 paper does not estimate the same properties of a soft-sphere fluid that I do in this thesis so the results cannot be compared. Since there has not been much work done in the past in improving Schmidt s SFMT there are very few papers which cover Monte Carlo methods for soft spheres. 3 Methods For the data represented in this thesis the simulations were carried out on the physics computer cluster at Oregon State University. The cell for most Monte Carlo simulations is a 30x30x30 cube. The size of the cell is in units of σ which is the distance between two spheres when the pair potential is zero; in these simulations σ the same as the radius of the spheres. All six walls of the cube have periodic boundaries which enable the fluid to be treated as homogeneous. The size of the cell is not of great importance and was chosen to be large enough that our fluid was interesting. The cell also had to be small enough that the time to perform the simulations would give us rough data within a few hours and smooth data within a few days. The number of spheres in the cell, N, is given by the user as a reduced density. N is then calculated using the equation: (2 ReducedDensity) 5/2 N = (1) CellV olume One by one, the simulation proposes a random direction for each sphere to move. If the proposed move means that two spheres overlap, they create a potential energy equal to the Weeks-Chandler-Anderson pair potential. The WCA pair potential is a modified Lennard-Jones potential where the attractive force is offset by the +E so that it is only repulsive. This potential is what separates the soft sphere fluid from the hard sphere fluid (where V (r) = for 0 < r < 2R). A graph and the equation for the WCA pair potential:

V/ɛ 7 5 3 2 1 0 0.90 0.95 1.00 1.05 1.10 1.15 r Figure 1: Weeks Chandler Anderson Pair Potential 12 r WCA σ E σ r + E, 0 < r < 2R v wca (r) = 0, otherwise (2) shells are three dimensional spherical shells of roughly 0.01 thickness. Figure 2 shows a two dimensional cutout of a homogeneous fluid with a spherical shell which is represented by the two unfilled red circles. The graph is not from the actual Monte Carlo code and the units are arbitrary with the radius of each sphere set to one. The simulation has an array of values for each shell. The shells move so that each sphere is put into the center then the distance between this reference sphere and all other spheres is calculated. When the simulation observes a sphere that is not the reference sphere that sphere will have its center inside of one of the shells surrounding the reference sphere so the array value for that shell is incremented by one. Every few hours, roughly 0,000 iterations depending on the density, when the data is printed the number of spheres in a shell is multiplied by the volume of the cell then divided by the volume of the shell. This is then averaged over the number of spheres and the amount of times each sphere has been counted. This gives the radial distribution for the value of the radius of the shell (the distance from the center of the reference sphere). The probability of a proposed move being accepted is the Boltzmann factor e E f E i T (3) where E i and E f are the potential energy (sum of the pair potentials) of the system before and after the proposed move, respectively. In equation, k is the Boltzmann constant and T is the reduced temperature. The reduced temperature is defined by the user and the relation to regular temperature is T = kt () E If the move does not create overlap between spheres or reduces the total potential energy of the fluid then it is automatically accepted. When a simulation is initially created it is possible that all the randomly placed spheres are in an unrealistic arrangement which creates an unusually high potential energy. If they are in an unrealistic arrangement, the moving of spheres should almost always lower the potential energy. Once the spheres are in a more realistic arrangement we should see some movement of spheres that raises the potential energy, if this happens twice we are done initializing and can start taking data. To calculate the radial distribution function of the fluid the cell must first but divided into shells. The Figure 2 Calculating the density is similar to calculating the radial distribution function. For the density the cell is divided into the same shells. The difference is that there is no reference sphere, the distance measured is instead from the origin to each sphere. The density is just the number of spheres in each shell divided by the shell volume and averaged over the number of moves each sphere has taken. The density for a homogeneous is not very interesting but is help 5

ful for making sure the fluid is not in some unrealistic high energy state. The pressure for the homogeneous fluids was also calculated using the following formula: N kt V olumeofenvironment V (r) 3 V olumeofenvironment (5) p 10 8 2 approximation n = 0.1 approximation n = 0.2 approximation n = 0.3 approximation n = 0. approximation n = 0.5 approximation n = 0. approximation n = 0.7 MC n = 0.7 MC n = 0. MC n = 0.5 MC n = 0. There is experimental data for the radial distribution function of argon which we wanted to check against the new SFMT [8 10]. To create a Monte Carlo simulation to compare against the argon data a static sphere was placed in the center of the cell with a Lennard-Jones potential. Lennard-Jones potential is often used because it provides a realistic description of rare-gas interactions at pressures up to a few kilobars [7]. The Lennard-Jones potential is the WCA potential in equation 2 without the +E. The Lennard-Jones parameters for argon are σ = 3.05Å and E = 119.8K [11]. The process for the simulation is essentially the same as the homogeneous fluid except that the one center particle is always the reference particle. Results and Discussion Figure 3 shows the pressure of a homogeneous fluid as a function of reduced density, n, and reduced temperature, T. The Monte Carlo simulations can compute the pressure for only one reduced temperature and reduced density at a time so the data is represented by the dots. The dashed lines connecting the dots are not from real data but are there to help visually compare Monte Carlo to SFMT data. Reduced room temperature is about 2.8 kelvin so it is important that the Monte Carlo and SFMT agree near this temperature. For a reduced density of 0.7, the filling fraction (volume of spheres divided by cell volume) is about 0.55. Considering that a sphere of radius one inside a cube that has all sides with a length of two has a filling fraction of 0.52 this is a very dense fluid so it is acceptable that the SFMT and Monte Carlo results are not a perfect match at such a high density. What is important is that the Monte Carlo and SFMT data match for very low reduced temperatures, lower than the freezing point of water. 0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 T Figure 3: Reduced pressure versus reduced temperatures for homogeneous fluids. Figures and 5 show the Monte Carlo data versus the SFMT data for a homogeneous fluid at two different reduced densities, both with different reduced temperatures. For all different reduced densities the data matches almost perfectly. Figure shows the best range for the data to match. A reduced density of 0. is a filling fraction of about 0.7 which is on the low end of the experiments. However, the temperature range is quite large covering from four times room temperature to below the freezing point of water of roughly T = 2.28. The data in figure 5 has a much higher reduced density than the data in figure so it is acceptable for the SFMT data to not match the Monte Carlo data. The Monte Carlo data has strange bumps for reduced temperature of 1, this is most likely due to the temperature being low enough that the spheres begin to crystallize. If the simulations were not able to run long enough or got stuck then we should expect this strange behavior. However, since room temperature is roughly 2.8 the fact that the data at reduced temperature of 2.5 is off is slightly disconcerting.

g(r) 3.5 3.0 2.5 2.0 1.5 Radial distribution function at n =0. DFT T =10 WCA MC T = 10 WCA MC T = 5 WCA MC T = 2.5 WCA MC T = 1 WCA MC T = 0.1 fluid and is certainly not a Weeks-Chandler-Anderson fluid. Because argon is not a Lennard-Jones fluid the potential used in the Monte Carlo program is an estimate so the data that does match well with experiment, figures 7 and 8, is a real accomplishment. 1.0 0.5 0.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 r/σ Figure : Radial Distribution Function for Homogeneous Fluid.0 3.5 3.0 2.5 Radial distribution function at n =1 DFT T =10 WCA MC T = 10 WCA MC T = 5 WCA MC T = 2.5 WCA MC T = 1 Figure : Radial Distribution Function Argon Experimental Data vs Monte Carlo and SFMT g(r) 2.0 1.5 1.0 0.5 0.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 r/σ Figure 5: Radial Distribution Function for Homogeneous Fluid The following figures, 7, and 8 are the plots of the argon experimental data versus Monte Carlo and SFMT. The experiment for figure has a very large reduced density compared to the homogeneous data in figure 3. This high density can explain the drastic difference in the first peak between all three sets of data. For the Monte Carlo simulations such a high reduced density has a tendency to make the spheres stick together. Whenever there is such a high density it is hard for the spheres to move since the sphere that wants to move will almost always move into other spheres, creating a higher potential energy and therefore a lower probability of the move being accepted. Also, argon is not a perfect Lennard-Jones Figure 7: Radial Distribution Function Argon Experimental Data vs Monte Carlo and SFMT 7

We investigated several different homogeneous soft sphere fluids and calculated their density, pressure, and radial distribution function using both Monte Carlo simulations and SFMT. For a wide variety of reduced temperatures and densities the SFMT data matched the Monte Carlo data very well. This includes temperatures roughly four times the boiling point of water and temperatures below the freezing point of water. The radial distribution function of argon was calculated by the Monte Carlo simulation and SFMT and was found to match very well with experimental data. The comparisons between the SFMT and Monte Carlo data suggests the SFMT is very accurate in these situations and should be used in statistical mechanics where applicable. 5 Figure 8: Radial Distribution Function Argon Experimental Data vs Monte Carlo and SFMT Conclusion Acknowledgments I would like to thank Professor David Roundy and Ph.D. Candidate Eric Krebs of Oregon State University for helping me with my research project as well as providing me with the SFMT data and python scripts to create most of the figures in this paper. Also, I would like to thank all my fellow physics undergrads who edited and provided feedback on earlier drafts of this paper. 8

7 References [1] Y. Rosenfeld, Free-energy model for the inhomogeneous Hard-Sphere Fluid Mixture and Density- Functional Theory of Freezing, Phys. Rev. Lett. 3, 980 (1989). [2] M. Schmidt, Fluid structure from density-functional theory, Physical Review E 2, 97 (2000). [3] Y. Rosenfeld, M. Schmidt, M. Watzlawek, Fluid of penetrable spheres: Testing the universality of the bridge functional, and H. Lowen, Physical Review E 2, 500 (2000). [] J. Schulte, P. Kreitzberg, C. Haglund, and D. Roundy, Using Fundamental Measure Theory to Treat the Correlation Function of the Inhomogeneous Hard-Sphere Fluid, Physical Review E 8,01201 (2012). [5] J.P. Hansen and I.R. McDonald. Theory of Simple Liquids. Amsterdam: Elsevier, 200. p 15. [] Hammersley, J. M., and D. C. Handscomb. Monte Carlo Methods. S.l.: Springer, 2013. Print. [7] W. Hoover, et al., Soft-Sphere Equation of State, The Journal of Chemical Physics 52, 932 (1970). [8] P. Mikolaj and C. Pings, Structure of Liquids. III. An XRay Diffraction Study of Fluid Argon, The Journal of Chemical Physics, 101 (200). [9] J.H. Eggert, G. Weck, P. Loubeyre, and M. Mezouar, Quantitative structure factor and density measurements of high-pressure fluids in diamond anvil cells by x-ray diffraction:argon and water, Physical Review B 5, 17105 (2002). [10] J. Yarnell, M. Katz, R.G. Wenze, and S. Koenig, Structure Factor and Radial Distribution Function for Liquid Argon at 85 K, Physical Review A 7, 2130 (1973). [11] L. Verlet, Computer Experiments on Classical Fluids. I. Thermodynamical Properties of Lennard-Jones Molecules, Physical Review 159, 98 (197). 9