Water at 15°C is flowing in a 30-m-long horizontal pipe made of stainless steel. If it flows at a rate of 9 litre/s, wha
Posted: Mon Apr 25, 2022 9:36 am
Water at 15°C is flowing in a 30-m-long horizontal pipe made of stainless steel. If it flows at a rate of 9 litre/s, what is an effect of the pipe diameter on the pressure drop? To assess your answer in WS04: [Part B] Question 02, plot a graph of AP(kPa) vs diameter (m) Functions to calculate Re and fanning friction factors are provided here. In order to implement them, please follow the specific orders. Re=ReynoldsNumber(V,D,rho,mu) f_F=fanningFrictionFactor(Re, epsilon,D) To store numerical values, please name Temp_'. For example, velocity will change with a different diameter. To store velocities, name it Temp_V. In the same manner, you can name Temp_Re to store Re values.For pressure drops, name it del_P.
Im^3/s) WS04 Part B Q2 4 3 %Water properties mu = 1.138e-3; % dynamic viscosity (kg/m.s) 5 rho = 999.1; % density (kg/m3) 6 7 %% Pipe properties 8 epsilon = 2e-6; % roughness (m) 9 L = 30; % pipe length (m) 10 11 % Vary the pipe diameter (m) from 0.01 to 0.1 in increments of 0.001 (meter) 12 D= 13 14 %% Recommended method: Use for loop to calculate and store V, Re, f_F and pressure drop 15 16 17 18 19 20 plot(D, del_P) 21 xlabel('D(meter)', 'interpreter', 'latex') 22 ylabel('$\Delta P$(kPa)', 'interpreter', 'latex') 23
Im^3/s) WS04 Part B Q2 4 3 %Water properties mu = 1.138e-3; % dynamic viscosity (kg/m.s) 5 rho = 999.1; % density (kg/m3) 6 7 %% Pipe properties 8 epsilon = 2e-6; % roughness (m) 9 L = 30; % pipe length (m) 10 11 % Vary the pipe diameter (m) from 0.01 to 0.1 in increments of 0.001 (meter) 12 D= 13 14 %% Recommended method: Use for loop to calculate and store V, Re, f_F and pressure drop 15 16 17 18 19 20 plot(D, del_P) 21 xlabel('D(meter)', 'interpreter', 'latex') 22 ylabel('$\Delta P$(kPa)', 'interpreter', 'latex') 23