Pipeline Toolbox
Function Reference Manual
Early Public Release DD-00011-000

3.2.30 cw_fang - Fang friction factor
f = cw_fang(d,e,re)

Calculate the Fang approximation of the Colebrook-White equation.

Arguments

d

Pipe internal diameter (m  ).

e

Pipe effective roughness ε .

re

Reynolds number

Returns Darcy friction factor f , dimensionless.

Possible Errors

Fang diameter is <= 0

The given internal diameter of the pipe must be above zero.