Weir formula (Water Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
: ''h<sub>s</sub> = max(0, max( w<sub>l</sub>, w<sub>r</sub> ) - z<sub>w</sub>)''
: ''h<sub>s</sub> = max(0, max( w<sub>l</sub>, w<sub>r</sub> ) - z<sub>w</sub>)''
: ''h<sub>d</sub> = max(0, min( w<sub>l</sub>, w<sub>r</sub> ) - z<sub>w</sub>)''
: ''h<sub>d</sub> = max(0, min( w<sub>l</sub>, w<sub>r</sub> ) - z<sub>w</sub>)''
Based on the relative water heights, the weir is judged to have either a submerged flow or a free flow, based on the following ratio:
: ''h<sub>ratio</sub> = h<sub>d</sub> / h<sub>s</sub>''
:: C = min( C<sub>submerged</sub> , C<sub>free</sub>) if h<sub>ratio</sub> &gt; 0,5
:: C = C<sub>free</sub> otherwise


For free flow, capacity is calculated directly:
For free flow, capacity is calculated directly:
Line 10: Line 15:
For submerged flow, a culvert-like calculation is used:
For submerged flow, a culvert-like calculation is used:
: ''C<sub>submerged</sub> = U<sub>loss</sub> * A * sqrt( 2 * g * ( h<sub>s</sub> - h<sub>d</sub> ) )''
: ''C<sub>submerged</sub> = U<sub>loss</sub> * A * sqrt( 2 * g * ( h<sub>s</sub> - h<sub>d</sub> ) )''
Based on the relative water heights, the weir is judged to have either a submerged flow or a free flow, based on the following ratio:
: ''h<sub>ratio</sub> = h<sub>d</sub> / h<sub>s</sub>''
:: C = min( C<sub>submerged</sub> , C<sub>free</sub>) if h<sub>ratio</sub> &gt; 0,5
:: C = C<sub>free</sub> otherwise


Finally the actual amount of water flow is calculated:
Finally the actual amount of water flow is calculated:

Revision as of 10:04, 15 April 2019

Flow across weirs is calculated differently for free flow and submerged flow.

The height of the water at each end of the weir, relative to the weir, is calculated:

hs = max(0, max( wl, wr ) - zw)
hd = max(0, min( wl, wr ) - zw)

Based on the relative water heights, the weir is judged to have either a submerged flow or a free flow, based on the following ratio:

hratio = hd / hs
C = min( Csubmerged , Cfree) if hratio > 0,5
C = Cfree otherwise

For free flow, capacity is calculated directly:

Cfree = fw,d * cw * ww * ( hs - hd )3/2

For submerged flow, a culvert-like calculation is used:

Csubmerged = Uloss * A * sqrt( 2 * g * ( hs - hd ) )

Finally the actual amount of water flow is calculated:

Δw = Δt * C / cell

Where:

  • Δw = The water flow which takes place.
  • Δt = Computational timestep.
  • cell = Cell size.
  • C = The potential rate of water flow across the weir.
  • hratio = The ratio of water heights on either side of the culvert.
  • Cfree = The potential rate of water flow across the weir, based on a free flow calculation.
  • Csubmerged = The potential rate of water flow across the weir, based on a submerged calculation.
  • hs = The height of the water column relative to the top of the weir, on the side with the highest water level.
  • hd = The height of the water column relative to the top of the weir, on the side with the lowest water level.
  • Uloss = Loss coefficient for submerged weirs (0,9).
  • A = Flow area, based on the highest water column height relative to the top of the weir, and the weir width, defined by the WEIR_WIDTH attribute of the weir
  • g = Acceleration factor of gravity
  • fw,d = Dutch weir factor, set to 1.7
  • cw = The WEIR_COEFFICIENT attribute of the weir.
  • zw = The WEIR_HEIGHT attribute of the weir.
  • ww = The WEIR_WIDTH attribute of the weir.
  • wl = The water level on the left side of the weir, relative to datum.
  • wr = The water level on the right side of the weir, relative to datum.

See also

Template:WaterOverlay nav