About:
Calculate the friction loss in a pipe, with uniform flow for laminar flow $(Re \leq 2000)$.
\begin{equation} f = \frac{Re}{64} \end{equation}
Function:
UPF_laminarflow_f(q,t,s,d)
Definition of variables:
q, flow - m3/s;e, pipe roughness - m;t, temperature - ÂșC;s, salinity - g/kg;d, internal diameter - m.
Sample code:
from UniformPressurizedFlow import*
from WaterProperties import*
q = 0.001 #(m3/s)
d = 0.75 #(m)
t = 15 #(oC)
s = 2.5 #(g/kg)
re = WATER_reynoldsnumber_re(q,d,t,s)
f = UPF_laminarflow_f(q,t,s,d)
Result:
Re: 1496.0351140845949
f: 0.042779744537721494 m/m