Question: Please answer the question Problem 3: Compressible flow in a pipe - as a root finding problem In a fluid mechanics course you might come
Please answer the question

Problem 3: Compressible flow in a pipe - as a root finding problem In a fluid mechanics course you might come across the Weymouth equation, which is used for relating the pressure drop vs. flow rate in a pipeline carrying compressible gases. It is given by, where Qo = 133.547. [(PLP) (P - LOT Qo is the gas flow rate = 2000000 SCFD To is the standard temperature = 520 R P, is the standard pressure = 14.7 psia P is the upstream pressure, (?), psia P2 is the downstream pressure, (21.7), psia T d n L is the length of pipe = 0.1894 miles is the specific gravity of gas (air=1) = 0.7 is the actual gas temperature = 530R is the diameter of the pipe, (?) inches is the efficiency = 0.7 (a fudge factor!) 0.5 d2.667n a) If the diameter of the pipe is 4.026 inches, determine the upstream pressure using the secant function (initial guess of [5, 45]) and the MATLAB built-in function fzero (initial guess of 25). b) Suppose the maximum pressure the pipeline can withstand is only 24.7 psia. Other conditions remaining the same as in previous part, determine the diameter of the pipe that should be used using the secant function (initial guess of [4, 8]) and the MATLAB built-in function - fzero (initial guess of 6).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
