flow_gate | R Documentation |
Calculates the discharge through a gate under free or submerged conditions.
flow_gate(a, h0, B, alpha, h2 = NULL, ret = "Q")
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. |
A list containing the following hydraulic variables:
Flow [m3/s].
Contraction coefficient [-].
Discharge coefficient [-].
Flow velocity [m/s].
Coefficient for submerged flow [-].
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.