The pressure drop p in Pa for a fluid flowing in a pipe with a sudden increase

Question:

The pressure drop Δp in Pa for a fluid flowing in a pipe with a sudden increase in diameter is given by:
. [ 3G3 -ש Ap P12

Where p is the density of the fluid, v, the velocity of the flow, and d and D are defined in the figure. Write a program in a script file that calculates the pressure drop Δp. When the script file is executed it requests the user to input the density in kg/m3, the velocity in m/s, and values of the non-dimensional ratio d/D as a vector. The program displays the inputted values of p and v followed by a table with the values of d/D in the first column and the corresponding values of Δp in the second column. Execute the program assuming flow of gasoline (p = 737 kg/m3) at v = 5 m/s and the following ratios of diameters d/D = 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.2.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: