Please help with the following matlab code and please show all work. Thank you!
The problem is solved using matlab code. For more information, refer to matlab website or drop a comment below. Please give a Thumbs Up, if solution is helpful.
Solution :
Using a general trial regression method, the friction factor f can be found using following matlab code,
clear;
clc;
eD = 0.008; % Relative Roughness
Re = 5e+5; % Reynolds number
f = 0.1;
e = 10;
while e>0.0001
LHS = -2*log10((eD/3.4) + (2.5/(Re*sqrt(f))));
RHS = 1/sqrt(f);
e = abs(LHS - RHS);
f = (1/LHS)^2;
end
f
e
And the result obtained is,
NOTE : Feel free to ask further queries. Your positive rating would be appreciated and motivate me !
Please help with the following matlab code and please show all work. Thank you! Viscous losses in a pipe are expressed...
scouS in a pipe are expre in terms of a Jriction Jactor, J. It is important to frictional forces in pipe flow because they result in pressure loss which must be accounted for in the piping system. For turbulent flow in pipes, the friction factor is calculated using the Colebrook equation: e/D 2.51 VT where e is the roughness height, D is the pipe diameter and Re is the pipe Reynolds number (dimensionless). For e/D = 0.008 and Re =...
1. Determining fluid flow through pipes and tubes has great relevance in many areas of engineerin gase g and science. In engineering, typical applications include the flow of liquids and s through pipelines and cooling systems. Scientists are interested in topics ranging from flow in blood vessels to nutrient transmission through a plant's vascular system. The resistance to flow in such conduits is parameterized by a dimensionless number called the friction factor. For turbulent flow, the Colebrook Equation provides a...
solve using paython In fluid flow problems, the flow velocity in a long horizontal pipe depends on the pipe material, pipe geometry and fluid properties in addition to the pump power. For a horizontal pipe with a pump, the friction factor can be obtained from many correlations such as Colebrook-White Equation: 1.1998 5.0452 (6) log Re 28257 -)} (1) 3.7065 7--2 log +58506 (Re)-0.3981 In which, f is the friction factor and is the roughness ratio given by: given by:...
Please solve a,b,c,d,e,f 1) A water fountain is to be installed at a remote location by attaching a cast iron pipe directly to a water main through which water is flowing. The entrance to the pipe is sharp-edged 15m (K-0.5), and the 15m long piping system involves three 90 bends without vanes (K1.1), a fully open gate valve (K.-0.2), and a fully open angle valve (K-5). If the diameter of the pipe is 2 em and the system is to...
In fluid flow problems, the flow velocity in a long horizontal pipe depends on the pipe material, pipe geometry and fluid properties in addition to the pump power. For a horizontal pipe with a pump, the friction factor can be obtained from many correlations such as Colebrook-White Equation: 1.1098 :-2 log 3.7065 r) 5.0452 -log Re +5.8506 (Re) -0.8981 -) 2.8257 (1) In which, fis the friction factor and is the roughness ratio given by: given by: PDV Re Where...
In fluid flow problems, the flow velocity in a long horizontal pipe depends on the pipe material, pipe geometry and fluid properties in addition to the pump power. For a horizontal pipe with a pump, the friction factor can be obtained from many correlations such as Colebrook-White Equation: 7--2109 (5.0452 3.7065 Re log --) +5.8506 (Re)-6.8901 (1) 2.8257 In which, fis the friction factor and mi is the roughness ratio given by: given by: Re = obv Where is the...
use python program In fluid flow problems, the flow velocity in a long horizontal pipe depends on the pipe material, pipe geometry and fluid properties in addition to the pump power. For a horizontal pipe with a pump, the friction factor can be obtained from many correlations such as Colebrook-White Equation: 1.1090 7--2109 C 5.0452 3.7065 Re log +5.8506 (Re) -6.8901 (1) 2.8257 In which, f is the friction factor and r is the roughness ratio given by: given by:...
Engineering economy In fluid flow problems, the flow velocity in a long horizontal pipe depends on the pipe material, pipe geometry and fluid properties in addition to the pump power. For a horizontal pipe with a pump, the friction factor can be obtained from many correlations such as Colebrook-White Equation: 2.100 =-2 logo 5.0452 Re log + 5.8506 (Re)-a) (1) 3.7065 2.4257 In which, fis the friction factor and ris the roughness ratio given by: given by: pDV Where is...
a. 1) Each of the following statements about Buckingham Pi Theorem is true, EXCEPT, An equation of variables can be reduced to a function of A- Pis where requals the number of dimensions involved. b. An equation of variables can be reduced to a function of Pis where requals the number of basic dimensions involved e. The theorem applies to either the MLT or the FLT dimension system d. The theorem is based on dimensional homogeneity of an equation that...
please show clear steps solution. Prob-2 If the flow of 0.10 m/s of water is to be maintained in the system shown, what power must be added to the water by the pump? The pipe is made of steel and is 20 cm in diameter. Use table 10.4 and AS for ks ? and ? Elevation = 13 m Elevation = 10 m Water T-10°C 40 m 40 m Table 104 EQUIVALENT SAND-GRAIN ROUGHNESS, FOR VARIOUS PIPE MATERIALS Boundary Material...