RASPA is a general purpose classical simulation package that can be used for the simulation of molecules in gases, fluids, zeolites, aluminosilicates, metal-organic frameworks, carbon nanotubes and external fields. We implemented the Gauge Cell Monte Carlo simulation method in RASPA. This method is used to generate the full canonical adsorption isotherm in the form of a Van der Walls loop.
cd src_gauge_cell
cmake .
make
In simulation.input file, make the following changes-
- Put
GaugCellSize 1000
# Box lenght of gauge cell (Angstroms) - Put
ComputeNumberOfMoleculesHistogram yes
# Molecule histogram is required to calculate several points on isotherm from one simulation - Put
GaugeCellSwapProbability 1.0
# Gauge cell exchange move for adsorbates - Under Component 0, put
CreateNumberOfMolecules 100
# This is Ntotal = Ngauge + Npore which will remain constant throughout the simulation
-
Each simulation generates
HistogramGaugeCell.dat
file in the simulation directory. This file contain histogram of particles in the gauge cell and pore cell along with the chemical potential. These points can be directly plotted and are referred as the ideal gas gauge cell (IGGC) points. -
In the Output/System_0/output*data file, the
Average Ideal Gauge Cell chemical potential
is printed. This chemical potential is based on the average density of particles in the pore cell during the simulaton. This point is known as the mean density gauge cell (MDGC) point.
- A. V. Neimark and A. Vishnyakov. A Simulation Method for the Calculation of Chemical Potentials in Small, Inhomogeneous, and Dense Systems, Journal of Chemical Physics, 2005, V. 122, 234108.
- A. V. Neimark and A. Vishnyakov. Phase transitions and criticality in small systems: vapor-liquid transition in nanoscale spherical cavities, Journal of Physical Chemistry, 2006, V.110, p.p.9403-9412.
- A. V. Neimark and A. Vishnyakov. The Gauge Cell Method for Molecular Simulation Studies of Phase Transitions in Confined Fluids, Phys. Rev. E, 2000, V.62, p.p.4611-4622.
- A. Vishnyakov and A. V. Neimark. Studies of Liquid-Vapor Equilibrium, Criticality and Spinodal Transitions in Nanopores by the Gauge Cell Monte Carlo Simulation Method, Journal of Physical Chemistry B, 2001, V. 105, p.p. 7009-7020.