The discharge of gases from a reservoir through a pipe