Flood Modeller Tutorial Module01 Provisional: Difference between revisions

Content deleted Content added
Line 89:
 
= TUFLOW Control File (TCF) =
Finally, the TCF is updated as follows:<br>
<ol>
*Remove references to model parameters that are read from Flood Modeller.
*Read<li>Remove inreferences theto GISmodel layerparameters ofthat theare read from Flood Modeller nodes.
*<li>Read in the GIS layerslayer used to create Water Level Lines alongof the Flood Modeller component of the model (optional)nodes.
<li>Read in the GIS layers used to create Water Level Lines along the Flood Modeller component of the model (optional).
*Add a reference to the ESTRY Control File.
*Update<li>Add referencesa reference to the TBCESTRY andControl TGCFile.
<li>Update references to the TBC and TGC.
 
The following steps outline how to apply these updates:
Line 100 ⟶ 101:
In the \FMT_Tutorial\FMT_M01\TUFLOW\runs folder, save a copy of the TUFLOW file created as a part of [[Tutorial_M02 |Module 2]] ('''M02_5m_001.tcf''') as '''FMT_M01_001.tcf'''.
 
<li>Remove the Start Time, End Time, and 2D Timestep parameters from the TCF, as these are read from the Flood Modeller .ief file in a linked Flood Modeller-TUFLOW model.
 
<li>Add an exclamation mark in front of each of the following commands.<br><font color="green"><tt>! SIMULATION TIME CONTROL COMMANDS</tt></font><br>
 
<font color="blue"><tt>Timestep </tt></font> <font color="red"><tt>== </tt></font> 1.5 <font color="green"><tt>! Specifies a 2D computational timestep of 1.5 seconds </tt></font><br>
 
<font color="blue"><tt>Start time </tt></font> <font color="red"><tt>== </tt></font> 0 <font color="green"><tt>! Specifies a simulation start time of 0 hours</tt></font><br>
 
<font color="blue"><tt>End Time </tt></font> <font color="red"><tt>== </tt></font>3 <font color="green"><tt>! Specifies a simulation end time of 3 hours</tt></font><br>
 
<li>We need to read in the GIS layers of the Flood Modeller Nodes. Place the below command line anywhere in the .tcf. It is good practice to create a section within the .tcf to reference all 1D commands:<br>
 
<u>'''QGIS - SHP'''</u><br><font color="blue"><tt>Read GIS X1D Nodes</tt></font> <font color="red"><tt>== </tt></font>..\model\gis\1d_x1d_FMT_M01_nodes_001_P.shp <font color="green"><tt>! GIS layer referencing node IDs from Flood Modeller </tt></font><br><u>'''QGIS - GPKG'''</u><br><font color="blue"><tt>Read GIS X1D Nodes</tt></font> <font color="red"><tt>== </tt></font> 1d_x1d_FMT_M01_nodes_001_P <font color="green"><tt>! GIS layer referencing node IDs from Flood Modeller</tt></font>
 
<li>Add commands to read in the GIS layers referencing Water Level Lines drawn along the Flood Modeller component of the model:<br><u>'''QGIS - SHP'''</u><br><font color="blue"><tt>Read GIS X1D Network</tt></font> <font color="red"><tt>== </tt></font>..\model\gis\1d_x1d_FMT_M01_nwk_001_L.shp <font color="green"><tt>! GIS layer representing channels to allow for the digitisation of Water Level Lines (optional)</tt></font><br><font color="blue"><tt>Read GIS X1D WLL</tt></font> <font color="red"><tt>== </tt></font> ..\model\gis\1d_x1d_WLL_FMT_M01_001_L.shp <font color="green"><tt>! GIS layer containing WLLs for visualising 1D results in 2D (optional)</tt></font><br><u>'''QGIS - GPKG'''</u><br><font color="blue"><tt>Read GIS X1D Network</tt></font> <font color="red"><tt>== </tt></font> 1d_x1d_FMT_M01_nwk_001_L <font color="green"><tt>! GIS layer representing channels to allow for the digitisation of Water Level Lines (optional)</tt></font><br><font color="blue"><tt>Read GIS X1D WLL</tt></font> <font color="red"><tt>== </tt></font> 1d_x1d_WLL_FMT_M01_001_L <font color="green"><tt>! GIS layer containing WLLs for visualising 1D results in 2D (optional)</tt></font><br>
 
The addition of TUFLOW Water Level Lines (WLL) allows the Flood Modeller 1D results to be visualised within the TUFLOW 2D map outputs. They provide a means by which to remove the gaps in the map outputs where the 1D Flood Modeller domains are located and the 2D cells are deactivated. To do this, TUFLOW requires a 1D_WLL layer to define the cross sections locations, and a 1d_nwk layer that defines the river centre line. The layers are not used in the hydraulic calculations and their inclusion is not always required.
Line 120 ⟶ 121:
The Dist_for_Add_Points determines the intervals in metres at which interpolation points are inserted along each WLL.
 
<li>Add commands to read in an Esty Control File which contains references to some of the culverts present on the floodplain:<br> <font color="blue"><tt>ESTRY Control File</tt></font> <font color="red"><tt>== </tt></font>..\model\FMT_M01_001.ecf <font color="green"><tt>!Reference the ESTRY Control File </tt></font>
 
Finally, update the links to the Geometry control file, the Boundary Condition control file and the bc_dbase file:<br> <font color="blue"><tt>Geometry Control File</tt></font> <font color="red"><tt>== </tt></font>..\model\FMT_M01_001.tgc <br> <font color="blue"><tt>BC Control File</tt></font> <font color="red"><tt>== </tt></font>..\model\FMT_M01_001.tbc <br> <font color="blue"><tt>BC Database</tt></font> <font color="red"><tt>== </tt></font>..\bc_dbase\bc_dbase_FMT_M01.csv
 
Finally, update<li>Update the links to the Geometry control file, the Boundary Condition control file and the bc_dbase file:<br> <font color="blue"><tt>Geometry Control File</tt></font> <font color="red"><tt>== </tt></font>..\model\FMT_M01_001.tgc <br> <font color="blue"><tt>BC Control File</tt></font> <font color="red"><tt>== </tt></font>..\model\FMT_M01_001.tbc <br> <font color="blue"><tt>BC Database</tt></font> <font color="red"><tt>== </tt></font>..\bc_dbase\bc_dbase_FMT_M01.csv<br>
</ol>
This concludes the changes that we need to make to the .tcf