Flood Modeller Tutorial Module02 Provisional: Difference between revisions

Content deleted Content added
Line 59:
=Modify Simulation Control Files=
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) ==
 
ThereAt havethis beenstage, twothe following changes towill thebe modelmade that impactto the TGC filegeometry:
*We have created two layers that together form a 3D TIN representing changes to the ground elevations.
*We have created two 2d_mat layers that represent changes to the land use at the location of the proposed development.
<ol>
<li>Begin by opening <b>FMT_M01_001.tgc</b> in your text editor. Save the file as <b>FMT_M02_001.tgc</b>.
<li> Open <b>FMT_M02_001.tgc</b>
<br>
<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:</li>
<br><u>'''QGIS - SHP'''</u><br>
<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 - 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>
 
* A 3D TIN is created to represent changes to the ground elevations.
<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>
*We have created twoTwo 2d_mat layers thatare added to represent changes to the land use at the location of the proposed development.
 
<ol>
<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>
<li>Begin by openingOpen <b>FMT_M01_001.tgc</b> in youra text editor. Saveand save the file as <b>FMT_M02_001.tgc</b>.</li>
 
<brli>Open <ub>'''QGIS - SHP'''FMT_M02_001.tgc</ub>.<br/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
 
<li>We will now addAdd the commands to modify the topography to represent the proposed development. AddThese thecommands followingshould commandsbe placed after the READ<tt>Read GIS Z Shape line:</litt> line:
<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
<br><u>'''QGIS - SHP'''</u><br>
:<font color="blue"><tt>Read GIS Mat</tt></font><font color="red"><tt>==</tt></font> 2d_mat_FMT_M02_DEV_Buildings_001_R<br>
<br><tt><font color="blue"><tt>Create TIN Zpts WRITE TIN </tt></font><font color="red"><tt>==</tt></font> gis\2d_ztin_FMT_M02_development_001_R2d_ztin_fmt_m02_development_001_r.shp | gis\2d_ztin_ FMT_M02_development_001_P2d_ztin_fmt_m02_development_001_p.SHPshp<br/tt>
<br>
 
<li> Save the file. The .tgc file is now ready to be used.</ol>
<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_R2d_ztin_fmt_m02_development_001_r | 2d_ztin_ FMT_M02_development_001_P2d_ztin_fmt_m02_development_001_p<br/tt>
 
<br>The <font color="blue"><tt>Create TIN Zpts WriteWRITE 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. ThisIt can then be read into the model directly using the <font color="blue"><tt>Read TIN zptsZpts</tt></font> command for any subsequent model simulations. <br>
 
<br>Our intention for theThe 2d_mat layers created in this module is for them to build upon the existing commands whichthat modify roughness. We would like for theThe new layers to overwrite the existing layers at the location of the proposed development. This process of layering and building up the model isprovides a powerful tool in TUFLOW that minimises data duplication and providesoffers a means of quality control. We need to ensure that theThe commands reading in ourthe new 2d_mat layers aremust readbe inplaced after the existing commands. <br>
 
<br><u>'''QGIS - SHP'''</u>
:<br><font color="blue"><tt>Read GIS Mat</tt> </font><font color="red"><tt>==</tt></font> gis\2d_mat_FMT_M02_DEV_001_R2d_mat_fmt_m02_dev_001_r.SHPshp</tt>
:<br><font color="blue"><tt>Read GIS Mat</tt> </font><font color="red"><tt>==</tt></font> gis\2d_mat_FMT_M02_DEV_Buildings_001_R2d_mat_fmt_m02_dev_buildings_001_r.SHPshp</tt>
 
<br><u>'''QGIS - GPKG'''</u><br>
:<br><font color="blue"><tt>Read GIS Mat</tt> </font><font color="red"><tt>==</ttfont> 2d_mat_fmt_m02_dev_001_r</fonttt> 2d_mat_FMT_M02_DEV_001_R
<br><font color="blue">Read GIS Mat </font><font color="red">==</font> 2d_mat_fmt_m02_dev_buildings_001_r</tt>
</li>
 
<li> Save the file. The .tgc fileTCG is now ready to be used.</ol>
 
==ESTRY Control File (ECF)==