The Fanning friction factor is computed by Colebrook's equation, assuming turbulent, one-phase flow. For low Reynolds numbers, the limit value for turbulent flow is returned.
Revision history:
function f_colebrook input SI.MassFlowRate w; input Real D_A; input Real e; input SI.DynamicViscosity mu; output SI.PerUnit f; end f_colebrook;