Compute geometry relations for trapezoidal channels.
Usage
channel_geom(y, B, SS)
Arguments
y
Flow depth [\(L\)].
B
Channel bottom width [\(L\)].
SS
Channel sideslope [\(L L^{-1}\)]. For a rectangular channel, SS = 0.
Value
Named vector:
A
Flow area [\(L^2\)].
P
Wetted perimeter [\(L\)].
R
Hydraulic radius [\(L\)].
dAdy
Water surface width [\(L\)].
dPdy
First derivative of wetted perimeter w.r.t. flow depth.
dRdy
First derivative of hydraulic radius w.r.t. flow depth.
DH
Hydraulic depth [\(L\)].
ybar
Vertical distance from water surface to centroid of flow area [\(L\)].
Details
Channel geometry relations are routinely calculated in numerical solutions of steady,
gradually-varied and unsteady flows. This function is used extensively by internal
procedures and is made accessible to the user for convenience.