MOF Book Example Chapter 2 (Advanced)
Chapter 2: MOF Adsorption and Simulation¶
This chapter is an advanced continuation of the MOF introduction, showcasing more available features and interactive code.
2.1 Basics of Adsorption Isotherms¶
In applications such as gas storage and separation by MOFs, adsorption isotherms are critical characterization tools.
The typical Langmuir isotherm can be written as:
Where:
: Adsorbed amount at pressure
: Saturation uptake
: Equilibrium constant (temperature dependent)
2.2 Visualization of MOF Adsorption Isotherms¶
Different MOFs exhibit distinct adsorption properties, for example, the MOF structures shown in Chapter 1, Section 1.2: Typical Structure Illustration and Unit Cell.
The following example illustrates the adsorption isotherm characteristics of various MOF materials. Here, we use the Langmuir model to simulate typical MOF adsorption behavior.


2.3 Simulation of Gas Molecule Diffusion in MOF Channels¶
Below is a static visualization example that simulates the distribution and diffusion behavior of gas molecules in MOF channels. We use a random walk model to simulate the distribution of molecules at different timesteps.


2.4 Definitions of Gas Molecule Behaviors in MOF Channels¶
2.4.1 Definitions of Different Molecular Behaviors¶
Adsorption is the process where gas or liquid molecules are “adsorbed onto” the surface or into the pores of a solid.
Desorption is the process in which previously adsorbed molecules leave the surface or pore of the solid.
Diffusion describes the migration behavior of molecules within the channels of MOFs.
2.4.2 Brief Introduction to Adsorption Process Simulation¶
Introduction to GCMC Method
GCMC (Grand Canonical Monte Carlo) is one of the commonly used methods to simulate adsorption processes.
At a given temperature and chemical potential (or pressure ), the number of particles in the system can fluctuate.
It is widely used for simulating MOF gas adsorption isotherms.
2.5 Simple GCMC Simulation¶
The following interactive GCMC (Grand Canonical Monte Carlo) visualization is implemented using Altair to simulate the adsorption process in MOFs. You can drag the slider for the chemical potential to dynamically observe the evolution and distribution of the mean number of gas molecules.
You can drag the slider of “ (chemical potential)” to dynamically observe under different (representing different gas pressure/concentration):
The evolution trend of the number of gas molecules with MC step
How the adsorption mean varies with (adsorption isotherm)
The histogram distribution of during MC
This interactive visualization enables researchers or students to intuitively understand and explore the MOF adsorption process and the GCMC concept.