Dynamics of diffusion and adsorption in a single catalyst pellet