flow_gate: Discharge At Underflow Gate

View source: R/Gate.R

flow_gateR 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")

hydReng documentation built on April 4, 2025, 1:57 a.m.

Related to flow_gate in hydReng...