powered by
Calculates the discharge through a gate under free or submerged conditions.
flow_gate(a, h0, B, alpha, h2 = NULL, ret = "Q")
A list containing the following hydraulic variables:
Flow [m3/s].
Contraction coefficient [-].
Discharge coefficient [-].
Flow velocity [m/s].
Coefficient for submerged flow [-].
Gate opening height [m].
Upstream water depth [m].
Gate width [m].
Gate angle from horizontal [degrees].
Optional. Downstream water depth [m]. Default is NULL (free flow).
Specifies the return value. "Q" for discharge only or "all" for all intermediate results.
flow_gate(a = 0.5, h0 = 1.0, B = 2.0, alpha = 90) flow_gate(a = 0.5, h0 = 1.0, B = 2.0, alpha = 90, h2 = 0.8) flow_gate(a = 0.5, h0 = 1.0, B = 2.0, alpha = 90, h2 = 0.8, ret = "all")
Run the code above in your browser using DataLab