Particle diffusion with entrance effects in a smooth-walled cylinder