f = cw_jain(d,e,re)
Calculate the Jain 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.