Flood Modeller Tutorial Module01 Provisional: Difference between revisions

Content deleted Content added
Line 90:
= TUFLOW Control File (TCF) =
Finally, the TCF is updated as follows:
:*Remove references to model parameters that are read from Flood Modeller.
:*Read in the GIS layer of the Flood Modeller nodes.
:*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 references to the TBC and TGC.
The following steps outline how to apply these updates:<ol>
<br>
<ol>
<li> 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>
 
<li> In a linked Flood Modeller - TUFLOW model,Remove the Start Time, End Time, and 2D Timestep parameters from the TCF, as these are read from the Flood Modeller .ief file. Itin isa bestlinked practiceFlood to therefore removeModeller-TUFLOW thesemodel. parameters from the tcf.</li><li> AndAdd an exclamation mark in front of each of the belowfollowing commands.<br><font color="green"><tt>! SIMULATION TIME CONTROL COMMANDS </tt></font>
:<font color="blue"><tt>Start timeTimestep </tt></font> <font color="red"><tt>== </tt></font> 01.5 <font color="green"><tt>! Specifies a simulation2D startcomputational timetimestep of 01.5 hoursseconds </tt></font><br>
 
:<brfont color="blue"><tt>Start time </tt></font> <font color="red"><tt>== </tt></font> 0 <font color="green"><tt>! SIMULATIONSpecifies a simulation start time TIMEof CONTROL0 COMMANDShours </tt></font>
:<font color="blue"><tt>TimestepEnd Time </tt></font> <font color="red"><tt>== </tt></font>3 1.5 <font color="green"><tt>! Specifies a 2Dsimulation computationalend timesteptime of 1.5 seconds3 hours</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>
:XXX
:<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> </li><br>
<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> </li>
 
:<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>
<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> </li>
</li><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> </li><li>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. </li><li>The Dist_for_Add_Points determines the intervals in metres at which interpolation points are inserted along each WLL. </li>
 
<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> </li><li> 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 </li>
<br> <u>'''QGIS - SHP'''</u><br>
<br/ol>This concludes the changes that we need to make to the .tcf
 
:<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>
 
<br> <u>'''QGIS - GPKG'''</u><br>
 
:<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><br>
 
<br><li> Add commands to read in the GIS layers referencing Water Level Lines drawn along the Flood Modeller component of the model: <br> </li>
<br> <u>'''QGIS - SHP'''</u><br>
:<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>
:<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>
 
<br> <u>'''QGIS - GPKG'''</u><br>
 
:<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>
:<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>
<br><li>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. <br> </li>
 
<br><li>The Dist_for_Add_Points determines the intervals in metres at which interpolation points are inserted along each WLL. </li>
<li> Add commands to read in an Esty Control File which contains references to some of the culverts present on the floodplain: <br> </li>
:<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><br>
 
<br><li> Finally, update the links to the Geometry control file, the Boundary Condition control file and the bc_dbase file:</li>
:<br> <font color="blue"><tt>Geometry Control File</tt></font> <font color="red"><tt>== </tt></font>..\model\FMT_M01_001.tgc <br>
:<br> <font color="blue"><tt>BC Control File</tt></font> <font color="red"><tt>== </tt></font>..\model\FMT_M01_001.tbc <br>
:<br> <font color="blue"><tt>BC Database</tt></font> <font color="red"><tt>== </tt></font>..\bc_dbase\bc_dbase_FMT_M01.csv <br>
 
<br>This concludes the changes that we need to make to the .tcf
</ol>
 
=Flood Modeller Simulation Files=