Empty constructor. The unit is automatically set to S.I. (Metric).
Flow types. These are the categories in which the calculated froude number is compared to.
Units options
General available unknowns for open channel.
Determines the flow type based on the froude number.
Returns the average velocity in the channel in either meter per second (metric) or feet per second (english).
Returns the bed (bottom) slope of the channel.
Returns critical depth in either meters or feet.
Returns the slope of the critical flow for the channel.
Returns the rate of flow in either cubic meter per second (metric) or cubic feet per second (english).
Returns discharge intensity in either cubic meter per second per meter or cubic foot per second per foot.
Gets the error message. @return errMessage
Returns the string representation of type of flow.
Returns the froude number
Returns the hydraulic depth in either meter or foot.
Returns the hydraulic radius in either meters or feet.
Retuens the manning's roughness coefficient.
Returns the water depth in either meter or feet.
Returns the wet area in either square meter or square foot.
Returns the wet perimeter in either meter of feet.
Put all the initializations here.
Check if an error has occurred. @return isError
Bed slope error checking
Discharge error checking.
Check if all conditions are true
Manning's roughness error checking
Water depth error checking
Set the bed slope of the channel.
Sets the discharge.
Sets the manning roughness coefficient.
Sets the unit.
Sets the unknown based on the available unknowns of a specific channel type.
Sets the water depth.
Trial error max to 0.01%
Gravitational acceleration in metric.
Available unknowns
Average velocity over the whole cross section of the channel.
Rise over run of the channel.
Depth of flow that will give critical flow.
Bed slope that will give critical flow.
Discharge (Flow Rate)
Discharge intensity. Discharge divided by the top channel width.
The error or warning message that helps debug or give information about the calculation results.
Flow type reconned from the Enum type FlowType
Froude number.
Hydraulic depth
wettedArea / wettedPerimeter
Variable that tells if the calculation has no error.
Manning's roughness coefficient.
Unit of measurement.\ All calculations will be done in metric but both metric and imperial system are supported.
Enum type. (e.g. DISCHARGE, WATER_DEPTH, etc.)
Depth of water measured from the deepest point of the channel.
Total area of the channel section covered with water.
Total length of the channel section covered with water.
The base class for all open channels.