About:
Calculate the width lenght of a prismatic open-channel.![]() |
©WETpython, 2015 |
This function is a applied to trapezoidal, triangular a rectangular sections:
Module:
Geometry
Function:
GEO_geometry_wlprism(y, b, ml, mr)
Parameters:
- y, flow height, m;
- b, channel bottom , m;
- ml, slope of left embankment (1/ml);
- mr, slope of right embankment (1/mr)
Sample code:
from Geometry import *
y = 0.75 #(m)
b = 1.5 #(m)
ml = 1.5
mr = 3.0
wl = GEO_geometry_wlprism(y, b, ml, mr)
print ("Width lenght:", wl,"m")
Result:
Width lenght: 4.875 m