Simulating CO2 adsorption and diffusion on a graphite surface