Example dynamic viscosity, cast iron
Uses Re = rho x v x D / mu. Density and mu are entered.
Worked example
Reynolds number 1.0000e+5
Regime Turbulent: Re > 4000.
Head loss 0.1367 m
Laminar is below 2300, transition is 2300 to 4000, and turbulent is above 4000. Swamee-Jain is evaluated when its log argument is positive, including laminar flow. That is this page's formula scope.
Friction and ratio
Re = (rho × v × D) / mu = (v × D) / nu
epsilon / D 0.0026
Darcy friction factor 0.026814
f = 0.25 / (log10(epsilon/(3.7×D) + 5.74/Re^0.9))^2
h_f = f × (L / D) × (v^2 / (2 × g))
Diameter is millimeters in the roughness ratio and meters in Re and head loss. g is an input. 9.80665 in an example is entered there, not stored as a place.