flow_depth_gate | R Documentation |
Calculates the upstream water depth for a gate based on given discharge and gate parameters.
flow_depth_gate(a, Q, B, alpha, h2 = NULL, ret = "h0")
a |
Gate opening height [m]. |
Q |
Discharge [m3/s]. |
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. "h0" for depth only or "all" for all intermediate results. |
A list containing the following hydraulic variables:
Upstream water depth [m].
Contraction coefficient [-].
Discharge coefficient [-].
Flow velocity [m/s].
flow_depth_gate(a = 0.5, Q = 2.5, B = 2.0, alpha = 90)
flow_depth_gate(a = 0.5, Q = 2.5, B = 2.0, alpha = 90, h2 = 0.8)
flow_depth_gate(a = 0.5, Q = 2.5, 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.