About:
Calculate the uniform flow in a prismatic open-channel.
Channel sections considerations:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq_z4Qx6QXOSNludrsaF-xp30jDijp1XCXgQBXw-lNInb2y8jXd4PeeYd6TbaFxDFVON831PXn1Md02V1VNOUu6H-lLWAvNSLbkgRUbX4tjP7TZ3M1eP0JMXX5bTpAmtn9yW7zncgFWbI/s320/PrismaticSection.jpg)
- for a triangle section,
b = 0.0
- for a rectangular section,
ml = mr = 0.0
UniformFreeSurfaceFlow
Function:
UFSF_prismatic_q(y, n, s, b, ml, mr)
Definition of variables:
q
, flow - m3/s;n
, Manning coefficient;s
, slope, m/m;b
, channel bottom, m/m;ml
, slope of left embankment of the channel (1/ml);mr
, Slop of the embankment of the channel (1/mr);
Sample code:
from UniformFreeSurfaceFlow import*
y = 0.7333 #(m)
n = 0.0133333
s = 0.001 #(m/m)
b = 3.0 #(m)
ml = 1.0 #(1/ml)
mr = 3.0 #(1/mr)
q = UFSF_prismatic_q(y, n, s, b, ml, mr)
print("q:",q,"m3/s")
Results:
q: 4.99313936627 m3/s