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