Weir height test case (Water Module)

From Tygron Support wiki
Jump to navigation Jump to search

This page contains information on what ways a weir's height can be configured using a test case. It also shows what direct output you can inspect from a weir. Finally, several variants are also explored.

Description

This test case consists of several weirs situated in a waterway, with each weir having different properties. All weirs are part of the same Water Overlay's simulation. There is no rainfall in this test case. Instead water flow is provided by inlets and outlets, which can be set up either variable or constant.

Weir test case top down.

Boundary and initial conditions

  • Waterways with weirs in the middle, separating two water areas.
  • One inlet per waterway providing an influx of water, situated in the water area on the left.
  • One outlet per waterway providing an outflux of water, situated in the water area on the right.

Parameter values

  • Manning’s n: 0.03 (uniform)
  • Model grid resolution: 1m

Technical setup

Waterways

Four waterways with a water depth of 2m and an angle of repose of 35 degrees, drawn with the following polygons:

  1. [187.0, -249.288], [418.0, -256.288]
  2. [413.0, -333.288], [189.0, -326.288]
  3. [194.0, -375.287], [411.0, -382.287]
  4. [404.0, -447.430], [194.0, -440.430]

Water Areas

Two areas divide the water ways into two sections:

  • Water area (left)
    • Rectangle shape: [301.0, -226.466], [158.884, -464.466]
    • WATER_LEVEL = 0.0;
  • Water area (right)
    • Rectangle shape: [424.884, -226.466], [301.0, -464.466]
    • WATER_LEVEL = 0.0;

Inlets


Inlet Q that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.

Outlets

Each outlet is set up with the following attributes to remove the water that passed through the weir:

The outlets are situated at:

  • Outlet (Constant):
    • Rectangle shape: [414.554, -250.689] , [396.786, -253.873]
  • Outlet (Manual):
    • Rectangle shape: [410.115, -327.753] , [ 393.13, -330.9620 ]
  • Outlet (Adjusting):
    • Rectangle shape: [ 401.072, -442.541 ], [ 383.968, -445.520 ]

Weirs

Each weir is setup using a rectangular shape, and direction angle and a weir height and width:

Weir specific:

  • Weir (Constant)
    • Rectangular shape: [ 299.593, -248.328 ] , [ 302.229, -257.983 ]
  • Weir (Manual)
Weir height that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.
    • Rectangular shape: [ 298.675, -324.174 ] , [ 301.613, -335.662 ]
    • WEIR_HEIGHT = [ 0 0 600 0.2 1200 0.2 1500 0.2 1800 -0.5 2400 -0.5 2700 0 ];
  • Weir (Adjusting)
    • Rectangular shape: [ 298.406, -437.681 ] , [ 301.142, -449.731 ]
    • WEIR_TARGET_LEVEL = 0;

Overlay settings

General parameters that have been used:

Output

Measured object graphs are displayed below. The following water overlay output attributes are inspected:

Weir with constant height

    Weir with a constant height:
  • Weir test case weir constant height.png
  • Weir test case weir constant flow.png
  • Weir test case weir constant datum a.png
  • Weir test case weir constant datum b.png
  • Inlet:
  • Weir test case inlet constant flow.png
  • Weir test case inlet constant datum a.png
  • Weir test case inlet constant datum b.png
  • Outlet:
  • Weir test case outlet constant flow.png
  • Weir test case outlet constant datum a.png
  • Weir test case outlet constant datum b.png

Weir with manual configured changing height

    Weir with a manual configured changing height:
  • Weir test case weir manual height.png
  • Weir test case weir manual flow.png
  • Weir test case weir manual datum a.png
  • Weir test case weir manual datum b.png
  • Inlet:
  • Weir test case inlet manual flow.png
  • Weir test case inlet manual datum a.png
  • Weir test case inlet manual datum b.png
  • Outlet:
  • Weir test case outlet manual flow.png
  • Weir test case outlet manual datum a.png
  • Weir test case outlet manual datum b.png

Weir with adjusting height

    Weir with an adjusting height:
  • Weir test case weir adjusting height.png
  • Weir test case weir adjusting flow.png
  • Weir test case weir adjusting datum a.png
  • Weir test case weir adjusting datum b.png
  • Inlet:
  • Weir test case inlet adjusting flow.png
  • Weir test case inlet adjusting datum a.png
  • Weir test case inlet adjusting datum b.png
  • Outlet:
  • Weir test case outlet adjusting flow.png
  • Weir test case outlet adjusting datum a.png
  • Weir test case outlet adjusting datum b.png

Variations

Weir adjustment interval

Changing the WEIR_MOVE_INTERVAL_S from 10 seconds to 1 second. This leads to more adjustments. It becomes more apparent with more timeframes (300 in stead of 30).

    Weir with an adjusting height:
  • Weir test case weir adjusting height 1s.png
  • Weir test case weir adjusting flow 1s.png
  • Weir test case weir adjusting datum a 1s.png
  • Weir test case weir adjusting datum b 1s.png
  • Weir adjusting height with 300 frames:
  • Weir test case weir adjusting height 1s 0 01m 300f.png
  • Weir test case weir adjusting flow 1s 0 01m 300f.png
  • Inlet: No changes.
    Outlet:
  • Weir test case outlet adjusting flow 1s.png
  • Weir test case outlet adjusting datum a.png
  • Weir test case outlet adjusting datum b.png

Weir move step

Changing the WEIR_MOVE_INTERVAL_S from 0.01 meter to 0.05 meter. As you can see, this makes the adjustments more erratic.

    Weir with an adjusting height:
  • Weir test case weir adjusting height 0 05m.png
  • Weir test case weir adjusting flow 0 05m.png
  • Weir test case weir adjusting datum a 0 05m.png
  • Weir test case weir adjusting datum b 0 05m.png
  • Inlet: No changes.
    Outlet:
  • Weir test case outlet adjusting flow 0 05m.png
  • Weir test case outlet adjusting datum a.png
  • Weir test case outlet adjusting datum b.png

Conclusions

  • Weirs can be made to adjust automatically based on changing water levels.
  • Be careful when changing the default values of the weir move attributes of the overlay. Do not set the adjustment time too low or the step too high.