Tute M09 ArcQGIS 2D2D domain Archive

From Tuflow
Jump to navigation Jump to search

Introduction

In this page we prepare the GIS inputs that define the coarse resolution (5m) and fine resolution (2.5m) domain areas, the external and internal boundary condition files associated with each domain and the boundary conditions files required to transfer flow between both domains.

NB: The following section assumes that you are proficient in the use of your chosen GIS package as details explaining 'how to' have not been included.

Module Data

Four separate GIS datasets have been provided in the Module_Data\Module_09 folder.

  • FINEdomain_boundary.TAB
  • 2d_loc_M09_2.5m_001_L.MIF
  • 2d_loc_M09_5m_001_L.MIF
  • 2d_bc_M09_2D2D_001_L.MIF

GIS Data Updates

2D Domains

Previous modeling utilises a consistent 5m cell size across the whole model. As shown below, the model incorporated a single model boundary and domain grid.
Tute M09 older domain setup2.JPG

This tutorial updates the single domain 5m resolution model, incorporating a coarse resolution domain (5m) in the upstream half of the study area and a fine resolution (2.5m) domain in the downstream area. Multiple 2D domain models such as this require separate code boundaries to define the extent of each domain. Follow the steps below:

  1. The code boundary already created for Tutorial M01 will be reused to define the COARSE domain extent, however we will rename it for clarity. Import the M01 code boundary file 2d_code_M01_002.shp from the Complete_Model\TUFLOW\model\gis folder. Save the file as 2d_code_M09_5m_001_R.shp in the working TUFLOW\model\gis folder.
  2. To define the FINE domain, import an empty 2d_code_empty_R.shp template file from the TUFLOW\model\gis\empty folder and save it as 2d_code_M09_2.5m_001_R.shp in the TUFLOW\model\gis folder.
  3. Add the 2d_code layer to the Map window and make it editable.
  4. Open the layer FINEdomain_boundary.shp in the Module_Data\Module_09 folder.
  5. Select the polygon in this layer, copy to the clipboard and paste into 2d_code_M09_2.5m_001_R.shp.
  6. Assign the Code attribute for the polygon a value of 1 (Code 1 means set the 2D cells within the polygon to active).
  7. Save the file.

2D Location Lines

It is important to specify an appropriate domain origin, orientation and dimension for the new FINE domain. These domain features do not need to be the same in both domains.

  1. For this tutorial, we will be using a location line method to define the domain origins and orientations. The location lines (2d_loc) have been provided for you in the Module_Data\Module_09 folder.
  2. The 2d_loc line for the 5m domain will use the 2d_loc_M09_5m_001_L.shp, and the 2d_loc line for the 5m domain will use the 2d_loc_M09_2.5m_001_L.shp.
  3. Copy these files to the working TUFLOW\model\gis folder.

  4. Tute M09 new domain setup2.JPG

2D2D Boundary Condition Line

Multiple 2D domain models use the 2d_bc “2D” link type as the boundary cells for transfering flow between the neighbouring domains.

  1. The 2D2D boundary condition line inputs (2d_bc) have been provided for you in the Module_Data\Module_09 folder.
  2. Both domains will use the same file: 2d_bc_M09_2D2D_001_L.shp.
  3. Copy these files to the working TUFLOW\model\gis folder.
    Tute M09 MI 2D2D 2.5m5m bndy2.JPG
  4. Inspect the provided 2D2D boundary condition line and note the following inputs:
    • Type: 2D
    • d: 15
    Tute M09 MI 2D2D QGIS info d15m.JPG

    The Multiple Domain 2D/2D Boundary Condition Guidance section of the wiki provides guidance on appropriate values for 2D2D boundary condition attributes and line orientation advice for different magnitude flow conditions.

Model Inflow/Outflow Boundary Conditions

Multiple 2D domain modelling requires separate TUFLOW Boundary Condition Control files (.tbc) for each 2D domain. Each .tbc must contain unique boundary condition layers specific to its 2D domain (pits, SX lines, inflow/outflow boundaries, 1D/2D connections etc.) and also a common 2D2D boundary condition line input.

For the current tutorial:

  • 2d_bc_M01_002_L.shp will need to be split into two separate layers that contain only the relevant objects within each domain. The upstream inflow will need to be associated with the coarse resolution domain .tbc. The downstream outflow will need to be associated with the fine resolution domain .tbc.
  • 2d_sa_M01_002_R.shp is associated with the coarse resolution domain only.
  • 2d_bc_M09_2D2D_001_L.shp is used by both domains.

Tute M09 M01 boundaries2.JPG

Coarse Resolution Domain

  1. Import the M01 boundary file 2d_bc_M01_002_L.shp from the Complete_Model\TUFLOW\model\gis folder. Save the file as 2d_bc_M09_5m_001_L.shp in the working TUFLOW\model\gis folder.
  2. Open this newly created GIS layer and delete the downstream boundary condition polyline FC01_DS (this boundary condition will be used in the .tbc for the fine resolution domain).
  3. The M01 boundary file 2d_sa_M01_002_R.shp is already entirely located within the coarse domain. No additional changes are required for this layer in this tutorial.
  4. Save the layers.

Fine Resolution Domain

  1. Import the M01 boundary file 2d_bc_M01_002_L.shp from the Complete_Model\TUFLOW\model\gis folder. Save the file as 2d_bc_M09_2.5m_001_L.shp in the working TUFLOW\model\gis folder.
  2. Open this newly created GIS layer and delete the upstream boundary condition polyline FC01 (this boundary condition is used in the .tbc for the coarse resolution domain).
  3. Save the layer.

Conclusion

The new 2d_code_M09_2.5m_001_R.shp polygon for the fine resolution domain, the 2D2D boundary 2d_bc_M09_2D2D_001_L.shp, the boundary conditions 2d_bc_M09_5m_001_L.shp (inflow) and 2d_bc_M09_2.5m_001_L.shp (outflow) have been created.

Please return to Tutorial Module 9 for the next step to modify the simulation control files.