Diffusion of entrapped air from porous media