Functions for basic hydraulic calculations related to
water flow in circular pipes both flowing full (under pressure), and
partially full (gravity flow), and trapezoidal open channels. For
pressure flow this includes friction loss calculations by solving
the Darcy-Weisbach equation for head loss, flow or diameter, and
plotting a Moody diagram. The Darcy-Weisbach friction factor is
calculated using the Colebrook (or Colebrook-White equation),
the basis of the Moody diagram, the original citation being
Colebrook (1939)