f = cw_cheng(d,e,re)
Calculate the Cheng approximation of the Colebrook-White equation.
Pipe internal diameter ().
Pipe effective roughness .
Reynolds number
Returns Darcy friction factor , dimensionless.
The given internal diameter of the pipe must be above zero.