Flood Modeller Tutorial Module01 Provisional: Difference between revisions

Content deleted Content added
Line 59:
With the input GIS layers modified, the next step is to update the TUFLOW control files and Flood Modeller simulation files to create a linked model.
 
= TUFLOW Geometry Control File (TGC) =
At this stage, the following changes will be made to the geometry:
* The cells along the watercourse that are represented in the 1D Flood Modeller component of the model are deactivated.
* Bank elevations along the watercourse are enforced.<ol>
 
<ol>
<li> In the '''FMT_Tutorial\FMT_M01\TUFLOW\model''' folder, save a copy of <b>M01_5m_002.tgc</b> as <b>FMT_M01_001.tgc</b>. </li>
<li> Open <b>FMT_M01_001.tgc</b><br><u>'''QGIS - SHP'''</u><br>Add an extra command line after <font color="blue"><tt>Read GIS Code </tt></font><font color="red"><tt>==</tt></font>..\model\gis\2d_code_FMT_M01_001_R.shp<br><font color="blue"><tt>Read GIS Code BC </tt></font> <font color="red"><tt>== </tt></font> gis\2d_bc_FMT_M01_HX_001_R.shp <font color="green"><tt> ! Deactivates the cells where the watercourse has been modelled in 1D </tt></font><br>Note that the order of the commands is important. The layer '''2d_code_FMT_M01_001_R.shp''' first activates cells within the modelled area then the layer '''2d_bc_FMT_M01_HX_001_R.shp''' deactivates selected cells along the watercourse. <br><u>'''QGIS - GPKG'''</u><br>Add an extra command line after <font color="blue"><tt>Read GIS Code </tt></font><font color="red"><tt>==</tt></font> 2d_code_FMT_M01_001_R<br><font color="blue"><tt>Read GIS Code BC </tt></font> <font color="red"><tt>== </tt></font> 2d_bc_FMT_M01_HX_001_R <font color="green"><tt> ! Deactivates the cells where the watercourse has been modelled in 1D </tt></font><br>Note that the order of the commands is important. The layer '''2d_code_FMT_M01_001_R''' first activates cells within the modelled area then the layer '''2d_bc_FMT_M01_HX_001_R''' deactivates selected cells along the watercourse. </li><li> Topography amendments should be added in a new section at the bottom of the TGC. These are:<br><u>'''QGIS - SHP'''</u><br><font color="blue"><tt>Read GIS Z HX Line MAX </tt></font> <font color="red"><tt>==</tt></font> gis\2d_bc_FMT_M01_HX_001_L.shp | gis\2d_bc_FMT_M01_HX_001_P.shp <font color="green"><tt>! Defines the bank crest levels (1D/2D boundary cell elevations). The 'MAX' option prevents any zpt elevations from being lowered </tt></font><br>The two GIS layers must be read in together on the same command line. This tells TUFLOW to associate the points within the '''2d_bc_FMT_M01_HX_001_P.shp''' layer (defining elevation) with the polylines within the '''2d_bc_FMT_M01_HX_001_L.shp''' layer (defining bank location). <br><u>'''QGIS - GPKG'''</u><br><font color="blue"><tt>Read GIS Z HX Line MAX </tt></font> <font color="red"><tt>==</tt></font> 2d_bc_FMT_M01_HX_001_L | gis\2d_bc_FMT_M01_HX_001_P <font color="green"><tt>! Defines the bank crest levels (1D/2D boundary cell elevations). The 'MAX' option prevents any zpt elevations from being lowered </tt></font><br>The two GIS layers must be read in together on the same command line. This tells TUFLOW to associate the points within the '''2d_bc_FMT_M01_HX_001_P''' layer (defining elevation) with the polylines within the '''2d_bc_FMT_M01_HX_001_L''' layer (defining bank location). </li>
 
<li> Open <b>FMT_M01_001.tgc</b><br>
<li> Save the file. The geometry control file is now ready to be used.
<u>'''QGIS - SHP'''</u><br>
Add an extra command line after <font color="blue"><tt>Read GIS Code </tt></font><font color="red"><tt>==</tt></font>..\model\gis\2d_code_FMT_M01_001_R.shp<br>
<font color="blue"><tt>Read GIS Code BC </tt></font> <font color="red"><tt>== </tt></font> gis\2d_bc_FMT_M01_HX_001_R.shp <font color="green"><tt> ! Deactivates the cells where the watercourse has been modelled in 1D </tt></font><br>
Note that the order of the commands is important. The layer '''2d_code_FMT_M01_001_R.shp''' first activates cells within the modelled area, then the layer '''2d_bc_FMT_M01_HX_001_R.shp''' deactivates selected cells along the watercourse.
 
<br><u>'''QGIS - GPKG'''</u><br>
Add an extra command line after <font color="blue"><tt>Read GIS Code </tt></font><font color="red"><tt>==</tt></font> 2d_code_FMT_M01_001_R<br>
<font color="blue"><tt>Read GIS Code BC </tt></font> <font color="red"><tt>== </tt></font> 2d_bc_FMT_M01_HX_001_R <font color="green"><tt> ! Deactivates the cells where the watercourse has been modelled in 1D </tt></font><br>
Note that the order of the commands is important. The layer '''2d_code_FMT_M01_001_R''' first activates cells within the modelled area, then the layer '''2d_bc_FMT_M01_HX_001_R''' deactivates selected cells along the watercourse. </li>
 
<li> Topography amendments should be added in a new section at the bottom of the TGC. These are:<br>
<u>'''QGIS - SHP'''</u><br>
<font color="blue"><tt>Read GIS Z HX Line MAX </tt></font> <font color="red"><tt>==</tt></font> gis\2d_bc_FMT_M01_HX_001_L.shp | gis\2d_bc_FMT_M01_HX_001_P.shp <font color="green"><tt>! Defines the bank crest levels (1D/2D boundary cell elevations). The 'MAX' option prevents any zpt elevations from being lowered </tt></font><br>
The two GIS layers must be read in together on the same command line. This tells TUFLOW to associate the points within the '''2d_bc_FMT_M01_HX_001_P.shp''' layer (defining elevation) with the polylines within the '''2d_bc_FMT_M01_HX_001_L.shp''' layer (defining bank location).
 
<br><u>'''QGIS - GPKG'''</u><br>
<font color="blue"><tt>Read GIS Z HX Line MAX </tt></font> <font color="red"><tt>==</tt></font> 2d_bc_FMT_M01_HX_001_L | gis\2d_bc_FMT_M01_HX_001_P <font color="green"><tt>! Defines the bank crest levels (1D/2D boundary cell elevations). The 'MAX' option prevents any zpt elevations from being lowered </tt></font><br>
The two GIS layers must be read in together on the same command line. This tells TUFLOW to associate the points within the '''2d_bc_FMT_M01_HX_001_P''' layer (defining elevation) with the polylines within the '''2d_bc_FMT_M01_HX_001_L''' layer (defining bank location). </li>
 
<li> Save the file. The geometry control file is now ready to be used. </li>
</ol>