flow_gate {hydReng} | R Documentation |
Discharge At Underflow Gate
Description
Calculates the discharge through a gate under free or submerged conditions.
Usage
flow_gate(a, h0, B, alpha, h2 = NULL, ret = "Q")
Arguments
a |
Gate opening height [m]. |
h0 |
Upstream water depth [m]. |
B |
Gate width [m]. |
alpha |
Gate angle from horizontal [degrees]. |
h2 |
Optional. Downstream water depth [m]. Default is NULL (free flow). |
ret |
Specifies the return value. "Q" for discharge only or "all" for all intermediate results. |
Value
A list containing the following hydraulic variables:
- Q
Flow [m3/s].
- psi
Contraction coefficient [-].
- mu
Discharge coefficient [-].
- v
Flow velocity [m/s].
- chi
Coefficient for submerged flow [-].
Examples
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")
[Package hydReng version 0.1.0 Index]