A pipe of length 400 m is used to pump hydrogen gas from a vessel maintained at 25 barg to a second vessel at 20 barg. The gas is at 25°C and its average mass velocity is 102 kg/s.m. If ideal behavior and isothermal conditions are assumed:
a) Calculate the diameter of the pipe when the friction factor is 0.005.
b) Calculate the mass flow rate.
c) Determine whether the flow is subsonic or supersonic if y = 1.31.