FM Tute M02 QGIS Boundary Conditions

From Tuflow
Jump to navigation Jump to search

    Introduction

    This page details the method for using QGIS to create the GIS based boundary layer. The layer will be populated with the name of each inflow boundary which will be linked to the boundary database in the following steps of this module. The created boundary will be applied as a source-area boundary in a 2d_sa layer.

    Method

  1. Copy the layer 2d_sa_FMT_M02_001_R.shp within the Module_data\Module_02\Inflow folder into the TUFLOW\model\gis folder.
  2. Open the layer in QGIS. Four polygons have been digitised over the location of the proposed development. Each polygon represents a sub-catchment to which different inflow boundaries will be associated. Populate the first and only attribute of each polygon with the name of the inflow boundary as shown in the figure below. The next steps of this module will link these boundary names with an inflow using the bc_dbase located in TUFLOW\bc_dbase .

    M07 SA polygons QGIS.png
  3. Save the layer 2d_sa_FMT_M02_001_R.

    Boundary Condition Database
  4. Copy the file 100yr2hr_loc.csv from Module_data\Module_02\Inflow and place it into the TUFLOW\model\bc_dbase folder. This file contains the four hydrographs that will be used.
  5. Open up the latest version of the boundary condition database. This is located within the TUFLOW\model\bc_dbase folder and is called bc_dbase_FMT_M01.csv.
  6. We need to add four additional rows to the file which reference the four additional inflows that have been created in the layer 2d_sa_FMT_M02_001_R. The revised bc_dbase should look like the figure below:

    100yr2hr loc csv.png

    The hydrographs applied to each of the 2d_sa polygons are contained within the source file 100yr2hr_loc.csv.
    100yr2hr loc.PNG
  7. Save the bc_dbase as bc_dbase_FMT_M02.csv. It is now ready to be used within the model.

    Conclusion

    A GIS layer has been created containing four polygons in a 2d_sa layer over the location of the proposed development. The existing boundary conditions database (bc_dbase) has been modified to link these four GIS objects to hydrographs within an external csv file. Please return to the main page of the Flood Modeller module 2 tutorial.