flow of gases through tubes and orifices