Flood Modeller Tutorial Module01 Provisional: Difference between revisions

Content deleted Content added
Line 109:
== TUFLOW Control File (TCF) ==
Finally, the TCF is updated as follows:
<olul>
<li>Remove references to model parameters that are read from Flood Modeller.
<li>Read in the GIS layer of the Flood Modeller nodes.
<li>Read in the GIS layers used to create Water Level Lines along the Flood Modeller component of the model (optional).
<li>Add a reference to the ESTRY Control File.
<li>Update references to the TBC and TGC. </ul>The following steps outline how to apply these updates:
 
The following steps outline how to apply these updates:
 
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>
 
# 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>Add# 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. If they are left in place the Flood Modeller settings will override the TUFLOW settings. This is done by adding 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>
<li>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>
 
Line 131 ⟶ 125:
 
<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
 
</ol>
This concludes the changes needed to be made to the TCF.
 
Line 152 ⟶ 146:
*Use Initial Conditions from: Network File (.dat)
*Results File: set the full path to \FMT_Tutorial\FMT_M01\Flood_Modeller\RES\FMT_M01_001
*[[File:Ief file.png|frameless|500x500px]]
<li>To the right of the Event Data box, click Add and select the '''FMT_Inflows.IED''' file in the '''\FMT_Tutorial\FMT_M01\Flood_Modeller\IED''' folder.</li>
 
Line 159 ⟶ 154:
*Finish Time (hrs): 3
*Timestep (s):1
*Save Interval (s): 300 [[File:Ief time.png|frameless|500x500px]]
 
<li> Add the 'Links' tab by clicking View> Tabs > Links. On the 'Links' tab, enter the following parameters:
Line 165 ⟶ 160:
*2-d Timestep: 2
*Check the box for ‘Perform corrective 1D timestep’
*2-d control file: full path to the '''FMT_M01_001.tcf''' from the '''\FMT_Tutorial\FMT_M01\TUFLOW\runs''' folder [[File:Ief tcf.png|frameless|500x500px]]
 
 
 
<li> Save the Scenario Data. </li>{{Video|name=Setting up FMP IEF Simulation File.mp4 |width=1123}}</ol>