Flood Modeller Tutorial Module02 Provisional: Difference between revisions

Content deleted Content added
Line 65:
=Modify Simulation Control Files=
With the GIS layers updated, the control files will be modified to include the changes that represent the proposed development.
== TUFLOW Geometry Control File ==
 
There have been two changes to the model that impact the TGC file:
*Two layers are created to form a 3D TIN representing changes to the ground elevations.
Line 73 ⟶ 72:
<li>Begin by opening <b>FMT_M01_001.tgc</b> in the text editor. Save the file as <b>FMT_M02_001.tgc</b>.
<li> Open <b>FMT_M02_001.tgc</b>.
<li>We will now add the commands to modify the topography to represent the proposed development. Add the following commands after the READ GIS Z Shape line:<br><u>'''QGIS - SHP'''</u><br><font color="blue"><tt>Create TIN Zpts WRITE TIN </tt></font><font color="red"><tt>==</tt></font> gis\2d_ztin_FMT_M02_development_001_R.shp | gis\2d_ztin_ FMT_M02_development_001_P.shp<br>
<br><u>'''QGIS - SHP'''</u><br><font color="blue"><tt>Create TIN Zpts WRITE TIN </tt></font><font color="red"><tt>==</tt></font> gis\2d_ztin_FMT_M02_development_001_R.shp | gis\2d_ztin_ FMT_M02_development_001_P<br>.shp
<br><u>'''QGIS - GPKG'''</u><br>
<br><font color="blue"><tt>Create TIN Zpts WRITE TIN </tt></font><font color="red"><tt>==</tt></font> 2d_ztin_FMT_M02_development_001_R | 2d_ztin_ FMT_M02_development_001_P<br>
:<br><font color="blue"><tt>ReadCreate GISTIN Zpts WRITE TIN Mat</tt></font><font color="red"><tt>==</tt></font> gis\2d_mat_FMT_M02_DEV_001_R.SHP2d_ztin_FMT_M02_development_001_R | 2d_ztin_ FMT_M02_development_001_P
 
<br>The <font color="blue"><tt>Create TIN Zpts Write TIN </tt></font> command creates and writes a .2dm mesh file to the same location as the GIS layer (in this case the TUFLOW\model\gis folder). The .2dm TIN can be viewed, checked and modified in QGIS. This can then be read into the model directly using the <font color="blue"><tt>Read TIN zpts</tt></font> command for any subsequent model simulations. <br>
<br>Our intention for the 2d_mat layers created in this module is for them to build upon the existing commands which modify roughness. We would like for the new layers to overwrite the existing layers at the location of the proposed development. This process of layering and building up the model is a powerful tool in TUFLOW that minimises data duplication and provides a means of quality control. We need to ensure that the commands reading in our new 2d_mat layers are read in after the existing commands. <br>
 
<br>Our intention for the 2d_mat layers created in this module is for them to build upon the existing commands which modify roughness. We would like for the new layers to overwrite the existing layers at the location of the proposed development. This process of layering and building up the model is a powerful tool in TUFLOW that minimises data duplication and provides a means of quality control. We need to ensure that the commands reading in our new 2d_mat layers are read in after the existing commands. <br>
 
<br><u>'''QGIS - SHP'''</u></li>
:<font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> gis\2d_mat_FMT_M02_DEV_001_R.SHP
:<font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> gis\2d_mat_FMT_M02_DEV_Buildings_001_R.SHP
 
<br><u>'''QGIS - SHP'''</u></li>
<br><u>'''QGIS - GPKG'''</u><br><font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> 2d_mat_FMT_M02_DEV_001_R<font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> 2d_mat_FMT_M02_DEV_Buildings_001_R
<font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> gis\2d_mat_FMT_M02_DEV_001_R.SHP<br>
<li> Save the file. The .tgc file is now ready to be used.</ol>
:<font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> gis\2d_mat_FMT_M02_DEV_Buildings_001_R.SHP<br>
<br><u>'''QGIS - GPKG'''</u><br><font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> 2d_mat_FMT_M02_DEV_001_R<font color="blue"br><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> 2d_mat_FMT_M02_DEV_Buildings_001_R
<font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> 2d_mat_FMT_M02_DEV_Buildings_001_R
<li> Save the file. The .tgcTGC file is now ready to be used.</ol>
 
==ESTRY Control File==