GEO_geometry_wlprism(): Width lenght of a prismatic open-channel

About:
Calculate the width lenght of a prismatic open-channel.



©WETpython, 2015
\begin{equation} W_l = B + m_l \times y + m_r \times y \end{equation} 

This function is a applied to trapezoidal, triangular a rectangular sections:




  • for a trapezoidal section: $B \not= 0, m_l \not= 0, m_r \not= 0$
  • for a triangular section: $B = 0$
  • for a rectangular section: $m_l = m_r = 0$

  • 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);
    • mrslope 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