Deposition of aerosols in the entrance of a tube