Predicting gas diffusion regime within pores of different size, shape and composition