TUFLOW CATCH Tutorial M02 TUFLOW FV GIS Inputs QGIS

From Tuflow
Jump to navigation Jump to search

Page Under Construction

Introduction

The ?this wording right? FV mesh and the FV 2d_mat layer are supplied and inspected. The downstream culvert is redefined in TUFLOW FV format, using supplied files. Upstream and downstream boundaries are created to define the TUFLOW FV boundary.

Review Supplied TUFLOW FV Input Files

Navigate to the TUFLOW_CATCH_Module_02\Tutorial_Data folder.

  • Copy Stream_Mesh.2dm into the Modelling\TUFLOWFV\model\geo folder.
  • Copy TC02_culvert_dbase_001.csv into the Modelling\TUFLOWFV\model\csv folder.
  • Copy the following GIS layers into the Modelling\TUFLOWFV\model\gis folder:
  • 2d_ns_TC02_culverts_001_L
  • 2d_ns_TC02_weir_001_L
  • 2d_mat_TC02_FV_001_R

TUFLOW FV Mesh

A TUFLOW CATCH hydrology simulation requires a TUFLOW FV mesh. more info?

  1. Load the Stream_Mesh.2dm from the TUFLOWFV\model\geo folder into QGIS.
  2. In the QGIS Layers panel, right click on Stream_Mesh and select 'Properties...'. Update the symbology to view the mesh rendering:
    • In 'Symbology', in the 'Contours' tab, set the color ramp to 'Blues'.
    • In the 'Rendering' tab, tick on 'Native Mesh Rendering'.
    • Click 'Apply', then 'OK'.
  3. Inspect the mesh. In particular, zoom into the eddies to view the ?triangulation?.


TUFLOW FV Materials

A materials GIS file is used to define the landuse within the TUFLOW FV mesh. The material ID's in this layer are unrelated to those in the TUFLOW HPC materials layers. As such, the same material ID numbers can be used.

Note: TUFLOW FV does not use a materials database. Instead, the material properties will be defined in the receiving model section of the TUFLOW CATCH Control file.
  1. Load the 2d_mat_TC02_FV_001.shp from the TUFLOWFV\model\gis folder into QGIS.
  2. Click on the 'Apply TUFLOW Styles to Open Layers' symbol from the TUFLOW Plugin toolbar.
  3. Inspect the materials layer.


Downstream Culvert Update

In the previous section (TUFLOW HPC GIS Inputs), the downstream culvert was removed as it was located within the TUFLOW FV mesh. As such, it needs to be redefined in TUFLOW FV format.

  1. Load the 2d_ns_TC02_culverts_001_L.shp and 2d_ns_TC02_weir_001_L.shp from the TUFLOWFV\model\gis folder into QGIS.
  2. Click on the 'Apply TUFLOW Styles to Open Layers' symbol from the TUFLOW Plugin toolbar.
  3. Inspect the supplied files. To define the culvert, two nodestrings are needed, one on the upstream end and another on the downstream. The weir enforces the road crest, while allowing water to spill over. Notice that the nodestrings have been placed within a row of the mesh.


  4. In TUFLOW FV, 1D culvert attributes are defined in a separate .csv database. Navigate to the TUFLOWFV\model\csv folder and open TC02_culvert_dbase_001.csv.

    File:Image of dbase

Create TUFLOW FV Boundaries

TUFLOW FV uses nodestrings (2d_ns) to specify the location of open boundary conditions. Create the 2d_ns layer using the TUFLOW CATCH plugin:

  1. Go to Processing > Toolbox from the top dropdown menu options to open the Processing Toolbox.
  2. Go to TUFLOW Catch in the processing tool list and select 'Import Empty'. This opens the dialog shown below:
    • Project Directory: Click '...', and navigate to the TUFLOW_CATCH_Module_02\Modelling folder.
    • Empty Type: Click '...', and tick on '2d_ns' from the empty type list.
    • Geometry Type: Click '...', and tick on 'Line'.
    • Run ID: TC02_US_boundary_001
  3. Click 'Run'.
  4. Once the tool has finished, click back to the 'Parameters' tab. Update the 'Run ID' to TC02_DS_boundary_001.
  5. Click 'Run'. Once the tool has finished, click 'Close'. The 2d_ns_TC02_US_boundary_001_L and 2d_ns_TC02_DS_boundary_001_L will appear in the QGIS Layers panel.
  6. In the QGIS Layers panel, select (left click) 2d_ns_TC02_US_boundary_001_L and toggle on editing.
  7. Select 'Add Line Feature'.
  8. Zoom in to the upstream end of the mesh, and digitise a nodestring just outside the mesh. Ensure the nodestring overhangs the edges of the mesh. Use the right mouse button to terminate the line, and an attributes dialog will appear. Set the ID to 'US' and click 'OK'.
  9. Turn off editing to save the edits.


  10. Repeat this process for the downstream boundary 2d_ns_TC02_DS_boundary_001_L, at the downstream end of the mesh. For this nodestring, set the ID to 'DS' and the Flags to 'BD'. The BD flag will snap the nodestring along the outer edge of the mesh.

    File:Image of DS boundary and attributes table


Up
Go-up.png Back to TUFLOW CATCH Tutorial 2