<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tuflow.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Emilie+Nielsen</id>
	<title>Tuflow - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tuflow.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Emilie+Nielsen"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/Special:Contributions/Emilie_Nielsen"/>
	<updated>2026-05-30T12:14:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M05_Results_QGIS&amp;diff=46011</id>
		<title>Tutorial M05 Results QGIS</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M05_Results_QGIS&amp;diff=46011"/>
		<updated>2026-05-26T04:02:16Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: Reverted edit by Anne.Kolega (talk) to last revision by Emilie Nielsen&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
QGIS is used to view the 1D time series results with the TUFLOW Viewer. For viewing of the 2D map results, see &amp;lt;u&amp;gt;[[Tutorial_M01_Results_QGIS | Module 1]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
Plot Time Series results through the pipe network:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the TUFLOW Viewer.&lt;br /&gt;
&amp;lt;li&amp;gt;Select File &amp;gt; Load Results. Navigate to the &#039;&#039;&#039;M05_5m_001.tcf&#039;&#039;&#039; in the  &#039;&#039;&#039;Module_05\TUFLOW\runs&#039;&#039;&#039; folder and open it.&lt;br /&gt;
&amp;lt;li&amp;gt;When prompted to &#039;Open Result GIS Layer&#039;, click &#039;Yes&#039;. This loads in all of the 1D and 2D results.&lt;br /&gt;
&amp;lt;li&amp;gt;Two additional files appear in the Layers panel:&lt;br /&gt;
*&#039;&#039;&#039;M05_5m_001_PLOT_L&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;M05_5m_001_PLOT_P&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;M05_5m_001_PLOT_L&#039;&#039;&#039; file in the Layers panel and using the &#039;Select Features&#039; tool highlight one of the 1d_nwk lines (to highlight multiple hold down shift).&lt;br /&gt;
&amp;lt;li&amp;gt;Select one of the Time Series datasets shown with the [[File:results_2.png | 15px]] icon and the &#039;Time Series&#039; tab gets updated. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M05_Result_01f.mp4|width=1223}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Plot longitudinal profiles from the Time Series datasets:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The available long profile result types have a long profile icon [[File:Image XSLongProfile.png]] and display in the &#039;Cross Section / Long Profile&#039; tab.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M05_Result_02g.mp4|width=1223}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*Both the 1D and 2D results were viewed confirming the the pipe network was getting flows through the pit 1D/2D links and the water was discharging from the downstream pipe to the 2D domain.&lt;br /&gt;
:*For further functionality, see &amp;lt;u&amp;gt;[[TUFLOW_Viewer | TUFLOW Viewer]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M05#Results| Back to Module 5 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M03_Results_QGIS&amp;diff=45971</id>
		<title>Tutorial M03 Results QGIS</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M03_Results_QGIS&amp;diff=45971"/>
		<updated>2026-05-25T23:54:48Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
QGIS is used to view the 1D time series results with the TUFLOW Viewer. For viewing of the 2D map results, see &amp;lt;u&amp;gt;[[Tutorial_M01_Results_QGIS | Module 1]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Method =&lt;br /&gt;
Plot Time Series results through the culverts:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the TUFLOW viewer.&lt;br /&gt;
&amp;lt;li&amp;gt;Select File &amp;gt; Load Results.  Navigate to the &#039;&#039;&#039;M03_5m_001.tcf&#039;&#039;&#039; in the &#039;&#039;&#039;Module_03\TUFLOW\runs&#039;&#039;&#039; folder and open it.&lt;br /&gt;
&amp;lt;li&amp;gt;When prompted to &#039;Open Result GIS Layer&#039;, click &#039;Yes&#039;. This loads in all of the 1D and 2D results. &lt;br /&gt;
&amp;lt;li&amp;gt;Two additional files appear in the Layers panel:&lt;br /&gt;
*&#039;&#039;&#039;M03_5m_001_PLOT_L&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;M03_5m_001_PLOT_P&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;M03_5m_001_PLOT_L&#039;&#039;&#039; file in the Layers panel and using the &#039;Select Features&#039; tool highlight one of the 1d_nwk lines. &lt;br /&gt;
&amp;lt;li&amp;gt;Select one of the Time Series datasets shown with the [[File:results_2.png | 15px]] icon and the &#039;Time Series&#039; tab gets updated. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M03_Results_01e.mp4|width=1258}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Plot longitudinal profiles from the Time Series output:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The available long profile result types have a long profile icon [[File:results_lp_v2.png | 15px]] and display in the &#039;Cross Section / Long Profile&#039; tab.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M03_Results_02e.mp4|width=1258}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion = &lt;br /&gt;
:*The 1D results were assessed including time series and long profile results.&lt;br /&gt;
:*For further functionality, see &amp;lt;u&amp;gt;[[TUFLOW_Viewer | TUFLOW Viewer]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M03#Results| Back to Module 3 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45951</id>
		<title>Tutorial M01 Results QGIS update V2 draft</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45951"/>
		<updated>2026-05-25T00:39:46Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
QGIS is used to view the 2D grid and mesh 2D results:&lt;br /&gt;
:*The grid results (.tif) are inspected with the Profile Tool plugin. For installation, see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/index.php?title=QGIS_Profile_Tool Installation of Profile Tool]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*The mesh results (.xmdf, .tpc), including the bed elevation and time series, are inspected with the TUFLOW Viewer 2 as part of the TUFLOW Plugin. For more information on TUFLOW Viewer 2 and installation instructions, see the &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/latest/tuflow-viewer/ TUFLOW Viewer Documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
View grid results with Profile Tool:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the &#039;&#039;&#039;M01_5m_001_h_Max.tif&#039;&#039;&#039; file from the &#039;&#039;&#039;Module_01\TUFLOW\results\grids&#039;&#039;&#039; folder. It can either be dragged and dropped into QGIS, or loaded by selecting Layer &amp;gt; Add Layer &amp;gt; Add Raster Layer from the menu.&lt;br /&gt;
&amp;lt;li&amp;gt;This displays the maximum water level in the model recorded during the whole simulation.&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Profile Tool to view the maximum water level and DEM.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M01_Results_01b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Map Outputs) with TUFLOW Viewer 2:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure TUFLOW Viewer 2 has been activated. For backwards compatibility, the legacy TUFLOW Viewer is still selected by default. To activate TUFLOW Viewer 2:&lt;br /&gt;
* Under the TUFLOW Plugin menu, check on the &#039;TUFLOW Viewer V2&#039; option to enable the new viewer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: image of dropdown menu]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* To confirm the new viewer has been activated, check that the legacy TUFLOW Viewer icon [[File: TUFLOW_Viewer_legacy_icon.png | 20px]] has been replaced with the TUFLOW Viewer Plot Window icon [[File:results_2.png | 20px]]. The TUFLOW Plugin toolbar should look like:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer 2 Txt.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the Map Outputs and Time Series results, either:&lt;br /&gt;
:* Within the QGIS Browser Panel drag the following layers into the QGIS workspace, or&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\M01_5m_001.xmdf&#039;&#039;&#039; &amp;gt; loads the map output mesh results&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\plot\M01_5m_001.tpc&#039;&#039;&#039; &amp;gt; loads the time series output results&lt;br /&gt;
:* In File Explorer, navigate to the files above and drag and drop them into the QGIS workspace.&lt;br /&gt;
&amp;lt;li&amp;gt;The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=02_Animation_M01_LoadResults_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the layers panel, select &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039;. In the &#039;Layer Styling&#039; panel, in the &#039;Datasets&#039; tab, click on the scalar dataset &#039;Depth&#039; under &#039;Result Type&#039;. Using the &#039;Temporal Controller&#039;, scroll through the output times. The results update as new output times are selected. &amp;lt;/li&amp;gt;&lt;br /&gt;
Note: The styling of the Map Outputs can be changed in the &#039;Contours&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=03_Animation_M01_Depth_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on a vector dataset &#039;Vector Velocity&#039; by selecting the arrow icon to add it to the displayed &#039;Depth&#039; and visualise them together. The vector output shows both direction and magnitude. &amp;lt;br&amp;gt;&lt;br /&gt;
Note: The appearance of vectors (colour, line width, symbology) can be changed in the &#039;Vectors&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=04_Animation_M01_VVec_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Time Series) with TUFLOW Viewer 2 from the 2d_po files:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;&#039;&#039;M01_5m_001_PLOT_L&#039;&#039;&#039; in the Layers panel and click &#039;TUFLOW Viewer Plot Window&#039; from the TUFLOW Plugin toolbar. The plot widget will open. Within the plot widget, use the &#039;Result Names&#039; menu to ensure the results &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039; are selected. Then select &#039;Flow&#039; as the data type using the &#039;Data Types&#039; menu. Finally, use the &#039;Selection&#039; tool to select the 2d_po line. This shows the flow data across the 2d_po line (Type Q_).&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;&#039;&#039;M01_5m_001_PLOT_P&#039;&#039;&#039; in the Layers panel and select &#039;Level&#039; and &#039;Velocity&#039; from the &#039;Data Types&#039; menu (ensure &#039;Flow&#039; is unselected). Use the &#039;Selection&#039; tool to select the 2d_po point. This shows level and velocity at the point (Type H_ and V_). To move the velocity to a secondary axis, right click the plot and select &#039;Move to secondary axis&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=05_Animation_M01_TimeSeries_V2_a.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The basics of viewing 2D TUFLOW results in QGIS using the TUFLOW Viewer 2 were covered.&lt;br /&gt;
:*For further functionality, see &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/2026.0/tuflow-viewer  TUFLOW Viewer 2 documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Results| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45950</id>
		<title>Tutorial M01 Results QGIS update V2 draft</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45950"/>
		<updated>2026-05-25T00:25:07Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
QGIS is used to view the 2D grid and mesh 2D results:&lt;br /&gt;
:*The grid results (.tif) are inspected with the Profile Tool plugin. For installation, see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/index.php?title=QGIS_Profile_Tool Installation of Profile Tool]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*The mesh results (.xmdf, .tpc), including the bed elevation and time series, are inspected with the TUFLOW Viewer 2 as part of the TUFLOW Plugin. For more information on TUFLOW Viewer 2 and installation instructions, see the &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/latest/tuflow-viewer/ TUFLOW Viewer Documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
View grid results with Profile Tool:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the &#039;&#039;&#039;M01_5m_001_h_Max.tif&#039;&#039;&#039; file from the &#039;&#039;&#039;Module_01\TUFLOW\results\grids&#039;&#039;&#039; folder. It can either be dragged and dropped into QGIS, or loaded by selecting Layer &amp;gt; Add Layer &amp;gt; Add Raster Layer from the menu.&lt;br /&gt;
&amp;lt;li&amp;gt;This displays the maximum water level in the model recorded during the whole simulation.&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Profile Tool to view the maximum water level and DEM.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M01_Results_01b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Map Outputs) with TUFLOW Viewer 2:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure TUFLOW Viewer 2 has been activated. For backwards compatibility, the legacy TUFLOW Viewer is still selected by default. To activate TUFLOW Viewer 2:&lt;br /&gt;
* Under the TUFLOW Plugin menu, check on the &#039;TUFLOW Viewer V2&#039; option to enable the new viewer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: image of dropdown menu]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* To confirm the new viewer has been activated, check that the legacy TUFLOW Viewer icon [[File: TUFLOW_Viewer_legacy_icon.png | 20px]] has been replaced with the time-series icon [[File:results_2.png | 20px]]. The TUFLOW Plugin toolbar should look like:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer 2 Txt.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the Map Outputs and Time Series results, either:&lt;br /&gt;
:* Within the QGIS Browser Panel drag the following layers into the QGIS workspace, or&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\M01_5m_001.xmdf&#039;&#039;&#039; &amp;gt; loads the map output mesh results&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\plot\M01_5m_001.tpc&#039;&#039;&#039; &amp;gt; loads the time series output results&lt;br /&gt;
:* In File Explorer, navigate to the files above and drag and drop them into the QGIS workspace.&lt;br /&gt;
&amp;lt;li&amp;gt;The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=02_Animation_M01_LoadResults_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the layers panel, select &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039;. In the &#039;Layer Styling&#039; panel, in the &#039;Datasets&#039; tab, click on the scalar dataset &#039;Depth&#039; under &#039;Result Type&#039;. Using the &#039;Temporal Controller&#039;, scroll through the output times. The results update as new output times are selected. &amp;lt;/li&amp;gt;&lt;br /&gt;
Note: The styling of the Map Outputs can be changed in the &#039;Contours&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=03_Animation_M01_Depth_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on a vector dataset &#039;Vector Velocity&#039; by selecting the arrow icon to add it to the displayed &#039;Depth&#039; and visualise them together. The vector output shows both direction and magnitude. &amp;lt;br&amp;gt;&lt;br /&gt;
Note: The appearance of vectors (colour, line width, symbology) can be changed in the &#039;Vectors&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=04_Animation_M01_VVec_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Time Series) with TUFLOW Viewer 2 from the 2d_po files:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;&#039;&#039;M01_5m_001_PLOT_L&#039;&#039;&#039; in the Layers panel and click &#039;TUFLOW Viewer Plot Window&#039; from the TUFLOW Plugin toolbar. The plot widget will open. Within the plot widget, use the &#039;Result Names&#039; menu to ensure the results &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039; are selected. Then select &#039;Flow&#039; as the data type using the &#039;Data Types&#039; menu. Finally, use the &#039;Selection&#039; tool to select the 2d_po line. This shows the flow data across the 2d_po line (Type Q_).&lt;br /&gt;
&amp;lt;li&amp;gt;View the point time series for Level and Velocity dataset (Type H_ and V_). Select &#039;&#039;&#039;M01_5m_001_PLOT_P&#039;&#039;&#039; in the Layers panel and select &#039;Level&#039; and &#039;Velocity&#039; from the &#039;Data Types&#039; menu (ensure &#039;Flow&#039; is unselected). Use the &#039;Selection&#039; tool to select the 2d_po point. This shows level and velocity at the point (Type H_ and V_). To move the velocity to a secondary axis, right click the plot and select &#039;Move to secondary axis&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=05_Animation_M01_TimeSeries_V2_a.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The basics of viewing 2D TUFLOW results in QGIS using the TUFLOW Viewer 2 were covered.&lt;br /&gt;
:*For further functionality, see &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/2026.0/tuflow-viewer  TUFLOW Viewer 2 documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Results| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45949</id>
		<title>Tutorial M01 Results QGIS update V2 draft</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45949"/>
		<updated>2026-05-25T00:09:20Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
QGIS is used to view the 2D grid and mesh 2D results: (as well as the TUFLOW 1D results). This section describes how to view the following results using the TUFLOW Viewer 2:&lt;br /&gt;
:*The grid results (.tif) are inspected with the Profile Tool plugin. For installation, see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/index.php?title=QGIS_Profile_Tool Installation of Profile Tool]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*The mesh results (.xmdf, .tpc), including the bed elevation and time series, are inspected with the TUFLOW Viewer 2 as part of the TUFLOW Plugin. For more information on TUFLOW Viewer 2 and installation instructions, see the &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/latest/tuflow-viewer/ TUFLOW Viewer Documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
View grid results with Profile Tool:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the &#039;&#039;&#039;M01_5m_001_h_Max.tif&#039;&#039;&#039; file from the &#039;&#039;&#039;Module_01\TUFLOW\results\grids&#039;&#039;&#039; folder. It can either be dragged and dropped into QGIS, or loaded by selecting Layer &amp;gt; Add Layer &amp;gt; Add Raster Layer from the menu.&lt;br /&gt;
&amp;lt;li&amp;gt;This displays the maximum water level in the model recorded during the whole simulation.&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Profile Tool to view the maximum water level and DEM.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M01_Results_01b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Map Outputs) with TUFLOW Viewer 2:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure TUFLOW Viewer 2 has been activated. For backwards compatibility, the legacy TUFLOW Viewer is still selected by default. To activate TUFLOW Viewer 2:&lt;br /&gt;
* Under the TUFLOW Plugin menu, check on the &#039;TUFLOW Viewer V2&#039; option to enable the new viewer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: image of dropdown menu]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* To confirm the new viewer has been activated, check that the legacy TUFLOW Viewer icon [[File: TUFLOW_Viewer_legacy_icon.png | 20px]] has been replaced with the time-series icon [[File:results_2.png | 20px]]. The TUFLOW Plugin toolbar should look like:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer 2 Txt.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the Map Outputs and Time Series results, either:&lt;br /&gt;
:* Within the QGIS Browser Panel drag the following layers into the QGIS workspace, or&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\M01_5m_001.xmdf&#039;&#039;&#039; &amp;gt; loads the map output mesh results&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\plot\M01_5m_001.tpc&#039;&#039;&#039; &amp;gt; loads the time series output results&lt;br /&gt;
:* In File Explorer, navigate to the files above and drag and drop them into the QGIS workspace.&lt;br /&gt;
&amp;lt;li&amp;gt;The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=02_Animation_M01_LoadResults_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the layers panel, select &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039;. In the &#039;Layer Styling&#039; panel, in the &#039;Datasets&#039; tab, click on the scalar dataset &#039;Depth&#039; under &#039;Result Type&#039;. Using the &#039;Temporal Controller&#039;, scroll through the output times. The results update as new output times are selected. &amp;lt;/li&amp;gt;&lt;br /&gt;
Note: The styling of the Map Outputs can be changed in the &#039;Contours&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=03_Animation_M01_Depth_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on a vector dataset &#039;Vector Velocity&#039; by selecting the arrow icon to add it to the displayed &#039;Depth&#039; and visualise them together. The vector output shows both direction and magnitude. &amp;lt;br&amp;gt;&lt;br /&gt;
Note: The appearance of vectors (colour, line width, symbology) can be changed in the &#039;Vectors&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=04_Animation_M01_VVec_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Time Series) with TUFLOW Viewer 2 from the 2d_po files:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;&#039;&#039;M01_5m_001_PLOT_L&#039;&#039;&#039; in the Layers panel and click &#039;TUFLOW Viewer Plot Window&#039; from the TUFLOW Plugin toolbar. The plot widget will open. Within the plot widget, use the &#039;Result Names&#039; menu to ensure the results &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039; are selected. Then select &#039;Flow&#039; as the data type using the &#039;Data Types&#039; menu. Finally, use the &#039;Selection&#039; tool to select the 2d_po line. This shows the flow data across the 2d_po line (Type Q_).&lt;br /&gt;
&amp;lt;li&amp;gt;View the point time series for Level and Velocity dataset (Type H_ and V_). Select &#039;&#039;&#039;M01_5m_001_PLOT_P&#039;&#039;&#039; in the Layers panel and select &#039;Level&#039; and &#039;Velocity&#039; from the &#039;Data Types&#039; menu (ensure &#039;Flow&#039; is unselected). Use the &#039;Selection&#039; tool to select the 2d_po point. This shows level and velocity at the point (Type H_ and V_). To move the velocity to a secondary axis, right click the plot and select &#039;Move to secondary axis&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=05_Animation_M01_TimeSeries_V2_a.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The basics of viewing 2D TUFLOW results in QGIS using the TUFLOW Viewer 2 were covered.&lt;br /&gt;
:*For further functionality, see &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/2026.0/tuflow-viewer  TUFLOW Viewer 2 documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Results| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_legacy_icon.png&amp;diff=45948</id>
		<title>File:TUFLOW Viewer legacy icon.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_legacy_icon.png&amp;diff=45948"/>
		<updated>2026-05-25T00:08:49Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45947</id>
		<title>Tutorial M01 Results QGIS update V2 draft</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Results_QGIS_update_V2_draft&amp;diff=45947"/>
		<updated>2026-05-25T00:01:03Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
QGIS is used to view the 2D grid and mesh 2D results: (as well as the TUFLOW 1D results). This section describes how to view the following results using the TUFLOW Viewer 2:&lt;br /&gt;
:*The grid results (.tif) are inspected with the Profile Tool plugin. For installation, see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/index.php?title=QGIS_Profile_Tool Installation of Profile Tool]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*The mesh results (.xmdf, .tpc), including the bed elevation and time series, are inspected with the TUFLOW Viewer 2 as part of the TUFLOW Plugin. For more information on TUFLOW Viewer 2 and installation instructions, see the &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/latest/tuflow-viewer/ TUFLOW Viewer Documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
View grid results with Profile Tool:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the &#039;&#039;&#039;M01_5m_001_h_Max.tif&#039;&#039;&#039; file from the &#039;&#039;&#039;Module_01\TUFLOW\results\grids&#039;&#039;&#039; folder. It can either be dragged and dropped into QGIS, or loaded by selecting Layer &amp;gt; Add Layer &amp;gt; Add Raster Layer from the menu.&lt;br /&gt;
&amp;lt;li&amp;gt;This displays the maximum water level in the model recorded during the whole simulation.&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Profile Tool to view the maximum water level and DEM.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_M01_Results_01b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Map Outputs) with TUFLOW Viewer 2:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure TUFLOW Viewer 2 has been activated. For backwards compatibility, the legacy TUFLOW Viewer is still selected by default. To activate TUFLOW Viewer 2:&lt;br /&gt;
* Under the TUFLOW Plugin menu, check on the &#039;TUFLOW Viewer V2&#039; option to enable the new viewer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: image of dropdown menu]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* To confirm the new viewer has been activated, check that the legacy TUFLOW Viewer icon [[File: icon]] has been replaced with the time-series icon [[File: icon]]. The TUFLOW Plugin toolbar should look like:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer 2 Txt.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the Map Outputs and Time Series results, either:&lt;br /&gt;
:* Within the QGIS Browser Panel drag the following layers into the QGIS workspace, or&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\M01_5m_001.xmdf&#039;&#039;&#039; &amp;gt; loads the map output mesh results&lt;br /&gt;
::* &#039;&#039;&#039;Module_01\TUFLOW\results\plot\M01_5m_001.tpc&#039;&#039;&#039; &amp;gt; loads the time series output results&lt;br /&gt;
:* In File Explorer, navigate to the files above and drag and drop them into the QGIS workspace.&lt;br /&gt;
&amp;lt;li&amp;gt;The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=02_Animation_M01_LoadResults_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the layers panel, select &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039;. In the &#039;Layer Styling&#039; panel, in the &#039;Datasets&#039; tab, click on the scalar dataset &#039;Depth&#039; under &#039;Result Type&#039;. Using the &#039;Temporal Controller&#039;, scroll through the output times. The results update as new output times are selected. &amp;lt;/li&amp;gt;&lt;br /&gt;
Note: The styling of the Map Outputs can be changed in the &#039;Contours&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=03_Animation_M01_Depth_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on a vector dataset &#039;Vector Velocity&#039; by selecting the arrow icon to add it to the displayed &#039;Depth&#039; and visualise them together. The vector output shows both direction and magnitude. &amp;lt;br&amp;gt;&lt;br /&gt;
Note: The appearance of vectors (colour, line width, symbology) can be changed in the &#039;Vectors&#039; tab. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=04_Animation_M01_VVec_V2_b.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
View mesh results (Time Series) with TUFLOW Viewer 2 from the 2d_po files:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;&#039;&#039;M01_5m_001_PLOT_L&#039;&#039;&#039; in the Layers panel and click &#039;TUFLOW Viewer Plot Window&#039; from the TUFLOW Plugin toolbar. The plot widget will open. Within the plot widget, use the &#039;Result Names&#039; menu to ensure the results &#039;&#039;&#039;M01_5m_001&#039;&#039;&#039; are selected. Then select &#039;Flow&#039; as the data type using the &#039;Data Types&#039; menu. Finally, use the &#039;Selection&#039; tool to select the 2d_po line. This shows the flow data across the 2d_po line (Type Q_).&lt;br /&gt;
&amp;lt;li&amp;gt;View the point time series for Level and Velocity dataset (Type H_ and V_). Select &#039;&#039;&#039;M01_5m_001_PLOT_P&#039;&#039;&#039; in the Layers panel and select &#039;Level&#039; and &#039;Velocity&#039; from the &#039;Data Types&#039; menu (ensure &#039;Flow&#039; is unselected). Use the &#039;Selection&#039; tool to select the 2d_po point. This shows level and velocity at the point (Type H_ and V_). To move the velocity to a secondary axis, right click the plot and select &#039;Move to secondary axis&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=05_Animation_M01_TimeSeries_V2_a.mp4|width=1265}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The basics of viewing 2D TUFLOW results in QGIS using the TUFLOW Viewer 2 were covered.&lt;br /&gt;
:*For further functionality, see &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/2026.0/tuflow-viewer  TUFLOW Viewer 2 documentation]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Results| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45877</id>
		<title>TUFLOW 2D Hydraulic Structures</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45877"/>
		<updated>2026-04-21T23:43:05Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* 2D Layered Flow Constriction (2d_lfcsh) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= 2D Structure Modelling Theory =&lt;br /&gt;
The theory behind the modelling of energy losses and affluxes of hydraulic structures is presented in the following webinars by Bill Syme and Greg Collecutt (TUFLOW Developers).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#structures Webinar Link: Modelling Energy Losses at Structures]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#nov2022_hydraulic_modelling_bridge Webinar Link: 1D, 2D &amp;amp; 3D Hydraulic Modelling of Bridges]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Bridge Modelling in TUFLOW - Overview =&lt;br /&gt;
The TUFLOW 2D solution explicitly predicts the majority of “macro” losses due to the expansion and contraction of water through a constriction, or around a bend, provided the resolution of the grid is sufficiently fine (&amp;lt;u&amp;gt;[https://www.tuflow.com/Download/Publications/Flow%20Through%20an%20Abrupt%20Constriction%20-%202D%20Hydrodynamic%20Performance%20and%20Influence%20of%20Spatial%20Resolution,%20Barton,%202001.pdf Barton, 2001]; [https://www.tuflow.com/Download/Publications/Modelling%20of%20Bends%20and%20Hydraulic%20Structures%20in%20a%202D%20Scheme,%20Syme,%202001.pdf Syme, 2001]; [https://www.tuflow.com/Download/Technical_Memos/Modelling%20Bridge%20Piers%20in%202D%20using%20TUFLOW.pdf Ryan, 2013]&amp;lt;/u&amp;gt;). Where the 2D model is not of fine enough resolution to simulate the “micro” losses (e.g. from bridge piers, vena contracta, losses in the vertical (3rd) dimension), additional form loss coefficients and/or modifications to the cells widths and flow height need to be added. &lt;br /&gt;
==Contraction/Expansion Losses (“Macro” Losses)==&lt;br /&gt;
Loss of energy is caused by the flow contraction during the expansion of water after the vena-contracta inside a bridge section and the flow expansion downstream a bridge. As discussed above, this type of &amp;quot;macro&amp;quot; losses can be explicitly resolved by the TUFLOW 2D solver, provided that a proper turbulence model and mesh size are used. Below is an example of the 2D modelling of flow contraction/expansion at a pair of bridge abutments.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:FC_Velocity_Example.PNG|600px]]  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pier Losses==&lt;br /&gt;
Piers are usually smaller than the 2D cell size in real-world flood models. Although flexible mesh solver or quadtree refinement can be applied to reduce the local cell size around the pier, it also comes with an expensive computational cost that could significantly increase the simulation time. More practically, the backwater effect of piers can be modelled as sub-grid form losses. &lt;br /&gt;
&lt;br /&gt;
Pier form loss coefficients can be derived from information in publications such as &amp;lt;u&amp;gt;[https://www.fhwa.dot.gov/engineering/hydraulics/library_arc.cfm?pub_number=1&amp;amp;id=5 &#039;&#039;Hydraulics of Bridge Waterways&#039;&#039; (Bradly, 1978)] or [https://austroads.com.au/publications/bridges/agbt08 &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018)]&amp;lt;/u&amp;gt;. Energy loss estimated from bridge piers or other obstructions, vertical or horizontal, that do not cause upstream controlled flow regimes like pressure flow, are dependent on the ratio of the obstruction&#039;s area perpendicular to the flow direction to the gross flow area of the bridge opening, the shape of the piers or obstruction, and the angularity of the piers/obstruction to the flow direction. For example, using Hydraulics of Bridge Waterways (Bradly, 1978) the approach is: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Calculate the ratio of the water area occupied by piers to the gross water area of the constriction (both based on the normal water surface) and the angularity of the piers. These inputs are used to calculate &amp;quot;J&amp;quot; in the FHA documentation.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Figure 4.10 &#039;&#039;Incremental Backwater Coefficient for Piers&#039;&#039; data to calculate Kp. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:incremental_backwater_coefficient_2018_pier_losses.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: the pier form loss coefficients in Hydraulics of Bridge Waterways are derived based on the cross-sectional averaged velocity through the bridge opening in the absence of piers. It&#039;s not necessary to specify a blockage value if a pier form loss coefficient estimated from this method is used.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bridge Deck and Rail (Super Structure)==&lt;br /&gt;
When a bridge deck become partially or completely submerged, the deck could generate extra afflux resulting in increased water levels and flood extents upstream of the structure. The flow around the deck is highly 3-dimentional and complexed due to the different deck designs/profiles and/or the occurrence of pressure flow. In 2D SWE solver, depth-varying form loss values are often needed to reproduce the afflux caused by such structure. Due to the complexity of the flow, guidelines on how to set the form loss coefficient for the bridge deck are rare. We have carried out a joint research with QLD TMR (Queensland Department of Transport and Main Roads) regarding how to choose a proper form loss value for the bridge deck &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt; . In the research, CFD modelling was conducted to investigate the characteristics of energy loss of a simple bridge with a flat bottomed deck and guardrails.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:CFD_study.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Below are the key findings from the study:&lt;br /&gt;
*The results displayed a characteristic shape for head loss coefficient as a function of downstream water level over the deck thickness (TW/T).&lt;br /&gt;
*The head loss (afflux) peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out.&lt;br /&gt;
[[File:FormLoss_vs_TWT.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bridge Design (hB/T) vs Form Loss Coefficient Table===&lt;br /&gt;
The peak loss coefficient value is a function of the ratio of the depth underneath the deck (hB) and the thickness of the deck (T). This table can be used to estimate the deck form loss coefficient based on the bridge design (hB/T).&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;35%&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=55%| Deck Height to Thickness Ratio&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=45%| Peak Form Loss Coefficient&lt;br /&gt;
|-&lt;br /&gt;
| Scenario A (hB/T) = 2 || 0.42&lt;br /&gt;
|-&lt;br /&gt;
| Scenario B (hB/T) = 4 || 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Scenario C (hB/T) = 6 || 0.20&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The solid portion of the guard rails (blockage * rail depth) can be added to T in addition to the deck thickness to calculate hB/T. &lt;br /&gt;
*For bridge with more complicated designs (e.g. girders), higher form loss might be required due to the higher surface roughness of the bridge. &lt;br /&gt;
*If the hB/T ratio is less than 2 or greater than 6, use a peak form loss coefficient of 0.42 (minimum) or 0.20 (maximum), respectively.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: This form loss value should not be confused with the value of 1.56 used in the pressure flow approached adopted in &amp;lt;u&amp;gt;[[1D_Bridges | TUFLOW 1D &amp;quot;B&amp;quot; and &amp;quot;BB&amp;quot; bridge]]&amp;lt;/u&amp;gt;. TUFLOW 1D bridge pressure flow approach is based on the section 4.13.2 &amp;quot;All Girders in Contact with Flow (Case II)&amp;quot; of &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018). The original hydraulic experiment conducted by &amp;lt;u&amp;gt;[https://hdl.handle.net/10217/39009 Liu et al (1957)]&amp;lt;/u&amp;gt; in a laboratory flume with a pair of bridge abutments and a deck. The flow conditions were similar to orifice flow due to the high blockage ratio caused by the abutments and the deck. When modelling bridges in 2D, the contraction/expansion losses caused by the abutments would be handled explicitly by the 2D solver, so a value 1.56 can lead to duplication of the contraction/expansion losses caused by the bridge abutments.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=TUFLOW 2D Bridge Setup=&lt;br /&gt;
There are two methods available to model depth varying form loss of a bridge structure: &lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 |2D Layered Flow Constriction (2d_lfcsh)]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:The traditional method used to model depth-varying form loss through bridge components such as piers, decks, and rails.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 |2D BG Shape (2d_bg)]]&amp;lt;/u&amp;gt; (introduced in the 2023 release)&lt;br /&gt;
:A simplified approach developed to simplify the model input based on the findings from the joint TMR Study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Both methods provide options for representing flow surcharging, the pressure flow of bridge decks and eventually submerged bridge flow at higher water levels. During the surcharging of bridge decks, higher energy losses can be specified to simulate the pressure flow. &lt;br /&gt;
&lt;br /&gt;
Examples for how to configure both approaches are provided in the 2D structures section of the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#2D_Structures |TUFLOW Wiki Example Models]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Tutorial_M04 |Tutorial Module 4]]&amp;lt;/u&amp;gt; - 2D Bridges.&lt;br /&gt;
&lt;br /&gt;
==2D Layered Flow Constriction (2d_lfcsh)==&lt;br /&gt;
Four flow constriction layers are represented in a 2d_lfcsh layer. The lower three layers represents the pier, the bridge deck and the rails. Each layer has its own attributes to specify the blockage and the form loss coefficient. The top (fourth) layer assumes the flow is unimpeded, representative of flow over the top of a bridge. Within the same shape, the invert of the bed, and thickness of each layer can vary in 3D.&lt;br /&gt;
&lt;br /&gt;
The following table provides an overview for how to determine the blockage and form loss coefficient for each layer. Note that this is just an overview and additional guidelines may need to be considered.&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; If no calibration is available, estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table || Full blockage, no flow through the deck &lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% ||   Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt;&lt;br /&gt;
If no calibration data is available, combined FLC for Layers 2 and 3 should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = L2_Depth + (pBlockage × L3_Depth)  &lt;br /&gt;
*(pBlockage × L3_Depth) represents the solid portion of the rails  &lt;br /&gt;
*L2 FLC and L3 FLC should sum to the combined FLC  &lt;br /&gt;
|Blockage and FLC depends on rail type &amp;lt;br&amp;gt; Sensitivity testing with 100% blockage is recommended due to potential for debris during flood&lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_lfcsh_attributes_02.jpg|700px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blockage===&lt;br /&gt;
&lt;br /&gt;
The 2d_lfcsh functions by adjusting the flow width and the form loss of 2D cell faces. The combined blockage across the 4 layers is calculated at each simulation timesteps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Blockage_total_equation_01.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
where&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the actual depth of water in layer &#039;&#039;&#039;&#039;&#039;i&#039;&#039;&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;total&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the total water depth&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach=== &lt;br /&gt;
&lt;br /&gt;
The combined form loss coefficient is determined using one of three methods. The form loss coefficient method can be specified either individually using the 2d_lfcsh “Shape_Options” attribute or globally using the .tcf command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Layered FLC Default Approach&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; [ METHOD A | {METHOD B} | METHOD C | METHOD D]&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD A&amp;lt;/b&amp;gt;: The losses are accumulated as the water level rises through the layers. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_cumulate.png |450px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Applies the full accumulated form loss continuously, even when overtopping begins (no reduction)&lt;br /&gt;
:Note: Simpler method but tends to overestimate losses when the structure is submerged or overtopped&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD B&amp;lt;/b&amp;gt; (default): the losses are applied pro-rata according to the depth of water in each layer. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_portion.png |430px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure&lt;br /&gt;
:Note: Maintains backward compatibility but may underrepresent losses during pressurised or overtopped flows&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD C&amp;lt;/b&amp;gt; (recommended): hybrid approach combining Method A and Method B. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_methodC.png |520px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Gradual increase in form loss with water level, following Method A&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure, following Method B&lt;br /&gt;
:Note: Recommended method; aligns closest to CFD modelling results and TUFLOW HPC behaviour. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD D&amp;lt;/b&amp;gt;: Allows the modeller to control the depth at which the losses start to reduce when the flow transitions between pressure flow and drowned flow. &lt;br /&gt;
:This approach is the same used by the 2d_bg layer (introduced in the 2023-03 release). It is recommended to use the 2d_bg layer as it has the benefit of a simplified attribute table, for easier user input.&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
&lt;br /&gt;
In this study, a combined form loss coefficient of 0.35 was used to match observed head loss during slight overtopping of a bridge. The FLC values for each layer were adjusted to achieve the correct combined form loss. The table and plot show how each layer contributes to the total form loss and highlight the differences in calculated form loss between the three methods.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;60%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=6%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=12%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method A&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method B&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method C&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5.0 || 5   || 0.07 || 0.07 || 0.07 || 0.07 || 0.07 || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1.5 || 100 || 0.15 || 0.22 || 1.05 || 0.30 || 0.15 || 0.22&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 1.0 || 50  || 0.13 || 0.35 || 0.70 || 0.35 || 0.13 || 0.35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:FLC_vs_height_updated.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2D BG Shape (2d_bg)==&lt;br /&gt;
2D BG Shape is similar to the Layered Flow Constriction, but has several updates to simplify the input based on the findings from the joint study with TMR &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The following table provides an overview of how to determine the blockage and form loss coefficient for each layer. Note that this is just an overview and additional guidelines may need to be considered.&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || rowspan=&amp;quot;2&amp;quot; | The Super Structure (Super_S) is the bridge deck and rails layers combined. &amp;lt;br&amp;gt; &lt;br /&gt;
Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; &lt;br /&gt;
If no calibration data is available, the Super_S FLC should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = Deck_Depth + (Rail_pBlockage*Rail_Depth)  &lt;br /&gt;
*(Rail_pBlockage*Rail_Depth) represents the solid portion of the rails&lt;br /&gt;
|| Full blockage, no flow through the deck&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% || Sensitivity testing with 100% blockage is recommended due to potential for debris during flood events&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Bridge block.jpg | 800px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Inflection Point===&lt;br /&gt;
&lt;br /&gt;
Based on findings from the joint study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;, the head loss peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out. The &#039;SuperS_IPf&#039; attribute (inflection point factor, default = 1.6) can be used to define the height of the inflection point. The solid portion of the rail layer is also added to the deck thickness to calculate the depth to the inflection point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;), i.e.:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg_infection_point.png | 520px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach===&lt;br /&gt;
The form loss approach is similar to the FLC approach METHOD C, with L2/L3 replaced by a single super structure layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg.png | 480px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
This example uses the same bridge setup described in the&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Form_Loss_Calibration_Example_-_Iowa_River_Flood_Study | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; section, with the following parameters applied: &lt;br /&gt;
*SuperS_FLC = 0.28 &lt;br /&gt;
*SuperS_Ipf = 1.6, &lt;br /&gt;
The Depth to Inflection Point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;) is calculated as 3.2m above the bridge soffit. &lt;br /&gt;
&lt;br /&gt;
The table and figure below show how the form loss value varies with water depth.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;32%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Form Loss&lt;br /&gt;
|-&lt;br /&gt;
| Pier || 5.0 || 5   || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| Deck || 1.5 || 100 || rowspan=&amp;quot;2&amp;quot; | 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Rail || 1.0 || 50 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:FLC_vs_height_bg.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2D Bridges Line vs Polygon Layer ==&lt;br /&gt;
The form loss coefficient (FLC) is applied differently when using a line compared to a polygon for both 2d_lfcsh and 2d_bg inputs. The FLC is applied at cell sides (u and v faces) as this is where velocities are calculated. &amp;lt;br&amp;gt; &lt;br /&gt;
For larger bridges that spread across multiple cells, it is recommended to use a polygon layer, which selects all u and v faces falling within the polygon.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;2D Layered Flow Constriction (2d_lfcsh)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides&lt;br /&gt;
| This approach is cell size independent. It is the easiest setup and the preferred / recommended approach when using 2d_lfcsh.&lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| between zero and 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| A cell is selected if the polyline intersects the cell crosshair. Caution should be taken when using a &amp;quot;thick&amp;quot; line, as changes in cell size can cause it to become a &amp;quot;wide&amp;quot; line. If this occurs, the FLC attribute may need to be recalculated to avoid overestimating or underestimating losses.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| larger than 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge &amp;lt;br&amp;gt;&#039;&#039;(may need to be recalculated, see notes)&#039;&#039;&lt;br /&gt;
| FLC divided by number of cell sides in the direction of flow &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;(number of cell sides in the direction of flow is calculated as line width divided by cell size)&#039;&#039;&lt;br /&gt;
| Polygon shapes are recommended if more than 3 rows of faces must be selected.. &amp;lt;br&amp;gt; &lt;br /&gt;
Caution should be taken when using a &amp;quot;wide&amp;quot; line. The cell size and alignment of the 2d_lfcsh line may result in selecting too many or too few cell faces in the direction of the flow. The FLC input may need to be recalculated to ensure FLC Applied multiplied by the number of cell sides in the direction of flow equates to the intended total form loss.  &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; | Polygon&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Total loss per unit length (meters or feet) in the direction of flow&lt;br /&gt;
| FLC * cell size applied to all sides of selected cells &lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2D Bridge (2d_bg)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides. &lt;br /&gt;
| This approach is cell size independent. &lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| larger than zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| This approach is cell size independent. A cell is selected if the polyline intersects the cell crosshair.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| Not supported&lt;br /&gt;
| –&lt;br /&gt;
| –&lt;br /&gt;
| BG polygon shapes are recommended if more than 3 rows of faces must be selected.&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; |Polygon&lt;br /&gt;
| -&lt;br /&gt;
| &#039;&#039;(used to automatically distribute the total FLC to the selected faces)&#039;&#039; &lt;br /&gt;
| Total form loss of the bridge &lt;br /&gt;
| FLC / Deck_Width * cell size applied to all sides of selected cells &lt;br /&gt;
| For bridges modelled using a 2d_bg polygon the relative ratio of the bridge width to the 2D cell size should be 4 or greater. For more information on this see &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/2d_bg_R_Bridge_Configuration_Advice_202503.pdf 2d_bg_R_Bridge_Configuration_Advice.pdf]&amp;lt;/u&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following diagrams demonstrate how the input FLC is applied for the four geometry options for 2d_lfcsh and 2d_bg layers: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:2dlfcsh 2dbg combined v2.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
It is good modelling practice to check the &amp;lt;u&amp;gt;[[Check_Files_2d_lfcsh_uvpt | lfcsh_uvpt_check]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Check Files 2d bg uvpt check | bg_uvpt_check]]&amp;lt;/u&amp;gt; files to confirm the number of faces selected and the FLC values assigned. It is also strongly recommended to undertake a sensitivity analysis on the applied form losses in the model to check if it makes any difference to the results and/or double check against other methods (hand calculations, other software, CFD modelling), especially if the bridge is near an area of interest. If calibration data is available, this should be used to guide the form loss value specification.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Common Questions Answered (FAQ)=&lt;br /&gt;
== What blockage values should I use for bridge guard rails? ==&lt;br /&gt;
The blockage of bridge guard rails can be anything from 100% blocked (solid concrete rails) to 10% blocked (very open rails). In addition, the accumulation of debris during a flood can be substantial as shown in the image below. Sensitivity testing with 100% blockage is recommended. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge rail debris.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
== How to conduct sensitivity test for 2D bridges? ==&lt;br /&gt;
General recommendations to cross-check the results are:&lt;br /&gt;
* Compare computed affluxes against desktop methods (e.g. Hydraulics of Bridge Waterways, 1978) and/or other software including CFD, especially for unusual bridge designs. &lt;br /&gt;
* Use any recorded flood marks or general observations from past events to check and calibrate FLC values. &lt;br /&gt;
* Conduct sensitivity testing by assessing the impact and influence of FLC values on your modelling objectives. The afflux resulting from the FLC values will be proportional to the velocity head, i.e. ∆h=FLC*(v^2/2g). As such, if velocities are low (e.g. 1 m/s), the results may not be overly sensitive to uncertainties in the FLC values. If completing a check using this equation for a long skew bridge it is best to calculate the total structure velocity from a PO line digitised in the same location as the bridge.&lt;br /&gt;
&lt;br /&gt;
Finally, after completing sensitivity testing and understanding the range of uncertainty due to unknowns like the degree of blockage and influence of FLC values (e.g. +/-20%), you are in a position to discuss with your client how best to proceed.  For example, if the modelling is to set planning levels for a development upstream then it may be appropriate to choose values on the higher side (higher FLC values and/or blockage assumptions), noting that the uncertainty may be amply covered by a regulatory freeboard.  Conversely, if the development is on the downstream side the conservative approach would be to use the results at the lower end of your FLC/blockage values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge Flood Debris Loading.jpg | 500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I use both FLC and blockage for layer one in 2D bridge layered flow constriction? ==&lt;br /&gt;
When applying FLC and blockage values to model obstructions such as piers, the following considerations need to be taken into account:&lt;br /&gt;
* The FLC value applies an energy loss along 1D channels or across 2D cell faces equivalent to FLC*V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g where V is the 1D channel velocity or the 2D cell face velocity.&lt;br /&gt;
* FLC values are often sourced from publications such as Hydraulics of Bridge Waterways or AustRoads (e.g.  Kp chart for piers).  &lt;br /&gt;
* If possible, establish whether the source of the FLC value is based on the approach velocity (the velocity in the absence of piers) or structure velocity (the velocity with area blocked out by the piers) noting that it often isn’t clear or stated.  &lt;br /&gt;
** If it is the structure velocity, this is usually the velocity at the vena-contracta (point of greatest contraction within the entrance to the structure and therefore highest velocity) - see image below.  Bluff or sharp-edged obstructions will have a much more pronounced vena-contracta, and therefore higher velocity compared with a round-edged obstruction. &lt;br /&gt;
** FLC values based on the approach velocity will be higher than those based on the structure velocity to achieve the same energy loss.&lt;br /&gt;
* Applying a blockage equivalent to the obstruction width will increase, usually very slightly, the velocity of the 1D channel or 2D cell face.  This won’t be the vena-contracta velocity, but a velocity between the approach velocity and the vena-contracta velocity.  A greater blockage will need to be applied to emulate the vena-contracta velocity.&lt;br /&gt;
* If the FLC source value is based on:&lt;br /&gt;
** The approach velocity then there is no need to apply a blockage value.&lt;br /&gt;
** The structure velocity then the blockage value should be applied noting that it may be appropriate to apply a larger blockage to take into account the vena-contracta.&lt;br /&gt;
* If it is not clear or unknown whether the FLC source value is based on the approach or structure velocity, the recommendation would be to apply the blockage in the interests of being slightly conservative on the upstream flood level calculation.&lt;br /&gt;
* For most minor obstructions such as bridge piers, the blockage is usually relatively small and whether included or not has a negligible or minor affect on flood levels compared with other factors such as the approach embankments and the bridge deck.&lt;br /&gt;
* Blockage from debris wrapped around piers can have a greater influence on the results than the effect of applying or not applying a blockage. Debris wrapped around piers can be accounted for in the FLC value calculated for the pier layer. &lt;br /&gt;
* As always, sensitivity testing with and without blockage and +/- the FLC value is highly recommended to understand their importance in regard to the broader modelling objectives and the effects of uncertainties in the input data, boundaries, other parameters such as Manning’s n values, and the accuracy of the numerical solution scheme (see &amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#maximise_accuracy Maximising the Accuracy of Hydraulic Models webinar]&amp;lt;/u&amp;gt;).&lt;br /&gt;
[[File: Vena_contracta.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Image showing the formation of the vena-contracta.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t see results that I expect when using 2d_lfcsh layer==&lt;br /&gt;
The 2d_lfcsh layer is a versatile feature that was designed to model bridges in 2D, but can also be used for other applications like fences, buildings raised on pillars and so on.&lt;br /&gt;
Some of the unexpected results could be:&lt;br /&gt;
* Water level going through the bridge deck in 2D map output.&lt;br /&gt;
* Water transiting through 100% blocked Layer 1, e.g. fences with solid base.&lt;br /&gt;
* SHMax.csv reporting values above the bridge deck when 2D map output reports water level lower than the top of the bridge deck.&lt;br /&gt;
&lt;br /&gt;
TUFLOW is a 2D solution (not 3D), in the 2d_lfcsh layer the percent blockage and form loss coefficient applied to the cell faces is depth averaged across the entire cell face (across Layer 1, 2 and 3):&amp;lt;br&amp;gt;&lt;br /&gt;
*For bridges, where Layer 2 has a 100% blockage applied, the minimum flow width of 0.001m is used and is averaged with the Layer 1 blockage (based on the depth of the water). This may result in a water level being reported within or above the bridge deck, which would represent the pressure head.&lt;br /&gt;
*Layered flow constriction works by adjusting the flow area of the cell faces by any blockages to generate the correct depth averaged velocity at each face at which the form losses are applied as a fraction of the V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g kinetic energy. Calculating the correct velocity is critical for determining the losses as the losses are proportional to the velocity squared. &amp;lt;br&amp;gt;&lt;br /&gt;
*For a layered flow constriction cell face the flow area cannot be zero above the invert of Layer 1 to avoid a divide by zero in the computations, therefore a minimum average flow width after applying blockages of 0.001 m is applied.  if Layer 1 is 100% blocked, a very small amount of water will flow through Layer 1.  If this is unacceptable, instead of applying 100% blockage of Layer 1, the preferred approach is to start the layered flow constriction at the top of Layer 1 or raise the ground elevation to the top of Layer 1 using one of the Z Shape modification functions (e.g. a breakline). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:100% Blockage Diagram.png | 500px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I model bridge piers explicitly in 2D using very small cells? ==&lt;br /&gt;
It isn&#039;t recommended to explicitly model bridge piers by blocking out the pier faces in TUFLOW, or in any hydraulic modelling software based on solving Shallow Water Equations(SWE). Due to the 3-dimentiality of the flow and turbulence around a pier, computational fluid dynamics (CFD) approach is often required to simulate the flow around piers explicitly. The wake turbulence behind a simple-shape pier can be resolved to some extent using extremely fine mesh in TUFLOW (see calibration example to a flume experiment in the [https://www.tuflow.com/library/webinars/#structures webinar on Energy Losses at Structures]), however the predictions for head losses show notable sensitivities to the mesh size, the mesh design, and the choice of turbulence model. The extremely fine mesh resolution also results in significantly higher computational costs. &lt;br /&gt;
&lt;br /&gt;
Therefore, the safest and strongly recommended approach with regard to establishing head losses and consequently flood levels, is to model the effects of such obstructions with form loss coefficients (applied to selected mesh cells) that have been derived from physical testing. This approach has been shown to provide the most consistent results across various mesh resolutions. It also has the added benefit that, by avoiding small cells in the mesh, it will provide much more efficient run times for flow solvers.&lt;br /&gt;
&lt;br /&gt;
[[File:Flow round a cylinder.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The point of flow separation around an object has a major bearing on the drag coefficient and is not reliably reproduced by 2D or 3D software.&#039;&#039;&lt;br /&gt;
&amp;lt;!-- SG commented out, too much CFD info&lt;br /&gt;
Small scale obstructions to the flow, such as trees, poles, piers, etc. cause additional head losses along a flow path due to their drag characteristics. Historically, form loss (or drag) coefficients for various profile shapes have been determined as a function of Reynold’s number through experimental testing. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More recently, computational fluid dynamics (CFD) has been used to attempt to reproduce the velocity field in the wake of such objects. Although providing better results than 2D modelling, the results have not always agreed well with physical tests. In particular, the drag of a given profile depends on the exact location of flow separation points, which in turn depends on the ability of the CFD code to predict the laminar to turbulent transition in the boundary layer, which is many times smaller than the profile shape itself. In general, the form loss results from CFD models show significant sensitivity to mesh size, mesh design, and choice of turbulence model. Considerable caution needs to be exercised even for CFD modelling.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to best convert flow constriction data (2d_fc or 2d_fcsh) into newer formats (2d_lfcsh or 2d_bg)? ==&lt;br /&gt;
The form loss parameters can be transferred from the flow constriction (2d_fc or 2d_fcsh) to the first layer of the layered flow constriction (2d_lfcsh) or pier layer of the 2d_bg. Definition of the remaining form loss and blockage layer inputs should follow the guidance outlined in &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 | 2D BG Shape]]&amp;lt;/u&amp;gt; paragraphs.&amp;lt;br&amp;gt;&lt;br /&gt;
When using floating pontoon (type FD in the 2d_fc or 2d_fcsh) different setup might need to be used for different events. For large events when floating pontoon becomes fixed at the top of the supporting piles, standard 2d_lfcsh setup can be used. Smaller events when the pontoon is floating at different heights might require more sensitivity testing of the structure parameters to find out a setup the matches the reality as close as possible.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I model bridges in 1D or 2D Domain? ==&lt;br /&gt;
The recommended approach typically depends on the study objectives and if the channel upstream and downstream of the bridge is modelled in 1D or 2D. To preserve the momentum as accurately as possible the bridge should be modelled in the same dimension as the channel, e.g. 1d_nwk bridge if the channels is in 1D and 2d_bg or 2d_lfcsh if the channel is modelled in 2D.&amp;lt;br&amp;gt;&lt;br /&gt;
In 2D, the expansion/contraction losses are modelled based on the topography and don&#039;t need to be estimated as attributes as for 1D modelling. Also, for higher flows where the bridge is overtopped, 2D is preferable approach. &lt;br /&gt;
&lt;br /&gt;
== What is the difference between downstream and upstream controlled flow? ==&lt;br /&gt;
Downstream control means a change in downstream water level will cause a change in upstream water level. Upstream control means the upstream water level is insensitive to the downstream water level and usually indicates the occurrence of supercritical flow.&lt;br /&gt;
&lt;br /&gt;
== What FLC values should be used for 2d_bg bridge if hB/T is below 2 or above 6? ==&lt;br /&gt;
TMR has extended the CFD simulation to hB/T ratios of 1 to 10. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&lt;br /&gt;
If hB/T is outside this ratio:&lt;br /&gt;
* hB/T ratios of less than 1 represent a very unusual bridge sitting low to the ground, and the peak FLC may increase above the end value (FLC of 0.6) in a way that doesn&#039;t follow the research trend or extrapolation. For these cases we would recommend using CFD modelling to obtain a more informed value. Alternatively, computing an FLC based on pressure flow or using 1D culvert might be considered.&lt;br /&gt;
* For hB/T ratios of greater than 10, the FLC is likely to continue to decrease, but probably not significantly. Clamping to the end value (FLC of 0.16) might be considered the more conservative approach (if the primary concern is flood levels upstream of the bridge).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:2d_lfcsh_attributes_02.jpg&amp;diff=45876</id>
		<title>File:2d lfcsh attributes 02.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:2d_lfcsh_attributes_02.jpg&amp;diff=45876"/>
		<updated>2026-04-21T23:42:06Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=1D_Pumps&amp;diff=45863</id>
		<title>1D Pumps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=1D_Pumps&amp;diff=45863"/>
		<updated>2026-04-21T03:58:33Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* 2D-2D Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
This post provides a modelling example for a 1D pump using a pump curve. For this example we will set up a pump in two common situations (2D-2D &amp;amp; 1D-2D).&lt;br /&gt;
&lt;br /&gt;
=Pump Attributes=&lt;br /&gt;
A pump needs to first be digitised in a 1d_nwke layer. The direction of the polyline must go from inlet to outlet as a pump is unidirectional. The attributes required for a pump in your 1d_nwk layer can be found in the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
In the 1d_nwk  layer, the following attributes are required:&amp;lt;br&amp;gt;&lt;br /&gt;
#ID = ID of the pump channel. &amp;lt;br&amp;gt;&lt;br /&gt;
#Type = &amp;quot;P&amp;quot; or &amp;quot;PO&amp;quot;. &amp;lt;br&amp;gt;&lt;br /&gt;
#US_Invert = Intake elevation of the pump. &amp;lt;br&amp;gt;&lt;br /&gt;
#DS_Invert = Outlet elevation of the receptor. &amp;lt;br&amp;gt;&lt;br /&gt;
#Inlet_Type = Used to specify the pump curve in the Depth Discharge database. &amp;lt;br&amp;gt;&lt;br /&gt;
#Width_or_D =  Diameter of the pump’s outlet pipe/hose. &amp;lt;br&amp;gt;&lt;br /&gt;
#Number_of = Number of (identical) pumps.  &lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:1d_nwk_pump_pipe.PNG|border|300px]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=2D-2D Configuration=&lt;br /&gt;
As pumps are zero length channels, they do not create automatic nodes at the upstream and downstream end. If you ran the model with just a pump polyline and SX connection, you will get &amp;lt;u&amp;gt;[[TUFLOW_Message_1353| ERROR 1353]]&amp;lt;/u&amp;gt;. To remove this error, the most efficient schematisation is to digitise a 1d_nwk &#039;NODE&#039; at the upstream and downstream end of the pump (no need for a separate 2d_bc SX layer). Unlike NODEs connected to pipes and channels, NODEs connected to zero length pumps require the following attributes:&amp;lt;br&amp;gt;&lt;br /&gt;
#Type = &amp;quot;NODE&amp;quot;. &amp;lt;br&amp;gt;&lt;br /&gt;
#Len_or_NA = The &#039;NODE&#039; requires a nominal storage amount. This can be estimated from the pipe length and diameter attached to the pump. &amp;lt;br&amp;gt;&lt;br /&gt;
#US_Invert = The upper elevation of the automatically created NA table. Make sure these values are set higher than the expected water levels at the intake and outlet of the pump. &amp;lt;br&amp;gt;&lt;br /&gt;
#DS_Invert = The bottom elevation of the pump nodes. As the pump does not create automatic nodes, the bottom elevation of the pump nodes must be specified. Note that this does not change the intake or outlet elevations of the pump, but only sets the bottom elevation of the nodes for storing water. &amp;lt;br&amp;gt;&lt;br /&gt;
#Conn_1D_2D = Set to &amp;quot;SX&amp;quot; to connect the 1D pump with the 2D domain. Without the SX connection, water will build up within the node and cause instabilities. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See the example below.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:1d_nwk_pump_SX_node.png|600px]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A simple 2D-2D pump configuration will look like the below schematisation. &amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
[[File:Pump_schematic.PNG|600px]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=1D-2D Configuration=&lt;br /&gt;
Connecting a pump from a 1d network to the 2d domain or vice versa is similar to the configuration above, the only difference is that the connection with a 1d structure does not require a 1d nwk ‘Node’. A storage chamber in the 1d network can also be modelled using a 1d_na node with an elevation vs area .csv assigned to the node. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:1D-2D_pump_schematisation.PNG|border|600px]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Estry Control File Setup=&lt;br /&gt;
Within the *.ecf the following commands and files are required to run a pump with no logical controls:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Network&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;..\model\mi\1d_nwke_xxxxx.MIF&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Depth Discharge Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;..\bc_dbase\xxxxx.csv&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If you do not specify a Depth-Discharge database then you will be faced with &amp;lt;u&amp;gt;[[TUFLOW Message 1118 | ERROR 1118]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=TUFLOW Operating Control File (.TOC)=&lt;br /&gt;
For guidance on setting up the operating controls for pumps, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
.ecf command required: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read Operating Controls File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; xxxxx.toc&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Depth Discharge Database=&lt;br /&gt;
The depth discharge database is set up in the same way as a pit inlet database (refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;). Each pump ‘Inlet_type’ must reference a name within the depth discharge database, otherwise &amp;lt;u&amp;gt;[[TUFLOW_Message_1118 | ERROR 1118]]&amp;lt;/u&amp;gt;  - Could not find pit inlet type &amp;quot;,a,&amp;quot; in the pit inlet database. The ‘Area (m2)’ column is the area of the pump offtake and ‘Width (m)’ column is the width of the pump offtake. Without information in the Area(m2) or Width(m) columns in the depth discharge database &amp;lt;u&amp;gt;[[TUFLOW Message 1092|ERROR 1092]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW Message 1093|ERROR 1093]]&amp;lt;/u&amp;gt; will appear. &amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
==Pump Curve==&lt;br /&gt;
The performance of pumps is a function of suction head at the inlet and the level of the discharge location. The resultant total head between the water level at the inlet and outlet is what determines the flow rate through the pump. If the suction level is low the pump will need to provide more energy in the form of pressure to maintain the water elevation at the outlet, the opposite is also true if the water depth at the pump inlet is high. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:pump_fundamentals_total_head.jpg|thumb|none|500px|www.pumpfundamentals.com]]&lt;br /&gt;
&lt;br /&gt;
That being the case it is important to consider what total head is required to achieve the modelling objectives and what flow rates you may require. Once you have an idea on any limits in total head you can start to research an appropriate pump and then extract the performance curve that is often incorporated as part of the technical specifications. An example is shown below. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Manufacturer pump curve.JPG|border|600px]]&lt;br /&gt;
&lt;br /&gt;
==Creating a TUFLOW pump curve==&lt;br /&gt;
The setup of the Depth Discharge database for a pump curve is similar to reading in inflow hydrographs, hyetographs etc, that is; a source .csv, and the two corresponding headings within the 3rd and 4th column. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:depth-discharge_pump.PNG |border|500px]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have your manufacturer curve for your given pump it is now necessary to create the curve .csv for TUFLOW to read in. The manufacturer specifications will need to be translated into a total head vs pump rate chart. Although reading in the depth discharge database is the same process as other boundary conditions within TUFLOW, the curve itself is fundamentally different as you no longer need to start the csv file with 0,0. If the curve did start at 0,0 this would not make sense because at a total head difference of 0m the pump should effectively be operating at peak performance so the flow rate would be greater than 0 m3. The image below shows a csv file for the pump performance curve given in the previous section. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Pump_curve_csv_example.png|border|600px]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Using a Pump Curve in a TUFLOW Operating Control (TOC) File==&lt;br /&gt;
&lt;br /&gt;
With the pump curve defined in the depth-discharge database it can either be specified within the pump 1d_nwk fields in the inlet_type field, for non-operational pumps, or it can be defined with the TOC file, for operational pumps.  When defining with a TOC file, the pump curve is defined at the top of the structure control definition block and then the subsequent rules can turn the pump on/off.  See the below TOC structure control definition for an example.  In this case, the pump curve is used when the pump switches on once upstream water levels reach 2.75m AD.  The pump curve is then used until the upstream water levels are reduced to 2.25m AD at which point the pump is switched off.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Define Pump Control&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; Pump_1&lt;br /&gt;
 &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Pump Capacity&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; pump_1&lt;br /&gt;
 HU &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; H1D Pump1.1&lt;br /&gt;
            &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;If &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;HU &amp;lt;= 2.25&lt;br /&gt;
                      &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Pump Operation&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; Off&lt;br /&gt;
            &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Else if&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;  HU &amp;gt; 2.25  &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;AND&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; HU &amp;lt; 2.75&lt;br /&gt;
                      &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Pump operation&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; No Change	&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;	&lt;br /&gt;
            &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Else if&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; HU &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&amp;gt;=&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; 2.75&lt;br /&gt;
                      &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Pump Operation&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; On&lt;br /&gt;
            &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;End if&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
 &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;End define&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=1D Result File=&lt;br /&gt;
Although strictly not a check file, the operation of the pump can be confirmed by opening the *_1d_O.csv which is found within the csv folder where the results are written. The *_1d_O.csv monitors the operation of structures, this file can be quite useful in checking how the structure is performing with the given .toc file and GIS inputs. &amp;lt;br&amp;gt; &lt;br /&gt;
{| align=&amp;quot;center&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;75%&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Filename prefix / suffix&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=75%| Brief Description&lt;br /&gt;
|-&lt;br /&gt;
| [[Pump_Results_1d_O | _1d_O.csv]]|| This csv displays the status of the pump, whether that is closed or fully open, results for any logic parameter specified in the TOC file and the flow through the pump if it is in operation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any further questions please email TUFLOW support: [mailto:support@tuflow.com?Subject=TUFLOW%201D%20pumps%20help support@tuflow.com]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW 1D Channels and Hydraulic Structures | Back to 1D Channels and Hydraulic Structures]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Advection_Dispersion_Modelling&amp;diff=45847</id>
		<title>Advection Dispersion Modelling</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Advection_Dispersion_Modelling&amp;diff=45847"/>
		<updated>2026-04-20T00:57:19Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
TUFLOW’s Advection Dispersion (AD) functionality is an extension of the TUFLOW Classic/HPC engines available within the TUFLOW CATCH module. It adds to the hydrodynamic capabilities of TUFLOW Classic/HPC by simulating depth-averaged, two and one-dimensional constituent fate and transport. An example of such a constituent might include salinity. Both dissolved and particulate constituents can be simulated. TUFLOW AD takes depth and velocity fields computed by the TUFLOW Classic and HPC solvers and uses this information, together with initial and boundary conditions, to simulate the advection and dispersion of user-defined constituents.&lt;br /&gt;
&lt;br /&gt;
TUFLOW AD is specifically oriented towards such analyses in systems including coastal waters, estuaries, rivers, floodplains and urban areas. The AD functionality is discussed in detail in the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual - Chapter 9]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
TUFLOW FV also has Advection Dispersion functionality. In many cases, it&#039;s preferable to use TUFLOW FV for AD modelling due to its functionality with flexible mesh. See the &amp;lt;u&amp;gt;[https://docs.tuflow.com/fv/manual/latest/ TUFLOW FV Manual]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&lt;br /&gt;
=Model Development=&lt;br /&gt;
==Setting Up a New Model==&lt;br /&gt;
The steps below describe the process for setting up a TUFLOW AD model. It is assumed that the user is familiar with TUFLOW Classic/HPC and that the folder structure for TUFLOW has been setup with all required files. The user should run the TUFLOW Classic/HPC model without the AD functionality first to make sure that it is appropriately configured and stable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a TUFLOW AD control file with the extension .adcf&lt;br /&gt;
&amp;lt;li&amp;gt;Use a text editor to create an empty .adcf file and save it to the “runs” folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Set up the AD global database (.csv file).&lt;br /&gt;
&amp;lt;li&amp;gt;Set up the TUFLOW AD global database in the “bc_dbase” folder which defines the constituent of interest and a number of characteristics, for example the decay rate and dispersion coefficient.  The resulting file should look similar to the below:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:EG17 AD Consit 001.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the .adcf file use the &amp;quot;AD Global Database&amp;quot; command to set the location of the global database as follows.&amp;lt;br&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;AD Global Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; == &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\bc dbase\my_ad_global_dbase.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Set up the boundary condition tables (.csv file(s)) to define the time-varying constituent concentrations at any input boundaries.&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Set up the constituent boundary condition table(s) in the “bc_dbase” folder. For example in the below, the time-varying concentration of constituents Conc_AD1 and Conc_AD2 are set:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:EG17 conc 001.png]]&amp;lt;br&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set up up the boundary condition database (.csv file)&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Set up the boundary condition database in the “bc_dbase” folder that references the tables set up in the previous step.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:EG17 AD 001.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the .adcf file use the &amp;quot;AD BC Database&amp;quot; command to set the location of the bc database as follows.&amp;lt;br&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;AD BC Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; == &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\bc dbase\my_ad_bc_dbase.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Setup up TUFLOW to activate the AD functionality (.tcf file)&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;In the .tcf file use the command &amp;quot;AD Control File&amp;quot; to set the location of the adcf and activate execution of the AD functionality as follows.&amp;lt;br&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;AD Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; == &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;ad_run.adcf&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Run the model&lt;br /&gt;
&amp;lt;li&amp;gt;Run TUFLOW as normal. The AD functionality will be utilised and appropriate constituent result output files written.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example Models==&lt;br /&gt;
Example TUFLOW AD models, including settling and decay, are available via the [[TUFLOW_Example_Models#Advection_Dispersion | TUFLOW Example Model Dataset]].&lt;br /&gt;
&lt;br /&gt;
= Common Questions Answered (FAQ) =&lt;br /&gt;
&lt;br /&gt;
== How can the Advection Dispersion functionality be used to determine the time of concentration in a 1D-2D TUFLOW model? ==&lt;br /&gt;
The Advection Dispersion functionality can track particles and determine the time of concentration by simulating how a particle of water travels from an upstream to a downstream location. However, the AD functionality is only available for 2D domains and cannot directly operate within a 1D channel.&lt;br /&gt;
&lt;br /&gt;
To utilise the AD functionality in this case, the 1D channel would need to be converted into a 2D domain using a Quadtree grid. This conversion involves refining the 2D cells within the channel to smaller sizes, ensuring the model accurately represents the flow behaviour. Once this modification is complete, the AD functionality can provide detailed insights into particle travel times and help demonstrate the effects of reprofiling or attenuation measures on downstream areas.&lt;br /&gt;
&lt;br /&gt;
== Can TUFLOW generate 2D Plot (Time-Series) Output for Advection Dispersion results? ==&lt;br /&gt;
Currently, TUFLOW does not support 2D Plot (Time-Series) Output for Advection Dispersion results at specific point locations. &lt;br /&gt;
&lt;br /&gt;
However, results can be extracted using output zones. Defining smaller output zones allows high-frequency data to be generated for areas of interest while managing file sizes efficiently. Multiple output zones can also be used to monitor widely separated locations.&lt;br /&gt;
&lt;br /&gt;
== How can initial tracer concentrations and SGS parameters be managed in the Advection Dispersion functionality? ==&lt;br /&gt;
Initial tracer concentrations can be applied to dry cells, and these concentrations are mobilised as the cells become wet during a simulation. The initial water level in dry cells is set as the bed elevation plus the Cell Wet/Dry Depth. This depth determines the initial tracer volume available for advection once the cell becomes inundated.&lt;br /&gt;
&lt;br /&gt;
When SGS (Sub-Grid Sampling) is used, the initial water volume is derived from a pre-calculated “level vs cell volume” curve. Tracer concentrations are distributed across this calculated volume. This ensures accurate representation of tracer movement, even in partially wet cells.&lt;br /&gt;
&lt;br /&gt;
== How can the Advection Dispersion functionality be used to determine water residency time? ==&lt;br /&gt;
The Advection Dispersion functionality in TUFLOW can be used to calculate water residency time by modelling it as a scalar variable. This approach provides a method for tracking the duration water has spent within a specific area, such as a wetland, and is visualised in the model output as a time-based scalar field. This approach has some limitations:&lt;br /&gt;
* Output Capabilities: While TUFLOW supports various output formats (e.g., XMDF, DAT, NC), extracting detailed time-series data for specific constituents at individual locations may require additional post-processing. The current AD functionality does not explicitly support direct Point Output (PO) functionality for constituent data.&lt;br /&gt;
* Post-Processing Requirements: To obtain detailed residency time information at specific points, output zones may be required along with refined post-processing techniques. Defining output zones allows high-frequency scalar data to be captured in areas of interest, which can then be analysed to estimate residency times.&lt;br /&gt;
* Engine-Specific Features: Unlike the TUFLOW FV engine, which includes a particle tracking module for explicit tracking of water age, the fixed grid engine’s AD module relies on scalar-based methods to approximate residency time. For calculating water residency time with the AD functionality, properly configuring scalar outputs and planning post-processing steps are essential for accurate results.&lt;br /&gt;
&lt;br /&gt;
== How can the Advection Dispersion functionality simplify firewater containment modelling? ==&lt;br /&gt;
The Advection Dispersion functionality in TUFLOW can simplify firewater containment modelling by using passive tracers to track firewater flow and concentration. Instead of running separate simulations for rainfall and firewater scenarios, the AD functionality enables a single simulation where tracers represent the firewater. This approach reduces modelling complexity while maintaining accuracy. &lt;br /&gt;
&lt;br /&gt;
For example, a model with direct rainfall over the entire domain applies a passive tracer via 2d source area (2d_sa) polygons. The output can be set up to identify areas with tracer concentrations above a certain threshold, distinguishing firewater extents from other inundated areas. Areas outside of this represent zones with zero tracer concentration. Tracers can also include decay and settling parameters for added flexibility. This method not only simplifies the process but also ensures compliance with the UK CIRIA (Construction Industry Research and Information Association) guidance by integrating rainfall and firewater scenarios into a single simulation.&lt;br /&gt;
&lt;br /&gt;
== What guidance is available for Non-Newtonian mixing exponents and dispersion coefficients in the Advection Dispersion functionality? ==&lt;br /&gt;
The Non-Newtonian Mixing Exponents (m, o, and p) were introduced in the 2023-03-AC release to improve how TUFLOW models non-Newtonian fluids. These exponents control how yield stress and density change as fluid concentration varies.&lt;br /&gt;
&lt;br /&gt;
Previously, using a single exponent for all properties was ineffective for fluids with high solids content. For example, yield stress can increase rapidly with small changes in solids, while density changes more gradually.&lt;br /&gt;
&lt;br /&gt;
It is recommended that these exponents range between 1 and 5. However, the optimal values depend on the specific fluid being modelled, and should be selected based on the fluid’s properties. TUFLOW does not provide specific default values.&lt;br /&gt;
&lt;br /&gt;
For dispersion coefficients:&lt;br /&gt;
&lt;br /&gt;
* In pure water, the longitudinal dispersion coefficient (KL) is usually between 6 and 13, and the transverse dispersion coefficient (KT) is between 0.15 and 1.6.&lt;br /&gt;
&lt;br /&gt;
* Extremely high values, like 7500, only occur in special conditions such as estuarine environments with a halocline and are not typical for most cases.&lt;br /&gt;
&lt;br /&gt;
Currently, there is no guidance for dispersion coefficients when mixing pure water with non-Newtonian fluids. Suitable values should be determined based on laboratory tests or studies specific to the fluid being modelled.&lt;br /&gt;
&lt;br /&gt;
== What are the limitations of the Advection Dispersion functionality when modelling Non-Newtonian flow through 1D elements? ==&lt;br /&gt;
When using the Advection Dispersion functionality for non-Newtonian flow in models that include 1D elements, the following simplifications and limitations apply:&lt;br /&gt;
&lt;br /&gt;
Flow Calculation:&lt;br /&gt;
* The flow through 1D elements (e.g., culverts) is calculated based on the assumption of pure water.&lt;br /&gt;
* Non-Newtonian properties, such as viscosity or yield stress, are not considered in the 1D engine. This simplification can lead to an overestimation of flow rates when dealing with non-Newtonian fluids.&lt;br /&gt;
Tracer Transport:&lt;br /&gt;
* By default, the concentration of the non-Newtonian fluid is passed instantly from the upstream to the downstream node in 1D channels.&lt;br /&gt;
* The transport equation is not calculated for the 1D elements. This can cause an underestimation of travel time for non-Newtonian fluids, particularly in long 1D elements.&lt;br /&gt;
&lt;br /&gt;
These limitations mean that while the AD module can be used in models with 1D elements, it does not fully capture the complexities of non-Newtonian fluid behaviour in those elements. If higher accuracy is required, 2D elements where non-Newtonian properties are more comprehensively represented may be considered.&lt;br /&gt;
&lt;br /&gt;
== Can the Advection Dispersion functionality be used in a model to simulate salinity? ==&lt;br /&gt;
Yes, the Advection Dispersion functionality can be used with models to simulate salinity transport, as long as the system is relatively well mixed vertically.&lt;br /&gt;
&lt;br /&gt;
TUFLOW HPC is a 2D shallow water equation solver, so it does not account for vertical salinity gradients. This means it is best suited for rivers, shallow lakes, and estuaries where haloclines are weak or absent. Different boundary inflows can be assigned varying time series of salinity concentrations, and the module will simulate how these mix over space and time.&lt;br /&gt;
&lt;br /&gt;
If the system has strong density stratification or distinctly three dimensional flow behaviour, a fully 3D solver such as TUFLOW FV is recommended.&lt;br /&gt;
&lt;br /&gt;
== Can the Advection Dispersion functionality simulate pollutant runoff and transport from catchments? ==&lt;br /&gt;
Yes, the Advection Dispersion functionality can also be used to simulate pollutant runoff from catchments. This includes modelling the generation, transport, and fate of pollutants such as suspended sediment, nitrogen, and phosphorus.&lt;br /&gt;
&lt;br /&gt;
Pollutants can be generated based on modelled bed shear stress, then transported through the domain using the flow field. The model can also apply decay and settling rates as part of the simulation.&lt;br /&gt;
&lt;br /&gt;
The TUFLOW CATCH module, with which the Advection-Dispersion functionality is included, provides the capability to simulate pollutant runoff and transport from catchments. See the &amp;lt;u&amp;gt;[https://www.tuflow.com/products/tuflow-catch-module/ TUFLOW Website]&amp;lt;/u&amp;gt; for further information. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M02&amp;diff=45846</id>
		<title>Tutorial M02</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M02&amp;diff=45846"/>
		<updated>2026-04-10T05:20:53Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Impact Assessment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
In the first part of this module, breaklines are added to ensure that the key hydraulic controls are correctly represented in the 5m cell size model. The second part involves simple and more complex development topographic modifications. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The GIS layers are:&amp;lt;br&amp;gt;&lt;br /&gt;
:*TGC layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;2d_zsh: A layer used to modify Zpt elevations using points, lines and polygons.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;2d_mat: A layer used to define the land use (material) types within the developmental area.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Module 2 builds from the model created in &amp;lt;u&amp;gt;[[Tutorial_M01 | Module 1]]&amp;lt;/u&amp;gt;. The completed Module 1 model is provided in the Module_02\TUFLOW folder.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Breaklines=&lt;br /&gt;
The first part of this module introduces breaklines for road crests.&lt;br /&gt;
&lt;br /&gt;
There are a few ways to model breaklines based on the models cell size. The Shape_Width attribute controls the width of the breakline:&amp;lt;br&amp;gt;&lt;br /&gt;
:*Thin Breakline: Shape_Width equal to 0 - only elevations on the cell sides and cell corners are modified, no change in storage.&lt;br /&gt;
:*Thick Breakline: Shape_Width less than or equal to 1.5 times the cell size - entire cells are modified, storage changes with changing elevation of the cell centres.&lt;br /&gt;
:*Wide Breakline: Shape_Width greater the 1.5 times the cell size - any elevation points within a distance of half the Shape_Width attribute are modified, storage changes.&lt;br /&gt;
&lt;br /&gt;
== GIS Inputs ==&lt;br /&gt;
Create, import and view input data:&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_001_GIS_Inputs_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_001_GIS_Inputs_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Simulation Control Files ==&lt;br /&gt;
=== TUFLOW Geometry Control File (TGC) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; as &#039;&#039;&#039;M02_001.tgc&#039;&#039;&#039; in the &#039;&#039;&#039;Module_02\TUFLOW\model&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;M02_001.tgc&#039;&#039;&#039; in a text editor and add the following line after the &#039;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GRID Zpts&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; == &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;grid\DEM.tif&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; command. Note, the points and lines are in separate layers, but are part of the same breakline, therefore they are input on the same line with a vertical bar &#039;|&#039; to tell TUFLOW the layers are linked. The TUFLOW modelling convention is to list the lines first and then points.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_zsh_M02_rd_crest_001_L.shp | gis\2d_zsh_M02_rd_crest_001_P.shp &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines the road crest&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_zsh_M02_rd_crest_001_L | 2d_zsh_M02_rd_crest_001_P &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines the road crest&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TGC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Control File (TCF) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of &#039;&#039;&#039;M01_5m_001.tcf&#039;&#039;&#039; as &#039;&#039;&#039;M02_5m_001.tcf&#039;&#039;&#039; in the &#039;&#039;&#039;Module_02\TUFLOW\runs&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file &#039;&#039;&#039;M02_5m_001.tcf&#039;&#039;&#039; in a text editor and make the following reference updates: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Geometry Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\M02_001.tgc &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\gis\M02_001.gpkg &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify the location of the GeoPackage Spatial Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Geometry Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\M02_001.tgc &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TCF.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Simulation ==&lt;br /&gt;
Run the model using a batch file. Batch files include a wide array of TUFLOW options and functions, such as running multiple simulations in series or parallel,  testing model initialisation and even copying models for transfer between modellers or organisations. For more information, see &amp;lt;u&amp;gt;[[Run_TUFLOW_From_a_Batch-file | Run TUFLOW From a Batch file]]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of &#039;&#039;&#039;_run_M01_HPC.bat&#039;&#039;&#039; as&#039;&#039;&#039;_run_M02_HPC.bat&#039;&#039;&#039; in the &#039;&#039;&#039;Module_02\TUFLOW\runs&#039;&#039;&#039; folder. &lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;_run_M02_HPC.bat&#039;&#039;&#039; in a text editor and update the text: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&#039;&#039;&#039;set&#039;&#039;&#039;&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;exe&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;=&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&amp;quot;..\..\..\exe\2026.0.0\TUFLOW_iSP_w64.exe&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&#039;&#039;&#039;set&#039;&#039;&#039;&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;run&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;=&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;start &amp;quot;TUFLOW&amp;quot; /wait&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; %exe%&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; -b&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;%run% &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;M02_5m_001.tcf &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
:*The &#039;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&#039;&#039;&#039;set&#039;&#039;&#039;&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;exe&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; command specifies the link to the TUFLOW executable. This file path may need to be changed depending on the folder set up. &amp;lt;br&amp;gt;&lt;br /&gt;
:*The &#039;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&#039;&#039;&#039;set&#039;&#039;&#039;&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;run&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; command contains a series of commands:&lt;br /&gt;
::*&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;start&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;: Opens each simulation in a separate console window. &lt;br /&gt;
::*&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&amp;quot;TUFLOW&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;: Sets &#039;TUFLOW&#039; as the title of the console window. &lt;br /&gt;
::*&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;/wait&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;: If multiple simulations are to be run, it is often desirable to run these in series, i.e. the second simulation starts after the first finishes. The /wait switch makes the batch file wait until the process is finished before moving onto the next command.&lt;br /&gt;
::*&amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;%exe%&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;: executes tasks specified in the variable called ‘exe’, in this case the TUFLOW executable. &lt;br /&gt;
::*&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;-b&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;: The use of the –b (batch mode) switch suppresses the need to press the return key at the end of a simulation. This ensures that one simulation proceeds on to the next without any need for user input. This is required for running multiple simulations in series (one after the other).&lt;br /&gt;
:*The &#039;&amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;%run%&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; executes tasks specified in the variable called ‘run’. &lt;br /&gt;
&amp;lt;li&amp;gt;Save the batch file and double click it in file explorer to run the simulation.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting == &lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Check Files ==&lt;br /&gt;
While the model is running, check that the added features are specified correctly:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_001_Check_Files_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_001_Check_Files_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
For viewing of the 2D map results, see &amp;lt;u&amp;gt;[[Tutorial_M01#Results | Module 1]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Suggestions for an investigation: &amp;lt;br&amp;gt;&lt;br /&gt;
:*Does the flooding still overtop the roads? &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;Tip: check the maximum 2D results. &amp;lt;/ol&amp;gt;&lt;br /&gt;
:*What is the difference in peak water level at the upstream of the roads compared to the Module 1 run? &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;Tip: Use the ‘Plot Time Series from Map Output’ tool in the TUFLOW Viewer QGIS Plugin. &amp;lt;/ol&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Other Topographic Updates=&lt;br /&gt;
The second part of this module introduces a range of options to make both simple and complex topography modifications. It also introduces an additional materials file to reflect the changes of land use based on the complex topography modifications.&amp;lt;br&amp;gt;&lt;br /&gt;
There are a few ways to create polygon topographic modifications based on the Shape_Option attribute:&lt;br /&gt;
:*Merge - merges the elevations at polygon perimeter vertices with the topography Zpt values.&lt;br /&gt;
:*No merge - assigns a single elevation to all Zpts falling within the polygon.&lt;br /&gt;
:*Add - raises or lowers the polygon by a fixed value.&lt;br /&gt;
:*TIN functionality - uses combination of points, lines and polygons to create complex topographic modifications.&lt;br /&gt;
&lt;br /&gt;
== GIS Inputs ==&lt;br /&gt;
Create, import and view input data:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_002_GIS_Inputs_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_002_GIS_Inputs_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Simulation Control Files ==&lt;br /&gt;
=== TUFLOW Geometry Control File (TGC) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of the &#039;&#039;&#039;M02_001.tgc&#039;&#039;&#039; as &#039;&#039;&#039;M02_002.tgc&#039;&#039;&#039; in the &#039;&#039;&#039;Module_02\TUFLOW\model&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;M02_002.tgc&#039;&#039;&#039; in a text editor and add the following lines after the road crest input. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_zsh_M02_fill_002_R.shp &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines areas of imported fill&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_zsh_M02_merge_002_R.shp &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines areas of merging topography&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_zsh_M02_cut_002_R.shp &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines excavation through embankment&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_zsh_M02_landscape_002_R.shp | gis\2d_zsh_M02_landscape_002_L.shp | gis\2d_zsh_M02_landscape_002_P.shp &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ! Defines areas of complex landscaping&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_zsh_M02_fill_002_R &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines areas of imported fill&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_zsh_M02_merge_002_R &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines areas of merging topography&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_zsh_M02_cut_002_R &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines excavation through embankment&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Z Shape &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_zsh_M02_landscape_002_R | 2d_zsh_M02_landscape_002_L | 2d_zsh_M02_landscape_002_P &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  &lt;br /&gt;
! Defines areas of complex landscaping&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
As the points, lines and regions are in separate files, but are part of the same topographic modification, they are input on the same line with a vertical bar &#039;|&#039; to tell TUFLOW the layers are linked. The TUFLOW modelling convention is to list the polygons first, then lines and points last.&lt;br /&gt;
&amp;lt;li&amp;gt;Add in the following line after the &#039;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; command.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_mat_M02_landscape_002_R.shp &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_mat_M02_landscape_002_R &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Assigns the updated materials values due to the development. As the order of commands in the TGC is critical, ensure this command is written after the original &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TGC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Control File (TCF) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of &#039;&#039;&#039;M02_5m_001.tcf&#039;&#039;&#039; as &#039;&#039;&#039;M02_5m_002.tcf&#039;&#039;&#039; in the &#039;&#039;&#039;Module_02\TUFLOW\runs&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file &#039;&#039;&#039;M02_5m_002.tcf&#039;&#039;&#039; in a text editor and make the following reference updates: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Geometry Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\M02_002.tgc &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\gis\M02_002.gpkg &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify the location of the GeoPackage Spatial Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Geometry Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\M02_002.tgc &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TCF.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Simulation ==&lt;br /&gt;
Update the batch file created in the first part of Module 2 to reference the &#039;&#039;&#039;M02_5m_002.tcf&#039;&#039;&#039; file. Save the batch file and double click it in file explorer to run the simulation. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting == &lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Check Files ==&lt;br /&gt;
While the model is running, review the added features are specified correctly:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_002_Check_Files_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M02_002_Check_Files_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
For viewing of the 2D map results, see &amp;lt;u&amp;gt;[[Tutorial_M01#Results | Module 1]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
=== Impact Assessment ===&lt;br /&gt;
The &amp;lt;u&amp;gt;[[ASC_to_ASC| asc_to_asc]]&amp;lt;/u&amp;gt; utility with difference flag is used to plot the flood level changes resulting from the topography updates. The utility is provided in the &#039;&#039;&#039;exe\asc_to_asc&#039;&#039;&#039; folder. It can also be downloaded from the &amp;lt;u&amp;gt;[https://www.tuflow.com/downloads/ TUFLOW website]&amp;lt;/u&amp;gt; and saved into a folder with other utilities. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new batch file &#039;&#039;&#039;_M02_asc_to_asc_Level_Difference.bat&#039;&#039;&#039; in the &#039;&#039;&#039;Module_02\TUFLOW\results\grids&#039;&#039;&#039; folder and open it in a text editor.&lt;br /&gt;
&amp;lt;li&amp;gt;Input the following (Note: Utility location may differ): &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&#039;&#039;&#039;set&#039;&#039;&#039; &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;asc_to_asc&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;=&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&amp;quot;..\..\..\exe\asc_to_asc.2024-06-AF\asc_to_asc_w64.exe&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the -dif flag to call the difference function. The utility then expects two grid files, it subtracts the first grid from the second. Add the following syntax below the &#039;set asc_to_asc&#039; command.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;%asc_to_asc% &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;-b -dif M02_5m_002_h_Max.tif M02_5m_001_h_Max.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Optional is to use the -out flag to specify the name of the output grids.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;%asc_to_asc% &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;-b -dif -out M02_Level_Difference M02_5m_002_h_Max.tif M02_5m_001_h_Max.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the batch file and double click it in file explorer to run the utility.&lt;br /&gt;
&amp;lt;li&amp;gt;The resulting difference grids appear in the same folder location, open these in a GIS software to see the effects of the topography changes on the flood levels.&lt;br /&gt;
*M02_Level_Difference.tif = difference in maximum flood level. &lt;br /&gt;
*M02_Level_Difference_wd.tif = change in flood extent, identifying cells that were once wet, now dry (-99) and once dry, now wet (99). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:M02_ImpactMap_c.png]]&amp;lt;br&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
:*Breaklines and different polygon topographic modifications were added to the model.&lt;br /&gt;
:*Check files were assessed to view the changes on the underlying topographic model.&lt;br /&gt;
:*Impact assessment was conducted using the asc_to_asc utility.&lt;br /&gt;
:*For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:M02_ImpactMap_c.png&amp;diff=45845</id>
		<title>File:M02 ImpactMap c.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:M02_ImpactMap_c.png&amp;diff=45845"/>
		<updated>2026-04-10T05:20:17Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=HPC_Introduction&amp;diff=45844</id>
		<title>HPC Introduction</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=HPC_Introduction&amp;diff=45844"/>
		<updated>2026-04-10T02:05:29Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Introduction=&lt;br /&gt;
Since the 2017-09-AA version, TUFLOW offers HPC (Heavily Parallelised Compute) as an alternate 2D Shallow Water Equation (SWE) solver to TUFLOW Classic. &lt;br /&gt;
&lt;br /&gt;
TUFLOW HPC is now industry standard. While TUFLOW Classic is still supported, it is recommended to use TUFLOW HPC. &lt;br /&gt;
&lt;br /&gt;
TUFLOW Classic is limited to running a simulation on a single CPU core, whereas HPC provides parallelisation of the TUFLOW model allowing modellers to run a single TUFLOW model across multiple CPU cores or GPU graphics cards (which utilise thousands of smaller CUDA* cores). Simulations using GPU hardware has shown to provide significantly quicker model run times for TUFLOW users.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, most of the functionality and features of TUFLOW Classic are available in HPC. Additionally, HPC offers several advanced features not supported in Classic, including:&lt;br /&gt;
* Quadtree and sub-grid sampling&lt;br /&gt;
* High resolution map output grids &lt;br /&gt;
* Groundwater infiltration and sub-surface flows&lt;br /&gt;
* Wu turbulence formulation &lt;br /&gt;
* TMR bridge inputs (2d_bg) and simulation methods  &lt;br /&gt;
&lt;br /&gt;
===Solution Scheme, Cell Discretisation and Parallelisation===&lt;br /&gt;
TUFLOW HPC is an explicit solver for the full 2D Shallow Water Equations (SWE), including a sub-grid scale eddy viscosity model.  The scheme is both volume and momentum conserving, is 2nd order in space and 4th order in time, with adaptive or fixed timestepping. It is unconditionally stable. TUFLOW HPC&#039;s computational approach differs from TUFLOW Classic, which is a 2nd order (space) implicit finite difference solver. Both TUFLOW HPC and Classic solve the 2D SWE on the same uniform Cartesian grid configuration. Computationally each 2D cell includes 9 sub-grid points.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: HPC Cell Design.PNG |300px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ZC point:&lt;br /&gt;
* Defines the volume of active water (cell volume is based on a flat square cell that wets and dries at a height of ZC plus the Cell Wet/Dry Depth); &lt;br /&gt;
* Controls when a cell becomes wet and dry (note that cell sides can also wet and dry); and&lt;br /&gt;
* Determines the bed slope when testing for the upstream controlled flow regime.&lt;br /&gt;
The ZU and ZV points:&lt;br /&gt;
* Control how water is conveyed from one cell to another;&lt;br /&gt;
* Represent where the momentum equation terms are centred and where upstream controlled flow regimes are applied;&lt;br /&gt;
* Deactivate if the cell has dried (based on the ZC point) and cannot flow; and&lt;br /&gt;
* Wet and dry independently of the cell wetting or drying (see Cell Wet/Dry Depth).  This allows for the modelling of “thin” obstructions such as fences and thin embankments relative to the cell size (e.g. a concrete levee).&lt;br /&gt;
ZH points:&lt;br /&gt;
* Play no role hydraulically. This point location is used for output processing;&lt;br /&gt;
* The only elevations written to the .2dm mesh file (by default, binary output is interpolated/extrapolated to the cell corners).&lt;br /&gt;
&lt;br /&gt;
Within the above sub-grid framework, using TUFLOW HPC time derivatives of cell averaged water depth, u-velocity and v-velocity are computed on a cell-by-cell basis and the model evolved using an explicit ODE solver. Calculation of the cell based derivatives are highly independent of each other making it possible to run this solution scheme across multiple processors or GPU cards. Parallelisation is done by breaking up the model into vertical ribbons. Each ribbon of the model is run on a different processor (or GPU card) with boundary information shared between processors at each timestep.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Mesh_Ribbon_Splitting.png |360px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mass Conservation and Timestep===&lt;br /&gt;
&lt;br /&gt;
The explicit finite volume solution scheme utilised in HPC is mass conserving by construction (0% mass error). This differs to TUFLOW Classic, which can continue to simulate a model with some volume error due to it being an implicit finite difference scheme. The stability of the explicit finite volume scheme used in TUFLOW HPC is linked to the timestep, flow velocities, water depth, and eddy viscosity. The maximum timestep that can be used while maintaining model stability changes as the model evolves. While it is possible to choose a fixed timestep ahead of time (similarly to TUFLOW Classic), shorter run times and guaranteed model stability from start to finish may be achieved through the use of adaptive timestepping where the solver continually modifies the timestep based on various stability criteria. This is explained in more detail in our &amp;lt;u&amp;gt;[[HPC_Adaptive_Timestepping |  Adaptive Timestepping]]&amp;lt;/u&amp;gt; page.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compatible Graphic Cards (GPU) ===&lt;br /&gt;
TUFLOW HPC’s GPU hardware module is only compatible with NVIDIA architecture CUDA enabled GPU cards. AMD GPU cards are NOT compatible.  A list of CUDA enabled GPUs can be found on the following website: &amp;lt;u&amp;gt;http://developer.nvidia.com/cuda-gpus &amp;lt;/u&amp;gt;.  &lt;br /&gt;
To check if your computer has an NVIDA GPU and if it is CUDA enabled:&lt;br /&gt;
* Right click on the Windows desktop;&lt;br /&gt;
* If you see “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue, the computer has an NVIDIA GPU;&lt;br /&gt;
* Click on “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue;&lt;br /&gt;
* The GPU model should be displayed in the graphics card information;&lt;br /&gt;
* Check to see if the graphics card is listed on the following website: &amp;lt;u&amp;gt;http://developer.nvidia.com/cuda-gpus&amp;lt;/u&amp;gt;&lt;br /&gt;
On the NVIDA website each CUDA enabled graphics card has a “Compute Capability” listed.  For cards with a compute capability of 1.2 or less, only the single precision version of the GPU Module can be utilised.  However, benchmarking has indicated that the double precision version is NOT required and that the TUFLOW_iSP exe should be used for all TUFLOW HPC GPU simulations. Extensive GPU hardware benchmarking has been undertaken to assist users who are upgrading hardware for TUFLOW modelling. Over 50 different hardware options have been tested for their speed performance. The results are provided on the &amp;lt;u&amp;gt;[[Hardware_Benchmarking | Hardware Benchmarking]]&amp;lt;/u&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
===Benefits of HPC===&lt;br /&gt;
So what does this mean for modellers? &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
By providing the ability to run models on Graphics Cards, we can achieve significantly shorter model run times, increasing our modelling capabilities to be able to run continuous hydraulic models, with higher cell resolution, across larger extents and more scenarios. Common TUFLOW HPC applications include:&lt;br /&gt;
* Monte Carlo design assessments&lt;br /&gt;
* Rainfall ensemble design assessments&lt;br /&gt;
* High resolution 1D underground / 2D above ground integrated urban drainage&lt;br /&gt;
* High resolution floodplain lumped hydrology / hydraulic modelling (either fully 2D or including nested 1D open channels and pipes)  &lt;br /&gt;
* Whole of catchment direct rainfall&lt;br /&gt;
* Flood forecast modelling&lt;br /&gt;
* Long-term water resource management modelling&lt;br /&gt;
&lt;br /&gt;
The unconditional stability and higher order accuracy of TUFLOW HPC also lends itself well to highly transient situations, such as dam break assessments, where other solvers would either become unstable, lose accuracy or experience impractical simulation slow-down due to the need to solve at an extremely small timestep.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ HPC_Modelling_Guidance | Back to HPC Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45843</id>
		<title>TUFLOW 2D Hydraulic Structures</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45843"/>
		<updated>2026-04-10T02:03:26Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* 2D BG Shape (2d_bg) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= 2D Structure Modelling Theory =&lt;br /&gt;
The theory behind the modelling of energy losses and affluxes of hydraulic structures is presented in the following webinars by Bill Syme and Greg Collecutt (TUFLOW Developers).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#structures Webinar Link: Modelling Energy Losses at Structures]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#nov2022_hydraulic_modelling_bridge Webinar Link: 1D, 2D &amp;amp; 3D Hydraulic Modelling of Bridges]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Bridge Modelling in TUFLOW - Overview =&lt;br /&gt;
The TUFLOW 2D solution explicitly predicts the majority of “macro” losses due to the expansion and contraction of water through a constriction, or around a bend, provided the resolution of the grid is sufficiently fine (&amp;lt;u&amp;gt;[https://www.tuflow.com/Download/Publications/Flow%20Through%20an%20Abrupt%20Constriction%20-%202D%20Hydrodynamic%20Performance%20and%20Influence%20of%20Spatial%20Resolution,%20Barton,%202001.pdf Barton, 2001]; [https://www.tuflow.com/Download/Publications/Modelling%20of%20Bends%20and%20Hydraulic%20Structures%20in%20a%202D%20Scheme,%20Syme,%202001.pdf Syme, 2001]; [https://www.tuflow.com/Download/Technical_Memos/Modelling%20Bridge%20Piers%20in%202D%20using%20TUFLOW.pdf Ryan, 2013]&amp;lt;/u&amp;gt;). Where the 2D model is not of fine enough resolution to simulate the “micro” losses (e.g. from bridge piers, vena contracta, losses in the vertical (3rd) dimension), additional form loss coefficients and/or modifications to the cells widths and flow height need to be added. &lt;br /&gt;
==Contraction/Expansion Losses (“Macro” Losses)==&lt;br /&gt;
Loss of energy is caused by the flow contraction during the expansion of water after the vena-contracta inside a bridge section and the flow expansion downstream a bridge. As discussed above, this type of &amp;quot;macro&amp;quot; losses can be explicitly resolved by the TUFLOW 2D solver, provided that a proper turbulence model and mesh size are used. Below is an example of the 2D modelling of flow contraction/expansion at a pair of bridge abutments.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:FC_Velocity_Example.PNG|600px]]  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pier Losses==&lt;br /&gt;
Piers are usually smaller than the 2D cell size in real-world flood models. Although flexible mesh solver or quadtree refinement can be applied to reduce the local cell size around the pier, it also comes with an expensive computational cost that could significantly increase the simulation time. More practically, the backwater effect of piers can be modelled as sub-grid form losses. &lt;br /&gt;
&lt;br /&gt;
Pier form loss coefficients can be derived from information in publications such as &amp;lt;u&amp;gt;[https://www.fhwa.dot.gov/engineering/hydraulics/library_arc.cfm?pub_number=1&amp;amp;id=5 &#039;&#039;Hydraulics of Bridge Waterways&#039;&#039; (Bradly, 1978)] or [https://austroads.com.au/publications/bridges/agbt08 &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018)]&amp;lt;/u&amp;gt;. Energy loss estimated from bridge piers or other obstructions, vertical or horizontal, that do not cause upstream controlled flow regimes like pressure flow, are dependent on the ratio of the obstruction&#039;s area perpendicular to the flow direction to the gross flow area of the bridge opening, the shape of the piers or obstruction, and the angularity of the piers/obstruction to the flow direction. For example, using Hydraulics of Bridge Waterways (Bradly, 1978) the approach is: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Calculate the ratio of the water area occupied by piers to the gross water area of the constriction (both based on the normal water surface) and the angularity of the piers. These inputs are used to calculate &amp;quot;J&amp;quot; in the FHA documentation.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Figure 4.10 &#039;&#039;Incremental Backwater Coefficient for Piers&#039;&#039; data to calculate Kp. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:incremental_backwater_coefficient_2018_pier_losses.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: the pier form loss coefficients in Hydraulics of Bridge Waterways are derived based on the cross-sectional averaged velocity through the bridge opening in the absence of piers. It&#039;s not necessary to specify a blockage value if a pier form loss coefficient estimated from this method is used.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bridge Deck and Rail (Super Structure)==&lt;br /&gt;
When a bridge deck become partially or completely submerged, the deck could generate extra afflux resulting in increased water levels and flood extents upstream of the structure. The flow around the deck is highly 3-dimentional and complexed due to the different deck designs/profiles and/or the occurrence of pressure flow. In 2D SWE solver, depth-varying form loss values are often needed to reproduce the afflux caused by such structure. Due to the complexity of the flow, guidelines on how to set the form loss coefficient for the bridge deck are rare. We have carried out a joint research with QLD TMR (Queensland Department of Transport and Main Roads) regarding how to choose a proper form loss value for the bridge deck &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt; . In the research, CFD modelling was conducted to investigate the characteristics of energy loss of a simple bridge with a flat bottomed deck and guardrails.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:CFD_study.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Below are the key findings from the study:&lt;br /&gt;
*The results displayed a characteristic shape for head loss coefficient as a function of downstream water level over the deck thickness (TW/T).&lt;br /&gt;
*The head loss (afflux) peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out.&lt;br /&gt;
[[File:FormLoss_vs_TWT.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bridge Design (hB/T) vs Form Loss Coefficient Table===&lt;br /&gt;
The peak loss coefficient value is a function of the ratio of the depth underneath the deck (hB) and the thickness of the deck (T). This table can be used to estimate the deck form loss coefficient based on the bridge design (hB/T).&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;35%&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=55%| Deck Height to Thickness Ratio&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=45%| Peak Form Loss Coefficient&lt;br /&gt;
|-&lt;br /&gt;
| Scenario A (hB/T) = 2 || 0.42&lt;br /&gt;
|-&lt;br /&gt;
| Scenario B (hB/T) = 4 || 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Scenario C (hB/T) = 6 || 0.20&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The solid portion of the guard rails (blockage * rail depth) can be added to T in addition to the deck thickness to calculate hB/T. &lt;br /&gt;
*For bridge with more complicated designs (e.g. girders), higher form loss might be required due to the higher surface roughness of the bridge. &lt;br /&gt;
*If the hB/T ratio is less than 2 or greater than 6, use a peak form loss coefficient of 0.42 (minimum) or 0.20 (maximum), respectively.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: This form loss value should not be confused with the value of 1.56 used in the pressure flow approached adopted in &amp;lt;u&amp;gt;[[1D_Bridges | TUFLOW 1D &amp;quot;B&amp;quot; and &amp;quot;BB&amp;quot; bridge]]&amp;lt;/u&amp;gt;. TUFLOW 1D bridge pressure flow approach is based on the section 4.13.2 &amp;quot;All Girders in Contact with Flow (Case II)&amp;quot; of &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018). The original hydraulic experiment conducted by &amp;lt;u&amp;gt;[https://hdl.handle.net/10217/39009 Liu et al (1957)]&amp;lt;/u&amp;gt; in a laboratory flume with a pair of bridge abutments and a deck. The flow conditions were similar to orifice flow due to the high blockage ratio caused by the abutments and the deck. When modelling bridges in 2D, the contraction/expansion losses caused by the abutments would be handled explicitly by the 2D solver, so a value 1.56 can lead to duplication of the contraction/expansion losses caused by the bridge abutments.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=TUFLOW 2D Bridge Setup=&lt;br /&gt;
There are two methods available to model depth varying form loss of a bridge structure: &lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 |2D Layered Flow Constriction (2d_lfcsh)]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:The traditional method used to model depth-varying form loss through bridge components such as piers, decks, and rails.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 |2D BG Shape (2d_bg)]]&amp;lt;/u&amp;gt; (introduced in the 2023 release)&lt;br /&gt;
:A simplified approach developed to simplify the model input based on the findings from the joint TMR Study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Both methods provide options for representing flow surcharging, the pressure flow of bridge decks and eventually submerged bridge flow at higher water levels. During the surcharging of bridge decks, higher energy losses can be specified to simulate the pressure flow. &lt;br /&gt;
&lt;br /&gt;
Examples for how to configure both approaches are provided in the 2D structures section of the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#2D_Structures |TUFLOW Wiki Example Models]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Tutorial_M04 |Tutorial Module 4]]&amp;lt;/u&amp;gt; - 2D Bridges.&lt;br /&gt;
&lt;br /&gt;
==2D Layered Flow Constriction (2d_lfcsh)==&lt;br /&gt;
Four flow constriction layers are represented in a 2d_lfcsh layer. The lower three layers represents the pier, the bridge deck and the rails. Each layer has its own attributes to specify the blockage and the form loss coefficient. The top (fourth) layer assumes the flow is unimpeded, representative of flow over the top of a bridge. Within the same shape, the invert of the bed, and thickness of each layer can vary in 3D.&lt;br /&gt;
&lt;br /&gt;
The following table provides an overview for how to determine the blockage and form loss coefficient for each layer. Note that this is just an overview and additional guidelines may need to be considered.&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; If no calibration is available, estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table || Full blockage, no flow through the deck &lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% ||   Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt;&lt;br /&gt;
If no calibration data is available, combined FLC for Layers 2 and 3 should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = L2_Depth + (pBlockage × L3_Depth)  &lt;br /&gt;
*(pBlockage × L3_Depth) represents the solid portion of the rails  &lt;br /&gt;
*L2 FLC and L3 FLC should sum to the combined FLC  &lt;br /&gt;
|Blockage and FLC depends on rail type &amp;lt;br&amp;gt; Sensitivity testing with 100% blockage is recommended due to potential for debris during flood&lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_lfcsh_attributes.png | 500px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blockage===&lt;br /&gt;
&lt;br /&gt;
The 2d_lfcsh functions by adjusting the flow width and the form loss of 2D cell faces. The combined blockage across the 4 layers is calculated at each simulation timesteps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Blockage_total_equation_01.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
where&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the actual depth of water in layer &#039;&#039;&#039;&#039;&#039;i&#039;&#039;&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;total&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the total water depth&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach=== &lt;br /&gt;
&lt;br /&gt;
The combined form loss coefficient is determined using one of three methods. The form loss coefficient method can be specified either individually using the 2d_lfcsh “Shape_Options” attribute or globally using the .tcf command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Layered FLC Default Approach&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; [ METHOD A | {METHOD B} | METHOD C | METHOD D]&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD A&amp;lt;/b&amp;gt;: The losses are accumulated as the water level rises through the layers. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_cumulate.png |450px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Applies the full accumulated form loss continuously, even when overtopping begins (no reduction)&lt;br /&gt;
:Note: Simpler method but tends to overestimate losses when the structure is submerged or overtopped&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD B&amp;lt;/b&amp;gt; (default): the losses are applied pro-rata according to the depth of water in each layer. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_portion.png |430px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure&lt;br /&gt;
:Note: Maintains backward compatibility but may underrepresent losses during pressurised or overtopped flows&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD C&amp;lt;/b&amp;gt; (recommended): hybrid approach combining Method A and Method B. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_methodC.png |520px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Gradual increase in form loss with water level, following Method A&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure, following Method B&lt;br /&gt;
:Note: Recommended method; aligns closest to CFD modelling results and TUFLOW HPC behaviour. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD D&amp;lt;/b&amp;gt;: Allows the modeller to control the depth at which the losses start to reduce when the flow transitions between pressure flow and drowned flow. &lt;br /&gt;
:This approach is the same used by the 2d_bg layer (introduced in the 2023-03 release). It is recommended to use the 2d_bg layer as it has the benefit of a simplified attribute table, for easier user input.&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
&lt;br /&gt;
In this study, a combined form loss coefficient of 0.35 was used to match observed head loss during slight overtopping of a bridge. The FLC values for each layer were adjusted to achieve the correct combined form loss. The table and plot show how each layer contributes to the total form loss and highlight the differences in calculated form loss between the three methods.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;60%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=6%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=12%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method A&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method B&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method C&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5.0 || 5   || 0.07 || 0.07 || 0.07 || 0.07 || 0.07 || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1.5 || 100 || 0.15 || 0.22 || 1.05 || 0.30 || 0.15 || 0.22&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 1.0 || 50  || 0.13 || 0.35 || 0.70 || 0.35 || 0.13 || 0.35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:FLC_vs_height_updated.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2D BG Shape (2d_bg)==&lt;br /&gt;
2D BG Shape is similar to the Layered Flow Constriction, but has several updates to simplify the input based on the findings from the joint study with TMR &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The following table provides an overview of how to determine the blockage and form loss coefficient for each layer. Note that this is just an overview and additional guidelines may need to be considered.&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || rowspan=&amp;quot;2&amp;quot; | The Super Structure (Super_S) is the bridge deck and rails layers combined. &amp;lt;br&amp;gt; &lt;br /&gt;
Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; &lt;br /&gt;
If no calibration data is available, the Super_S FLC should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = Deck_Depth + (Rail_pBlockage*Rail_Depth)  &lt;br /&gt;
*(Rail_pBlockage*Rail_Depth) represents the solid portion of the rails&lt;br /&gt;
|| Full blockage, no flow through the deck&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% || Sensitivity testing with 100% blockage is recommended due to potential for debris during flood events&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Bridge block.jpg | 800px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Inflection Point===&lt;br /&gt;
&lt;br /&gt;
Based on findings from the joint study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;, the head loss peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out. The &#039;SuperS_IPf&#039; attribute (inflection point factor, default = 1.6) can be used to define the height of the inflection point. The solid portion of the rail layer is also added to the deck thickness to calculate the depth to the inflection point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;), i.e.:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg_infection_point.png | 520px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach===&lt;br /&gt;
The form loss approach is similar to the FLC approach METHOD C, with L2/L3 replaced by a single super structure layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg.png | 480px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
This example uses the same bridge setup described in the&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Form_Loss_Calibration_Example_-_Iowa_River_Flood_Study | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; section, with the following parameters applied: &lt;br /&gt;
*SuperS_FLC = 0.28 &lt;br /&gt;
*SuperS_Ipf = 1.6, &lt;br /&gt;
The Depth to Inflection Point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;) is calculated as 3.2m above the bridge soffit. &lt;br /&gt;
&lt;br /&gt;
The table and figure below show how the form loss value varies with water depth.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;32%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Form Loss&lt;br /&gt;
|-&lt;br /&gt;
| Pier || 5.0 || 5   || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| Deck || 1.5 || 100 || rowspan=&amp;quot;2&amp;quot; | 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Rail || 1.0 || 50 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:FLC_vs_height_bg.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2D Bridges Line vs Polygon Layer ==&lt;br /&gt;
The form loss coefficient (FLC) is applied differently when using a line compared to a polygon for both 2d_lfcsh and 2d_bg inputs. The FLC is applied at cell sides (u and v faces) as this is where velocities are calculated. &amp;lt;br&amp;gt; &lt;br /&gt;
For larger bridges that spread across multiple cells, it is recommended to use a polygon layer, which selects all u and v faces falling within the polygon.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;2D Layered Flow Constriction (2d_lfcsh)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides&lt;br /&gt;
| This approach is cell size independent. It is the easiest setup and the preferred / recommended approach when using 2d_lfcsh.&lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| between zero and 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| A cell is selected if the polyline intersects the cell crosshair. Caution should be taken when using a &amp;quot;thick&amp;quot; line, as changes in cell size can cause it to become a &amp;quot;wide&amp;quot; line. If this occurs, the FLC attribute may need to be recalculated to avoid overestimating or underestimating losses.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| larger than 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge &amp;lt;br&amp;gt;&#039;&#039;(may need to be recalculated, see notes)&#039;&#039;&lt;br /&gt;
| FLC divided by number of cell sides in the direction of flow &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;(number of cell sides in the direction of flow is calculated as line width divided by cell size)&#039;&#039;&lt;br /&gt;
| Polygon shapes are recommended if more than 3 rows of faces must be selected.. &amp;lt;br&amp;gt; &lt;br /&gt;
Caution should be taken when using a &amp;quot;wide&amp;quot; line. The cell size and alignment of the 2d_lfcsh line may result in selecting too many or too few cell faces in the direction of the flow. The FLC input may need to be recalculated to ensure FLC Applied multiplied by the number of cell sides in the direction of flow equates to the intended total form loss.  &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; | Polygon&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Total loss per unit length (meters or feet) in the direction of flow&lt;br /&gt;
| FLC * cell size applied to all sides of selected cells &lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2D Bridge (2d_bg)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides. &lt;br /&gt;
| This approach is cell size independent. &lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| larger than zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| This approach is cell size independent. A cell is selected if the polyline intersects the cell crosshair.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| Not supported&lt;br /&gt;
| –&lt;br /&gt;
| –&lt;br /&gt;
| BG polygon shapes are recommended if more than 3 rows of faces must be selected.&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; |Polygon&lt;br /&gt;
| -&lt;br /&gt;
| &#039;&#039;(used to automatically distribute the total FLC to the selected faces)&#039;&#039; &lt;br /&gt;
| Total form loss of the bridge &lt;br /&gt;
| FLC / Deck_Width * cell size applied to all sides of selected cells &lt;br /&gt;
| For bridges modelled using a 2d_bg polygon the relative ratio of the bridge width to the 2D cell size should be 4 or greater. For more information on this see &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/2d_bg_R_Bridge_Configuration_Advice_202503.pdf 2d_bg_R_Bridge_Configuration_Advice.pdf]&amp;lt;/u&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following diagrams demonstrate how the input FLC is applied for the four geometry options for 2d_lfcsh and 2d_bg layers: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:2dlfcsh 2dbg combined v2.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
It is good modelling practice to check the &amp;lt;u&amp;gt;[[Check_Files_2d_lfcsh_uvpt | lfcsh_uvpt_check]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Check Files 2d bg uvpt check | bg_uvpt_check]]&amp;lt;/u&amp;gt; files to confirm the number of faces selected and the FLC values assigned. It is also strongly recommended to undertake a sensitivity analysis on the applied form losses in the model to check if it makes any difference to the results and/or double check against other methods (hand calculations, other software, CFD modelling), especially if the bridge is near an area of interest. If calibration data is available, this should be used to guide the form loss value specification.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Common Questions Answered (FAQ)=&lt;br /&gt;
== What blockage values should I use for bridge guard rails? ==&lt;br /&gt;
The blockage of bridge guard rails can be anything from 100% blocked (solid concrete rails) to 10% blocked (very open rails). In addition, the accumulation of debris during a flood can be substantial as shown in the image below. Sensitivity testing with 100% blockage is recommended. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge rail debris.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
== How to conduct sensitivity test for 2D bridges? ==&lt;br /&gt;
General recommendations to cross-check the results are:&lt;br /&gt;
* Compare computed affluxes against desktop methods (e.g. Hydraulics of Bridge Waterways, 1978) and/or other software including CFD, especially for unusual bridge designs. &lt;br /&gt;
* Use any recorded flood marks or general observations from past events to check and calibrate FLC values. &lt;br /&gt;
* Conduct sensitivity testing by assessing the impact and influence of FLC values on your modelling objectives. The afflux resulting from the FLC values will be proportional to the velocity head, i.e. ∆h=FLC*(v^2/2g). As such, if velocities are low (e.g. 1 m/s), the results may not be overly sensitive to uncertainties in the FLC values. If completing a check using this equation for a long skew bridge it is best to calculate the total structure velocity from a PO line digitised in the same location as the bridge.&lt;br /&gt;
&lt;br /&gt;
Finally, after completing sensitivity testing and understanding the range of uncertainty due to unknowns like the degree of blockage and influence of FLC values (e.g. +/-20%), you are in a position to discuss with your client how best to proceed.  For example, if the modelling is to set planning levels for a development upstream then it may be appropriate to choose values on the higher side (higher FLC values and/or blockage assumptions), noting that the uncertainty may be amply covered by a regulatory freeboard.  Conversely, if the development is on the downstream side the conservative approach would be to use the results at the lower end of your FLC/blockage values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge Flood Debris Loading.jpg | 500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I use both FLC and blockage for layer one in 2D bridge layered flow constriction? ==&lt;br /&gt;
When applying FLC and blockage values to model obstructions such as piers, the following considerations need to be taken into account:&lt;br /&gt;
* The FLC value applies an energy loss along 1D channels or across 2D cell faces equivalent to FLC*V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g where V is the 1D channel velocity or the 2D cell face velocity.&lt;br /&gt;
* FLC values are often sourced from publications such as Hydraulics of Bridge Waterways or AustRoads (e.g.  Kp chart for piers).  &lt;br /&gt;
* If possible, establish whether the source of the FLC value is based on the approach velocity (the velocity in the absence of piers) or structure velocity (the velocity with area blocked out by the piers) noting that it often isn’t clear or stated.  &lt;br /&gt;
** If it is the structure velocity, this is usually the velocity at the vena-contracta (point of greatest contraction within the entrance to the structure and therefore highest velocity) - see image below.  Bluff or sharp-edged obstructions will have a much more pronounced vena-contracta, and therefore higher velocity compared with a round-edged obstruction. &lt;br /&gt;
** FLC values based on the approach velocity will be higher than those based on the structure velocity to achieve the same energy loss.&lt;br /&gt;
* Applying a blockage equivalent to the obstruction width will increase, usually very slightly, the velocity of the 1D channel or 2D cell face.  This won’t be the vena-contracta velocity, but a velocity between the approach velocity and the vena-contracta velocity.  A greater blockage will need to be applied to emulate the vena-contracta velocity.&lt;br /&gt;
* If the FLC source value is based on:&lt;br /&gt;
** The approach velocity then there is no need to apply a blockage value.&lt;br /&gt;
** The structure velocity then the blockage value should be applied noting that it may be appropriate to apply a larger blockage to take into account the vena-contracta.&lt;br /&gt;
* If it is not clear or unknown whether the FLC source value is based on the approach or structure velocity, the recommendation would be to apply the blockage in the interests of being slightly conservative on the upstream flood level calculation.&lt;br /&gt;
* For most minor obstructions such as bridge piers, the blockage is usually relatively small and whether included or not has a negligible or minor affect on flood levels compared with other factors such as the approach embankments and the bridge deck.&lt;br /&gt;
* Blockage from debris wrapped around piers can have a greater influence on the results than the effect of applying or not applying a blockage. Debris wrapped around piers can be accounted for in the FLC value calculated for the pier layer. &lt;br /&gt;
* As always, sensitivity testing with and without blockage and +/- the FLC value is highly recommended to understand their importance in regard to the broader modelling objectives and the effects of uncertainties in the input data, boundaries, other parameters such as Manning’s n values, and the accuracy of the numerical solution scheme (see &amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#maximise_accuracy Maximising the Accuracy of Hydraulic Models webinar]&amp;lt;/u&amp;gt;).&lt;br /&gt;
[[File: Vena_contracta.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Image showing the formation of the vena-contracta.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t see results that I expect when using 2d_lfcsh layer==&lt;br /&gt;
The 2d_lfcsh layer is a versatile feature that was designed to model bridges in 2D, but can also be used for other applications like fences, buildings raised on pillars and so on.&lt;br /&gt;
Some of the unexpected results could be:&lt;br /&gt;
* Water level going through the bridge deck in 2D map output.&lt;br /&gt;
* Water transiting through 100% blocked Layer 1, e.g. fences with solid base.&lt;br /&gt;
* SHMax.csv reporting values above the bridge deck when 2D map output reports water level lower than the top of the bridge deck.&lt;br /&gt;
&lt;br /&gt;
TUFLOW is a 2D solution (not 3D), in the 2d_lfcsh layer the percent blockage and form loss coefficient applied to the cell faces is depth averaged across the entire cell face (across Layer 1, 2 and 3):&amp;lt;br&amp;gt;&lt;br /&gt;
*For bridges, where Layer 2 has a 100% blockage applied, the minimum flow width of 0.001m is used and is averaged with the Layer 1 blockage (based on the depth of the water). This may result in a water level being reported within or above the bridge deck, which would represent the pressure head.&lt;br /&gt;
*Layered flow constriction works by adjusting the flow area of the cell faces by any blockages to generate the correct depth averaged velocity at each face at which the form losses are applied as a fraction of the V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g kinetic energy. Calculating the correct velocity is critical for determining the losses as the losses are proportional to the velocity squared. &amp;lt;br&amp;gt;&lt;br /&gt;
*For a layered flow constriction cell face the flow area cannot be zero above the invert of Layer 1 to avoid a divide by zero in the computations, therefore a minimum average flow width after applying blockages of 0.001 m is applied.  if Layer 1 is 100% blocked, a very small amount of water will flow through Layer 1.  If this is unacceptable, instead of applying 100% blockage of Layer 1, the preferred approach is to start the layered flow constriction at the top of Layer 1 or raise the ground elevation to the top of Layer 1 using one of the Z Shape modification functions (e.g. a breakline). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:100% Blockage Diagram.png | 500px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I model bridge piers explicitly in 2D using very small cells? ==&lt;br /&gt;
It isn&#039;t recommended to explicitly model bridge piers by blocking out the pier faces in TUFLOW, or in any hydraulic modelling software based on solving Shallow Water Equations(SWE). Due to the 3-dimentiality of the flow and turbulence around a pier, computational fluid dynamics (CFD) approach is often required to simulate the flow around piers explicitly. The wake turbulence behind a simple-shape pier can be resolved to some extent using extremely fine mesh in TUFLOW (see calibration example to a flume experiment in the [https://www.tuflow.com/library/webinars/#structures webinar on Energy Losses at Structures]), however the predictions for head losses show notable sensitivities to the mesh size, the mesh design, and the choice of turbulence model. The extremely fine mesh resolution also results in significantly higher computational costs. &lt;br /&gt;
&lt;br /&gt;
Therefore, the safest and strongly recommended approach with regard to establishing head losses and consequently flood levels, is to model the effects of such obstructions with form loss coefficients (applied to selected mesh cells) that have been derived from physical testing. This approach has been shown to provide the most consistent results across various mesh resolutions. It also has the added benefit that, by avoiding small cells in the mesh, it will provide much more efficient run times for flow solvers.&lt;br /&gt;
&lt;br /&gt;
[[File:Flow round a cylinder.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The point of flow separation around an object has a major bearing on the drag coefficient and is not reliably reproduced by 2D or 3D software.&#039;&#039;&lt;br /&gt;
&amp;lt;!-- SG commented out, too much CFD info&lt;br /&gt;
Small scale obstructions to the flow, such as trees, poles, piers, etc. cause additional head losses along a flow path due to their drag characteristics. Historically, form loss (or drag) coefficients for various profile shapes have been determined as a function of Reynold’s number through experimental testing. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More recently, computational fluid dynamics (CFD) has been used to attempt to reproduce the velocity field in the wake of such objects. Although providing better results than 2D modelling, the results have not always agreed well with physical tests. In particular, the drag of a given profile depends on the exact location of flow separation points, which in turn depends on the ability of the CFD code to predict the laminar to turbulent transition in the boundary layer, which is many times smaller than the profile shape itself. In general, the form loss results from CFD models show significant sensitivity to mesh size, mesh design, and choice of turbulence model. Considerable caution needs to be exercised even for CFD modelling.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to best convert flow constriction data (2d_fc or 2d_fcsh) into newer formats (2d_lfcsh or 2d_bg)? ==&lt;br /&gt;
The form loss parameters can be transferred from the flow constriction (2d_fc or 2d_fcsh) to the first layer of the layered flow constriction (2d_lfcsh) or pier layer of the 2d_bg. Definition of the remaining form loss and blockage layer inputs should follow the guidance outlined in &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 | 2D BG Shape]]&amp;lt;/u&amp;gt; paragraphs.&amp;lt;br&amp;gt;&lt;br /&gt;
When using floating pontoon (type FD in the 2d_fc or 2d_fcsh) different setup might need to be used for different events. For large events when floating pontoon becomes fixed at the top of the supporting piles, standard 2d_lfcsh setup can be used. Smaller events when the pontoon is floating at different heights might require more sensitivity testing of the structure parameters to find out a setup the matches the reality as close as possible.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I model bridges in 1D or 2D Domain? ==&lt;br /&gt;
The recommended approach typically depends on the study objectives and if the channel upstream and downstream of the bridge is modelled in 1D or 2D. To preserve the momentum as accurately as possible the bridge should be modelled in the same dimension as the channel, e.g. 1d_nwk bridge if the channels is in 1D and 2d_bg or 2d_lfcsh if the channel is modelled in 2D.&amp;lt;br&amp;gt;&lt;br /&gt;
In 2D, the expansion/contraction losses are modelled based on the topography and don&#039;t need to be estimated as attributes as for 1D modelling. Also, for higher flows where the bridge is overtopped, 2D is preferable approach. &lt;br /&gt;
&lt;br /&gt;
== What is the difference between downstream and upstream controlled flow? ==&lt;br /&gt;
Downstream control means a change in downstream water level will cause a change in upstream water level. Upstream control means the upstream water level is insensitive to the downstream water level and usually indicates the occurrence of supercritical flow.&lt;br /&gt;
&lt;br /&gt;
== What FLC values should be used for 2d_bg bridge if hB/T is below 2 or above 6? ==&lt;br /&gt;
TMR has extended the CFD simulation to hB/T ratios of 1 to 10. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&lt;br /&gt;
If hB/T is outside this ratio:&lt;br /&gt;
* hB/T ratios of less than 1 represent a very unusual bridge sitting low to the ground, and the peak FLC may increase above the end value (FLC of 0.6) in a way that doesn&#039;t follow the research trend or extrapolation. For these cases we would recommend using CFD modelling to obtain a more informed value. Alternatively, computing an FLC based on pressure flow or using 1D culvert might be considered.&lt;br /&gt;
* For hB/T ratios of greater than 10, the FLC is likely to continue to decrease, but probably not significantly. Clamping to the end value (FLC of 0.16) might be considered the more conservative approach (if the primary concern is flood levels upstream of the bridge).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45842</id>
		<title>TUFLOW 2D Hydraulic Structures</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45842"/>
		<updated>2026-04-10T02:03:08Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* 2D Layered Flow Constriction (2d_lfcsh) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= 2D Structure Modelling Theory =&lt;br /&gt;
The theory behind the modelling of energy losses and affluxes of hydraulic structures is presented in the following webinars by Bill Syme and Greg Collecutt (TUFLOW Developers).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#structures Webinar Link: Modelling Energy Losses at Structures]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#nov2022_hydraulic_modelling_bridge Webinar Link: 1D, 2D &amp;amp; 3D Hydraulic Modelling of Bridges]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Bridge Modelling in TUFLOW - Overview =&lt;br /&gt;
The TUFLOW 2D solution explicitly predicts the majority of “macro” losses due to the expansion and contraction of water through a constriction, or around a bend, provided the resolution of the grid is sufficiently fine (&amp;lt;u&amp;gt;[https://www.tuflow.com/Download/Publications/Flow%20Through%20an%20Abrupt%20Constriction%20-%202D%20Hydrodynamic%20Performance%20and%20Influence%20of%20Spatial%20Resolution,%20Barton,%202001.pdf Barton, 2001]; [https://www.tuflow.com/Download/Publications/Modelling%20of%20Bends%20and%20Hydraulic%20Structures%20in%20a%202D%20Scheme,%20Syme,%202001.pdf Syme, 2001]; [https://www.tuflow.com/Download/Technical_Memos/Modelling%20Bridge%20Piers%20in%202D%20using%20TUFLOW.pdf Ryan, 2013]&amp;lt;/u&amp;gt;). Where the 2D model is not of fine enough resolution to simulate the “micro” losses (e.g. from bridge piers, vena contracta, losses in the vertical (3rd) dimension), additional form loss coefficients and/or modifications to the cells widths and flow height need to be added. &lt;br /&gt;
==Contraction/Expansion Losses (“Macro” Losses)==&lt;br /&gt;
Loss of energy is caused by the flow contraction during the expansion of water after the vena-contracta inside a bridge section and the flow expansion downstream a bridge. As discussed above, this type of &amp;quot;macro&amp;quot; losses can be explicitly resolved by the TUFLOW 2D solver, provided that a proper turbulence model and mesh size are used. Below is an example of the 2D modelling of flow contraction/expansion at a pair of bridge abutments.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:FC_Velocity_Example.PNG|600px]]  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pier Losses==&lt;br /&gt;
Piers are usually smaller than the 2D cell size in real-world flood models. Although flexible mesh solver or quadtree refinement can be applied to reduce the local cell size around the pier, it also comes with an expensive computational cost that could significantly increase the simulation time. More practically, the backwater effect of piers can be modelled as sub-grid form losses. &lt;br /&gt;
&lt;br /&gt;
Pier form loss coefficients can be derived from information in publications such as &amp;lt;u&amp;gt;[https://www.fhwa.dot.gov/engineering/hydraulics/library_arc.cfm?pub_number=1&amp;amp;id=5 &#039;&#039;Hydraulics of Bridge Waterways&#039;&#039; (Bradly, 1978)] or [https://austroads.com.au/publications/bridges/agbt08 &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018)]&amp;lt;/u&amp;gt;. Energy loss estimated from bridge piers or other obstructions, vertical or horizontal, that do not cause upstream controlled flow regimes like pressure flow, are dependent on the ratio of the obstruction&#039;s area perpendicular to the flow direction to the gross flow area of the bridge opening, the shape of the piers or obstruction, and the angularity of the piers/obstruction to the flow direction. For example, using Hydraulics of Bridge Waterways (Bradly, 1978) the approach is: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Calculate the ratio of the water area occupied by piers to the gross water area of the constriction (both based on the normal water surface) and the angularity of the piers. These inputs are used to calculate &amp;quot;J&amp;quot; in the FHA documentation.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Figure 4.10 &#039;&#039;Incremental Backwater Coefficient for Piers&#039;&#039; data to calculate Kp. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:incremental_backwater_coefficient_2018_pier_losses.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: the pier form loss coefficients in Hydraulics of Bridge Waterways are derived based on the cross-sectional averaged velocity through the bridge opening in the absence of piers. It&#039;s not necessary to specify a blockage value if a pier form loss coefficient estimated from this method is used.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bridge Deck and Rail (Super Structure)==&lt;br /&gt;
When a bridge deck become partially or completely submerged, the deck could generate extra afflux resulting in increased water levels and flood extents upstream of the structure. The flow around the deck is highly 3-dimentional and complexed due to the different deck designs/profiles and/or the occurrence of pressure flow. In 2D SWE solver, depth-varying form loss values are often needed to reproduce the afflux caused by such structure. Due to the complexity of the flow, guidelines on how to set the form loss coefficient for the bridge deck are rare. We have carried out a joint research with QLD TMR (Queensland Department of Transport and Main Roads) regarding how to choose a proper form loss value for the bridge deck &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt; . In the research, CFD modelling was conducted to investigate the characteristics of energy loss of a simple bridge with a flat bottomed deck and guardrails.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:CFD_study.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Below are the key findings from the study:&lt;br /&gt;
*The results displayed a characteristic shape for head loss coefficient as a function of downstream water level over the deck thickness (TW/T).&lt;br /&gt;
*The head loss (afflux) peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out.&lt;br /&gt;
[[File:FormLoss_vs_TWT.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bridge Design (hB/T) vs Form Loss Coefficient Table===&lt;br /&gt;
The peak loss coefficient value is a function of the ratio of the depth underneath the deck (hB) and the thickness of the deck (T). This table can be used to estimate the deck form loss coefficient based on the bridge design (hB/T).&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;35%&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=55%| Deck Height to Thickness Ratio&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=45%| Peak Form Loss Coefficient&lt;br /&gt;
|-&lt;br /&gt;
| Scenario A (hB/T) = 2 || 0.42&lt;br /&gt;
|-&lt;br /&gt;
| Scenario B (hB/T) = 4 || 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Scenario C (hB/T) = 6 || 0.20&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The solid portion of the guard rails (blockage * rail depth) can be added to T in addition to the deck thickness to calculate hB/T. &lt;br /&gt;
*For bridge with more complicated designs (e.g. girders), higher form loss might be required due to the higher surface roughness of the bridge. &lt;br /&gt;
*If the hB/T ratio is less than 2 or greater than 6, use a peak form loss coefficient of 0.42 (minimum) or 0.20 (maximum), respectively.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: This form loss value should not be confused with the value of 1.56 used in the pressure flow approached adopted in &amp;lt;u&amp;gt;[[1D_Bridges | TUFLOW 1D &amp;quot;B&amp;quot; and &amp;quot;BB&amp;quot; bridge]]&amp;lt;/u&amp;gt;. TUFLOW 1D bridge pressure flow approach is based on the section 4.13.2 &amp;quot;All Girders in Contact with Flow (Case II)&amp;quot; of &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018). The original hydraulic experiment conducted by &amp;lt;u&amp;gt;[https://hdl.handle.net/10217/39009 Liu et al (1957)]&amp;lt;/u&amp;gt; in a laboratory flume with a pair of bridge abutments and a deck. The flow conditions were similar to orifice flow due to the high blockage ratio caused by the abutments and the deck. When modelling bridges in 2D, the contraction/expansion losses caused by the abutments would be handled explicitly by the 2D solver, so a value 1.56 can lead to duplication of the contraction/expansion losses caused by the bridge abutments.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=TUFLOW 2D Bridge Setup=&lt;br /&gt;
There are two methods available to model depth varying form loss of a bridge structure: &lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 |2D Layered Flow Constriction (2d_lfcsh)]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:The traditional method used to model depth-varying form loss through bridge components such as piers, decks, and rails.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 |2D BG Shape (2d_bg)]]&amp;lt;/u&amp;gt; (introduced in the 2023 release)&lt;br /&gt;
:A simplified approach developed to simplify the model input based on the findings from the joint TMR Study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Both methods provide options for representing flow surcharging, the pressure flow of bridge decks and eventually submerged bridge flow at higher water levels. During the surcharging of bridge decks, higher energy losses can be specified to simulate the pressure flow. &lt;br /&gt;
&lt;br /&gt;
Examples for how to configure both approaches are provided in the 2D structures section of the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#2D_Structures |TUFLOW Wiki Example Models]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Tutorial_M04 |Tutorial Module 4]]&amp;lt;/u&amp;gt; - 2D Bridges.&lt;br /&gt;
&lt;br /&gt;
==2D Layered Flow Constriction (2d_lfcsh)==&lt;br /&gt;
Four flow constriction layers are represented in a 2d_lfcsh layer. The lower three layers represents the pier, the bridge deck and the rails. Each layer has its own attributes to specify the blockage and the form loss coefficient. The top (fourth) layer assumes the flow is unimpeded, representative of flow over the top of a bridge. Within the same shape, the invert of the bed, and thickness of each layer can vary in 3D.&lt;br /&gt;
&lt;br /&gt;
The following table provides an overview for how to determine the blockage and form loss coefficient for each layer. Note that this is just an overview and additional guidelines may need to be considered.&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; If no calibration is available, estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table || Full blockage, no flow through the deck &lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% ||   Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt;&lt;br /&gt;
If no calibration data is available, combined FLC for Layers 2 and 3 should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = L2_Depth + (pBlockage × L3_Depth)  &lt;br /&gt;
*(pBlockage × L3_Depth) represents the solid portion of the rails  &lt;br /&gt;
*L2 FLC and L3 FLC should sum to the combined FLC  &lt;br /&gt;
|Blockage and FLC depends on rail type &amp;lt;br&amp;gt; Sensitivity testing with 100% blockage is recommended due to potential for debris during flood&lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_lfcsh_attributes.png | 500px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blockage===&lt;br /&gt;
&lt;br /&gt;
The 2d_lfcsh functions by adjusting the flow width and the form loss of 2D cell faces. The combined blockage across the 4 layers is calculated at each simulation timesteps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Blockage_total_equation_01.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
where&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the actual depth of water in layer &#039;&#039;&#039;&#039;&#039;i&#039;&#039;&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;total&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the total water depth&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach=== &lt;br /&gt;
&lt;br /&gt;
The combined form loss coefficient is determined using one of three methods. The form loss coefficient method can be specified either individually using the 2d_lfcsh “Shape_Options” attribute or globally using the .tcf command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Layered FLC Default Approach&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; [ METHOD A | {METHOD B} | METHOD C | METHOD D]&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD A&amp;lt;/b&amp;gt;: The losses are accumulated as the water level rises through the layers. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_cumulate.png |450px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Applies the full accumulated form loss continuously, even when overtopping begins (no reduction)&lt;br /&gt;
:Note: Simpler method but tends to overestimate losses when the structure is submerged or overtopped&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD B&amp;lt;/b&amp;gt; (default): the losses are applied pro-rata according to the depth of water in each layer. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_portion.png |430px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure&lt;br /&gt;
:Note: Maintains backward compatibility but may underrepresent losses during pressurised or overtopped flows&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD C&amp;lt;/b&amp;gt; (recommended): hybrid approach combining Method A and Method B. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_methodC.png |520px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Gradual increase in form loss with water level, following Method A&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure, following Method B&lt;br /&gt;
:Note: Recommended method; aligns closest to CFD modelling results and TUFLOW HPC behaviour. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD D&amp;lt;/b&amp;gt;: Allows the modeller to control the depth at which the losses start to reduce when the flow transitions between pressure flow and drowned flow. &lt;br /&gt;
:This approach is the same used by the 2d_bg layer (introduced in the 2023-03 release). It is recommended to use the 2d_bg layer as it has the benefit of a simplified attribute table, for easier user input.&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
&lt;br /&gt;
In this study, a combined form loss coefficient of 0.35 was used to match observed head loss during slight overtopping of a bridge. The FLC values for each layer were adjusted to achieve the correct combined form loss. The table and plot show how each layer contributes to the total form loss and highlight the differences in calculated form loss between the three methods.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;60%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=6%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=12%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method A&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method B&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method C&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5.0 || 5   || 0.07 || 0.07 || 0.07 || 0.07 || 0.07 || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1.5 || 100 || 0.15 || 0.22 || 1.05 || 0.30 || 0.15 || 0.22&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 1.0 || 50  || 0.13 || 0.35 || 0.70 || 0.35 || 0.13 || 0.35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:FLC_vs_height_updated.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2D BG Shape (2d_bg)==&lt;br /&gt;
2D BG Shape is similar to the Layered Flow Constriction, but has several updates to simplify the input based on the findings from the joint study with TMR &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The following table provides an overview of how to determine the blockage and form loss coefficient for each layer:&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || rowspan=&amp;quot;2&amp;quot; | The Super Structure (Super_S) is the bridge deck and rails layers combined. &amp;lt;br&amp;gt; &lt;br /&gt;
Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; &lt;br /&gt;
If no calibration data is available, the Super_S FLC should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = Deck_Depth + (Rail_pBlockage*Rail_Depth)  &lt;br /&gt;
*(Rail_pBlockage*Rail_Depth) represents the solid portion of the rails&lt;br /&gt;
|| Full blockage, no flow through the deck&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% || Sensitivity testing with 100% blockage is recommended due to potential for debris during flood events&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Bridge block.jpg | 800px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Inflection Point===&lt;br /&gt;
&lt;br /&gt;
Based on findings from the joint study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;, the head loss peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out. The &#039;SuperS_IPf&#039; attribute (inflection point factor, default = 1.6) can be used to define the height of the inflection point. The solid portion of the rail layer is also added to the deck thickness to calculate the depth to the inflection point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;), i.e.:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg_infection_point.png | 520px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach===&lt;br /&gt;
The form loss approach is similar to the FLC approach METHOD C, with L2/L3 replaced by a single super structure layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg.png | 480px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
This example uses the same bridge setup described in the&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Form_Loss_Calibration_Example_-_Iowa_River_Flood_Study | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; section, with the following parameters applied: &lt;br /&gt;
*SuperS_FLC = 0.28 &lt;br /&gt;
*SuperS_Ipf = 1.6, &lt;br /&gt;
The Depth to Inflection Point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;) is calculated as 3.2m above the bridge soffit. &lt;br /&gt;
&lt;br /&gt;
The table and figure below show how the form loss value varies with water depth.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;32%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Form Loss&lt;br /&gt;
|-&lt;br /&gt;
| Pier || 5.0 || 5   || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| Deck || 1.5 || 100 || rowspan=&amp;quot;2&amp;quot; | 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Rail || 1.0 || 50 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:FLC_vs_height_bg.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2D Bridges Line vs Polygon Layer ==&lt;br /&gt;
The form loss coefficient (FLC) is applied differently when using a line compared to a polygon for both 2d_lfcsh and 2d_bg inputs. The FLC is applied at cell sides (u and v faces) as this is where velocities are calculated. &amp;lt;br&amp;gt; &lt;br /&gt;
For larger bridges that spread across multiple cells, it is recommended to use a polygon layer, which selects all u and v faces falling within the polygon.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;2D Layered Flow Constriction (2d_lfcsh)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides&lt;br /&gt;
| This approach is cell size independent. It is the easiest setup and the preferred / recommended approach when using 2d_lfcsh.&lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| between zero and 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| A cell is selected if the polyline intersects the cell crosshair. Caution should be taken when using a &amp;quot;thick&amp;quot; line, as changes in cell size can cause it to become a &amp;quot;wide&amp;quot; line. If this occurs, the FLC attribute may need to be recalculated to avoid overestimating or underestimating losses.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| larger than 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge &amp;lt;br&amp;gt;&#039;&#039;(may need to be recalculated, see notes)&#039;&#039;&lt;br /&gt;
| FLC divided by number of cell sides in the direction of flow &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;(number of cell sides in the direction of flow is calculated as line width divided by cell size)&#039;&#039;&lt;br /&gt;
| Polygon shapes are recommended if more than 3 rows of faces must be selected.. &amp;lt;br&amp;gt; &lt;br /&gt;
Caution should be taken when using a &amp;quot;wide&amp;quot; line. The cell size and alignment of the 2d_lfcsh line may result in selecting too many or too few cell faces in the direction of the flow. The FLC input may need to be recalculated to ensure FLC Applied multiplied by the number of cell sides in the direction of flow equates to the intended total form loss.  &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; | Polygon&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Total loss per unit length (meters or feet) in the direction of flow&lt;br /&gt;
| FLC * cell size applied to all sides of selected cells &lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2D Bridge (2d_bg)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides. &lt;br /&gt;
| This approach is cell size independent. &lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| larger than zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| This approach is cell size independent. A cell is selected if the polyline intersects the cell crosshair.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| Not supported&lt;br /&gt;
| –&lt;br /&gt;
| –&lt;br /&gt;
| BG polygon shapes are recommended if more than 3 rows of faces must be selected.&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; |Polygon&lt;br /&gt;
| -&lt;br /&gt;
| &#039;&#039;(used to automatically distribute the total FLC to the selected faces)&#039;&#039; &lt;br /&gt;
| Total form loss of the bridge &lt;br /&gt;
| FLC / Deck_Width * cell size applied to all sides of selected cells &lt;br /&gt;
| For bridges modelled using a 2d_bg polygon the relative ratio of the bridge width to the 2D cell size should be 4 or greater. For more information on this see &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/2d_bg_R_Bridge_Configuration_Advice_202503.pdf 2d_bg_R_Bridge_Configuration_Advice.pdf]&amp;lt;/u&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following diagrams demonstrate how the input FLC is applied for the four geometry options for 2d_lfcsh and 2d_bg layers: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:2dlfcsh 2dbg combined v2.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
It is good modelling practice to check the &amp;lt;u&amp;gt;[[Check_Files_2d_lfcsh_uvpt | lfcsh_uvpt_check]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Check Files 2d bg uvpt check | bg_uvpt_check]]&amp;lt;/u&amp;gt; files to confirm the number of faces selected and the FLC values assigned. It is also strongly recommended to undertake a sensitivity analysis on the applied form losses in the model to check if it makes any difference to the results and/or double check against other methods (hand calculations, other software, CFD modelling), especially if the bridge is near an area of interest. If calibration data is available, this should be used to guide the form loss value specification.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Common Questions Answered (FAQ)=&lt;br /&gt;
== What blockage values should I use for bridge guard rails? ==&lt;br /&gt;
The blockage of bridge guard rails can be anything from 100% blocked (solid concrete rails) to 10% blocked (very open rails). In addition, the accumulation of debris during a flood can be substantial as shown in the image below. Sensitivity testing with 100% blockage is recommended. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge rail debris.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
== How to conduct sensitivity test for 2D bridges? ==&lt;br /&gt;
General recommendations to cross-check the results are:&lt;br /&gt;
* Compare computed affluxes against desktop methods (e.g. Hydraulics of Bridge Waterways, 1978) and/or other software including CFD, especially for unusual bridge designs. &lt;br /&gt;
* Use any recorded flood marks or general observations from past events to check and calibrate FLC values. &lt;br /&gt;
* Conduct sensitivity testing by assessing the impact and influence of FLC values on your modelling objectives. The afflux resulting from the FLC values will be proportional to the velocity head, i.e. ∆h=FLC*(v^2/2g). As such, if velocities are low (e.g. 1 m/s), the results may not be overly sensitive to uncertainties in the FLC values. If completing a check using this equation for a long skew bridge it is best to calculate the total structure velocity from a PO line digitised in the same location as the bridge.&lt;br /&gt;
&lt;br /&gt;
Finally, after completing sensitivity testing and understanding the range of uncertainty due to unknowns like the degree of blockage and influence of FLC values (e.g. +/-20%), you are in a position to discuss with your client how best to proceed.  For example, if the modelling is to set planning levels for a development upstream then it may be appropriate to choose values on the higher side (higher FLC values and/or blockage assumptions), noting that the uncertainty may be amply covered by a regulatory freeboard.  Conversely, if the development is on the downstream side the conservative approach would be to use the results at the lower end of your FLC/blockage values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge Flood Debris Loading.jpg | 500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I use both FLC and blockage for layer one in 2D bridge layered flow constriction? ==&lt;br /&gt;
When applying FLC and blockage values to model obstructions such as piers, the following considerations need to be taken into account:&lt;br /&gt;
* The FLC value applies an energy loss along 1D channels or across 2D cell faces equivalent to FLC*V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g where V is the 1D channel velocity or the 2D cell face velocity.&lt;br /&gt;
* FLC values are often sourced from publications such as Hydraulics of Bridge Waterways or AustRoads (e.g.  Kp chart for piers).  &lt;br /&gt;
* If possible, establish whether the source of the FLC value is based on the approach velocity (the velocity in the absence of piers) or structure velocity (the velocity with area blocked out by the piers) noting that it often isn’t clear or stated.  &lt;br /&gt;
** If it is the structure velocity, this is usually the velocity at the vena-contracta (point of greatest contraction within the entrance to the structure and therefore highest velocity) - see image below.  Bluff or sharp-edged obstructions will have a much more pronounced vena-contracta, and therefore higher velocity compared with a round-edged obstruction. &lt;br /&gt;
** FLC values based on the approach velocity will be higher than those based on the structure velocity to achieve the same energy loss.&lt;br /&gt;
* Applying a blockage equivalent to the obstruction width will increase, usually very slightly, the velocity of the 1D channel or 2D cell face.  This won’t be the vena-contracta velocity, but a velocity between the approach velocity and the vena-contracta velocity.  A greater blockage will need to be applied to emulate the vena-contracta velocity.&lt;br /&gt;
* If the FLC source value is based on:&lt;br /&gt;
** The approach velocity then there is no need to apply a blockage value.&lt;br /&gt;
** The structure velocity then the blockage value should be applied noting that it may be appropriate to apply a larger blockage to take into account the vena-contracta.&lt;br /&gt;
* If it is not clear or unknown whether the FLC source value is based on the approach or structure velocity, the recommendation would be to apply the blockage in the interests of being slightly conservative on the upstream flood level calculation.&lt;br /&gt;
* For most minor obstructions such as bridge piers, the blockage is usually relatively small and whether included or not has a negligible or minor affect on flood levels compared with other factors such as the approach embankments and the bridge deck.&lt;br /&gt;
* Blockage from debris wrapped around piers can have a greater influence on the results than the effect of applying or not applying a blockage. Debris wrapped around piers can be accounted for in the FLC value calculated for the pier layer. &lt;br /&gt;
* As always, sensitivity testing with and without blockage and +/- the FLC value is highly recommended to understand their importance in regard to the broader modelling objectives and the effects of uncertainties in the input data, boundaries, other parameters such as Manning’s n values, and the accuracy of the numerical solution scheme (see &amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#maximise_accuracy Maximising the Accuracy of Hydraulic Models webinar]&amp;lt;/u&amp;gt;).&lt;br /&gt;
[[File: Vena_contracta.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Image showing the formation of the vena-contracta.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t see results that I expect when using 2d_lfcsh layer==&lt;br /&gt;
The 2d_lfcsh layer is a versatile feature that was designed to model bridges in 2D, but can also be used for other applications like fences, buildings raised on pillars and so on.&lt;br /&gt;
Some of the unexpected results could be:&lt;br /&gt;
* Water level going through the bridge deck in 2D map output.&lt;br /&gt;
* Water transiting through 100% blocked Layer 1, e.g. fences with solid base.&lt;br /&gt;
* SHMax.csv reporting values above the bridge deck when 2D map output reports water level lower than the top of the bridge deck.&lt;br /&gt;
&lt;br /&gt;
TUFLOW is a 2D solution (not 3D), in the 2d_lfcsh layer the percent blockage and form loss coefficient applied to the cell faces is depth averaged across the entire cell face (across Layer 1, 2 and 3):&amp;lt;br&amp;gt;&lt;br /&gt;
*For bridges, where Layer 2 has a 100% blockage applied, the minimum flow width of 0.001m is used and is averaged with the Layer 1 blockage (based on the depth of the water). This may result in a water level being reported within or above the bridge deck, which would represent the pressure head.&lt;br /&gt;
*Layered flow constriction works by adjusting the flow area of the cell faces by any blockages to generate the correct depth averaged velocity at each face at which the form losses are applied as a fraction of the V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g kinetic energy. Calculating the correct velocity is critical for determining the losses as the losses are proportional to the velocity squared. &amp;lt;br&amp;gt;&lt;br /&gt;
*For a layered flow constriction cell face the flow area cannot be zero above the invert of Layer 1 to avoid a divide by zero in the computations, therefore a minimum average flow width after applying blockages of 0.001 m is applied.  if Layer 1 is 100% blocked, a very small amount of water will flow through Layer 1.  If this is unacceptable, instead of applying 100% blockage of Layer 1, the preferred approach is to start the layered flow constriction at the top of Layer 1 or raise the ground elevation to the top of Layer 1 using one of the Z Shape modification functions (e.g. a breakline). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:100% Blockage Diagram.png | 500px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I model bridge piers explicitly in 2D using very small cells? ==&lt;br /&gt;
It isn&#039;t recommended to explicitly model bridge piers by blocking out the pier faces in TUFLOW, or in any hydraulic modelling software based on solving Shallow Water Equations(SWE). Due to the 3-dimentiality of the flow and turbulence around a pier, computational fluid dynamics (CFD) approach is often required to simulate the flow around piers explicitly. The wake turbulence behind a simple-shape pier can be resolved to some extent using extremely fine mesh in TUFLOW (see calibration example to a flume experiment in the [https://www.tuflow.com/library/webinars/#structures webinar on Energy Losses at Structures]), however the predictions for head losses show notable sensitivities to the mesh size, the mesh design, and the choice of turbulence model. The extremely fine mesh resolution also results in significantly higher computational costs. &lt;br /&gt;
&lt;br /&gt;
Therefore, the safest and strongly recommended approach with regard to establishing head losses and consequently flood levels, is to model the effects of such obstructions with form loss coefficients (applied to selected mesh cells) that have been derived from physical testing. This approach has been shown to provide the most consistent results across various mesh resolutions. It also has the added benefit that, by avoiding small cells in the mesh, it will provide much more efficient run times for flow solvers.&lt;br /&gt;
&lt;br /&gt;
[[File:Flow round a cylinder.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The point of flow separation around an object has a major bearing on the drag coefficient and is not reliably reproduced by 2D or 3D software.&#039;&#039;&lt;br /&gt;
&amp;lt;!-- SG commented out, too much CFD info&lt;br /&gt;
Small scale obstructions to the flow, such as trees, poles, piers, etc. cause additional head losses along a flow path due to their drag characteristics. Historically, form loss (or drag) coefficients for various profile shapes have been determined as a function of Reynold’s number through experimental testing. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More recently, computational fluid dynamics (CFD) has been used to attempt to reproduce the velocity field in the wake of such objects. Although providing better results than 2D modelling, the results have not always agreed well with physical tests. In particular, the drag of a given profile depends on the exact location of flow separation points, which in turn depends on the ability of the CFD code to predict the laminar to turbulent transition in the boundary layer, which is many times smaller than the profile shape itself. In general, the form loss results from CFD models show significant sensitivity to mesh size, mesh design, and choice of turbulence model. Considerable caution needs to be exercised even for CFD modelling.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to best convert flow constriction data (2d_fc or 2d_fcsh) into newer formats (2d_lfcsh or 2d_bg)? ==&lt;br /&gt;
The form loss parameters can be transferred from the flow constriction (2d_fc or 2d_fcsh) to the first layer of the layered flow constriction (2d_lfcsh) or pier layer of the 2d_bg. Definition of the remaining form loss and blockage layer inputs should follow the guidance outlined in &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 | 2D BG Shape]]&amp;lt;/u&amp;gt; paragraphs.&amp;lt;br&amp;gt;&lt;br /&gt;
When using floating pontoon (type FD in the 2d_fc or 2d_fcsh) different setup might need to be used for different events. For large events when floating pontoon becomes fixed at the top of the supporting piles, standard 2d_lfcsh setup can be used. Smaller events when the pontoon is floating at different heights might require more sensitivity testing of the structure parameters to find out a setup the matches the reality as close as possible.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I model bridges in 1D or 2D Domain? ==&lt;br /&gt;
The recommended approach typically depends on the study objectives and if the channel upstream and downstream of the bridge is modelled in 1D or 2D. To preserve the momentum as accurately as possible the bridge should be modelled in the same dimension as the channel, e.g. 1d_nwk bridge if the channels is in 1D and 2d_bg or 2d_lfcsh if the channel is modelled in 2D.&amp;lt;br&amp;gt;&lt;br /&gt;
In 2D, the expansion/contraction losses are modelled based on the topography and don&#039;t need to be estimated as attributes as for 1D modelling. Also, for higher flows where the bridge is overtopped, 2D is preferable approach. &lt;br /&gt;
&lt;br /&gt;
== What is the difference between downstream and upstream controlled flow? ==&lt;br /&gt;
Downstream control means a change in downstream water level will cause a change in upstream water level. Upstream control means the upstream water level is insensitive to the downstream water level and usually indicates the occurrence of supercritical flow.&lt;br /&gt;
&lt;br /&gt;
== What FLC values should be used for 2d_bg bridge if hB/T is below 2 or above 6? ==&lt;br /&gt;
TMR has extended the CFD simulation to hB/T ratios of 1 to 10. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&lt;br /&gt;
If hB/T is outside this ratio:&lt;br /&gt;
* hB/T ratios of less than 1 represent a very unusual bridge sitting low to the ground, and the peak FLC may increase above the end value (FLC of 0.6) in a way that doesn&#039;t follow the research trend or extrapolation. For these cases we would recommend using CFD modelling to obtain a more informed value. Alternatively, computing an FLC based on pressure flow or using 1D culvert might be considered.&lt;br /&gt;
* For hB/T ratios of greater than 10, the FLC is likely to continue to decrease, but probably not significantly. Clamping to the end value (FLC of 0.16) might be considered the more conservative approach (if the primary concern is flood levels upstream of the bridge).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45840</id>
		<title>TUFLOW Version Backward Compatibility</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45840"/>
		<updated>2026-04-09T23:57:18Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Backward Compatibility Change Register */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Backward Compatibility Change Register=&lt;br /&gt;
&lt;br /&gt;
For a list of new features and changes for each TUFLOW release, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/changelog/ TUFLOW Classic/HPC Changelog]&amp;lt;/u&amp;gt; (for versions since 2023-03-AF). For versions 2023-03-AF and prior, see the relevant release notes in the &amp;lt;u&amp;gt;[https://www.tuflow.com/downloads/tuflow-classichpc-archive/ TUFLOW Downloads Archive]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
For backward compatibility and default changes, please see Chapter 18 (Default Changes) of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest TUFLOW Manual]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Frequently Asked Questions (FAQ)=&lt;br /&gt;
== Why are model results developed in an older release different to a newer release? ==&lt;br /&gt;
If comparing a Classic model with HPC, also check the &amp;lt;u&amp;gt;[[HPC_FAQ#Will_TUFLOW_HPC_and_TUFLOW_Classic_results_match.3F | Will TUFLOW HPC and TUFLOW Classic results match?]]&amp;lt;/u&amp;gt; page in addition to this answer. &amp;lt;br&amp;gt;&lt;br /&gt;
In addition to the above, there are reasons why model results would be different between different TUFLOW releases, whether it is the Classic or HPC solver, as follows:&lt;br /&gt;
* General improvements and fine-tuning of the solution scheme, especially for the more complex hydraulic physical terms and situations such as: sub-grid turbulence representation; treatment of shocks (e.g. hydraulic jumps); and transitioning between sub-critical and super-critical flow on steep slopes.&lt;br /&gt;
* Some new functionality can cause a significant change in results.  For example:&lt;br /&gt;
** Sub-Grid Sampling (SGS) applied to an existing model that used a too coarse cell resolution in high flow areas of highly variable topography (relative to the 2D cell size).  SGS will greatly improve the model&#039;s ability to convey water accurately in these situations with vastly improved results.&lt;br /&gt;
** New default sub-grid turbulence scheme in the 2020 release of TUFLOW HPC that is cell size independent and allows modellers to use cell sizes much smaller than the flow depth across all scales from flume to large rivers. For more information on differences between Smagorinsky scheme (HPC releases up to 2020) and the Wu turbulence scheme (2020 onwards) see &amp;lt;u&amp;gt;[[HPC_FAQ#With_Wu_turbulence_scheme_being_the_new_default.2C_are_old_models_using_Smagorinsky_wrong.3F | here]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
* Changes to the default settings and values, e.g.:&lt;br /&gt;
**different default eddy viscosity formulation and/or coefficients,&lt;br /&gt;
**improved data pre-processing approaches such as sampling materials on cell mid-sides instead of cell centres,&lt;br /&gt;
** and many others.&lt;br /&gt;
** For backward compatibility the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is available to run old models on new releases to replicate past results (note, sometimes full backward compatibility cannot be catered for due to different code compiler and updates that can&#039;t be reverted, especially for several releases earlier).&lt;br /&gt;
* New features that use GIS attributes previously reserved (i.e. unused). If these attributes were not populated with the recommended “reserved” value (usually 0 or blank), then they can cause unpredictable results in later releases.&lt;br /&gt;
* Bug fixes noting that most bug fixes are input/output related and rarely affect the model&#039;s hydraulic calculations.&lt;br /&gt;
* Change in timestepping can also produce a small change in results. HPC uses the Runge-Kutta 4th order integrator, which is usually fairly insensitive to time step provided the model is running stably. However when a region is filled by flow that only just overtops an embankment, a 10 mm difference in water levels upstream of the embankment can create a much larger difference in levels downstream.  Hence, small differences in time-stepping (along with many other aspects of model setup) can trigger local differences in model results.&lt;br /&gt;
* Model orientation (if changed) could also mean slight change in results. This is mostly given by interpolating values from different calculation points. Every cell has nine calculation points. Based on the model origin, all or most of the calculation points would have different topography elevation sampled, which translates to slightly different results.&lt;br /&gt;
* If using 1D channel, possibly different cells have been selected as HX boundary and might have different elevations. This can be reviewed in &amp;lt;u&amp;gt;[[Check_Files_1d_to_2d_bc | 1d_to_2d check file]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Generally, there should not be substantial differences as the fundamental equations being solved are unchanged and TUFLOW Classic and HPC solvers have always solved all the physical terms using a 2nd order spatial approach. The one exception is the turbulence (eddy viscosity) representation, which is the most complex and challenging to solve of all the physical terms (many 2D schemes simply omit this term). If significant differences (&amp;gt;10% of depth change across the whole model) are observed then it’s most likely due to the first four dot points above. To identify in which release(s) the significant changes occurred, the model can be run with the latest build and for past releases. The changes for each release are documented in their release notes. Past releases and release notes are all available [https://www.tuflow.com/downloads/tuflow-classichpc-archive/. here]. Once the exact release where the changes occurred is tracked down, individual features can be turned off to narrow down the cause.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The recommendation is usually for new or reworked models to use the newest build to take advantage of the latest features and enhancements, some level of calibration might be required for reworked models. The new TUFLOW executable is not different from the previous ones in the meaning that any existing model should be re-calibrated if there are available calibration data. However, particularly if a model is already calibrated, using prior builds of TUFLOW or winding back default settings using &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is considered reasonable for established models that are to be used for minor tasks where an update of the model would not be cost effective.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can differences in model results between TUFLOW builds be investigated? ==&lt;br /&gt;
Running TUFLOW on a later build from which it was originally calibrated will not necessarily produce the same results, as discussed in &amp;lt;u&amp;gt;[[TUFLOW_Version_Backward_Compatibility#Why_are_model_results_developed_in_an_older_release_different_to_a_newer_release.3F | Why are model results developed in an older release different to a newer release?]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following is an example of steps that can be taken when upgrading a TUFLOW model’s executable build, checking for consistency to original results each time. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Confirm you are able to run the original model with the original build that would have been used to initially produce results.&lt;br /&gt;
* This may be particularly relevant when a model has been externally supplied, for example from a government body. &lt;br /&gt;
* Confirm if reproduced results are consistent with supplied results.&lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer build, along with a relevant &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command (e.g. &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; Pre 2011 when the original build was 2010-10).&lt;br /&gt;
* Any differences in results compared to the original results may highlight if there are any changes over time where no backward compatibility had been provided for. &lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer build, and without the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This is more likely to see changes in results compared to the original results, which may require justification to the client or resolution by investigating, isolating and remedying the causes, especially if recalibration is not intended as a subsequent step.&lt;br /&gt;
&amp;lt;li&amp;gt; Iteratively run the original model with the newer build, stepping through the different release version options for &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This will allow the modeller to investigate and isolate what changes to TUFLOW builds may be affecting results, and when changes appear.&lt;br /&gt;
* Then, individually reverting settings that make up a Default group (see Chapter 18 of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;).&lt;br /&gt;
* This can help isolate the primary drivers for any differences in results.&lt;br /&gt;
* The &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/changelog// TUFLOW Classic/HPC Changelog]&amp;lt;/u&amp;gt; accompanying build releases are also a key reference. &lt;br /&gt;
&amp;lt;li&amp;gt; Develop new improved or updated model version, with the newer build (and any grouped or individual defaults that are deemed necessary to retain from the iterative testing in the prior step).&lt;br /&gt;
*Continue to verify results against the original results as you then iteratively add in or update to any newer functionality or formats that may be available in the later build, a good quality assurance check that changes are behaving as expected.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45839</id>
		<title>TUFLOW Version Backward Compatibility</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45839"/>
		<updated>2026-04-09T23:57:09Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Backward Compatibility Change Register */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Backward Compatibility Change Register=&lt;br /&gt;
&lt;br /&gt;
For a list of new features and changes for each TUFLOW release, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/changelog/ TUFLOW Classic/HPC Changelog]&amp;lt;/u&amp;gt; (for versions since 2023-03-AF). For versions 2023-03-AF and prior, see the relevant release notes in the &amp;lt;u&amp;gt;[https://www.tuflow.com/downloads/tuflow-classichpc-archive/ TUFLOW Downloads Archive]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
For backward compatibility and default changes, please see Chapter 18 (Default Changes) of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest TUFLOW Manual] &amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Frequently Asked Questions (FAQ)=&lt;br /&gt;
== Why are model results developed in an older release different to a newer release? ==&lt;br /&gt;
If comparing a Classic model with HPC, also check the &amp;lt;u&amp;gt;[[HPC_FAQ#Will_TUFLOW_HPC_and_TUFLOW_Classic_results_match.3F | Will TUFLOW HPC and TUFLOW Classic results match?]]&amp;lt;/u&amp;gt; page in addition to this answer. &amp;lt;br&amp;gt;&lt;br /&gt;
In addition to the above, there are reasons why model results would be different between different TUFLOW releases, whether it is the Classic or HPC solver, as follows:&lt;br /&gt;
* General improvements and fine-tuning of the solution scheme, especially for the more complex hydraulic physical terms and situations such as: sub-grid turbulence representation; treatment of shocks (e.g. hydraulic jumps); and transitioning between sub-critical and super-critical flow on steep slopes.&lt;br /&gt;
* Some new functionality can cause a significant change in results.  For example:&lt;br /&gt;
** Sub-Grid Sampling (SGS) applied to an existing model that used a too coarse cell resolution in high flow areas of highly variable topography (relative to the 2D cell size).  SGS will greatly improve the model&#039;s ability to convey water accurately in these situations with vastly improved results.&lt;br /&gt;
** New default sub-grid turbulence scheme in the 2020 release of TUFLOW HPC that is cell size independent and allows modellers to use cell sizes much smaller than the flow depth across all scales from flume to large rivers. For more information on differences between Smagorinsky scheme (HPC releases up to 2020) and the Wu turbulence scheme (2020 onwards) see &amp;lt;u&amp;gt;[[HPC_FAQ#With_Wu_turbulence_scheme_being_the_new_default.2C_are_old_models_using_Smagorinsky_wrong.3F | here]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
* Changes to the default settings and values, e.g.:&lt;br /&gt;
**different default eddy viscosity formulation and/or coefficients,&lt;br /&gt;
**improved data pre-processing approaches such as sampling materials on cell mid-sides instead of cell centres,&lt;br /&gt;
** and many others.&lt;br /&gt;
** For backward compatibility the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is available to run old models on new releases to replicate past results (note, sometimes full backward compatibility cannot be catered for due to different code compiler and updates that can&#039;t be reverted, especially for several releases earlier).&lt;br /&gt;
* New features that use GIS attributes previously reserved (i.e. unused). If these attributes were not populated with the recommended “reserved” value (usually 0 or blank), then they can cause unpredictable results in later releases.&lt;br /&gt;
* Bug fixes noting that most bug fixes are input/output related and rarely affect the model&#039;s hydraulic calculations.&lt;br /&gt;
* Change in timestepping can also produce a small change in results. HPC uses the Runge-Kutta 4th order integrator, which is usually fairly insensitive to time step provided the model is running stably. However when a region is filled by flow that only just overtops an embankment, a 10 mm difference in water levels upstream of the embankment can create a much larger difference in levels downstream.  Hence, small differences in time-stepping (along with many other aspects of model setup) can trigger local differences in model results.&lt;br /&gt;
* Model orientation (if changed) could also mean slight change in results. This is mostly given by interpolating values from different calculation points. Every cell has nine calculation points. Based on the model origin, all or most of the calculation points would have different topography elevation sampled, which translates to slightly different results.&lt;br /&gt;
* If using 1D channel, possibly different cells have been selected as HX boundary and might have different elevations. This can be reviewed in &amp;lt;u&amp;gt;[[Check_Files_1d_to_2d_bc | 1d_to_2d check file]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Generally, there should not be substantial differences as the fundamental equations being solved are unchanged and TUFLOW Classic and HPC solvers have always solved all the physical terms using a 2nd order spatial approach. The one exception is the turbulence (eddy viscosity) representation, which is the most complex and challenging to solve of all the physical terms (many 2D schemes simply omit this term). If significant differences (&amp;gt;10% of depth change across the whole model) are observed then it’s most likely due to the first four dot points above. To identify in which release(s) the significant changes occurred, the model can be run with the latest build and for past releases. The changes for each release are documented in their release notes. Past releases and release notes are all available [https://www.tuflow.com/downloads/tuflow-classichpc-archive/. here]. Once the exact release where the changes occurred is tracked down, individual features can be turned off to narrow down the cause.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The recommendation is usually for new or reworked models to use the newest build to take advantage of the latest features and enhancements, some level of calibration might be required for reworked models. The new TUFLOW executable is not different from the previous ones in the meaning that any existing model should be re-calibrated if there are available calibration data. However, particularly if a model is already calibrated, using prior builds of TUFLOW or winding back default settings using &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is considered reasonable for established models that are to be used for minor tasks where an update of the model would not be cost effective.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can differences in model results between TUFLOW builds be investigated? ==&lt;br /&gt;
Running TUFLOW on a later build from which it was originally calibrated will not necessarily produce the same results, as discussed in &amp;lt;u&amp;gt;[[TUFLOW_Version_Backward_Compatibility#Why_are_model_results_developed_in_an_older_release_different_to_a_newer_release.3F | Why are model results developed in an older release different to a newer release?]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following is an example of steps that can be taken when upgrading a TUFLOW model’s executable build, checking for consistency to original results each time. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Confirm you are able to run the original model with the original build that would have been used to initially produce results.&lt;br /&gt;
* This may be particularly relevant when a model has been externally supplied, for example from a government body. &lt;br /&gt;
* Confirm if reproduced results are consistent with supplied results.&lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer build, along with a relevant &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command (e.g. &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; Pre 2011 when the original build was 2010-10).&lt;br /&gt;
* Any differences in results compared to the original results may highlight if there are any changes over time where no backward compatibility had been provided for. &lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer build, and without the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This is more likely to see changes in results compared to the original results, which may require justification to the client or resolution by investigating, isolating and remedying the causes, especially if recalibration is not intended as a subsequent step.&lt;br /&gt;
&amp;lt;li&amp;gt; Iteratively run the original model with the newer build, stepping through the different release version options for &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This will allow the modeller to investigate and isolate what changes to TUFLOW builds may be affecting results, and when changes appear.&lt;br /&gt;
* Then, individually reverting settings that make up a Default group (see Chapter 18 of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;).&lt;br /&gt;
* This can help isolate the primary drivers for any differences in results.&lt;br /&gt;
* The &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/changelog// TUFLOW Classic/HPC Changelog]&amp;lt;/u&amp;gt; accompanying build releases are also a key reference. &lt;br /&gt;
&amp;lt;li&amp;gt; Develop new improved or updated model version, with the newer build (and any grouped or individual defaults that are deemed necessary to retain from the iterative testing in the prior step).&lt;br /&gt;
*Continue to verify results against the original results as you then iteratively add in or update to any newer functionality or formats that may be available in the later build, a good quality assurance check that changes are behaving as expected.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45838</id>
		<title>TUFLOW Version Backward Compatibility</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45838"/>
		<updated>2026-04-09T23:52:17Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Backward Compatibility Change Register */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Backward Compatibility Change Register=&lt;br /&gt;
&lt;br /&gt;
For backward compatibility and release notes, please see Chapter 18 (Default Changes) of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest TUFLOW Manual] &amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Frequently Asked Questions (FAQ)=&lt;br /&gt;
== Why are model results developed in an older release different to a newer release? ==&lt;br /&gt;
If comparing a Classic model with HPC, also check the &amp;lt;u&amp;gt;[[HPC_FAQ#Will_TUFLOW_HPC_and_TUFLOW_Classic_results_match.3F | Will TUFLOW HPC and TUFLOW Classic results match?]]&amp;lt;/u&amp;gt; page in addition to this answer. &amp;lt;br&amp;gt;&lt;br /&gt;
In addition to the above, there are reasons why model results would be different between different TUFLOW releases, whether it is the Classic or HPC solver, as follows:&lt;br /&gt;
* General improvements and fine-tuning of the solution scheme, especially for the more complex hydraulic physical terms and situations such as: sub-grid turbulence representation; treatment of shocks (e.g. hydraulic jumps); and transitioning between sub-critical and super-critical flow on steep slopes.&lt;br /&gt;
* Some new functionality can cause a significant change in results.  For example:&lt;br /&gt;
** Sub-Grid Sampling (SGS) applied to an existing model that used a too coarse cell resolution in high flow areas of highly variable topography (relative to the 2D cell size).  SGS will greatly improve the model&#039;s ability to convey water accurately in these situations with vastly improved results.&lt;br /&gt;
** New default sub-grid turbulence scheme in the 2020 release of TUFLOW HPC that is cell size independent and allows modellers to use cell sizes much smaller than the flow depth across all scales from flume to large rivers. For more information on differences between Smagorinsky scheme (HPC releases up to 2020) and the Wu turbulence scheme (2020 onwards) see &amp;lt;u&amp;gt;[[HPC_FAQ#With_Wu_turbulence_scheme_being_the_new_default.2C_are_old_models_using_Smagorinsky_wrong.3F | here]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
* Changes to the default settings and values, e.g.:&lt;br /&gt;
**different default eddy viscosity formulation and/or coefficients,&lt;br /&gt;
**improved data pre-processing approaches such as sampling materials on cell mid-sides instead of cell centres,&lt;br /&gt;
** and many others.&lt;br /&gt;
** For backward compatibility the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is available to run old models on new releases to replicate past results (note, sometimes full backward compatibility cannot be catered for due to different code compiler and updates that can&#039;t be reverted, especially for several releases earlier).&lt;br /&gt;
* New features that use GIS attributes previously reserved (i.e. unused). If these attributes were not populated with the recommended “reserved” value (usually 0 or blank), then they can cause unpredictable results in later releases.&lt;br /&gt;
* Bug fixes noting that most bug fixes are input/output related and rarely affect the model&#039;s hydraulic calculations.&lt;br /&gt;
* Change in timestepping can also produce a small change in results. HPC uses the Runge-Kutta 4th order integrator, which is usually fairly insensitive to time step provided the model is running stably. However when a region is filled by flow that only just overtops an embankment, a 10 mm difference in water levels upstream of the embankment can create a much larger difference in levels downstream.  Hence, small differences in time-stepping (along with many other aspects of model setup) can trigger local differences in model results.&lt;br /&gt;
* Model orientation (if changed) could also mean slight change in results. This is mostly given by interpolating values from different calculation points. Every cell has nine calculation points. Based on the model origin, all or most of the calculation points would have different topography elevation sampled, which translates to slightly different results.&lt;br /&gt;
* If using 1D channel, possibly different cells have been selected as HX boundary and might have different elevations. This can be reviewed in &amp;lt;u&amp;gt;[[Check_Files_1d_to_2d_bc | 1d_to_2d check file]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Generally, there should not be substantial differences as the fundamental equations being solved are unchanged and TUFLOW Classic and HPC solvers have always solved all the physical terms using a 2nd order spatial approach. The one exception is the turbulence (eddy viscosity) representation, which is the most complex and challenging to solve of all the physical terms (many 2D schemes simply omit this term). If significant differences (&amp;gt;10% of depth change across the whole model) are observed then it’s most likely due to the first four dot points above. To identify in which release(s) the significant changes occurred, the model can be run with the latest build and for past releases. The changes for each release are documented in their release notes. Past releases and release notes are all available [https://www.tuflow.com/downloads/tuflow-classichpc-archive/. here]. Once the exact release where the changes occurred is tracked down, individual features can be turned off to narrow down the cause.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The recommendation is usually for new or reworked models to use the newest build to take advantage of the latest features and enhancements, some level of calibration might be required for reworked models. The new TUFLOW executable is not different from the previous ones in the meaning that any existing model should be re-calibrated if there are available calibration data. However, particularly if a model is already calibrated, using prior builds of TUFLOW or winding back default settings using &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is considered reasonable for established models that are to be used for minor tasks where an update of the model would not be cost effective.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can differences in model results between TUFLOW builds be investigated? ==&lt;br /&gt;
Running TUFLOW on a later build from which it was originally calibrated will not necessarily produce the same results, as discussed in &amp;lt;u&amp;gt;[[TUFLOW_Version_Backward_Compatibility#Why_are_model_results_developed_in_an_older_release_different_to_a_newer_release.3F | Why are model results developed in an older release different to a newer release?]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following is an example of steps that can be taken when upgrading a TUFLOW model’s executable build, checking for consistency to original results each time. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Confirm you are able to run the original model with the original build that would have been used to initially produce results.&lt;br /&gt;
* This may be particularly relevant when a model has been externally supplied, for example from a government body. &lt;br /&gt;
* Confirm if reproduced results are consistent with supplied results.&lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer build, along with a relevant &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command (e.g. &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; Pre 2011 when the original build was 2010-10).&lt;br /&gt;
* Any differences in results compared to the original results may highlight if there are any changes over time where no backward compatibility had been provided for. &lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer build, and without the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This is more likely to see changes in results compared to the original results, which may require justification to the client or resolution by investigating, isolating and remedying the causes, especially if recalibration is not intended as a subsequent step.&lt;br /&gt;
&amp;lt;li&amp;gt; Iteratively run the original model with the newer build, stepping through the different release version options for &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This will allow the modeller to investigate and isolate what changes to TUFLOW builds may be affecting results, and when changes appear.&lt;br /&gt;
* Then, individually reverting settings that make up a Default group (see Chapter 18 of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;).&lt;br /&gt;
* This can help isolate the primary drivers for any differences in results.&lt;br /&gt;
* The &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/changelog// TUFLOW Classic/HPC Changelog]&amp;lt;/u&amp;gt; accompanying build releases are also a key reference. &lt;br /&gt;
&amp;lt;li&amp;gt; Develop new improved or updated model version, with the newer build (and any grouped or individual defaults that are deemed necessary to retain from the iterative testing in the prior step).&lt;br /&gt;
*Continue to verify results against the original results as you then iteratively add in or update to any newer functionality or formats that may be available in the later build, a good quality assurance check that changes are behaving as expected.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=HPC_Introduction&amp;diff=45837</id>
		<title>HPC Introduction</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=HPC_Introduction&amp;diff=45837"/>
		<updated>2026-04-09T23:41:41Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Introduction=&lt;br /&gt;
Since the 2017-09-AA version, TUFLOW offers HPC (Heavily Parallelised Compute) as an alternate 2D Shallow Water Equation (SWE) solver to TUFLOW Classic. TUFLOW Classic is limited to running a simulation on a single CPU core, whereas HPC provides parallelisation of the TUFLOW model allowing modellers to run a single TUFLOW model across multiple CPU cores or GPU graphics cards (which utilise thousands of smaller CUDA* cores). Simulations using GPU hardware has shown to provide significantly quicker model run times for TUFLOW users.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, most of the functionality and features of TUFLOW Classic are available in HPC. Additionally, HPC offers several advanced features not supported in Classic, including:&lt;br /&gt;
* Quadtree and sub-grid sampling&lt;br /&gt;
* High resolution map output grids &lt;br /&gt;
* Groundwater infiltration and sub-surface flows&lt;br /&gt;
* Wu turbulence formulation &lt;br /&gt;
* TMR bridge inputs (2d_bg) and simulation methods  &lt;br /&gt;
&lt;br /&gt;
===Solution Scheme, Cell Discretisation and Parallelisation===&lt;br /&gt;
TUFLOW HPC is an explicit solver for the full 2D Shallow Water Equations (SWE), including a sub-grid scale eddy viscosity model.  The scheme is both volume and momentum conserving, is 2nd order in space and 4th order in time, with adaptive or fixed timestepping. It is unconditionally stable. TUFLOW HPC&#039;s computational approach differs from TUFLOW Classic, which is a 2nd order (space) implicit finite difference solver. Both TUFLOW HPC and Classic solve the 2D SWE on the same uniform Cartesian grid configuration. Computationally each 2D cell includes 9 sub-grid points.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: HPC Cell Design.PNG |300px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ZC point:&lt;br /&gt;
* Defines the volume of active water (cell volume is based on a flat square cell that wets and dries at a height of ZC plus the Cell Wet/Dry Depth); &lt;br /&gt;
* Controls when a cell becomes wet and dry (note that cell sides can also wet and dry); and&lt;br /&gt;
* Determines the bed slope when testing for the upstream controlled flow regime.&lt;br /&gt;
The ZU and ZV points:&lt;br /&gt;
* Control how water is conveyed from one cell to another;&lt;br /&gt;
* Represent where the momentum equation terms are centred and where upstream controlled flow regimes are applied;&lt;br /&gt;
* Deactivate if the cell has dried (based on the ZC point) and cannot flow; and&lt;br /&gt;
* Wet and dry independently of the cell wetting or drying (see Cell Wet/Dry Depth).  This allows for the modelling of “thin” obstructions such as fences and thin embankments relative to the cell size (e.g. a concrete levee).&lt;br /&gt;
ZH points:&lt;br /&gt;
* Play no role hydraulically. This point location is used for output processing;&lt;br /&gt;
* The only elevations written to the .2dm mesh file (by default, binary output is interpolated/extrapolated to the cell corners).&lt;br /&gt;
&lt;br /&gt;
Within the above sub-grid framework, using TUFLOW HPC time derivatives of cell averaged water depth, u-velocity and v-velocity are computed on a cell-by-cell basis and the model evolved using an explicit ODE solver. Calculation of the cell based derivatives are highly independent of each other making it possible to run this solution scheme across multiple processors or GPU cards. Parallelisation is done by breaking up the model into vertical ribbons. Each ribbon of the model is run on a different processor (or GPU card) with boundary information shared between processors at each timestep.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Mesh_Ribbon_Splitting.png |360px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mass Conservation and Timestep===&lt;br /&gt;
&lt;br /&gt;
The explicit finite volume solution scheme utilised in HPC is mass conserving by construction (0% mass error). This differs to TUFLOW Classic, which can continue to simulate a model with some volume error due to it being an implicit finite difference scheme. The stability of the explicit finite volume scheme used in TUFLOW HPC is linked to the timestep, flow velocities, water depth, and eddy viscosity. The maximum timestep that can be used while maintaining model stability changes as the model evolves. While it is possible to choose a fixed timestep ahead of time (similarly to TUFLOW Classic), shorter run times and guaranteed model stability from start to finish may be achieved through the use of adaptive timestepping where the solver continually modifies the timestep based on various stability criteria. This is explained in more detail in our &amp;lt;u&amp;gt;[[HPC_Adaptive_Timestepping |  Adaptive Timestepping]]&amp;lt;/u&amp;gt; page.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compatible Graphic Cards (GPU) ===&lt;br /&gt;
TUFLOW HPC’s GPU hardware module is only compatible with NVIDIA architecture CUDA enabled GPU cards. AMD GPU cards are NOT compatible.  A list of CUDA enabled GPUs can be found on the following website: &amp;lt;u&amp;gt;http://developer.nvidia.com/cuda-gpus &amp;lt;/u&amp;gt;.  &lt;br /&gt;
To check if your computer has an NVIDA GPU and if it is CUDA enabled:&lt;br /&gt;
* Right click on the Windows desktop;&lt;br /&gt;
* If you see “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue, the computer has an NVIDIA GPU;&lt;br /&gt;
* Click on “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue;&lt;br /&gt;
* The GPU model should be displayed in the graphics card information;&lt;br /&gt;
* Check to see if the graphics card is listed on the following website: &amp;lt;u&amp;gt;http://developer.nvidia.com/cuda-gpus&amp;lt;/u&amp;gt;&lt;br /&gt;
On the NVIDA website each CUDA enabled graphics card has a “Compute Capability” listed.  For cards with a compute capability of 1.2 or less, only the single precision version of the GPU Module can be utilised.  However, benchmarking has indicated that the double precision version is NOT required and that the TUFLOW_iSP exe should be used for all TUFLOW HPC GPU simulations. Extensive GPU hardware benchmarking has been undertaken to assist users who are upgrading hardware for TUFLOW modelling. Over 50 different hardware options have been tested for their speed performance. The results are provided on the &amp;lt;u&amp;gt;[[Hardware_Benchmarking | Hardware Benchmarking]]&amp;lt;/u&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
===Benefits of HPC===&lt;br /&gt;
So what does this mean for modellers? &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
By providing the ability to run models on Graphics Cards, we can achieve significantly shorter model run times, increasing our modelling capabilities to be able to run continuous hydraulic models, with higher cell resolution, across larger extents and more scenarios. Common TUFLOW HPC applications include:&lt;br /&gt;
* Monte Carlo design assessments&lt;br /&gt;
* Rainfall ensemble design assessments&lt;br /&gt;
* High resolution 1D underground / 2D above ground integrated urban drainage&lt;br /&gt;
* High resolution floodplain lumped hydrology / hydraulic modelling (either fully 2D or including nested 1D open channels and pipes)  &lt;br /&gt;
* Whole of catchment direct rainfall&lt;br /&gt;
* Flood forecast modelling&lt;br /&gt;
* Long-term water resource management modelling&lt;br /&gt;
&lt;br /&gt;
The unconditional stability and higher order accuracy of TUFLOW HPC also lends itself well to highly transient situations, such as dam break assessments, where other solvers would either become unstable, lose accuracy or experience impractical simulation slow-down due to the need to solve at an extremely small timestep.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ HPC_Modelling_Guidance | Back to HPC Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer&amp;diff=45836</id>
		<title>TUFLOW Viewer</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer&amp;diff=45836"/>
		<updated>2026-04-09T23:18:21Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer replaces Crayfish and TUPLOT as the TUFLOW result viewer for &amp;lt;u&amp;gt;[[QGIS_Tips | QGIS]]&amp;lt;/u&amp;gt; (version 3.6 onwards). It uses the Mesh Data Abstraction Library (MDAL) available in QGIS to display and interact with TUFLOW map output results, and the TUFLOW results python library (the same library used by TUPLOT in earlier versions of QGIS) for viewing TUFLOW time series results.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;The TUFLOW Viewer tool has been significantly updated in the 2026.0.0 QGIS TUFLOW Plugin release. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/latest/tuflow-viewer/ TUFLOW Viewer Documentation]&amp;lt;/u&amp;gt; for more information. &amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Getting Started=&lt;br /&gt;
==QGIS Version==&lt;br /&gt;
&amp;lt;b&amp;gt;&#039;&#039;A few notes on the recommended QGIS version:&#039;&#039;&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is recommended to use the latest version of QGIS. The reasons for this are:&lt;br /&gt;
* TUFLOW Viewer is developed using the latest version, and although backwards compatibility is maintained as best as possible, TUFLOW Viewer is tested more frequently on the latest QGIS version.&lt;br /&gt;
* The mesh data provider (MDAL) and the temporal controller (which now underpins the mesh datasets in QGIS) are both relatively new in comparison to other libraries (e.g. GDAL) and are therefore more regularly updated with new features, enhancements, and bug fixes by the QGIS developers. TUFLOW Viewer takes advantage of these updates.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although TUFLOW Viewer has been developed to be consistent across QGIS versions, it is not always possible. Some QGIS developments and behaviour changes have led to TUFLOW Viewer behaviour also changing either through necessity or to keep in-line with the QGIS development direction. The below is a current list of known behaviour changes due to QGIS version:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Date-time format within TUFLOW Viewer&#039;&#039;&#039; - QGIS 3.14 introduced the &#039;&#039;&#039;temporal controller&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* Prior to QGIS 3.14, TUFLOW Viewer stored all results internally as relative time. The user could display as date-time and the reference time by changing &#039;&#039;&#039;Zero Date&#039;&#039;&#039; in &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options&#039;&#039;&#039;.&lt;br /&gt;
* QGIS 3.14, TUFLOW Viewer tried to mimic the behaviour of previous versions but the reference time could also be altered natively in the mesh layer &#039;&#039;&#039;Properties&#039;&#039;&#039;. Note on this version, this is the first QGIS release with the &#039;&#039;&#039;temporal controller&#039;&#039;&#039; and as a consequence some of the functionality matured and changed in subsequent versions. Users may experience strange behaviour when using TUFLOW Viewer with the QGIS 3.14 if using date-time format. It is recommended to upgrade to later versions of QGIS if date-time format is required.&lt;br /&gt;
* Post QGIS 3.14 TUFLOW Viewer stores all results internally as absolute time and the user must change the reference time in the native properties of the mesh layer to alter the dates being displayed. &#039;&#039;&#039;Zero Date&#039;&#039;&#039; now only changes how the relative time is displayed in TUFLOW Viewer and doesn&#039;t change the mesh layer reference time.&lt;br /&gt;
* Please follow the link below on how to use isodate (date-time) format in TUFLOW Viewer in QGIS 3.16+ (recommended minimum version if using date-time format): &amp;lt;u&amp;gt;[[TUFLOW_Viewer_-_Isodate_(Date-Time)_Format | Working With Isodate (Date-Time) format]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Known Issues&#039;&#039;&#039;&amp;lt;Br&amp;gt;&lt;br /&gt;
* QGIS 3.24 uses Matplotlib v3.5.1 which contains the following known bug which may affect users when re-labelling datasets within the TUFLOW Viewer plot window:&amp;lt;Br&amp;gt;&lt;br /&gt;
: [[TUFLOW_Viewer_Matplotlib_v3.5.1_Bug | TUFLOW Viewer - Matplotlib v3.5.1 bug]]&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;quot;ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled&amp;quot;&lt;br /&gt;
: [[TUFLOW_Viewer_Matplotlib_Font_Error | TUFLOW Viewer - Matplotlib Font Error]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installation or Version Upgrade==&lt;br /&gt;
===Installation===&lt;br /&gt;
TUFLOW Viewer is a free tool that comes as part of the TUFLOW plugin in QGIS. For instructions on how to install the plugin, please follow these steps: &amp;lt;u&amp;gt;[[TUFLOW_QGIS_Plugin#Installation_of_Plugin |Installation of Plugin]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
There are also instructions on installing plugins in the QGIS documentation - if you choose to follow the QGIS documentation, the plugin is called &amp;quot;TUFLOW&amp;quot; in the repository: &amp;lt;u&amp;gt; [https://docs.qgis.org/3.16/en/docs/training_manual/qgis_plugins/fetching_plugins.html Link to QGIS Documentation - Installing and Managing Plugins]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Plugin Upgrades===&lt;br /&gt;
It&#039;s recommended to upgrade the plugin whenever a new version is released. The upgrade process is typically done via the Plugin Manager (&#039;&#039;&#039;QGIS Drop Menu: Plugins &amp;gt;&amp;gt; Manage and Install Plugins&#039;&#039;&#039;).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW_Plugin_Update_01.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If you encounter an error while upgrading the plugin please follow these steps: &amp;lt;u&amp;gt;[[ TUFLOW_QGIS_Plugin#Error_While_Upgrading_Plugin | Error While Upgrading Plugin ]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Development Version==&lt;br /&gt;
It&#039;s possible to test out the latest development version of the plugin and TUFLOW Viewer by following the instructions here: &amp;lt;u&amp;gt;[[Installing_the_Latest_Development_Version_of_the_TUFLOW_Plugin | Installing the Latest Development Version of the TUFLOW Plugin]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Using TUFLOW Viewer=&lt;br /&gt;
==Opening the TUFLOW Viewer==&lt;br /&gt;
After installing the QGIS TUFLOW plugin, the TUFLOW Viewer tool can be opened by clicking the following icon in the plugin toolbar:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW_Plugin_Toolbar_TUFLOW_Viewer_01.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Loading Results==&lt;br /&gt;
TUFLOW simulation results can be loaded two ways:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Select &#039;&#039;&#039;File &amp;gt;&amp;gt; Load Results&#039;&#039;&#039; from the TUFLOW Viewer drop down menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW_Viewer_Load_Results_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Right Click in the &#039;&#039;&#039;Open Results&#039;&#039;&#039; panel and select &#039;&#039;&#039;Load Results&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW_Viewer_Load_Results_02a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Using either of the above methods, the following result load options are available:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results | Load All Results]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; This is done via a TCF or TLF file and will load in all results (Map Outputs and ESTRY Time Series). &#039;&#039;Note: the Load All Results feature is not yet enabled for TUFLOW FV FVC files.&#039;&#039;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Map_Outputs | Load Results - Map Outputs]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;  --&amp;gt; Select map output mesh results file (&#039;&#039;&#039;*.xmdf, *.dat, *.2dm, *.xmdf.sup, *.dat.sup, *.nc&#039;&#039;&#039; &#039;&#039;(supports netCDF format from TUFLOW FV output only)&#039;&#039;).&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Time_Series | Load Results - Time Series]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;  --&amp;gt; Select ESTRY / SWMM time series output results (&#039;&#039;&#039;*.tpc *.gpkg&#039;&#039;&#039;).&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Time_Series_FM | Load Results - Flood Modeller Time Series]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;  --&amp;gt; Load Flood Modeller results. This requires a &#039;&#039;&#039;*.gxy&#039;&#039;&#039; and result &#039;&#039;&#039;*.csv&#039;&#039;&#039; file to be exported from Flood Modeller.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Particles | Load Results - Particle Tracking Module]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;  --&amp;gt; Select output from particle module (&#039;&#039;&#039;*.nc&#039;&#039;&#039;) which will typically be suffixed with &#039;&#039;&#039;_ptm&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_NetCDF_Grid | Load Results - NetCDF Grid]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;  --&amp;gt; Load TUFLOW NC or HRNC map output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Import_1D_Hydraulic_Tables | Import 1D Hydraulic Tables]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;  --&amp;gt; Select a &#039;&#039;&#039;_1d_ta_tables_check.csv&#039;&#039;&#039; check file.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Import_2D_BC_Tables | Import 2D BC Tables]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Select a &#039;&#039;&#039;_2d_bc_tables_check.csv&#039;&#039;&#039; check file.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Import_1D_ESTRY_Cross_-_Sections | Import 1D ESTRY Cross-Sections]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;  --&amp;gt; This will automatically happen if an appropriate TUFLOW input is opened in QGIS while TUFLOW Viewer is open (e.g. 1d_xs).&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Importing_a_User_Defined_Time_Series_To_Display_On_The_Plot | Importing a User Defined Time Series Dataset To Display In The Plot Window]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Import_FV_Tide_BC_NetCDF | Import FV Tide BC NetCDF]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Loading_Results_While_TUFLOW_is_Running | Loading Results While TUFLOW is Running]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
If you receive an error similar to that shown below when attempting to load results from a TCF you will need to fix the encoding of your TUFLOW control files:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x92 in position 626: invalid start byte&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This error is caused by incompatible encoding of the TUFLOW control files. You can resolve this issue by changing the encoding of all your TUFLOW control files to a single type (typically UTF-8). You can do this using Notepad++. Please see the following link for instructions on how to do this (refer last image): &amp;lt;u&amp;gt;[[TUFLOW_Message_0060 | TUFLOW Message 0060]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW-SWMM Results ==&lt;br /&gt;
Results from a linked TUFLOW-SWMM model can be loaded via the standard menu options (available from the TUFLOW plugin version 3.10):&lt;br /&gt;
* &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Time_Series | Load Results - Time Series]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; To load the GPKG time series format (_swmm_ts.gpkg) by itself. The GPKG time series format is a new format similar to the .tpc with some additional functionality. More information can be found in the &amp;lt;b&amp;gt;&amp;lt;u&amp;gt;[[#GPKG_Time_Series_Format | GPKG Time Series Format]]&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt; section.&lt;br /&gt;
* &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Map_Outputs | Load Results - Map Outputs]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; To load in 2D map output results&lt;br /&gt;
* &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results | Load Results]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; To load all available results from the model. This includes .xmdf, .tpc, and .gpkg results which could all be available for a given model run. Note that .tpc and .gpkg are both time series type results and will load separate GIS _PLOT_ layers.&lt;br /&gt;
&lt;br /&gt;
== GPKG Time Series Format ==&lt;br /&gt;
The GPKG time series format is a new format similar to the .tpc with enhanced temporal functionality. Currently the GPKG time series format is only supported as an output from SWMM in TUFLOW-SWMM linked models and only supported in TUFLOW Plugin version 3.10+ and QGIS 3.16+.&amp;lt;Br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The GPKG format is different from the TPC format as it supports temporal styling in QGIS. As an example, the line width of the channels can be varied by both time and flow, with wider lines showing higher flow than thinner lines at a particular timestep. The format is fully compatible with the QGIS temporal controller and reacts dynamically as the temporal controller is updated. This results in a dynamic, and intuitive, method of showing the user the flood progression in the 1D system. Another benefit of being compatible with the core QGIS temporal capabilities is that the styling will also be dynamically updated if included in an animation export. TUFLOW Viewer&#039;s animation export tool has been updated to enable GPKG results to be exported with 2D results or even by itself.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The layer&#039;s styling can be automatically set using the TUFLOW Plugin via the layer&#039;s right-click context menu (under the TUFLOW submenu) or will automatically by styled if the results are loaded via TUFLOW Viewer. Examples of this format in QGIS are linked below:&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;u&amp;gt;[[Automatically_Styling_GPKG_Time_Series | Styling layers from the GPKG time series output]]&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;u&amp;gt;[[TUFLOW_Viewer_-_Load_Results_-_GPKG_Time_Series | Loading results via TUFLOW Viewer]]&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
The GPKG time series format is an open format and the specification is detailed at the below link:&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;u&amp;gt;[[GPKG_Time_Series_Format_Specification | GPKG Time Series Format Specification]]&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data Selection, Display and Styling==&lt;br /&gt;
===Map Output===&lt;br /&gt;
Map Outputs are the time varying 2D result outputs from TUFLOW (or 3D outputs from TUFLOW FV). Data selection, display, styling and plotting instructions for Map Output results in TUFLOW Viewer are described below:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Load Map Output results either via:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results | Load All Results]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;, or&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Map_Outputs | Load Results - Map Outputs]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; &lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Reload_Results | Reload Results]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Reload and update results&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Change_Result_Selection | Change Simulation Result Selection]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Changing between different simulation results is done by selecting the result name(s) in the &#039;Open Results&#039; widget.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Changing_Result_Type | Change Result Type Selection]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Changing between different result types is done using the &#039;Result Type&#039; widget.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Displaying_Maximum | Display Result Maximum]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; If available, maximums can be toggled on/off for the different result types.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Displaying_Vectors | Display Vectors]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Vector results can be displayed in combination with any of the scalar result types (e.g. velocity vectors can be displayed with depth).&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Styling_Scalar_Types | Style Scalar Map Outputs]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Styling scalar map output results is similar to styling raster layers in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Styling_Vector_Types | Style Vector Map Outputs]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Similar to the styling the scalar map outputs, there are a range of options for styling the vector layers.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Saving_Default_Styles | Save Default Styles]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Users can save default styles for result types so they are automatically applied each time results are imported using TUFLOW Viewer.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Displaying_The_Mesh | Display The Mesh]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; The quickest way to toggle the mesh is to click the grid box in TUFLOW Viewer.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_3D_to_2D_Depth_Averaging_Method | 3D to 2D Depth Averaging]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; For 3D map output results, the 3D to 2D depth averaging method can be changed in the layer properties.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Toggling_Between_Output_Timesteps | Lock/Unlock Output Time Steps from Different Result Datasets]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Locking Plot Output Timesteps to the Map Output Interval.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Isodate_(Date-Time)_Format | Working With Isodate (Date-Time) Format]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; View results using absolute time format (dd/mm/yyyy hh:mm:ss) instead of relative time format (hh:mm:ss).&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Plotting_Time_Series | Map Output Plot - Plotting Time Series]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Plotting_Cross-Sections_And_Longitudinal_Profiles | Map Output Plot - Plotting Cross-Sections and Longitudinal Profiles]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Plotting_Flow | Map Output Plot - Plotting Flow]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Curtain_Plot | Map Output Plot - 3D Curtain Plot]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Vertical_Profile | Map Output Plot - 3D Vertical Profile]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_3D_to_2D_Depth_Averaged_Time_Series | Map Output Plot - Plotting 3D to 2D Depth Averaged Time Series]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_3D_to_2D_Depth_Averaged_Cross-Sections | Map Output Plot - Plotting 3D to 2D Depth Averaged Cross-Sections]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Map_Outputs_-_Plotting_From_Vector_Layer | Map Output Plot - Plotting From Vector a Layer (e.g. shp file)]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; --&amp;gt; Plotting Map Output results.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[file: MapOutputs HeaderImg.PNG|650px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Time Series Output===&lt;br /&gt;
Time series outputs are typically 1D result outputs or 2D time series results (plot outputs or reporting locations). Time series results consist of two elements, the result datasets and GIS layers that the user can interact with to customise the plot selection in TUFLOW Viewer.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Load time series output results either via:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results | Load All Results]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;, or&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Time_Series | Load Results - Time Series]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; for TUFLOW models, or:&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Load_Results_-_Time_Series_FM | Load Results - Time Series Flood Modeller]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; for TUFLOW linked Flood Modeller 1D models.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Time_Series_Outputs_GIS_Data | Time Series Output - GIS Data]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Time_Series_Outputs_-_Plotting_Time_Series | Time Series Output - Plotting Time Series]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Time_Series_Outputs_-_Plotting_Longitudinal_Profiles | Time Series Output - Plotting Longitudinal Profiles]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Showing_Selected_Elements_And_Selecting_Sub-Sets | Identifying Selected Elements and Selecting Sub-Sets]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Time_Series_Outputs_-_Plotting_1D_Cross-Section_Inputs | Plotting 1D Cross-Section Inputs (with / without results)]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Time_Series_Outputs_-_Plotting_1D_Hydraulic_Table_Check_Files | Plotting 1D Hydraulic Table Check Files]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Extracting_Median_And_Mean_Time_Series | Extracting Median and Mean Time Series - Australian Rainfall and Runoff]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Plotting_1D_Flow_Regime | Plotting 1D Flow Regime]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Import_2D_BC_Tables | Plotting 2D Boundary Condition Tables]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Toggling_Between_Output_Timesteps | Lock/Unlock Output Time Steps from Different Result Datasets]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Isodate_(Date-Time)_Format | Working With Isodate (Date-Time) Format]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; &lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TimeSeries_HeaderImg.PNG|650px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Particle Tracking Output===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Particle_Outputs | Particle Tracking Outputs]]&#039;&#039;&#039;&amp;lt;/u&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Isodate_(Date-Time)_Format | Working With Isodate (Date-Time) Format]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Toggling_Between_Output_Timesteps | Lock/Unlock Output Time Steps from Different Result Datasets]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: Particles HeaderImg.PNG|650px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==General Plot Display Options==&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Summary_of_Plotting_Toolbar | Summary of Plotting Toolbar Options]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Using_A_Secondary_Axis | Using a Secondary Axis]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Using_A_Date_Axis | Using a Date Axis]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Showing_The_Current_Time | Displaying the Current Time]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Customising_The_Plot_Legend | Customising The Legend]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Customising_The_Plotting_Styles | Customising The Plotting Styles]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Customising_The_Plot_Axes | Customising The Plot Axes]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Toggling_Plot_Grid_Lines | Plot Grid Line Display]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Importing_a_Custom_Colour_Ramp_For_The_Curtain_Plot | Importing a Custom Colour Ramp For The Curtain Plot]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Navigating_And_Querying_The_Plot | Navigating And Querying The Plot]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Auto_Update_Plot_From_Cursor_Location | Auto Update Plot From Cursor Location]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Viewing_The_Vertical_Mesh | 3D Mesh Vertical Layer Display]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Hiding_The_Plotting_Window | Hiding the Plot Window]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Customising_The_Plot_Background_Colour | Customising the Plot Background Colour]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Setting_The_Plot_Default_Font_Size | Setting the Default Font Size For the Plot]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Toggling_Between_Output_Timesteps | Lock/Unlock Output Time Steps from Different Result Datasets]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Changing_Icon_Size | Changing the Icon Size]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Summary_Of_Options | Settings Options]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Plotting_HeaderImg.PNG | 650px ]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exporting Animations, Data, Plots and Maps ==&lt;br /&gt;
TUFLOW Viewer offers the ability to export animations, data interegation points/lines, maps and plots:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Exporting_An_Animation | Exporting An Animation]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Animation_cover.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Exporting_And_Copying_A_Plot | Exporting and Copying a Plot]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Exporting_The_Drawn_GIS_Plot_Features | Exporting The Drawn GIS Plot Points / Lines]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Batch_Exporting_Maps | Batch Exporting Maps]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;u&amp;gt;&#039;&#039;&#039;[[TUFLOW_Viewer_-_Batch_Exporting_Plots | Batch Exporting Plots]]&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
: [[File: Maps_Cover_Image.PNG | 550px]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Python Error Troubleshooting =&lt;br /&gt;
Occasionally the TUFLOW plugin will throw an exception and this will produce a &#039;&#039;&#039;Python Error&#039;&#039;&#039; which is displayed either as a yellow banner at the top of the map window or a window may appear stating than an &#039;Error has occurred while executing Python code&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: PythonError.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
When this occurs it means that the TUFLOW plugin has encountered something unusual or a situation that it does not know how to handle (i.e. it has reached a line in the code that has failed to execute and as a consequence Python has bailed out). This means all the code below this point that was meant to execute has not. This can have knock-on consequences as variables may not exist or be set to incorrect values and signal handling (e.g. what happens when a menu item is clicked) may be broken. As such, a python error can lead to further python errors that would normally not have occurred. Because of this flow-on effect the first python error is usually the most important.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you encounter a python error please:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Email the &#039;&#039;&#039;Stack Trace&#039;&#039;&#039; to &amp;lt;u&amp;gt;[mailto:support@tuflow.com support@tuflow.com]&amp;lt;/u&amp;gt; with a description of the steps that produced the python error (as best you can describe it). This is to help us identify bugs and fix the plugin so that it catches this exception in the future.&lt;br /&gt;
&amp;lt;li&amp;gt; If you find that you are now experiencing further python errors (probably caused by the initial error) you can try the following alternative in order of severity (least to worst):&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; On the TUFLOW Viewer menu bar &#039;&#039;&#039;File &amp;gt;&amp;gt; Reload TUFLOW Viewer&#039;&#039;&#039; - this will reload TUFLOW Viewer, resetting all variables and signals. You will be required to load in any time series results again and other settings may also be reset. Map output results will remain in the workspace and be reloaded into TUFLOW Viewer.&lt;br /&gt;
&amp;lt;li&amp;gt; Save the QGIS workspace (.qgz) and restart QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Restart QGIS - you can save the workspace (.qgz), however you should first select on the TUFLOW Viewer menu bar &#039;&#039;&#039;File &amp;gt;&amp;gt; Close TUFLOW Viewer Completely&#039;&#039;&#039; - this will close the Viewer and also remove all settings associated with it from the workspace so that the problematic variable is not accidentally reloaded with the workspace.&lt;br /&gt;
&amp;lt;li&amp;gt; The last resort option is to restart QGIS and load and create a new workspace from scratch (do not load a saved workspace).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Main_Page| Back to Wiki Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_QGIS_Plugin&amp;diff=45835</id>
		<title>TUFLOW QGIS Plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_QGIS_Plugin&amp;diff=45835"/>
		<updated>2026-04-09T23:14:28Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
If you are using QGIS as your model development or result viewing environment we strongly recommend installing the TUFLOW QGIS Plugin. It includes numerous tools to increase workflow efficiency. It also includes powerful result viewing functionality via its &amp;lt;u&amp;gt;[[TUFLOW_Viewer | TUFLOW Viewer]]&amp;lt;/u&amp;gt;. This page describes the process of installing and using the Plugin. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
See the &amp;lt;u&amp;gt;[https://docs.tuflow.com/qgis-tuflow-plugin/changelog/ TUFLOW QGIS Plugin Changelog]&amp;lt;/u&amp;gt; for changes between versions of the plugin (since version 3.2).&lt;br /&gt;
&lt;br /&gt;
=Installation of Plugin=&lt;br /&gt;
To enable the plugin please follow the instructions below:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download the plugin from the QGIS official repository,  &#039;&#039;&#039;Plugins &amp;gt;&amp;gt; Manage and Install Plugins&#039;&#039;&#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:QGIS_TUFLOW_000.PNG|400px]]&lt;br /&gt;
&amp;lt;li&amp;gt;In the manager, search for &amp;quot;TUFLOW&amp;quot;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select TUFLOW, and &amp;quot;Install Plugin&amp;quot;.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:QGIS_TUFLOW_001.PNG|400px]]&lt;br /&gt;
&amp;lt;li&amp;gt;Once enabled the plugin should be accessible from the &#039;&#039;&#039;Plugins &amp;gt;&amp;gt; TUFLOW&#039;&#039;&#039; menu item:&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:QGIS_TUFLOW_003.PNG|400px]]&lt;br /&gt;
&amp;lt;li&amp;gt;Before using, check that the prerequisite python modules are also installed (see below).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Development Version=&lt;br /&gt;
It&#039;s possible to test out the latest development version of the plugin and TUFLOW Viewer by following the instructions below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;[[Installing_the_Latest_Development_Version_of_the_TUFLOW_Plugin | Installing the Latest Development Version of the TUFLOW Plugin]]&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Prerequisites=&lt;br /&gt;
The TUFLOW plugin uses the following python modules which &#039;&#039;&#039;may&#039;&#039;&#039; need to be separately installed.  These may have been installed with other software, to check if they are installed on your machine: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Install the TUFLOW plugin (see instructions above)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the TUFLOW plugin &#039;&#039;&#039;Plugins &amp;gt;&amp;gt; TUFLOW&#039;&#039;&#039; &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Check that the required dependencies are installed from the menu. &#039;&#039;&#039;TUFLOW &amp;gt;&amp;gt; About &amp;gt;&amp;gt; Check Python Dependencies Installed&#039;&#039;&#039;.  &amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:QGIS_TUFLOW_004.PNG|600px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All going well you will get a notification to tell you that the required modules are installed. If not, you will be notified if you need to install either of the python modules below:&amp;lt;br&amp;gt;&lt;br /&gt;
Please ensure QGIS / python is installed before installing the below.&amp;lt;br&amp;gt;&lt;br /&gt;
* numpy (see https://sourceforge.net/projects/numpy/files/NumPy/1.6.1/numpy-1.6.1-win32-superpack-python2.7.exe/download)&lt;br /&gt;
* matplotlib (see https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.win32-py2.7.exe/download)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
Each function in the utility has a separate page documenting the usage. &lt;br /&gt;
&lt;br /&gt;
The first step for a project is to create the project / save the settings with the [[QGIS_TUFLOW_Create_Project | Create or Configure TUFLOW Project]] tool.  Subsequent tools rely on the information stored at this stage to work best. &lt;br /&gt;
&lt;br /&gt;
=== Editing Tools ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Create_Project | Create or Configure TUFLOW Project]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Import_Empty | Import Empty (template GIS file)]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Insert_TUFLOW_Attributes_to_Existing_Layer | Insert TUFLOW Attributes to Existing Layer]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Increment_Layer | Increment Selected Layer]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Reload_Data | Reload Data]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Arch_Bridge_Editor | Arch Bridge Editor]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Copy_TUFLOW_Command | Copy TUFLOW Command]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
=== Run Tools ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Run_TUFLOW | Run TUFLOW simulation]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[TUFLOW_Runner | TUFLOW Runner]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Run_TUFLOW_Utilities | Running TUFLOW Utilities]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Visualisation Tools ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[TUFLOW_Viewer | TUFLOW Viewer ]](result visualisation toolkit)&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Styles | Applying TUFLOW styles]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Import_Check_Files_From_Folder | Import Check Files From Folder]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Load_Layers_From_TCF | Load TUFLOW Layers From TCF]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Filter_and_Sort_TUFLOW_Layers | Filter and Sort TUFLOW Layers]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Apply_GPKG_Layer_Names | Apply GPKG Layer Names]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Apply_Label_to_Current_Layer | Apply Label to Current Layer]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TUFLOW_Apply_Stability_Styling | Apply Stability Styling]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
=== Hydrology Tools ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_ARR_to_TUFLOW | ARR to TUFLOW]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_ReFH2_to_TUFLOW | ReFH2 to TUFLOW]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SCS_to_TUFLOW | SCS to TUFLOW]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
=== Integrity Tools ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[1D_Integrity_Tool | 1D Integrity Tool]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
=== SWAN GIS Tools ===&lt;br /&gt;
For more information on SWAN GIS Tools please visit the following TUFLOW FV Wiki page: &#039;&#039;&#039;&amp;lt;u&amp;gt;[https://fvwiki.tuflow.com/index.php?title=SWAN_GIS_Tools SWAN GIS Tools]&amp;lt;/u&amp;gt;&#039;&#039;&#039;. Links to the individual tools on the TUFLOW FV Wiki area also provided below:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [https://fvwiki.tuflow.com/index.php?title=SWAN_GIS_Model_Builder SWAN GIS Model Builder]&lt;br /&gt;
&amp;lt;li&amp;gt; [https://fvwiki.tuflow.com/index.php?title=SWAN_GIS_Post_Processing SWAN GIS Post Processing]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
=== Processing Toolbox ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [[Convert_TUFLOW_Model_GIS_Format | Convert TUFLOW Model GIS Format]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[Create_TUFLOW_Project | Create TUFLOW Project]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[Package_Model_in_QGIS | Package Model]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_TIN_Polygons_Assign_Elevations | TIN Polygons - Assign Elevations]]&lt;br /&gt;
&amp;lt;li&amp;gt; SWMM Tools:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;[[QGIS_SWMM_BC_Create_Channel_Endpoint_1D/2D_Connections | BC - Create channel endpoint 1D/2D connections]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Conduits_Assign_Losses | Conduits - Assign losses]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Conduits_Assign_Node_Fields | Conduits - Assign node fields]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Convert_ESTRY_Layers_To_SWMM | Convert - ESTRY layers to SWMM]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Convert_XPSWMM_GIS_Inlet_Layers_to_SWMM | Convert - XPSWMM GIS inlet layers to SWMM]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Convert_XPSWMM_Hydrology_(beta) | Convert - XPSWMM Hydrology (beta)]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Convert_XPSWMM_Model_From_XPX | Convert - XPSWMM model from XPX (beta)]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_GeoPackage_Add_Sections | GeoPackage - Add sections]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_GeoPackage_Create | GeoPackage - Create]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_GeoPackage_Create_from_SWMM_inp | GeoPackage - Create from SWMM inp]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_GeoPackage_Write_to_SWMM_inp | GeoPackage - Write to SWMM inp]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Integrity_Make_Object_Names_Unique| Integrity - Make object names unique]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Junctions_Convert_HX_Nodes_to_Storage| Junctions - Convert HX nodes to storage]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Junctions_Downstream_Junctions_to_Outfalls| Junctions - Downstream junctions to outfalls]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Junctions_Set_Attributes| Junctions - Set attributes]]&lt;br /&gt;
&amp;lt;li&amp;gt; [[QGIS_SWMM_Outfalls_Fix_Multiply_Connected_Links| Outfalls - Fix multiply connected links]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you encounter any issues with the plugin please contact &amp;lt;u&amp;gt;[mailto:support@tuflow.com support@tuflow.com]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Error While Upgrading Plugin=&lt;br /&gt;
[[File:Plugin_uninstall_failed.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
If you receive an error while trying to upgrade the TUFLOW plugin you may need to either:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Restart QGIS and try upgrading the plugin again&lt;br /&gt;
&amp;lt;li&amp;gt; Manually remove the old version&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Errors are most likely caused by an issue with deleting the old version of the plugin as some part of the plugin is still being used somewhere in memory (RAM) and locking permissions. This is a known issue that occur with the ReFH2 to TUFLOW tool in older versions of the plugin. Simply restarting QGIS and retrying the upgrade process should fix the issue.&lt;br /&gt;
&lt;br /&gt;
=== Manually removing the TUFLOW plugin ===&lt;br /&gt;
To manually remove the TUFLOW plugin simply delete the &#039;tuflow&#039; folder from the QGIS plugin directory (you may need to close QGIS first):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Windows&#039;&#039;&#039; - %appdata%\QGIS\QGIS3\profiles\default\python\plugins&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Linux&#039;&#039;&#039; - /home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
&lt;br /&gt;
[https://docs.tuflow.com/qgis-tuflow-plugin/changelog/ https://docs.tuflow.com/qgis-tuflow-plugin/changelog/]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[QGIS_Tips| Back to QGIS Tips Main Page]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Main_Page| Back to Wiki Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45834</id>
		<title>TUFLOW 2D Hydraulic Structures</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45834"/>
		<updated>2026-04-08T05:53:36Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* 2D BG Shape (2d_bg) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= 2D Structure Modelling Theory =&lt;br /&gt;
The theory behind the modelling of energy losses and affluxes of hydraulic structures is presented in the following webinars by Bill Syme and Greg Collecutt (TUFLOW Developers).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#structures Webinar Link: Modelling Energy Losses at Structures]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#nov2022_hydraulic_modelling_bridge Webinar Link: 1D, 2D &amp;amp; 3D Hydraulic Modelling of Bridges]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Bridge Modelling in TUFLOW - Overview =&lt;br /&gt;
The TUFLOW 2D solution explicitly predicts the majority of “macro” losses due to the expansion and contraction of water through a constriction, or around a bend, provided the resolution of the grid is sufficiently fine (&amp;lt;u&amp;gt;[https://www.tuflow.com/Download/Publications/Flow%20Through%20an%20Abrupt%20Constriction%20-%202D%20Hydrodynamic%20Performance%20and%20Influence%20of%20Spatial%20Resolution,%20Barton,%202001.pdf Barton, 2001]; [https://www.tuflow.com/Download/Publications/Modelling%20of%20Bends%20and%20Hydraulic%20Structures%20in%20a%202D%20Scheme,%20Syme,%202001.pdf Syme, 2001]; [https://www.tuflow.com/Download/Technical_Memos/Modelling%20Bridge%20Piers%20in%202D%20using%20TUFLOW.pdf Ryan, 2013]&amp;lt;/u&amp;gt;). Where the 2D model is not of fine enough resolution to simulate the “micro” losses (e.g. from bridge piers, vena contracta, losses in the vertical (3rd) dimension), additional form loss coefficients and/or modifications to the cells widths and flow height need to be added. &lt;br /&gt;
==Contraction/Expansion Losses (“Macro” Losses)==&lt;br /&gt;
Loss of energy is caused by the flow contraction during the expansion of water after the vena-contracta inside a bridge section and the flow expansion downstream a bridge. As discussed above, this type of &amp;quot;macro&amp;quot; losses can be explicitly resolved by the TUFLOW 2D solver, provided that a proper turbulence model and mesh size are used. Below is an example of the 2D modelling of flow contraction/expansion at a pair of bridge abutments.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:FC_Velocity_Example.PNG|600px]]  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pier Losses==&lt;br /&gt;
Piers are usually smaller than the 2D cell size in real-world flood models. Although flexible mesh solver or quadtree refinement can be applied to reduce the local cell size around the pier, it also comes with an expensive computational cost that could significantly increase the simulation time. More practically, the backwater effect of piers can be modelled as sub-grid form losses. &lt;br /&gt;
&lt;br /&gt;
Pier form loss coefficients can be derived from information in publications such as &amp;lt;u&amp;gt;[https://www.fhwa.dot.gov/engineering/hydraulics/library_arc.cfm?pub_number=1&amp;amp;id=5 &#039;&#039;Hydraulics of Bridge Waterways&#039;&#039; (Bradly, 1978)] or [https://austroads.com.au/publications/bridges/agbt08 &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018)]&amp;lt;/u&amp;gt;. Energy loss estimated from bridge piers or other obstructions, vertical or horizontal, that do not cause upstream controlled flow regimes like pressure flow, are dependent on the ratio of the obstruction&#039;s area perpendicular to the flow direction to the gross flow area of the bridge opening, the shape of the piers or obstruction, and the angularity of the piers/obstruction to the flow direction. For example, using Hydraulics of Bridge Waterways (Bradly, 1978) the approach is: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Calculate the ratio of the water area occupied by piers to the gross water area of the constriction (both based on the normal water surface) and the angularity of the piers. These inputs are used to calculate &amp;quot;J&amp;quot; in the FHA documentation.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Figure 4.10 &#039;&#039;Incremental Backwater Coefficient for Piers&#039;&#039; data to calculate Kp. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:incremental_backwater_coefficient_2018_pier_losses.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: the pier form loss coefficients in Hydraulics of Bridge Waterways are derived based on the cross-sectional averaged velocity through the bridge opening in the absence of piers. It&#039;s not necessary to specify a blockage value if a pier form loss coefficient estimated from this method is used.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bridge Deck and Rail (Super Structure)==&lt;br /&gt;
When a bridge deck become partially or completely submerged, the deck could generate extra afflux resulting in increased water levels and flood extents upstream of the structure. The flow around the deck is highly 3-dimentional and complexed due to the different deck designs/profiles and/or the occurrence of pressure flow. In 2D SWE solver, depth-varying form loss values are often needed to reproduce the afflux caused by such structure. Due to the complexity of the flow, guidelines on how to set the form loss coefficient for the bridge deck are rare. We have carried out a joint research with QLD TMR (Queensland Department of Transport and Main Roads) regarding how to choose a proper form loss value for the bridge deck &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt; . In the research, CFD modelling was conducted to investigate the characteristics of energy loss of a simple bridge with a flat bottomed deck and guardrails.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:CFD_study.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Below are the key findings from the study:&lt;br /&gt;
*The results displayed a characteristic shape for head loss coefficient as a function of downstream water level over the deck thickness (TW/T).&lt;br /&gt;
*The head loss (afflux) peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out.&lt;br /&gt;
[[File:FormLoss_vs_TWT.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bridge Design (hB/T) vs Form Loss Coefficient Table===&lt;br /&gt;
The peak loss coefficient value is a function of the ratio of the depth underneath the deck (hB) and the thickness of the deck (T). This table can be used to estimate the deck form loss coefficient based on the bridge design (hB/T).&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;35%&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=55%| Deck Height to Thickness Ratio&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=45%| Peak Form Loss Coefficient&lt;br /&gt;
|-&lt;br /&gt;
| Scenario A (hB/T) = 2 || 0.42&lt;br /&gt;
|-&lt;br /&gt;
| Scenario B (hB/T) = 4 || 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Scenario C (hB/T) = 6 || 0.20&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The solid portion of the guard rails (blockage * rail depth) can be added to T in addition to the deck thickness to calculate hB/T. &lt;br /&gt;
*For bridge with more complicated designs (e.g. girders), higher form loss might be required due to the higher surface roughness of the bridge. &lt;br /&gt;
*If the hB/T ratio is less than 2 or greater than 6, use a peak form loss coefficient of 0.42 (minimum) or 0.20 (maximum), respectively.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: This form loss value should not be confused with the value of 1.56 used in the pressure flow approached adopted in &amp;lt;u&amp;gt;[[1D_Bridges | TUFLOW 1D &amp;quot;B&amp;quot; and &amp;quot;BB&amp;quot; bridge]]&amp;lt;/u&amp;gt;. TUFLOW 1D bridge pressure flow approach is based on the section 4.13.2 &amp;quot;All Girders in Contact with Flow (Case II)&amp;quot; of &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018). The original hydraulic experiment conducted by &amp;lt;u&amp;gt;[https://hdl.handle.net/10217/39009 Liu et al (1957)]&amp;lt;/u&amp;gt; in a laboratory flume with a pair of bridge abutments and a deck. The flow conditions were similar to orifice flow due to the high blockage ratio caused by the abutments and the deck. When modelling bridges in 2D, the contraction/expansion losses caused by the abutments would be handled explicitly by the 2D solver, so a value 1.56 can lead to duplication of the contraction/expansion losses caused by the bridge abutments.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=TUFLOW 2D Bridge Setup=&lt;br /&gt;
There are two methods available to model depth varying form loss of a bridge structure: &lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 |2D Layered Flow Constriction (2d_lfcsh)]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:The traditional method used to model depth-varying form loss through bridge components such as piers, decks, and rails.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 |2D BG Shape (2d_bg)]]&amp;lt;/u&amp;gt; (introduced in the 2023 release)&lt;br /&gt;
:A simplified approach developed to simplify the model input based on the findings from the joint TMR Study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Both methods provide options for representing flow surcharging, the pressure flow of bridge decks and eventually submerged bridge flow at higher water levels. During the surcharging of bridge decks, higher energy losses can be specified to simulate the pressure flow. &lt;br /&gt;
&lt;br /&gt;
Examples for how to configure both approaches are provided in the 2D structures section of the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#2D_Structures |TUFLOW Wiki Example Models]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Tutorial_M04 |Tutorial Module 4]]&amp;lt;/u&amp;gt; - 2D Bridges.&lt;br /&gt;
&lt;br /&gt;
==2D Layered Flow Constriction (2d_lfcsh)==&lt;br /&gt;
Four flow constriction layers are represented in a 2d_lfcsh layer. The lower three layers represents the pier, the bridge deck and the rails. Each layer has its own attributes to specify the blockage and the form loss coefficient. The top (fourth) layer assumes the flow is unimpeded, representative of flow over the top of a bridge. Within the same shape, the invert of the bed, and thickness of each layer can vary in 3D.&lt;br /&gt;
&lt;br /&gt;
The following table provides an overview for how to determine the blockage and form loss coefficient for each layer:&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; If no calibration is available, estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table || Full blockage, no flow through the deck &lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% ||   Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt;&lt;br /&gt;
If no calibration data is available, combined FLC for Layers 2 and 3 should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = L2_Depth + (pBlockage × L3_Depth)  &lt;br /&gt;
*(pBlockage × L3_Depth) represents the solid portion of the rails  &lt;br /&gt;
*L2 FLC and L3 FLC should sum to the combined FLC  &lt;br /&gt;
|Blockage and FLC depends on rail type &amp;lt;br&amp;gt; Sensitivity testing with 100% blockage is recommended due to potential for debris during flood&lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_lfcsh_attributes.png | 500px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blockage===&lt;br /&gt;
&lt;br /&gt;
The 2d_lfcsh functions by adjusting the flow width and the form loss of 2D cell faces. The combined blockage across the 4 layers is calculated at each simulation timesteps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Blockage_total_equation_01.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
where&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the actual depth of water in layer &#039;&#039;&#039;&#039;&#039;i&#039;&#039;&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;total&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the total water depth&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach=== &lt;br /&gt;
&lt;br /&gt;
The combined form loss coefficient is determined using one of three methods. The form loss coefficient method can be specified either individually using the 2d_lfcsh “Shape_Options” attribute or globally using the .tcf command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Layered FLC Default Approach&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; [ METHOD A | {METHOD B} | METHOD C | METHOD D]&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD A&amp;lt;/b&amp;gt;: The losses are accumulated as the water level rises through the layers. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_cumulate.png |450px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Applies the full accumulated form loss continuously, even when overtopping begins (no reduction)&lt;br /&gt;
:Note: Simpler method but tends to overestimate losses when the structure is submerged or overtopped&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD B&amp;lt;/b&amp;gt; (default): the losses are applied pro-rata according to the depth of water in each layer. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_portion.png |430px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure&lt;br /&gt;
:Note: Maintains backward compatibility but may underrepresent losses during pressurised or overtopped flows&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD C&amp;lt;/b&amp;gt; (recommended): hybrid approach combining Method A and Method B. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_methodC.png |520px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Gradual increase in form loss with water level, following Method A&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure, following Method B&lt;br /&gt;
:Note: Recommended method; aligns closest to CFD modelling results and TUFLOW HPC behaviour. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD D&amp;lt;/b&amp;gt;: Allows the modeller to control the depth at which the losses start to reduce when the flow transitions between pressure flow and drowned flow. &lt;br /&gt;
:This approach is the same used by the 2d_bg layer (introduced in the 2023-03 release). It is recommended to use the 2d_bg layer as it has the benefit of a simplified attribute table, for easier user input.&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
&lt;br /&gt;
In this study, a combined form loss coefficient of 0.35 was used to match observed head loss during slight overtopping of a bridge. The FLC values for each layer were adjusted to achieve the correct combined form loss. The table and plot show how each layer contributes to the total form loss and highlight the differences in calculated form loss between the three methods.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;60%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=6%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=12%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method A&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method B&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method C&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5.0 || 5   || 0.07 || 0.07 || 0.07 || 0.07 || 0.07 || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1.5 || 100 || 0.15 || 0.22 || 1.05 || 0.30 || 0.15 || 0.22&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 1.0 || 50  || 0.13 || 0.35 || 0.70 || 0.35 || 0.13 || 0.35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:FLC_vs_height_updated.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2D BG Shape (2d_bg)==&lt;br /&gt;
2D BG Shape is similar to the Layered Flow Constriction, but has several updates to simplify the input based on the findings from the joint study with TMR &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The following table provides an overview of how to determine the blockage and form loss coefficient for each layer:&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || rowspan=&amp;quot;2&amp;quot; | The Super Structure (Super_S) is the bridge deck and rails layers combined. &amp;lt;br&amp;gt; &lt;br /&gt;
Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; &lt;br /&gt;
If no calibration data is available, the Super_S FLC should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = Deck_Depth + (Rail_pBlockage*Rail_Depth)  &lt;br /&gt;
*(Rail_pBlockage*Rail_Depth) represents the solid portion of the rails&lt;br /&gt;
|| Full blockage, no flow through the deck&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% || Sensitivity testing with 100% blockage is recommended due to potential for debris during flood events&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Bridge block.jpg | 800px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Inflection Point===&lt;br /&gt;
&lt;br /&gt;
Based on findings from the joint study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;, the head loss peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out. The &#039;SuperS_IPf&#039; attribute (inflection point factor, default = 1.6) can be used to define the height of the inflection point. The solid portion of the rail layer is also added to the deck thickness to calculate the depth to the inflection point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;), i.e.:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg_infection_point.png | 520px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach===&lt;br /&gt;
The form loss approach is similar to the FLC approach METHOD C, with L2/L3 replaced by a single super structure layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg.png | 480px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
This example uses the same bridge setup described in the&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Form_Loss_Calibration_Example_-_Iowa_River_Flood_Study | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; section, with the following parameters applied: &lt;br /&gt;
*SuperS_FLC = 0.28 &lt;br /&gt;
*SuperS_Ipf = 1.6, &lt;br /&gt;
The Depth to Inflection Point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;) is calculated as 3.2m above the bridge soffit. &lt;br /&gt;
&lt;br /&gt;
The table and figure below show how the form loss value varies with water depth.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;32%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Form Loss&lt;br /&gt;
|-&lt;br /&gt;
| Pier || 5.0 || 5   || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| Deck || 1.5 || 100 || rowspan=&amp;quot;2&amp;quot; | 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Rail || 1.0 || 50 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:FLC_vs_height_bg.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2D Bridges Line vs Polygon Layer ==&lt;br /&gt;
The form loss coefficient (FLC) is applied differently when using a line compared to a polygon for both 2d_lfcsh and 2d_bg inputs. The FLC is applied at cell sides (u and v faces) as this is where velocities are calculated. &amp;lt;br&amp;gt; &lt;br /&gt;
For larger bridges that spread across multiple cells, it is recommended to use a polygon layer, which selects all u and v faces falling within the polygon.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;2D Layered Flow Constriction (2d_lfcsh)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides&lt;br /&gt;
| This approach is cell size independent. It is the easiest setup and the preferred / recommended approach when using 2d_lfcsh.&lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| between zero and 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| A cell is selected if the polyline intersects the cell crosshair. Caution should be taken when using a &amp;quot;thick&amp;quot; line, as changes in cell size can cause it to become a &amp;quot;wide&amp;quot; line. If this occurs, the FLC attribute may need to be recalculated to avoid overestimating or underestimating losses.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| larger than 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge &amp;lt;br&amp;gt;&#039;&#039;(may need to be recalculated, see notes)&#039;&#039;&lt;br /&gt;
| FLC divided by number of cell sides in the direction of flow &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;(number of cell sides in the direction of flow is calculated as line width divided by cell size)&#039;&#039;&lt;br /&gt;
| Polygon shapes are recommended if more than 3 rows of faces must be selected.. &amp;lt;br&amp;gt; &lt;br /&gt;
Caution should be taken when using a &amp;quot;wide&amp;quot; line. The cell size and alignment of the 2d_lfcsh line may result in selecting too many or too few cell faces in the direction of the flow. The FLC input may need to be recalculated to ensure FLC Applied multiplied by the number of cell sides in the direction of flow equates to the intended total form loss.  &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; | Polygon&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Total loss per unit length (meters or feet) in the direction of flow&lt;br /&gt;
| FLC * cell size applied to all sides of selected cells &lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2D Bridge (2d_bg)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides. &lt;br /&gt;
| This approach is cell size independent. &lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| larger than zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| This approach is cell size independent. A cell is selected if the polyline intersects the cell crosshair.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| Not supported&lt;br /&gt;
| –&lt;br /&gt;
| –&lt;br /&gt;
| BG polygon shapes are recommended if more than 3 rows of faces must be selected.&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; |Polygon&lt;br /&gt;
| -&lt;br /&gt;
| &#039;&#039;(used to automatically distribute the total FLC to the selected faces)&#039;&#039; &lt;br /&gt;
| Total form loss of the bridge &lt;br /&gt;
| FLC / Deck_Width * cell size applied to all sides of selected cells &lt;br /&gt;
| For bridges modelled using a 2d_bg polygon the relative ratio of the bridge width to the 2D cell size should be 4 or greater. For more information on this see &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/2d_bg_R_Bridge_Configuration_Advice_202503.pdf 2d_bg_R_Bridge_Configuration_Advice.pdf]&amp;lt;/u&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following diagrams demonstrate how the input FLC is applied for the four geometry options for 2d_lfcsh and 2d_bg layers: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:2dlfcsh 2dbg combined v2.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
It is good modelling practice to check the &amp;lt;u&amp;gt;[[Check_Files_2d_lfcsh_uvpt | lfcsh_uvpt_check]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Check Files 2d bg uvpt check | bg_uvpt_check]]&amp;lt;/u&amp;gt; files to confirm the number of faces selected and the FLC values assigned. It is also strongly recommended to undertake a sensitivity analysis on the applied form losses in the model to check if it makes any difference to the results and/or double check against other methods (hand calculations, other software, CFD modelling), especially if the bridge is near an area of interest. If calibration data is available, this should be used to guide the form loss value specification.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Common Questions Answered (FAQ)=&lt;br /&gt;
== What blockage values should I use for bridge guard rails? ==&lt;br /&gt;
The blockage of bridge guard rails can be anything from 100% blocked (solid concrete rails) to 10% blocked (very open rails). In addition, the accumulation of debris during a flood can be substantial as shown in the image below. Sensitivity testing with 100% blockage is recommended. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge rail debris.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
== How to conduct sensitivity test for 2D bridges? ==&lt;br /&gt;
General recommendations to cross-check the results are:&lt;br /&gt;
* Compare computed affluxes against desktop methods (e.g. Hydraulics of Bridge Waterways, 1978) and/or other software including CFD, especially for unusual bridge designs. &lt;br /&gt;
* Use any recorded flood marks or general observations from past events to check and calibrate FLC values. &lt;br /&gt;
* Conduct sensitivity testing by assessing the impact and influence of FLC values on your modelling objectives. The afflux resulting from the FLC values will be proportional to the velocity head, i.e. ∆h=FLC*(v^2/2g). As such, if velocities are low (e.g. 1 m/s), the results may not be overly sensitive to uncertainties in the FLC values. If completing a check using this equation for a long skew bridge it is best to calculate the total structure velocity from a PO line digitised in the same location as the bridge.&lt;br /&gt;
&lt;br /&gt;
Finally, after completing sensitivity testing and understanding the range of uncertainty due to unknowns like the degree of blockage and influence of FLC values (e.g. +/-20%), you are in a position to discuss with your client how best to proceed.  For example, if the modelling is to set planning levels for a development upstream then it may be appropriate to choose values on the higher side (higher FLC values and/or blockage assumptions), noting that the uncertainty may be amply covered by a regulatory freeboard.  Conversely, if the development is on the downstream side the conservative approach would be to use the results at the lower end of your FLC/blockage values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge Flood Debris Loading.jpg | 500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I use both FLC and blockage for layer one in 2D bridge layered flow constriction? ==&lt;br /&gt;
When applying FLC and blockage values to model obstructions such as piers, the following considerations need to be taken into account:&lt;br /&gt;
* The FLC value applies an energy loss along 1D channels or across 2D cell faces equivalent to FLC*V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g where V is the 1D channel velocity or the 2D cell face velocity.&lt;br /&gt;
* FLC values are often sourced from publications such as Hydraulics of Bridge Waterways or AustRoads (e.g.  Kp chart for piers).  &lt;br /&gt;
* If possible, establish whether the source of the FLC value is based on the approach velocity (the velocity in the absence of piers) or structure velocity (the velocity with area blocked out by the piers) noting that it often isn’t clear or stated.  &lt;br /&gt;
** If it is the structure velocity, this is usually the velocity at the vena-contracta (point of greatest contraction within the entrance to the structure and therefore highest velocity) - see image below.  Bluff or sharp-edged obstructions will have a much more pronounced vena-contracta, and therefore higher velocity compared with a round-edged obstruction. &lt;br /&gt;
** FLC values based on the approach velocity will be higher than those based on the structure velocity to achieve the same energy loss.&lt;br /&gt;
* Applying a blockage equivalent to the obstruction width will increase, usually very slightly, the velocity of the 1D channel or 2D cell face.  This won’t be the vena-contracta velocity, but a velocity between the approach velocity and the vena-contracta velocity.  A greater blockage will need to be applied to emulate the vena-contracta velocity.&lt;br /&gt;
* If the FLC source value is based on:&lt;br /&gt;
** The approach velocity then there is no need to apply a blockage value.&lt;br /&gt;
** The structure velocity then the blockage value should be applied noting that it may be appropriate to apply a larger blockage to take into account the vena-contracta.&lt;br /&gt;
* If it is not clear or unknown whether the FLC source value is based on the approach or structure velocity, the recommendation would be to apply the blockage in the interests of being slightly conservative on the upstream flood level calculation.&lt;br /&gt;
* For most minor obstructions such as bridge piers, the blockage is usually relatively small and whether included or not has a negligible or minor affect on flood levels compared with other factors such as the approach embankments and the bridge deck.&lt;br /&gt;
* Blockage from debris wrapped around piers can have a greater influence on the results than the effect of applying or not applying a blockage. Debris wrapped around piers can be accounted for in the FLC value calculated for the pier layer. &lt;br /&gt;
* As always, sensitivity testing with and without blockage and +/- the FLC value is highly recommended to understand their importance in regard to the broader modelling objectives and the effects of uncertainties in the input data, boundaries, other parameters such as Manning’s n values, and the accuracy of the numerical solution scheme (see &amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#maximise_accuracy Maximising the Accuracy of Hydraulic Models webinar]&amp;lt;/u&amp;gt;).&lt;br /&gt;
[[File: Vena_contracta.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Image showing the formation of the vena-contracta.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t see results that I expect when using 2d_lfcsh layer==&lt;br /&gt;
The 2d_lfcsh layer is a versatile feature that was designed to model bridges in 2D, but can also be used for other applications like fences, buildings raised on pillars and so on.&lt;br /&gt;
Some of the unexpected results could be:&lt;br /&gt;
* Water level going through the bridge deck in 2D map output.&lt;br /&gt;
* Water transiting through 100% blocked Layer 1, e.g. fences with solid base.&lt;br /&gt;
* SHMax.csv reporting values above the bridge deck when 2D map output reports water level lower than the top of the bridge deck.&lt;br /&gt;
&lt;br /&gt;
TUFLOW is a 2D solution (not 3D), in the 2d_lfcsh layer the percent blockage and form loss coefficient applied to the cell faces is depth averaged across the entire cell face (across Layer 1, 2 and 3):&amp;lt;br&amp;gt;&lt;br /&gt;
*For bridges, where Layer 2 has a 100% blockage applied, the minimum flow width of 0.001m is used and is averaged with the Layer 1 blockage (based on the depth of the water). This may result in a water level being reported within or above the bridge deck, which would represent the pressure head.&lt;br /&gt;
*Layered flow constriction works by adjusting the flow area of the cell faces by any blockages to generate the correct depth averaged velocity at each face at which the form losses are applied as a fraction of the V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g kinetic energy. Calculating the correct velocity is critical for determining the losses as the losses are proportional to the velocity squared. &amp;lt;br&amp;gt;&lt;br /&gt;
*For a layered flow constriction cell face the flow area cannot be zero above the invert of Layer 1 to avoid a divide by zero in the computations, therefore a minimum average flow width after applying blockages of 0.001 m is applied.  if Layer 1 is 100% blocked, a very small amount of water will flow through Layer 1.  If this is unacceptable, instead of applying 100% blockage of Layer 1, the preferred approach is to start the layered flow constriction at the top of Layer 1 or raise the ground elevation to the top of Layer 1 using one of the Z Shape modification functions (e.g. a breakline). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:100% Blockage Diagram.png | 500px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I model bridge piers explicitly in 2D using very small cells? ==&lt;br /&gt;
It isn&#039;t recommended to explicitly model bridge piers by blocking out the pier faces in TUFLOW, or in any hydraulic modelling software based on solving Shallow Water Equations(SWE). Due to the 3-dimentiality of the flow and turbulence around a pier, computational fluid dynamics (CFD) approach is often required to simulate the flow around piers explicitly. The wake turbulence behind a simple-shape pier can be resolved to some extent using extremely fine mesh in TUFLOW (see calibration example to a flume experiment in the [https://www.tuflow.com/library/webinars/#structures webinar on Energy Losses at Structures]), however the predictions for head losses show notable sensitivities to the mesh size, the mesh design, and the choice of turbulence model. The extremely fine mesh resolution also results in significantly higher computational costs. &lt;br /&gt;
&lt;br /&gt;
Therefore, the safest and strongly recommended approach with regard to establishing head losses and consequently flood levels, is to model the effects of such obstructions with form loss coefficients (applied to selected mesh cells) that have been derived from physical testing. This approach has been shown to provide the most consistent results across various mesh resolutions. It also has the added benefit that, by avoiding small cells in the mesh, it will provide much more efficient run times for flow solvers.&lt;br /&gt;
&lt;br /&gt;
[[File:Flow round a cylinder.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The point of flow separation around an object has a major bearing on the drag coefficient and is not reliably reproduced by 2D or 3D software.&#039;&#039;&lt;br /&gt;
&amp;lt;!-- SG commented out, too much CFD info&lt;br /&gt;
Small scale obstructions to the flow, such as trees, poles, piers, etc. cause additional head losses along a flow path due to their drag characteristics. Historically, form loss (or drag) coefficients for various profile shapes have been determined as a function of Reynold’s number through experimental testing. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More recently, computational fluid dynamics (CFD) has been used to attempt to reproduce the velocity field in the wake of such objects. Although providing better results than 2D modelling, the results have not always agreed well with physical tests. In particular, the drag of a given profile depends on the exact location of flow separation points, which in turn depends on the ability of the CFD code to predict the laminar to turbulent transition in the boundary layer, which is many times smaller than the profile shape itself. In general, the form loss results from CFD models show significant sensitivity to mesh size, mesh design, and choice of turbulence model. Considerable caution needs to be exercised even for CFD modelling.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to best convert flow constriction data (2d_fc or 2d_fcsh) into newer formats (2d_lfcsh or 2d_bg)? ==&lt;br /&gt;
The form loss parameters can be transferred from the flow constriction (2d_fc or 2d_fcsh) to the first layer of the layered flow constriction (2d_lfcsh) or pier layer of the 2d_bg. Definition of the remaining form loss and blockage layer inputs should follow the guidance outlined in &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 | 2D BG Shape]]&amp;lt;/u&amp;gt; paragraphs.&amp;lt;br&amp;gt;&lt;br /&gt;
When using floating pontoon (type FD in the 2d_fc or 2d_fcsh) different setup might need to be used for different events. For large events when floating pontoon becomes fixed at the top of the supporting piles, standard 2d_lfcsh setup can be used. Smaller events when the pontoon is floating at different heights might require more sensitivity testing of the structure parameters to find out a setup the matches the reality as close as possible.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I model bridges in 1D or 2D Domain? ==&lt;br /&gt;
The recommended approach typically depends on the study objectives and if the channel upstream and downstream of the bridge is modelled in 1D or 2D. To preserve the momentum as accurately as possible the bridge should be modelled in the same dimension as the channel, e.g. 1d_nwk bridge if the channels is in 1D and 2d_bg or 2d_lfcsh if the channel is modelled in 2D.&amp;lt;br&amp;gt;&lt;br /&gt;
In 2D, the expansion/contraction losses are modelled based on the topography and don&#039;t need to be estimated as attributes as for 1D modelling. Also, for higher flows where the bridge is overtopped, 2D is preferable approach. &lt;br /&gt;
&lt;br /&gt;
== What is the difference between downstream and upstream controlled flow? ==&lt;br /&gt;
Downstream control means a change in downstream water level will cause a change in upstream water level. Upstream control means the upstream water level is insensitive to the downstream water level and usually indicates the occurrence of supercritical flow.&lt;br /&gt;
&lt;br /&gt;
== What FLC values should be used for 2d_bg bridge if hB/T is below 2 or above 6? ==&lt;br /&gt;
TMR has extended the CFD simulation to hB/T ratios of 1 to 10. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&lt;br /&gt;
If hB/T is outside this ratio:&lt;br /&gt;
* hB/T ratios of less than 1 represent a very unusual bridge sitting low to the ground, and the peak FLC may increase above the end value (FLC of 0.6) in a way that doesn&#039;t follow the research trend or extrapolation. For these cases we would recommend using CFD modelling to obtain a more informed value. Alternatively, computing an FLC based on pressure flow or using 1D culvert might be considered.&lt;br /&gt;
* For hB/T ratios of greater than 10, the FLC is likely to continue to decrease, but probably not significantly. Clamping to the end value (FLC of 0.16) might be considered the more conservative approach (if the primary concern is flood levels upstream of the bridge).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:Bridge_block.jpg&amp;diff=45833</id>
		<title>File:Bridge block.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:Bridge_block.jpg&amp;diff=45833"/>
		<updated>2026-04-08T05:52:37Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45831</id>
		<title>TUFLOW 2D Hydraulic Structures</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45831"/>
		<updated>2026-04-08T05:47:37Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Pier Losses */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= 2D Structure Modelling Theory =&lt;br /&gt;
The theory behind the modelling of energy losses and affluxes of hydraulic structures is presented in the following webinars by Bill Syme and Greg Collecutt (TUFLOW Developers).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#structures Webinar Link: Modelling Energy Losses at Structures]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#nov2022_hydraulic_modelling_bridge Webinar Link: 1D, 2D &amp;amp; 3D Hydraulic Modelling of Bridges]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Bridge Modelling in TUFLOW - Overview =&lt;br /&gt;
The TUFLOW 2D solution explicitly predicts the majority of “macro” losses due to the expansion and contraction of water through a constriction, or around a bend, provided the resolution of the grid is sufficiently fine (&amp;lt;u&amp;gt;[https://www.tuflow.com/Download/Publications/Flow%20Through%20an%20Abrupt%20Constriction%20-%202D%20Hydrodynamic%20Performance%20and%20Influence%20of%20Spatial%20Resolution,%20Barton,%202001.pdf Barton, 2001]; [https://www.tuflow.com/Download/Publications/Modelling%20of%20Bends%20and%20Hydraulic%20Structures%20in%20a%202D%20Scheme,%20Syme,%202001.pdf Syme, 2001]; [https://www.tuflow.com/Download/Technical_Memos/Modelling%20Bridge%20Piers%20in%202D%20using%20TUFLOW.pdf Ryan, 2013]&amp;lt;/u&amp;gt;). Where the 2D model is not of fine enough resolution to simulate the “micro” losses (e.g. from bridge piers, vena contracta, losses in the vertical (3rd) dimension), additional form loss coefficients and/or modifications to the cells widths and flow height need to be added. &lt;br /&gt;
==Contraction/Expansion Losses (“Macro” Losses)==&lt;br /&gt;
Loss of energy is caused by the flow contraction during the expansion of water after the vena-contracta inside a bridge section and the flow expansion downstream a bridge. As discussed above, this type of &amp;quot;macro&amp;quot; losses can be explicitly resolved by the TUFLOW 2D solver, provided that a proper turbulence model and mesh size are used. Below is an example of the 2D modelling of flow contraction/expansion at a pair of bridge abutments.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:FC_Velocity_Example.PNG|600px]]  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pier Losses==&lt;br /&gt;
Piers are usually smaller than the 2D cell size in real-world flood models. Although flexible mesh solver or quadtree refinement can be applied to reduce the local cell size around the pier, it also comes with an expensive computational cost that could significantly increase the simulation time. More practically, the backwater effect of piers can be modelled as sub-grid form losses. &lt;br /&gt;
&lt;br /&gt;
Pier form loss coefficients can be derived from information in publications such as &amp;lt;u&amp;gt;[https://www.fhwa.dot.gov/engineering/hydraulics/library_arc.cfm?pub_number=1&amp;amp;id=5 &#039;&#039;Hydraulics of Bridge Waterways&#039;&#039; (Bradly, 1978)] or [https://austroads.com.au/publications/bridges/agbt08 &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018)]&amp;lt;/u&amp;gt;. Energy loss estimated from bridge piers or other obstructions, vertical or horizontal, that do not cause upstream controlled flow regimes like pressure flow, are dependent on the ratio of the obstruction&#039;s area perpendicular to the flow direction to the gross flow area of the bridge opening, the shape of the piers or obstruction, and the angularity of the piers/obstruction to the flow direction. For example, using Hydraulics of Bridge Waterways (Bradly, 1978) the approach is: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Calculate the ratio of the water area occupied by piers to the gross water area of the constriction (both based on the normal water surface) and the angularity of the piers. These inputs are used to calculate &amp;quot;J&amp;quot; in the FHA documentation.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Figure 4.10 &#039;&#039;Incremental Backwater Coefficient for Piers&#039;&#039; data to calculate Kp. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:incremental_backwater_coefficient_2018_pier_losses.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: the pier form loss coefficients in Hydraulics of Bridge Waterways are derived based on the cross-sectional averaged velocity through the bridge opening in the absence of piers. It&#039;s not necessary to specify a blockage value if a pier form loss coefficient estimated from this method is used.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bridge Deck and Rail (Super Structure)==&lt;br /&gt;
When a bridge deck become partially or completely submerged, the deck could generate extra afflux resulting in increased water levels and flood extents upstream of the structure. The flow around the deck is highly 3-dimentional and complexed due to the different deck designs/profiles and/or the occurrence of pressure flow. In 2D SWE solver, depth-varying form loss values are often needed to reproduce the afflux caused by such structure. Due to the complexity of the flow, guidelines on how to set the form loss coefficient for the bridge deck are rare. We have carried out a joint research with QLD TMR (Queensland Department of Transport and Main Roads) regarding how to choose a proper form loss value for the bridge deck &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt; . In the research, CFD modelling was conducted to investigate the characteristics of energy loss of a simple bridge with a flat bottomed deck and guardrails.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:CFD_study.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Below are the key findings from the study:&lt;br /&gt;
*The results displayed a characteristic shape for head loss coefficient as a function of downstream water level over the deck thickness (TW/T).&lt;br /&gt;
*The head loss (afflux) peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out.&lt;br /&gt;
[[File:FormLoss_vs_TWT.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bridge Design (hB/T) vs Form Loss Coefficient Table===&lt;br /&gt;
The peak loss coefficient value is a function of the ratio of the depth underneath the deck (hB) and the thickness of the deck (T). This table can be used to estimate the deck form loss coefficient based on the bridge design (hB/T).&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;35%&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=55%| Deck Height to Thickness Ratio&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=45%| Peak Form Loss Coefficient&lt;br /&gt;
|-&lt;br /&gt;
| Scenario A (hB/T) = 2 || 0.42&lt;br /&gt;
|-&lt;br /&gt;
| Scenario B (hB/T) = 4 || 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Scenario C (hB/T) = 6 || 0.20&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The solid portion of the guard rails (blockage * rail depth) can be added to T in addition to the deck thickness to calculate hB/T. &lt;br /&gt;
*For bridge with more complicated designs (e.g. girders), higher form loss might be required due to the higher surface roughness of the bridge. &lt;br /&gt;
*If the hB/T ratio is less than 2 or greater than 6, use a peak form loss coefficient of 0.42 (minimum) or 0.20 (maximum), respectively.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: This form loss value should not be confused with the value of 1.56 used in the pressure flow approached adopted in &amp;lt;u&amp;gt;[[1D_Bridges | TUFLOW 1D &amp;quot;B&amp;quot; and &amp;quot;BB&amp;quot; bridge]]&amp;lt;/u&amp;gt;. TUFLOW 1D bridge pressure flow approach is based on the section 4.13.2 &amp;quot;All Girders in Contact with Flow (Case II)&amp;quot; of &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018). The original hydraulic experiment conducted by &amp;lt;u&amp;gt;[https://hdl.handle.net/10217/39009 Liu et al (1957)]&amp;lt;/u&amp;gt; in a laboratory flume with a pair of bridge abutments and a deck. The flow conditions were similar to orifice flow due to the high blockage ratio caused by the abutments and the deck. When modelling bridges in 2D, the contraction/expansion losses caused by the abutments would be handled explicitly by the 2D solver, so a value 1.56 can lead to duplication of the contraction/expansion losses caused by the bridge abutments.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=TUFLOW 2D Bridge Setup=&lt;br /&gt;
There are two methods available to model depth varying form loss of a bridge structure: &lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 |2D Layered Flow Constriction (2d_lfcsh)]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:The traditional method used to model depth-varying form loss through bridge components such as piers, decks, and rails.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 |2D BG Shape (2d_bg)]]&amp;lt;/u&amp;gt; (introduced in the 2023 release)&lt;br /&gt;
:A simplified approach developed to simplify the model input based on the findings from the joint TMR Study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Both methods provide options for representing flow surcharging, the pressure flow of bridge decks and eventually submerged bridge flow at higher water levels. During the surcharging of bridge decks, higher energy losses can be specified to simulate the pressure flow. &lt;br /&gt;
&lt;br /&gt;
Examples for how to configure both approaches are provided in the 2D structures section of the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#2D_Structures |TUFLOW Wiki Example Models]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Tutorial_M04 |Tutorial Module 4]]&amp;lt;/u&amp;gt; - 2D Bridges.&lt;br /&gt;
&lt;br /&gt;
==2D Layered Flow Constriction (2d_lfcsh)==&lt;br /&gt;
Four flow constriction layers are represented in a 2d_lfcsh layer. The lower three layers represents the pier, the bridge deck and the rails. Each layer has its own attributes to specify the blockage and the form loss coefficient. The top (fourth) layer assumes the flow is unimpeded, representative of flow over the top of a bridge. Within the same shape, the invert of the bed, and thickness of each layer can vary in 3D.&lt;br /&gt;
&lt;br /&gt;
The following table provides an overview for how to determine the blockage and form loss coefficient for each layer:&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; If no calibration is available, estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table || Full blockage, no flow through the deck &lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% ||   Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt;&lt;br /&gt;
If no calibration data is available, combined FLC for Layers 2 and 3 should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = L2_Depth + (pBlockage × L3_Depth)  &lt;br /&gt;
*(pBlockage × L3_Depth) represents the solid portion of the rails  &lt;br /&gt;
*L2 FLC and L3 FLC should sum to the combined FLC  &lt;br /&gt;
|Blockage and FLC depends on rail type &amp;lt;br&amp;gt; Sensitivity testing with 100% blockage is recommended due to potential for debris during flood&lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_lfcsh_attributes.png | 500px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blockage===&lt;br /&gt;
&lt;br /&gt;
The 2d_lfcsh functions by adjusting the flow width and the form loss of 2D cell faces. The combined blockage across the 4 layers is calculated at each simulation timesteps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Blockage_total_equation_01.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
where&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the actual depth of water in layer &#039;&#039;&#039;&#039;&#039;i&#039;&#039;&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;total&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the total water depth&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach=== &lt;br /&gt;
&lt;br /&gt;
The combined form loss coefficient is determined using one of three methods. The form loss coefficient method can be specified either individually using the 2d_lfcsh “Shape_Options” attribute or globally using the .tcf command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Layered FLC Default Approach&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; [ METHOD A | {METHOD B} | METHOD C | METHOD D]&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD A&amp;lt;/b&amp;gt;: The losses are accumulated as the water level rises through the layers. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_cumulate.png |450px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Applies the full accumulated form loss continuously, even when overtopping begins (no reduction)&lt;br /&gt;
:Note: Simpler method but tends to overestimate losses when the structure is submerged or overtopped&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD B&amp;lt;/b&amp;gt; (default): the losses are applied pro-rata according to the depth of water in each layer. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_portion.png |430px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure&lt;br /&gt;
:Note: Maintains backward compatibility but may underrepresent losses during pressurised or overtopped flows&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD C&amp;lt;/b&amp;gt; (recommended): hybrid approach combining Method A and Method B. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_methodC.png |520px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Gradual increase in form loss with water level, following Method A&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure, following Method B&lt;br /&gt;
:Note: Recommended method; aligns closest to CFD modelling results and TUFLOW HPC behaviour. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD D&amp;lt;/b&amp;gt;: Allows the modeller to control the depth at which the losses start to reduce when the flow transitions between pressure flow and drowned flow. &lt;br /&gt;
:This approach is the same used by the 2d_bg layer (introduced in the 2023-03 release). It is recommended to use the 2d_bg layer as it has the benefit of a simplified attribute table, for easier user input.&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
&lt;br /&gt;
In this study, a combined form loss coefficient of 0.35 was used to match observed head loss during slight overtopping of a bridge. The FLC values for each layer were adjusted to achieve the correct combined form loss. The table and plot show how each layer contributes to the total form loss and highlight the differences in calculated form loss between the three methods.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;60%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=6%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=12%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method A&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method B&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method C&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5.0 || 5   || 0.07 || 0.07 || 0.07 || 0.07 || 0.07 || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1.5 || 100 || 0.15 || 0.22 || 1.05 || 0.30 || 0.15 || 0.22&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 1.0 || 50  || 0.13 || 0.35 || 0.70 || 0.35 || 0.13 || 0.35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:FLC_vs_height_updated.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2D BG Shape (2d_bg)==&lt;br /&gt;
2D BG Shape is similar to the Layered Flow Constriction, but has several updates to simplify the input based on the findings from the joint study with TMR &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The following table provides an overview of how to determine the blockage and form loss coefficient for each layer:&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || rowspan=&amp;quot;2&amp;quot; | The Super Structure (Super_S) is the bridge deck and rails layers combined. &amp;lt;br&amp;gt; &lt;br /&gt;
Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; &lt;br /&gt;
If no calibration data is available, the Super_S FLC should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = Deck_Depth + (Rail_pBlockage*Rail_Depth)  &lt;br /&gt;
*(Rail_pBlockage*Rail_Depth) represents the solid portion of the rails&lt;br /&gt;
|| Full blockage, no flow through the deck&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% || Sensitivity testing with 100% blockage is recommended due to potential for debris during flood events&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_bg_attributes.png | 700px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Inflection Point===&lt;br /&gt;
&lt;br /&gt;
Based on findings from the joint study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;, the head loss peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out. The &#039;SuperS_IPf&#039; attribute (inflection point factor, default = 1.6) can be used to define the height of the inflection point. The solid portion of the rail layer is also added to the deck thickness to calculate the depth to the inflection point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;), i.e.:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg_infection_point.png | 520px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach===&lt;br /&gt;
The form loss approach is similar to the FLC approach METHOD C, with L2/L3 replaced by a single super structure layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg.png | 480px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
This example uses the same bridge setup described in the&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Form_Loss_Calibration_Example_-_Iowa_River_Flood_Study | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; section, with the following parameters applied: &lt;br /&gt;
*SuperS_FLC = 0.28 &lt;br /&gt;
*SuperS_Ipf = 1.6, &lt;br /&gt;
The Depth to Inflection Point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;) is calculated as 3.2m above the bridge soffit. &lt;br /&gt;
&lt;br /&gt;
The table and figure below show how the form loss value varies with water depth.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;32%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Form Loss&lt;br /&gt;
|-&lt;br /&gt;
| Pier || 5.0 || 5   || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| Deck || 1.5 || 100 || rowspan=&amp;quot;2&amp;quot; | 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Rail || 1.0 || 50 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:FLC_vs_height_bg.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2D Bridges Line vs Polygon Layer ==&lt;br /&gt;
The form loss coefficient (FLC) is applied differently when using a line compared to a polygon for both 2d_lfcsh and 2d_bg inputs. The FLC is applied at cell sides (u and v faces) as this is where velocities are calculated. &amp;lt;br&amp;gt; &lt;br /&gt;
For larger bridges that spread across multiple cells, it is recommended to use a polygon layer, which selects all u and v faces falling within the polygon.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;2D Layered Flow Constriction (2d_lfcsh)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides&lt;br /&gt;
| This approach is cell size independent. It is the easiest setup and the preferred / recommended approach when using 2d_lfcsh.&lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| between zero and 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| A cell is selected if the polyline intersects the cell crosshair. Caution should be taken when using a &amp;quot;thick&amp;quot; line, as changes in cell size can cause it to become a &amp;quot;wide&amp;quot; line. If this occurs, the FLC attribute may need to be recalculated to avoid overestimating or underestimating losses.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| larger than 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge &amp;lt;br&amp;gt;&#039;&#039;(may need to be recalculated, see notes)&#039;&#039;&lt;br /&gt;
| FLC divided by number of cell sides in the direction of flow &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;(number of cell sides in the direction of flow is calculated as line width divided by cell size)&#039;&#039;&lt;br /&gt;
| Polygon shapes are recommended if more than 3 rows of faces must be selected.. &amp;lt;br&amp;gt; &lt;br /&gt;
Caution should be taken when using a &amp;quot;wide&amp;quot; line. The cell size and alignment of the 2d_lfcsh line may result in selecting too many or too few cell faces in the direction of the flow. The FLC input may need to be recalculated to ensure FLC Applied multiplied by the number of cell sides in the direction of flow equates to the intended total form loss.  &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; | Polygon&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Total loss per unit length (meters or feet) in the direction of flow&lt;br /&gt;
| FLC * cell size applied to all sides of selected cells &lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2D Bridge (2d_bg)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides. &lt;br /&gt;
| This approach is cell size independent. &lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| larger than zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| This approach is cell size independent. A cell is selected if the polyline intersects the cell crosshair.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| Not supported&lt;br /&gt;
| –&lt;br /&gt;
| –&lt;br /&gt;
| BG polygon shapes are recommended if more than 3 rows of faces must be selected.&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; |Polygon&lt;br /&gt;
| -&lt;br /&gt;
| &#039;&#039;(used to automatically distribute the total FLC to the selected faces)&#039;&#039; &lt;br /&gt;
| Total form loss of the bridge &lt;br /&gt;
| FLC / Deck_Width * cell size applied to all sides of selected cells &lt;br /&gt;
| For bridges modelled using a 2d_bg polygon the relative ratio of the bridge width to the 2D cell size should be 4 or greater. For more information on this see &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/2d_bg_R_Bridge_Configuration_Advice_202503.pdf 2d_bg_R_Bridge_Configuration_Advice.pdf]&amp;lt;/u&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following diagrams demonstrate how the input FLC is applied for the four geometry options for 2d_lfcsh and 2d_bg layers: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:2dlfcsh 2dbg combined v2.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
It is good modelling practice to check the &amp;lt;u&amp;gt;[[Check_Files_2d_lfcsh_uvpt | lfcsh_uvpt_check]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Check Files 2d bg uvpt check | bg_uvpt_check]]&amp;lt;/u&amp;gt; files to confirm the number of faces selected and the FLC values assigned. It is also strongly recommended to undertake a sensitivity analysis on the applied form losses in the model to check if it makes any difference to the results and/or double check against other methods (hand calculations, other software, CFD modelling), especially if the bridge is near an area of interest. If calibration data is available, this should be used to guide the form loss value specification.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Common Questions Answered (FAQ)=&lt;br /&gt;
== What blockage values should I use for bridge guard rails? ==&lt;br /&gt;
The blockage of bridge guard rails can be anything from 100% blocked (solid concrete rails) to 10% blocked (very open rails). In addition, the accumulation of debris during a flood can be substantial as shown in the image below. Sensitivity testing with 100% blockage is recommended. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge rail debris.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
== How to conduct sensitivity test for 2D bridges? ==&lt;br /&gt;
General recommendations to cross-check the results are:&lt;br /&gt;
* Compare computed affluxes against desktop methods (e.g. Hydraulics of Bridge Waterways, 1978) and/or other software including CFD, especially for unusual bridge designs. &lt;br /&gt;
* Use any recorded flood marks or general observations from past events to check and calibrate FLC values. &lt;br /&gt;
* Conduct sensitivity testing by assessing the impact and influence of FLC values on your modelling objectives. The afflux resulting from the FLC values will be proportional to the velocity head, i.e. ∆h=FLC*(v^2/2g). As such, if velocities are low (e.g. 1 m/s), the results may not be overly sensitive to uncertainties in the FLC values. If completing a check using this equation for a long skew bridge it is best to calculate the total structure velocity from a PO line digitised in the same location as the bridge.&lt;br /&gt;
&lt;br /&gt;
Finally, after completing sensitivity testing and understanding the range of uncertainty due to unknowns like the degree of blockage and influence of FLC values (e.g. +/-20%), you are in a position to discuss with your client how best to proceed.  For example, if the modelling is to set planning levels for a development upstream then it may be appropriate to choose values on the higher side (higher FLC values and/or blockage assumptions), noting that the uncertainty may be amply covered by a regulatory freeboard.  Conversely, if the development is on the downstream side the conservative approach would be to use the results at the lower end of your FLC/blockage values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge Flood Debris Loading.jpg | 500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I use both FLC and blockage for layer one in 2D bridge layered flow constriction? ==&lt;br /&gt;
When applying FLC and blockage values to model obstructions such as piers, the following considerations need to be taken into account:&lt;br /&gt;
* The FLC value applies an energy loss along 1D channels or across 2D cell faces equivalent to FLC*V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g where V is the 1D channel velocity or the 2D cell face velocity.&lt;br /&gt;
* FLC values are often sourced from publications such as Hydraulics of Bridge Waterways or AustRoads (e.g.  Kp chart for piers).  &lt;br /&gt;
* If possible, establish whether the source of the FLC value is based on the approach velocity (the velocity in the absence of piers) or structure velocity (the velocity with area blocked out by the piers) noting that it often isn’t clear or stated.  &lt;br /&gt;
** If it is the structure velocity, this is usually the velocity at the vena-contracta (point of greatest contraction within the entrance to the structure and therefore highest velocity) - see image below.  Bluff or sharp-edged obstructions will have a much more pronounced vena-contracta, and therefore higher velocity compared with a round-edged obstruction. &lt;br /&gt;
** FLC values based on the approach velocity will be higher than those based on the structure velocity to achieve the same energy loss.&lt;br /&gt;
* Applying a blockage equivalent to the obstruction width will increase, usually very slightly, the velocity of the 1D channel or 2D cell face.  This won’t be the vena-contracta velocity, but a velocity between the approach velocity and the vena-contracta velocity.  A greater blockage will need to be applied to emulate the vena-contracta velocity.&lt;br /&gt;
* If the FLC source value is based on:&lt;br /&gt;
** The approach velocity then there is no need to apply a blockage value.&lt;br /&gt;
** The structure velocity then the blockage value should be applied noting that it may be appropriate to apply a larger blockage to take into account the vena-contracta.&lt;br /&gt;
* If it is not clear or unknown whether the FLC source value is based on the approach or structure velocity, the recommendation would be to apply the blockage in the interests of being slightly conservative on the upstream flood level calculation.&lt;br /&gt;
* For most minor obstructions such as bridge piers, the blockage is usually relatively small and whether included or not has a negligible or minor affect on flood levels compared with other factors such as the approach embankments and the bridge deck.&lt;br /&gt;
* Blockage from debris wrapped around piers can have a greater influence on the results than the effect of applying or not applying a blockage. Debris wrapped around piers can be accounted for in the FLC value calculated for the pier layer. &lt;br /&gt;
* As always, sensitivity testing with and without blockage and +/- the FLC value is highly recommended to understand their importance in regard to the broader modelling objectives and the effects of uncertainties in the input data, boundaries, other parameters such as Manning’s n values, and the accuracy of the numerical solution scheme (see &amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#maximise_accuracy Maximising the Accuracy of Hydraulic Models webinar]&amp;lt;/u&amp;gt;).&lt;br /&gt;
[[File: Vena_contracta.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Image showing the formation of the vena-contracta.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t see results that I expect when using 2d_lfcsh layer==&lt;br /&gt;
The 2d_lfcsh layer is a versatile feature that was designed to model bridges in 2D, but can also be used for other applications like fences, buildings raised on pillars and so on.&lt;br /&gt;
Some of the unexpected results could be:&lt;br /&gt;
* Water level going through the bridge deck in 2D map output.&lt;br /&gt;
* Water transiting through 100% blocked Layer 1, e.g. fences with solid base.&lt;br /&gt;
* SHMax.csv reporting values above the bridge deck when 2D map output reports water level lower than the top of the bridge deck.&lt;br /&gt;
&lt;br /&gt;
TUFLOW is a 2D solution (not 3D), in the 2d_lfcsh layer the percent blockage and form loss coefficient applied to the cell faces is depth averaged across the entire cell face (across Layer 1, 2 and 3):&amp;lt;br&amp;gt;&lt;br /&gt;
*For bridges, where Layer 2 has a 100% blockage applied, the minimum flow width of 0.001m is used and is averaged with the Layer 1 blockage (based on the depth of the water). This may result in a water level being reported within or above the bridge deck, which would represent the pressure head.&lt;br /&gt;
*Layered flow constriction works by adjusting the flow area of the cell faces by any blockages to generate the correct depth averaged velocity at each face at which the form losses are applied as a fraction of the V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g kinetic energy. Calculating the correct velocity is critical for determining the losses as the losses are proportional to the velocity squared. &amp;lt;br&amp;gt;&lt;br /&gt;
*For a layered flow constriction cell face the flow area cannot be zero above the invert of Layer 1 to avoid a divide by zero in the computations, therefore a minimum average flow width after applying blockages of 0.001 m is applied.  if Layer 1 is 100% blocked, a very small amount of water will flow through Layer 1.  If this is unacceptable, instead of applying 100% blockage of Layer 1, the preferred approach is to start the layered flow constriction at the top of Layer 1 or raise the ground elevation to the top of Layer 1 using one of the Z Shape modification functions (e.g. a breakline). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:100% Blockage Diagram.png | 500px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I model bridge piers explicitly in 2D using very small cells? ==&lt;br /&gt;
It isn&#039;t recommended to explicitly model bridge piers by blocking out the pier faces in TUFLOW, or in any hydraulic modelling software based on solving Shallow Water Equations(SWE). Due to the 3-dimentiality of the flow and turbulence around a pier, computational fluid dynamics (CFD) approach is often required to simulate the flow around piers explicitly. The wake turbulence behind a simple-shape pier can be resolved to some extent using extremely fine mesh in TUFLOW (see calibration example to a flume experiment in the [https://www.tuflow.com/library/webinars/#structures webinar on Energy Losses at Structures]), however the predictions for head losses show notable sensitivities to the mesh size, the mesh design, and the choice of turbulence model. The extremely fine mesh resolution also results in significantly higher computational costs. &lt;br /&gt;
&lt;br /&gt;
Therefore, the safest and strongly recommended approach with regard to establishing head losses and consequently flood levels, is to model the effects of such obstructions with form loss coefficients (applied to selected mesh cells) that have been derived from physical testing. This approach has been shown to provide the most consistent results across various mesh resolutions. It also has the added benefit that, by avoiding small cells in the mesh, it will provide much more efficient run times for flow solvers.&lt;br /&gt;
&lt;br /&gt;
[[File:Flow round a cylinder.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The point of flow separation around an object has a major bearing on the drag coefficient and is not reliably reproduced by 2D or 3D software.&#039;&#039;&lt;br /&gt;
&amp;lt;!-- SG commented out, too much CFD info&lt;br /&gt;
Small scale obstructions to the flow, such as trees, poles, piers, etc. cause additional head losses along a flow path due to their drag characteristics. Historically, form loss (or drag) coefficients for various profile shapes have been determined as a function of Reynold’s number through experimental testing. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More recently, computational fluid dynamics (CFD) has been used to attempt to reproduce the velocity field in the wake of such objects. Although providing better results than 2D modelling, the results have not always agreed well with physical tests. In particular, the drag of a given profile depends on the exact location of flow separation points, which in turn depends on the ability of the CFD code to predict the laminar to turbulent transition in the boundary layer, which is many times smaller than the profile shape itself. In general, the form loss results from CFD models show significant sensitivity to mesh size, mesh design, and choice of turbulence model. Considerable caution needs to be exercised even for CFD modelling.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to best convert flow constriction data (2d_fc or 2d_fcsh) into newer formats (2d_lfcsh or 2d_bg)? ==&lt;br /&gt;
The form loss parameters can be transferred from the flow constriction (2d_fc or 2d_fcsh) to the first layer of the layered flow constriction (2d_lfcsh) or pier layer of the 2d_bg. Definition of the remaining form loss and blockage layer inputs should follow the guidance outlined in &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 | 2D BG Shape]]&amp;lt;/u&amp;gt; paragraphs.&amp;lt;br&amp;gt;&lt;br /&gt;
When using floating pontoon (type FD in the 2d_fc or 2d_fcsh) different setup might need to be used for different events. For large events when floating pontoon becomes fixed at the top of the supporting piles, standard 2d_lfcsh setup can be used. Smaller events when the pontoon is floating at different heights might require more sensitivity testing of the structure parameters to find out a setup the matches the reality as close as possible.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I model bridges in 1D or 2D Domain? ==&lt;br /&gt;
The recommended approach typically depends on the study objectives and if the channel upstream and downstream of the bridge is modelled in 1D or 2D. To preserve the momentum as accurately as possible the bridge should be modelled in the same dimension as the channel, e.g. 1d_nwk bridge if the channels is in 1D and 2d_bg or 2d_lfcsh if the channel is modelled in 2D.&amp;lt;br&amp;gt;&lt;br /&gt;
In 2D, the expansion/contraction losses are modelled based on the topography and don&#039;t need to be estimated as attributes as for 1D modelling. Also, for higher flows where the bridge is overtopped, 2D is preferable approach. &lt;br /&gt;
&lt;br /&gt;
== What is the difference between downstream and upstream controlled flow? ==&lt;br /&gt;
Downstream control means a change in downstream water level will cause a change in upstream water level. Upstream control means the upstream water level is insensitive to the downstream water level and usually indicates the occurrence of supercritical flow.&lt;br /&gt;
&lt;br /&gt;
== What FLC values should be used for 2d_bg bridge if hB/T is below 2 or above 6? ==&lt;br /&gt;
TMR has extended the CFD simulation to hB/T ratios of 1 to 10. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&lt;br /&gt;
If hB/T is outside this ratio:&lt;br /&gt;
* hB/T ratios of less than 1 represent a very unusual bridge sitting low to the ground, and the peak FLC may increase above the end value (FLC of 0.6) in a way that doesn&#039;t follow the research trend or extrapolation. For these cases we would recommend using CFD modelling to obtain a more informed value. Alternatively, computing an FLC based on pressure flow or using 1D culvert might be considered.&lt;br /&gt;
* For hB/T ratios of greater than 10, the FLC is likely to continue to decrease, but probably not significantly. Clamping to the end value (FLC of 0.16) might be considered the more conservative approach (if the primary concern is flood levels upstream of the bridge).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:Incremental_backwater_coefficient_2018_pier_losses.png&amp;diff=45830</id>
		<title>File:Incremental backwater coefficient 2018 pier losses.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:Incremental_backwater_coefficient_2018_pier_losses.png&amp;diff=45830"/>
		<updated>2026-04-08T05:47:21Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_BC_Advice&amp;diff=45829</id>
		<title>TUFLOW BC Advice</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_BC_Advice&amp;diff=45829"/>
		<updated>2026-04-08T05:35:07Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* I wish to use a PO line to monitor the flow exiting a model. Should I snap the PO line to the downstream boundary for this purpose? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following links provide useful boundary condition guidance to TUFLOW users.&lt;br /&gt;
&lt;br /&gt;
* [[TS1_File_Format | TS1 File Format]]&lt;br /&gt;
* [[TUFLOW_NetCDF_Rainfall_Format|TUFLOW NetCDF Rainfall Format]]&lt;br /&gt;
* [[TUFLOW_Rainfall_Control_File_Examples | TUFLOW Rainfall Control File Examples]]&lt;br /&gt;
* [[TUFLOW_2D2D_BC_Advice| Multiple Domain 2D/2D Boundary Configuration Guidance]]&lt;br /&gt;
* [[TUFLOW_1D2D_Boundary_Configuration_Guidance| 1D/2D Boundary Configuration Guidance (SX and HX)]]&lt;br /&gt;
=Frequently Asked Questions (FAQ)=&lt;br /&gt;
==I wish to use a PO line to monitor the flow exiting a model. Should I snap the PO line to the downstream boundary for this purpose?==&lt;br /&gt;
Plot Output (PO) Q lines report model flow results for water crossing the digitised line. Computationally, TUFLOW transposes the digitised PO line to the closest adjacent cell face for the output calculation. In addition to this, TUFLOW requires an active 2D cell on either side (upstream and downstream) of the cell face for the calculation. Collectively, these requirements are necessary for accurate flow calculations irrespective of the orientation of the PO line relative to the cell alignment.&amp;lt;br&amp;gt;&lt;br /&gt;
It is best practice to snap 2D boundary condition lines, such as HT, QT and HQ, to the extent of the 2D code active area polygon at an orientation roughly perpendicular to the expected flow direction. This model design requirement means the 2D boundary condition lines are located along the outermost 2D cells in a model. Snapping a 2D PO line to the 2D boundary condition may align segments of the Plot Output (PO) Q result inspection line along the outermost cell faces of the model. This does not comply with TUFLOW’s requirement for an active 2D cell on either side of the Plot Output (PO) Q result inspection line. As a result, snapping a 2D PO line to the 2D boundary condition line may underestimate the flow exiting a model. For this reason, Plot Output (PO) Q lines should NOT be snapped to 2D boundary condition lines. The PO line should be defined immediately upstream of the downstream boundary. Use the [[Check_Files_2d_PO|po_check]] and [[Check_Files_2d_grd|grd_check]] files to review the PO line location to ensure there are active cells each side of the PO line.&lt;br /&gt;
&lt;br /&gt;
The image below shows a downstream 2d_bc boundary condition line (HQ) in purple, snapped to the edge of the 2d_code polygon. A 2d_po line (blue arrow) has been digitised just upstream of the boundary. The [[Check_Files_2d_PO|po_check]] and [[Check_Files_2d_grd|grd_check]] files have been loaded in to confirm that there is an active 2D cell on either side of the 2d_po line. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:BC_advice_01.png]]&lt;br /&gt;
&lt;br /&gt;
== Can TUFLOW model a waterfall? ==&lt;br /&gt;
Yes, TUFLOW can model waterfalls, but it requires careful handling of supercritical flow conditions. &lt;br /&gt;
&lt;br /&gt;
As water approaches a waterfall, it speeds up and transitions into free fall. To ensure realistic behaviour, the model must allow for this acceleration rather than imposing an artificial depth at the brink.&lt;br /&gt;
&lt;br /&gt;
Here are three suggested approaches in TUFLOW:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;HQ (Water Level versus Flow) Boundary:&#039;&#039;&#039; Defining a custom HQ curve ensures the model correctly represents the flow acceleration before the waterfall.&lt;br /&gt;
# &#039;&#039;&#039;Steep Slope HQ Boundary:&#039;&#039;&#039; Setting a higher slope value in the automatic HQ boundary can also generate supercritical conditions near the outlet.&lt;br /&gt;
# &#039;&#039;&#039;2D HPC Weir:&#039;&#039;&#039; Modelling a small drop in 2D cell elevations with a weir structure can better reflect natural waterfall hydraulics.&lt;br /&gt;
&lt;br /&gt;
It is also recommended to run sensitivity tests with different boundary setups to check how the downstream conditions influence the model results.{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:BC_advice_01.png&amp;diff=45828</id>
		<title>File:BC advice 01.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:BC_advice_01.png&amp;diff=45828"/>
		<updated>2026-04-08T05:34:30Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Example_Models&amp;diff=45827</id>
		<title>TUFLOW Example Models</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Example_Models&amp;diff=45827"/>
		<updated>2026-04-08T05:05:49Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Example Model Catalogue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
These example models have been developed to demonstrate the most common TUFLOW model design features and applications. This dataset is useful for experienced modellers wishing to further develop their skills via demonstration examples. Although the models are based on the TUFLOW tutorial model dataset, new users are encouraged to familiarise themselves with TUFLOW through the &amp;lt;u&amp;gt;[[Tutorial_Introduction |Tutorial Model Introduction]]&amp;lt;/u&amp;gt; before using this dataset. Unlike the tutorials, this dataset does not include step-by-step instructions / documentation. Users of this dataset are expected to have a basic knowledge TUFLOW, and have suitable skills to open the model files by referencing the TUFLOW Control File (TCF) referenced in the feature catalogue list below. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Example Model Data=&lt;br /&gt;
The model data is available for download from &amp;lt;u&amp;gt;https://downloads.tuflow.com/TUFLOW/Wiki_Example_Models/TUFLOW_Example_Model_Dataset.zip&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The dataset only includes model input files. The models can be run to create simulation check and result files. Batch files (*.bat) for each of the example feature categories has been provided within the &amp;quot;runs&amp;quot; folder of the TUFLOW project. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are unfamiliar with using batch files, additional information explaining how to use them to execute multiple simulations is available here: &amp;lt;u&amp;gt;[[Run_TUFLOW_From_a_Batch-file| Run TUFLOW From a Batch-file]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Example Model Catalogue=&lt;br /&gt;
Below is a complete list of the example models. This dataset uses TUFLOW HPC as the computational engine.&lt;br /&gt;
&lt;br /&gt;
Click on the following shortcuts to skip directly to the targeted major feature category in the table below:&amp;lt;br&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Project Initiation| Project Initiation]]&amp;lt;/u&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Model Units| Model Units]]&amp;lt;/u&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Solver Options| Solver Options]]&amp;lt;/u&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Output Options| Output Options]]&amp;lt;/u&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Boundary Condition Options| Boundary Condition Options]]&amp;lt;/u&amp;gt; (Inflows, Outflows, Losses)&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Topography Features| Topography Features]]&amp;lt;/u&amp;gt; (Static Updates, Dynamic Updates, Sub-Grid Sampling)&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Structures| Structures]]&amp;lt;/u&amp;gt; (Bridges, Weirs, Culverts, Operational Controls)&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Multiple Domain Model Design| Multiple Domain Model Design]]&amp;lt;/u&amp;gt; (2D/2D Quadtree, 1D open channel / 2D floodplain, 1D pipe network / 2D floodplain)&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Bulk Simulation Management| Bulk Simulation Management]]&amp;lt;/u&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Advection Dispersion| Advection Dispersion]]&amp;lt;/u&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Non-Newtonian | Non-Newtonian]]&amp;lt;/u&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Mathematical Operations| Mathematical Operations]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;position:sticky; top:0; background-color:#005581; font-weight:bold; color:white; z-index:2;&amp;quot; | Example Model Catalogue&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;position:sticky; top:2.2em; background-color:#fff; font-weight:bold; z-index:2;&amp;quot; | Model Category&lt;br /&gt;
! style=&amp;quot;position:sticky; top:2.2em; background-color:#fff; font-weight:bold; z-index:2;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;position:sticky; top:2.2em; background-color:#fff; font-weight:bold; z-index:2;&amp;quot; | Model Name&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; id=&amp;quot;Project Initiation&amp;quot; | &amp;lt;b&amp;gt;Project Initiation&amp;lt;/b&amp;gt;&lt;br /&gt;
| Write empty files&lt;br /&gt;
| Create_Empties.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot; id=&amp;quot;Model Units&amp;quot; |&amp;lt;b&amp;gt;Model Units&amp;lt;/b&amp;gt;&lt;br /&gt;
|Basic 2D model (SI units - m)&lt;br /&gt;
|EG00_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Basic 2D model (US units - ft)&lt;br /&gt;
|EG00_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;8&amp;quot; id=&amp;quot;Solver Options&amp;quot; |&amp;lt;b&amp;gt;Solver Options&amp;lt;/b&amp;gt;&lt;br /&gt;
|TUFLOW Classic&lt;br /&gt;
|Refer to &amp;lt;u&amp;gt;[[TUFLOW_Classic_Example_Model_Archive| TUFLOW Classic Example Model Archive]]&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Sub-Grid Sampled (SGS) topography enabled&lt;br /&gt;
|EG01_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Sub-Grid Sampled (SGS) topography disabled&lt;br /&gt;
|EG01_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Multiple GPU cards&lt;br /&gt;
|EG01_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Newtonian Viscosity (Wu Turbulence)&lt;br /&gt;
|EG01_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Newtonian Viscosity (Smagorinsky)&lt;br /&gt;
|EG01_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Quadtree&lt;br /&gt;
|See Section &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Multiple Domain Model Design| EG13]]&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|ESTRY&lt;br /&gt;
|See Section &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#1D Culverts, Bridges, Weirs| EG11]]&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#1D Operating Structures| EG12]]&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#1D Pipe Network / 2D Floodplain Modelling| EG15]]&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;19&amp;quot; id=&amp;quot;Output Options&amp;quot; |&amp;lt;b&amp;gt;Output Options&amp;lt;/b&amp;gt;&lt;br /&gt;
|2D xmdf (binary time series) and grid (maximums) output&lt;br /&gt;
|EG02_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Time and duration of inundation (Time Output Cut-off = Depth)&lt;br /&gt;
|EG02_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Time and duration of inundation (Time Output Cut-off = VxD)&lt;br /&gt;
|EG02_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Time and duration of inundation (Time Output Cut-off = Hazard)&lt;br /&gt;
|EG02_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Gauge level map output interval control (2d_glo)&lt;br /&gt;
|EG02_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D SGS high resolution grid output&lt;br /&gt;
|EG02_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D SGS high resolution grid output with manual specification of output resolution&lt;br /&gt;
|EG02_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Output Zone (2d_oz)&lt;br /&gt;
|EG02_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Write Restart File (See EG06_004.tcf for Read Restart File)&lt;br /&gt;
|EG02_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D plot output (2d_po point, line and region)&lt;br /&gt;
|EG02_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D structure outputs&lt;br /&gt;
|EG02_011.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D Long Profile (2d_lp)&lt;br /&gt;
|EG02_012.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D/2D Reporting locations - 1D river (1d_nwk), 2D floodplain&lt;br /&gt;
|EG02_013.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D/2D Reporting locations - 1D pipe network (1d_nwk), 2D floodplain&lt;br /&gt;
|EG02_014.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Evacuation route inundation reporting (2d_zshr) (Route Cut Off Type = Depth)&lt;br /&gt;
|EG02_015.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Evacuation route inundation reporting (2d_zshr) (Route Cut Off Type = Velocity)&lt;br /&gt;
|EG02_016.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Evacuation route inundation reporting (2d_zshr) (Route Cut Off Type = VxD)&lt;br /&gt;
|EG02_017.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Evacuation route inundation reporting (2d_zshr) (Route Cut Off Type = Hazard)&lt;br /&gt;
|EG02_018.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Translating gauge data information to catchment receptors (Read GIS Objects)&lt;br /&gt;
|EG02_019.tcf&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;52&amp;quot; id=&amp;quot;Boundary Condition Options&amp;quot; |&amp;lt;b&amp;gt;Boundary Condition Options&amp;lt;/b&amp;gt;&lt;br /&gt;
| rowspan=&amp;quot;19&amp;quot; id=&amp;quot;Inflows&amp;quot; |&amp;lt;b&amp;gt;Inflows&amp;lt;/b&amp;gt;&lt;br /&gt;
|2D flow (m^3/s) vs time upstream inflow (2d_bc, QT)&lt;br /&gt;
|EG03_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D head (m) vs time upstream inflow (2d_bc, HT)&lt;br /&gt;
|EG03_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Internal catchment inflow (m^3/s)(2d_sa)&lt;br /&gt;
|EG03_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Internal catchment inflow  (m^3/s) with streamlines (2d_sa, 2d_strm)&lt;br /&gt;
|EG03_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Internal catchment rainfall (mm) (2d_sa_rf)&lt;br /&gt;
|EG03_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (2D Global Rainfall)&lt;br /&gt;
|EG03_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (2d_rf)&lt;br /&gt;
|EG03_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (Rainfall Control File - IDW)&lt;br /&gt;
|EG03_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (Rainfall Control File - TIN)&lt;br /&gt;
|EG03_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (Rainfall Control File - Poly)&lt;br /&gt;
|EG03_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (time varying gridded rainfall) - netcdf format&lt;br /&gt;
|EG03_011.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (time varying gridded rainfall) - flt format&lt;br /&gt;
|EG03_012.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (mm) (2d_rf) - negative rainfall&lt;br /&gt;
|EG03_013.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Direct rainfall (2d_rf) and internal catchment rainfall (2d_sa_rf) for buildings&lt;br /&gt;
|EG03_014.tcf&lt;br /&gt;
|-&lt;br /&gt;
|HEC-DSS flow (m^3/s) vs time upstream inflow (2d_bc, QT)&lt;br /&gt;
|EG03_015.tcf&lt;br /&gt;
|-&lt;br /&gt;
|HEC-DSS flow (m^3/s) vs time upstream inflow (2d_bc, QT, multiple events)&lt;br /&gt;
|EG03_016.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D flow (m^3/s) vs time upstream inflow (1d_bc, QT)&lt;br /&gt;
|EG14_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D flow (m^3/s) vs time internal inflow (1d_bc, QT)&lt;br /&gt;
|EG14_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D flow (m^3/s) vs time internal inflow to 1D pits (1d_bc, QT)&lt;br /&gt;
|EG14_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; id=&amp;quot;Outflows&amp;quot; |&amp;lt;b&amp;gt;Outflows&amp;lt;/b&amp;gt;&lt;br /&gt;
|2D Automatic stage discharge downstream boundary (2d_bc, HQ)&lt;br /&gt;
|EG04_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D User-specified stage discharge downstream boundary (2d_bc, HQ)&lt;br /&gt;
|EG04_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D Stage time downstream boundary (2d_bc, HT)&lt;br /&gt;
|EG04_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D Automatic stage discharge downstream boundary (1d_bc, HQ)&lt;br /&gt;
|EG04_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D User-specified stage discharge downstream boundary (1d_bc, HQ)&lt;br /&gt;
|EG04_005.tcf&lt;br /&gt;
|- &lt;br /&gt;
|1D Stage time downstream boundary (1d_bc, HT)&lt;br /&gt;
|EG04_006.tcf&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;19&amp;quot; id=&amp;quot;Loss Options&amp;quot; |&amp;lt;b&amp;gt;Loss Options&amp;lt;/b&amp;gt;&lt;br /&gt;
|Rainfall excess loss approach - IL/CL (Global loss applied via the TBC file)&lt;br /&gt;
|EG05_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Rainfall excess loss approach - IL/CL (applied via the materials file)&lt;br /&gt;
|EG05_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - IL/CL&lt;br /&gt;
|EG05_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - IL/CL, porosity&lt;br /&gt;
|EG05_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - IL/CL, porosity, initial moisture&lt;br /&gt;
|EG05_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Green Ampt (USDA soil type)&lt;br /&gt;
|EG05_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Green Ampt (USDA soil type), initial moisture&lt;br /&gt;
|EG05_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Green Ampt (USDA soil type), initial moisture, ponding&lt;br /&gt;
|EG05_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Green Ampt (User specified soil properties)&lt;br /&gt;
|EG05_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Green Ampt (User specified soil properties), initial moisture&lt;br /&gt;
|EG05_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Green Ampt (User specified soil properties), initial moisture, ponding&lt;br /&gt;
|EG05_011.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Horton&lt;br /&gt;
|EG05_012.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Horton, porosity&lt;br /&gt;
|EG05_013.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Infiltration loss approach - Horton, porosity, initial moisture&lt;br /&gt;
|EG05_014.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Groundwater - no horizontal infiltration&lt;br /&gt;
|EG05_015.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Groundwater - 1 soil layer, horizontal hydraulic conductivity&lt;br /&gt;
|EG05_016.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Groundwater - 2 soil layers, horizontal hydraulic conductivity&lt;br /&gt;
|EG05_017.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Groundwater level versus time downstream boundary (2d_bc, GT)&lt;br /&gt;
|EG05_018.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Groundwater linking to 1D&lt;br /&gt;
|EG05_019.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;8&amp;quot; id=&amp;quot;Other&amp;quot; |&amp;lt;b&amp;gt;Other&amp;lt;/b&amp;gt;&lt;br /&gt;
|Spatially varied initial water level commands (2d_iwl)&lt;br /&gt;
|EG06_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Spatially varied initial water level commands (Grid 2d_iwl)&lt;br /&gt;
|EG06_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D pump (2d_bc, SH)&lt;br /&gt;
|EG06_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Read Restart File (See EG02_009.tcf for Write Restart File)&lt;br /&gt;
|EG06_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Storage Reduction Factor (global specification)&lt;br /&gt;
|EG06_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Storage Reduction Factor (2d_srf) (location specific update)&lt;br /&gt;
|EG06_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|External Stress - Wind (global specification)&lt;br /&gt;
|EG06_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Dynamic Topography Options (Dam / Levee Failure)&lt;br /&gt;
|See Section &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Dynamic Topography Updates| EG08]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;28&amp;quot; id=&amp;quot;Topography Features&amp;quot; |&amp;lt;b&amp;gt;Topography Features&amp;lt;/b&amp;gt;&lt;br /&gt;
| rowspan=&amp;quot;12&amp;quot; id=&amp;quot;Static Topography Updates&amp;quot; |&amp;lt;b&amp;gt;Static Topography Updates&amp;lt;/b&amp;gt;&lt;br /&gt;
|Cell resolution change&lt;br /&gt;
|EG07_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Thin breakline topography update (2d_zsh_L, 2d_zsh_P)&lt;br /&gt;
|EG07_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Thick breakline topography update (2d_zsh_L, 2d_zsh_P)&lt;br /&gt;
|EG07_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Gully (Min) breakline topography update (2d_zsh_L, 2d_zsh_P)&lt;br /&gt;
|EG07_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Ridge (Max) breakline topography update (2d_zsh_L, 2d_zsh_P)&lt;br /&gt;
|EG07_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Region update - Absolute value change, No merge (2d_zsh_R)&lt;br /&gt;
|EG07_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Region update - Relative value change, No merge (2d_zsh_R)&lt;br /&gt;
|EG07_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Region update - Absolute value change, Partial merge (2d_zsh_R, 2d_zsh_P)&lt;br /&gt;
|EG07_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Region update - Feature removal (2d_zsh_R)&lt;br /&gt;
|EG07_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Advanced topography update - TIN (2d_ztin_R, 2d_ztin_P)&lt;br /&gt;
|EG07_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Advanced topography update - TIN (2d_ztin_R, 2d_ztin_L, 2d_ztin_P)&lt;br /&gt;
|EG07_011.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Depth varying Manning&#039;s n&lt;br /&gt;
|EG07_012.tcf&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;13&amp;quot; id=&amp;quot;Dynamic Topography Updates&amp;quot; |&amp;lt;b&amp;gt;Dynamic Topography Options (Dam / Levee Failure)&amp;lt;/b&amp;gt;&lt;br /&gt;
|2D embankment failure - Time trigger, linear evolution&lt;br /&gt;
|EG08_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D embankment failure - Time trigger, non-linear evolution&lt;br /&gt;
|EG08_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D embankment failure - Water level trigger, linear evolution&lt;br /&gt;
|EG08_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D embankment failure - Water level trigger, non-linear evolution&lt;br /&gt;
|EG08_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D embankment failure - Water level difference trigger, linear evolution&lt;br /&gt;
|EG08_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D embankment failure - Water level difference trigger, non-linear evolution&lt;br /&gt;
|EG08_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D flood barrier reinstatement - Time trigger&lt;br /&gt;
|EG08_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D flood barrier reinstatement - Water level trigger&lt;br /&gt;
|EG08_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D flood barrier reinstatement - Water level difference trigger&lt;br /&gt;
|EG08_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D piping failure transitioning to 1D dam failure - Time trigger&lt;br /&gt;
|EG08_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D dam failure - Time trigger&lt;br /&gt;
|EG08_011.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D piping failure transitioning to 1D dam failure - Water level trigger&lt;br /&gt;
|EG08_012.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D dam failure - Water level trigger&lt;br /&gt;
|EG08_013.tcf&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; id=&amp;quot;Sub Grid Sampling&amp;quot; |&amp;lt;b&amp;gt;Sub Grid Sampling&amp;lt;/b&amp;gt;&lt;br /&gt;
|Breakline detection delta tool&lt;br /&gt;
|EG09_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D SGS high resolution grid output&lt;br /&gt;
|EG09_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D SGS high resolution grid output with manual specification of output resolution&lt;br /&gt;
|EG09_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;37&amp;quot; id=&amp;quot;Structures&amp;quot; |&amp;lt;b&amp;gt;Structures&amp;lt;/b&amp;gt;&lt;br /&gt;
| rowspan=&amp;quot;9&amp;quot; id=&amp;quot;2D Structures&amp;quot; |&amp;lt;b&amp;gt;2D Structures&amp;lt;/b&amp;gt;&lt;br /&gt;
|Bridge (2d_fc)&lt;br /&gt;
|Refer to &amp;lt;u&amp;gt;[[TUFLOW_Classic_Example_Model_Archive| TUFLOW Classic Example Model Archive]]&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Bridge (2d_fcsh)&lt;br /&gt;
|Refer to &amp;lt;u&amp;gt;[[TUFLOW_Classic_Example_Model_Archive| TUFLOW Classic Example Model Archive]]&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Bridge - horizontal deck (2d_lfcsh)&lt;br /&gt;
|EG10_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Bridge - variable deck form geometry (2d_lfcsh)&lt;br /&gt;
|EG10_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Bridge - horizontal deck (2d_bg)&lt;br /&gt;
|EG10_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D weir coefficient change (global specification)&lt;br /&gt;
|EG10_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|2D weir coefficient change (location specific update)&lt;br /&gt;
|EG10_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Bridge (2d_bg) - horizontal deck, auto superstructure FLC&lt;br /&gt;
|EG10_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Fences (2d_lfcsh)&lt;br /&gt;
|EG10_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;14&amp;quot; id=&amp;quot;1D Structures&amp;quot; |&amp;lt;b&amp;gt;1D Structures&amp;lt;/b&amp;gt;&lt;br /&gt;
|1D culverts - Circular and Box type. SX point, line and region 1D/2D examples&lt;br /&gt;
|EG11_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D culverts - Irregular shape (e.g. Arch)&lt;br /&gt;
|EG11_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D culverts - Unidirectional structures (flapgate) (1d_nwk)&lt;br /&gt;
|EG11_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D culverts - ARR2019 blockage matrix (1d_nwk)&lt;br /&gt;
|EG11_~e1~_~e2~_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D M channel - User defined flow matrix (1d_nwk)&lt;br /&gt;
|EG11_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D Q channel - Upstream Depth-Discharge Relationship (1d_nwk)&lt;br /&gt;
|EG11_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Bridge (1d_nwk, 1d_bg)&lt;br /&gt;
|EG11_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Weir (1d_nwk)&lt;br /&gt;
|EG11_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Pump (1d_nwk) - pump curve&lt;br /&gt;
|EG11_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Sluice gate (1d_nwk)&lt;br /&gt;
|EG11_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Gated spillway (1d_nwk)&lt;br /&gt;
|EG11_011.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Arch bridge (1D), no orifice flow&lt;br /&gt;
|EG11_012.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Arch bridge (1D), orifice flow enabled&lt;br /&gt;
|EG11_013.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Arch bridge (1D), orifice flow enabled with calibration factor&lt;br /&gt;
|EG11_014.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;14&amp;quot; id=&amp;quot;1D Operating Structures&amp;quot; |&amp;lt;b&amp;gt;1D Operating Structures&amp;lt;/b&amp;gt;&lt;br /&gt;
|Pump operational (1d_nwk) - time trigger&lt;br /&gt;
|EG12_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Pump operational - 1D water level trigger (1d_nwk)&lt;br /&gt;
|EG12_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Pump operational - 2D water level trigger (1d_nwk)&lt;br /&gt;
|EG12_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Pump operational - Depth above structure invert trigger (1d_nwk)&lt;br /&gt;
|EG12_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Q flow matrix - Operation based on water level trigger (1d_nwk)&lt;br /&gt;
|EG12_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Q flow matrix - Operation based on water level trigger and time delay (1d_nwk)&lt;br /&gt;
|EG12_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Sluice gate  operational - Time trigger (simulation time) (1d_nwk)&lt;br /&gt;
|EG12_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Sluice gate  operational - Water level trigger(1d_nwk)&lt;br /&gt;
|EG12_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Gated spillway operational - Time trigger (Day) (1d_nwk)&lt;br /&gt;
|EG12_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Gated spillway operational - Water level trigger (1d_nwk)&lt;br /&gt;
|EG12_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Coordinated operation (multiple interacting structures) - Pump and Gated Spillway&lt;br /&gt;
|EG12_011.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Coordinated operation controlled by status of another structure&lt;br /&gt;
|EG12_012.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Pump operational (1d_nwk) - pump curve&lt;br /&gt;
|EG12_013.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Pump operational (1d_nwk) - Time stamp after water level trigger&lt;br /&gt;
|EG12_014.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;17&amp;quot; id=&amp;quot;Multiple Domain Model Design&amp;quot; |&amp;lt;b&amp;gt;Multiple Domain Model Design&amp;lt;/b&amp;gt;&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; id=&amp;quot;2D/2D Modelling&amp;quot; |&amp;lt;b&amp;gt;2D/2D Modelling&amp;lt;/b&amp;gt;&lt;br /&gt;
|TUFLOW HPC - Quadtree: Sample target distance&lt;br /&gt;
|EG13_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Quadtree: Sample frequency nesting&lt;br /&gt;
|EG13_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Quadtree: Memory efficient pre-processing&lt;br /&gt;
|EG13_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW HPC - Quadtree: Sample frequency&lt;br /&gt;
|EG13_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|TUFLOW Classic - M2D&lt;br /&gt;
|Refer to &amp;lt;u&amp;gt;[[TUFLOW_Classic_Example_Model_Archive| TUFLOW Classic Example Model Archive]]&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;1&amp;quot; id=&amp;quot;1D Open Channel / 2D Floodplain Modelling&amp;quot; |&amp;lt;b&amp;gt;1D Open Channel / 2D Floodplain Modelling&amp;lt;/b&amp;gt;&lt;br /&gt;
|1D river (1d_nwk), 2D floodplain&lt;br /&gt;
|EG14_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;11&amp;quot; id=&amp;quot;1D Pipe Network / 2D Floodplain Modelling&amp;quot; |&amp;lt;b&amp;gt;1D Pipe Network / 2D Floodplain Modelling&amp;lt;/b&amp;gt;&lt;br /&gt;
|1D pipe network (1d_nwk), 2D floodplain, 2d_sa_rf inflow (mm) to 1D pits&lt;br /&gt;
|EG15_000.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D pipe network (1d_nwk), 2D floodplain, 2d_sa inflow (m^3/s) to 1D pits&lt;br /&gt;
|EG15_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D pipe network (1d_nwk), 2D floodplain, 2d_rf direct rainfall&lt;br /&gt;
|EG15_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D pipe network (1d_nwk), 2D  / 2D floodplain quadtree&lt;br /&gt;
|EG15_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D pipe network (1d_nwk), manually specified manholes (1d_mh), 2D floodplain&lt;br /&gt;
|EG15_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D pipe network (1d_nwk), non-default (fixed) manhole loss method, 2D floodplain&lt;br /&gt;
|EG15_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D pipe network (1d_nwk), localised manually specified manhole losses, 2D floodplain&lt;br /&gt;
|EG15_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D virtual pipes, 2D floodplain&lt;br /&gt;
|EG15_007.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D virtual pipes connected to 1D pipe network (trunk drainage line), 2D floodplain&lt;br /&gt;
|EG15_008.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D storage tank (1d_na)&lt;br /&gt;
|EG15_009.tcf&lt;br /&gt;
|-&lt;br /&gt;
|1D storage tank (1d_nwk)&lt;br /&gt;
|EG15_010.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; id=&amp;quot;Bulk Simulation Management&amp;quot; |&amp;lt;b&amp;gt;Bulk Simulation Management&amp;lt;/b&amp;gt;&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; id=&amp;quot;Scenario / Event Management&amp;quot; |&amp;lt;b&amp;gt;Scenario / Event Management&amp;lt;/b&amp;gt;&lt;br /&gt;
|Scenario (single)&lt;br /&gt;
|EG16_~s1~_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Scenario (multiple)&lt;br /&gt;
|EG16_~s1~_~s2~_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Set Variable&lt;br /&gt;
|EG16_~s1~_~s2~_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Event (single)&lt;br /&gt;
|EG16_~e1~_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Event (multiple)&lt;br /&gt;
|EG16_~e1~_~e2~_005.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Scenario (multiple), Event (multiple), Set Variable&lt;br /&gt;
|EG16_~s1~_~s2~_~e1~_~e2~_006.tcf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;10&amp;quot; id=&amp;quot;Other&amp;quot; |&amp;lt;b&amp;gt;Other&amp;lt;/b&amp;gt;&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; id=&amp;quot;Advection Dispersion&amp;quot; |&amp;lt;b&amp;gt;Advection Dispersion&amp;lt;/b&amp;gt;&lt;br /&gt;
|Advection Dispersion&lt;br /&gt;
|EG17_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Advection Dispersion with settling&lt;br /&gt;
|EG17_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Advection Dispersion with decay&lt;br /&gt;
|EG17_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; id=&amp;quot;Non-Newtonian&amp;quot; |&amp;lt;b&amp;gt;Non-Newtonian&amp;lt;/b&amp;gt;&lt;br /&gt;
|Non-newtonian viscosity &lt;br /&gt;
|EG18_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Non-newtonian mixing (dam failure scenario) &lt;br /&gt;
|EG18_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; id=&amp;quot;Mathematical Operations&amp;quot; |&amp;lt;b&amp;gt;Mathematical Operations&amp;lt;/b&amp;gt;&lt;br /&gt;
|Unit Conversion&lt;br /&gt;
|EG19_001.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Using Variables&lt;br /&gt;
|EG19_~e1~_~e2~_002.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Adjust Event Variables&lt;br /&gt;
|EG19_~e1~_~e2~_003.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Apply Loss Factors &lt;br /&gt;
|EG19_~e1~_~e2~_004.tcf&lt;br /&gt;
|-&lt;br /&gt;
|Logic Control &lt;br /&gt;
|EG19_005.tcf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Archive Dataset=&lt;br /&gt;
Historic example model datasets can be accessed via the following link: &amp;lt;u&amp;gt;[[TUFLOW_Classic_Example_Model_Archive| TUFLOW Classic Example Model Archive]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Contact=&lt;br /&gt;
For comments, requests and feedback contact &amp;lt;u&amp;gt;[mailto:support@tuflow.com support@tuflow.com]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Main_Page| Back to Wiki Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45824</id>
		<title>TUFLOW 2D Hydraulic Structures</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_2D_Hydraulic_Structures&amp;diff=45824"/>
		<updated>2026-04-07T23:27:15Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* 2D Structure Modelling Theory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= 2D Structure Modelling Theory =&lt;br /&gt;
The theory behind the modelling of energy losses and affluxes of hydraulic structures is presented in the following webinars by Bill Syme and Greg Collecutt (TUFLOW Developers).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#structures Webinar Link: Modelling Energy Losses at Structures]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#nov2022_hydraulic_modelling_bridge Webinar Link: 1D, 2D &amp;amp; 3D Hydraulic Modelling of Bridges]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Bridge Modelling in TUFLOW - Overview =&lt;br /&gt;
The TUFLOW 2D solution explicitly predicts the majority of “macro” losses due to the expansion and contraction of water through a constriction, or around a bend, provided the resolution of the grid is sufficiently fine (&amp;lt;u&amp;gt;[https://www.tuflow.com/Download/Publications/Flow%20Through%20an%20Abrupt%20Constriction%20-%202D%20Hydrodynamic%20Performance%20and%20Influence%20of%20Spatial%20Resolution,%20Barton,%202001.pdf Barton, 2001]; [https://www.tuflow.com/Download/Publications/Modelling%20of%20Bends%20and%20Hydraulic%20Structures%20in%20a%202D%20Scheme,%20Syme,%202001.pdf Syme, 2001]; [https://www.tuflow.com/Download/Technical_Memos/Modelling%20Bridge%20Piers%20in%202D%20using%20TUFLOW.pdf Ryan, 2013]&amp;lt;/u&amp;gt;). Where the 2D model is not of fine enough resolution to simulate the “micro” losses (e.g. from bridge piers, vena contracta, losses in the vertical (3rd) dimension), additional form loss coefficients and/or modifications to the cells widths and flow height need to be added. &lt;br /&gt;
==Contraction/Expansion Losses (“Macro” Losses)==&lt;br /&gt;
Loss of energy is caused by the flow contraction during the expansion of water after the vena-contracta inside a bridge section and the flow expansion downstream a bridge. As discussed above, this type of &amp;quot;macro&amp;quot; losses can be explicitly resolved by the TUFLOW 2D solver, provided that a proper turbulence model and mesh size are used. Below is an example of the 2D modelling of flow contraction/expansion at a pair of bridge abutments.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:FC_Velocity_Example.PNG|600px]]  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pier Losses==&lt;br /&gt;
Piers are usually smaller than the 2D cell size in real-world flood models. Although flexible mesh solver or quadtree refinement can be applied to reduce the local cell size around the pier, it also comes with an expensive computational cost that could significantly increase the simulation time. More practically, the backwater effect of piers can be modelled as sub-grid form losses. &lt;br /&gt;
&lt;br /&gt;
Pier form loss coefficients can be derived from information in publications such as &amp;lt;u&amp;gt;[https://www.fhwa.dot.gov/engineering/hydraulics/library_arc.cfm?pub_number=1&amp;amp;id=5 &#039;&#039;Hydraulics of Bridge Waterways&#039;&#039; (Bradly, 1978)] or [https://austroads.com.au/publications/bridges/agbt08 &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018)]&amp;lt;/u&amp;gt;. Energy loss estimated from bridge piers or other obstructions, vertical or horizontal, that do not cause upstream controlled flow regimes like pressure flow, are dependent on the ratio of the obstruction&#039;s area perpendicular to the flow direction to the gross flow area of the bridge opening, the shape of the piers or obstruction, and the angularity of the piers/obstruction to the flow direction. For example, using Hydraulics of Bridge Waterways (Bradly, 1978) the approach is: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Calculate the ratio of the water area occupied by piers to the gross water area of the constriction (both based on the normal water surface) and the angularity of the piers. These inputs are used to calculate &amp;quot;J&amp;quot; in the FHA documentation.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the Figure 7 &#039;&#039;Incremental Backwater Coefficient for Piers&#039;&#039; data to calculate Kp. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:FHA_Kp_arrow_crop.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: the pier form loss coefficients in Hydraulics of Bridge Waterways are derived based on the cross-sectional averaged velocity through the bridge opening in the absence of piers. It&#039;s not necessary to specify a blockage value if a pier form loss coefficient estimated from this method is used.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bridge Deck and Rail (Super Structure)==&lt;br /&gt;
When a bridge deck become partially or completely submerged, the deck could generate extra afflux resulting in increased water levels and flood extents upstream of the structure. The flow around the deck is highly 3-dimentional and complexed due to the different deck designs/profiles and/or the occurrence of pressure flow. In 2D SWE solver, depth-varying form loss values are often needed to reproduce the afflux caused by such structure. Due to the complexity of the flow, guidelines on how to set the form loss coefficient for the bridge deck are rare. We have carried out a joint research with QLD TMR (Queensland Department of Transport and Main Roads) regarding how to choose a proper form loss value for the bridge deck &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt; . In the research, CFD modelling was conducted to investigate the characteristics of energy loss of a simple bridge with a flat bottomed deck and guardrails.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:CFD_study.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Below are the key findings from the study:&lt;br /&gt;
*The results displayed a characteristic shape for head loss coefficient as a function of downstream water level over the deck thickness (TW/T).&lt;br /&gt;
*The head loss (afflux) peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out.&lt;br /&gt;
[[File:FormLoss_vs_TWT.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bridge Design (hB/T) vs Form Loss Coefficient Table===&lt;br /&gt;
The peak loss coefficient value is a function of the ratio of the depth underneath the deck (hB) and the thickness of the deck (T). This table can be used to estimate the deck form loss coefficient based on the bridge design (hB/T).&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;35%&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=55%| Deck Height to Thickness Ratio&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=45%| Peak Form Loss Coefficient&lt;br /&gt;
|-&lt;br /&gt;
| Scenario A (hB/T) = 2 || 0.42&lt;br /&gt;
|-&lt;br /&gt;
| Scenario B (hB/T) = 4 || 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Scenario C (hB/T) = 6 || 0.20&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The solid portion of the guard rails (blockage * rail depth) can be added to T in addition to the deck thickness to calculate hB/T. &lt;br /&gt;
*For bridge with more complicated designs (e.g. girders), higher form loss might be required due to the higher surface roughness of the bridge. &lt;br /&gt;
*If the hB/T ratio is less than 2 or greater than 6, use a peak form loss coefficient of 0.42 (minimum) or 0.20 (maximum), respectively.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: This form loss value should not be confused with the value of 1.56 used in the pressure flow approached adopted in &amp;lt;u&amp;gt;[[1D_Bridges | TUFLOW 1D &amp;quot;B&amp;quot; and &amp;quot;BB&amp;quot; bridge]]&amp;lt;/u&amp;gt;. TUFLOW 1D bridge pressure flow approach is based on the section 4.13.2 &amp;quot;All Girders in Contact with Flow (Case II)&amp;quot; of &#039;&#039;Guide to Bridge Technology Part 8: Hydraulic Design of Waterway Structures&#039;&#039; (AUSTROADS, 2018). The original hydraulic experiment conducted by &amp;lt;u&amp;gt;[https://hdl.handle.net/10217/39009 Liu et al (1957)]&amp;lt;/u&amp;gt; in a laboratory flume with a pair of bridge abutments and a deck. The flow conditions were similar to orifice flow due to the high blockage ratio caused by the abutments and the deck. When modelling bridges in 2D, the contraction/expansion losses caused by the abutments would be handled explicitly by the 2D solver, so a value 1.56 can lead to duplication of the contraction/expansion losses caused by the bridge abutments.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=TUFLOW 2D Bridge Setup=&lt;br /&gt;
There are two methods available to model depth varying form loss of a bridge structure: &lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 |2D Layered Flow Constriction (2d_lfcsh)]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:The traditional method used to model depth-varying form loss through bridge components such as piers, decks, and rails.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 |2D BG Shape (2d_bg)]]&amp;lt;/u&amp;gt; (introduced in the 2023 release)&lt;br /&gt;
:A simplified approach developed to simplify the model input based on the findings from the joint TMR Study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Both methods provide options for representing flow surcharging, the pressure flow of bridge decks and eventually submerged bridge flow at higher water levels. During the surcharging of bridge decks, higher energy losses can be specified to simulate the pressure flow. &lt;br /&gt;
&lt;br /&gt;
Examples for how to configure both approaches are provided in the 2D structures section of the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#2D_Structures |TUFLOW Wiki Example Models]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Tutorial_M04 |Tutorial Module 4]]&amp;lt;/u&amp;gt; - 2D Bridges.&lt;br /&gt;
&lt;br /&gt;
==2D Layered Flow Constriction (2d_lfcsh)==&lt;br /&gt;
Four flow constriction layers are represented in a 2d_lfcsh layer. The lower three layers represents the pier, the bridge deck and the rails. Each layer has its own attributes to specify the blockage and the form loss coefficient. The top (fourth) layer assumes the flow is unimpeded, representative of flow over the top of a bridge. Within the same shape, the invert of the bed, and thickness of each layer can vary in 3D.&lt;br /&gt;
&lt;br /&gt;
The following table provides an overview for how to determine the blockage and form loss coefficient for each layer:&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; If no calibration is available, estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table || Full blockage, no flow through the deck &lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% ||   Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt;&lt;br /&gt;
If no calibration data is available, combined FLC for Layers 2 and 3 should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = L2_Depth + (pBlockage × L3_Depth)  &lt;br /&gt;
*(pBlockage × L3_Depth) represents the solid portion of the rails  &lt;br /&gt;
*L2 FLC and L3 FLC should sum to the combined FLC  &lt;br /&gt;
|Blockage and FLC depends on rail type &amp;lt;br&amp;gt; Sensitivity testing with 100% blockage is recommended due to potential for debris during flood&lt;br /&gt;
If using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, it is recommended to enable the Method C Form Loss Approach&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_lfcsh_attributes.png | 500px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blockage===&lt;br /&gt;
&lt;br /&gt;
The 2d_lfcsh functions by adjusting the flow width and the form loss of 2D cell faces. The combined blockage across the 4 layers is calculated at each simulation timesteps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Blockage_total_equation_01.png|600px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
where&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the actual depth of water in layer &#039;&#039;&#039;&#039;&#039;i&#039;&#039;&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;y&amp;lt;sub&amp;gt;total&amp;lt;/sub&amp;gt;&#039;&#039;&#039;&#039;&#039; is the total water depth&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach=== &lt;br /&gt;
&lt;br /&gt;
The combined form loss coefficient is determined using one of three methods. The form loss coefficient method can be specified either individually using the 2d_lfcsh “Shape_Options” attribute or globally using the .tcf command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Layered FLC Default Approach&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; [ METHOD A | {METHOD B} | METHOD C | METHOD D]&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD A&amp;lt;/b&amp;gt;: The losses are accumulated as the water level rises through the layers. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_cumulate.png |450px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Applies the full accumulated form loss continuously, even when overtopping begins (no reduction)&lt;br /&gt;
:Note: Simpler method but tends to overestimate losses when the structure is submerged or overtopped&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD B&amp;lt;/b&amp;gt; (default): the losses are applied pro-rata according to the depth of water in each layer. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_portion.png |430px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Form loss increases based on the depth of water in layer 2 &amp;amp; 3; peak form loss at top of Layer 3&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure&lt;br /&gt;
:Note: Maintains backward compatibility but may underrepresent losses during pressurised or overtopped flows&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD C&amp;lt;/b&amp;gt; (recommended): hybrid approach combining Method A and Method B. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Eq_flc_methodC.png |520px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*Layer 1: Constant form loss (L1_FLC) &lt;br /&gt;
:*Layers 2 &amp;amp; 3: Gradual increase in form loss with water level, following Method A&lt;br /&gt;
:*Above Layer 3: Total form loss gradually reduces as water overtops the structure, following Method B&lt;br /&gt;
:Note: Recommended method; aligns closest to CFD modelling results and TUFLOW HPC behaviour. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;METHOD D&amp;lt;/b&amp;gt;: Allows the modeller to control the depth at which the losses start to reduce when the flow transitions between pressure flow and drowned flow. &lt;br /&gt;
:This approach is the same used by the 2d_bg layer (introduced in the 2023-03 release). It is recommended to use the 2d_bg layer as it has the benefit of a simplified attribute table, for easier user input.&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
&lt;br /&gt;
In this study, a combined form loss coefficient of 0.35 was used to match observed head loss during slight overtopping of a bridge. The FLC values for each layer were adjusted to achieve the correct combined form loss. The table and plot show how each layer contributes to the total form loss and highlight the differences in calculated form loss between the three methods.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;60%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=6%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; rowspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=12%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method A&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method B&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Method C&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer FLC&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Combined FLC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5.0 || 5   || 0.07 || 0.07 || 0.07 || 0.07 || 0.07 || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1.5 || 100 || 0.15 || 0.22 || 1.05 || 0.30 || 0.15 || 0.22&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 1.0 || 50  || 0.13 || 0.35 || 0.70 || 0.35 || 0.13 || 0.35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:FLC_vs_height_updated.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2D BG Shape (2d_bg)==&lt;br /&gt;
2D BG Shape is similar to the Layered Flow Constriction, but has several updates to simplify the input based on the findings from the joint study with TMR &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The following table provides an overview of how to determine the blockage and form loss coefficient for each layer:&amp;lt;br&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0; &amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Description&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Form Loss Coefficient (FLC)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| 1 || Pier layer || ~5% (can be omitted if included in FLC) || Estimate using &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Pier_Losses | Pier Losses]]&amp;lt;/u&amp;gt; || Represents flow obstruction from piers beneath the bridge deck&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Bridge deck || 100% || rowspan=&amp;quot;2&amp;quot; | The Super Structure (Super_S) is the bridge deck and rails layers combined. &amp;lt;br&amp;gt; &lt;br /&gt;
Use calibration data, if available, to determine FLC. &amp;lt;br&amp;gt; &lt;br /&gt;
If no calibration data is available, the Super_S FLC should be estimated using the &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Bridge_Design_.28hB.2FT.29_vs_Form_Loss_Coefficient_Table | hB/T vs FLC]]&amp;lt;/u&amp;gt; table, where T = Deck_Depth + (Rail_pBlockage*Rail_Depth)  &lt;br /&gt;
*(Rail_pBlockage*Rail_Depth) represents the solid portion of the rails&lt;br /&gt;
|| Full blockage, no flow through the deck&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Bridge rails || 10% – 100% || Sensitivity testing with 100% blockage is recommended due to potential for debris during flood events&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Above rails || 0% || 0 || Represents unimpeded overtopping flow&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:2d_bg_attributes.png | 700px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Inflection Point===&lt;br /&gt;
&lt;br /&gt;
Based on findings from the joint study &amp;lt;u&amp;gt;[https://tuflow.com/media/7554/2022-bridge-deck-afflux-modelling-benchmarking-of-cfd-and-swe-codes-to-real-world-data-collecutt-et-al-hwrs.pdf (Collecutt et al, 2022)]&amp;lt;/u&amp;gt;, the head loss peaks when the water level is approximately 1.6*T above the bridge soffit, and decays slowly as the bridge becomes progressively drowned out. The &#039;SuperS_IPf&#039; attribute (inflection point factor, default = 1.6) can be used to define the height of the inflection point. The solid portion of the rail layer is also added to the deck thickness to calculate the depth to the inflection point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;), i.e.:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg_infection_point.png | 520px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Approach===&lt;br /&gt;
The form loss approach is similar to the FLC approach METHOD C, with L2/L3 replaced by a single super structure layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:eq_flc_bg.png | 480px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Form Loss Calibration Example - Iowa River Flood Study===&lt;br /&gt;
This example uses the same bridge setup described in the&amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#Form_Loss_Calibration_Example_-_Iowa_River_Flood_Study | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; section, with the following parameters applied: &lt;br /&gt;
*SuperS_FLC = 0.28 &lt;br /&gt;
*SuperS_Ipf = 1.6, &lt;br /&gt;
The Depth to Inflection Point (D&amp;lt;sub&amp;gt;IP&amp;lt;/sub&amp;gt;) is calculated as 3.2m above the bridge soffit. &lt;br /&gt;
&lt;br /&gt;
The table and figure below show how the form loss value varies with water depth.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
{| style=&amp;quot;text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;32%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Layer&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Depth (m)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Blockage (%)&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=8%| Form Loss&lt;br /&gt;
|-&lt;br /&gt;
| Pier || 5.0 || 5   || 0.07&lt;br /&gt;
|-&lt;br /&gt;
| Deck || 1.5 || 100 || rowspan=&amp;quot;2&amp;quot; | 0.28&lt;br /&gt;
|-&lt;br /&gt;
| Rail || 1.0 || 50 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:FLC_vs_height_bg.png | 600px ]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2D Bridges Line vs Polygon Layer ==&lt;br /&gt;
The form loss coefficient (FLC) is applied differently when using a line compared to a polygon for both 2d_lfcsh and 2d_bg inputs. The FLC is applied at cell sides (u and v faces) as this is where velocities are calculated. &amp;lt;br&amp;gt; &lt;br /&gt;
For larger bridges that spread across multiple cells, it is recommended to use a polygon layer, which selects all u and v faces falling within the polygon.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;2D Layered Flow Constriction (2d_lfcsh)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides&lt;br /&gt;
| This approach is cell size independent. It is the easiest setup and the preferred / recommended approach when using 2d_lfcsh.&lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| between zero and 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| A cell is selected if the polyline intersects the cell crosshair. Caution should be taken when using a &amp;quot;thick&amp;quot; line, as changes in cell size can cause it to become a &amp;quot;wide&amp;quot; line. If this occurs, the FLC attribute may need to be recalculated to avoid overestimating or underestimating losses.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| larger than 1.5 times the cell size&lt;br /&gt;
| Total form loss of the bridge &amp;lt;br&amp;gt;&#039;&#039;(may need to be recalculated, see notes)&#039;&#039;&lt;br /&gt;
| FLC divided by number of cell sides in the direction of flow &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;(number of cell sides in the direction of flow is calculated as line width divided by cell size)&#039;&#039;&lt;br /&gt;
| Polygon shapes are recommended if more than 3 rows of faces must be selected.. &amp;lt;br&amp;gt; &lt;br /&gt;
Caution should be taken when using a &amp;quot;wide&amp;quot; line. The cell size and alignment of the 2d_lfcsh line may result in selecting too many or too few cell faces in the direction of the flow. The FLC input may need to be recalculated to ensure FLC Applied multiplied by the number of cell sides in the direction of flow equates to the intended total form loss.  &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; | Polygon&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Total loss per unit length (meters or feet) in the direction of flow&lt;br /&gt;
| FLC * cell size applied to all sides of selected cells &lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2D Bridge (2d_bg)&#039;&#039;&#039;&lt;br /&gt;
{| style=&amp;quot;text-align: left; margin-left: 0;&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Geometry&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 7.5%;&amp;quot;| Line Type&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 11%;&amp;quot;| Width Attribute&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Input&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 22%;&amp;quot;| FLC Applied&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot; style=&amp;quot;background-color:#005581; font-weight:bold; color:white; width: 30%;&amp;quot;| Notes&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot; | Line &lt;br /&gt;
| Thin&lt;br /&gt;
| zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| Applies the FLC to a single row of cell sides. &lt;br /&gt;
| This approach is cell size independent. &lt;br /&gt;
|-&lt;br /&gt;
| Thick&lt;br /&gt;
| larger than zero&lt;br /&gt;
| Total form loss of the bridge&lt;br /&gt;
| FLC/2 applied to all sides of the selected cells&lt;br /&gt;
| This approach is cell size independent. A cell is selected if the polyline intersects the cell crosshair.&lt;br /&gt;
|-&lt;br /&gt;
| Wide&lt;br /&gt;
| Not supported&lt;br /&gt;
| –&lt;br /&gt;
| –&lt;br /&gt;
| BG polygon shapes are recommended if more than 3 rows of faces must be selected.&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;1&amp;quot; |Polygon&lt;br /&gt;
| -&lt;br /&gt;
| &#039;&#039;(used to automatically distribute the total FLC to the selected faces)&#039;&#039; &lt;br /&gt;
| Total form loss of the bridge &lt;br /&gt;
| FLC / Deck_Width * cell size applied to all sides of selected cells &lt;br /&gt;
| For bridges modelled using a 2d_bg polygon the relative ratio of the bridge width to the 2D cell size should be 4 or greater. For more information on this see &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/2d_bg_R_Bridge_Configuration_Advice_202503.pdf 2d_bg_R_Bridge_Configuration_Advice.pdf]&amp;lt;/u&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following diagrams demonstrate how the input FLC is applied for the four geometry options for 2d_lfcsh and 2d_bg layers: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:2dlfcsh 2dbg combined v2.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
It is good modelling practice to check the &amp;lt;u&amp;gt;[[Check_Files_2d_lfcsh_uvpt | lfcsh_uvpt_check]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[Check Files 2d bg uvpt check | bg_uvpt_check]]&amp;lt;/u&amp;gt; files to confirm the number of faces selected and the FLC values assigned. It is also strongly recommended to undertake a sensitivity analysis on the applied form losses in the model to check if it makes any difference to the results and/or double check against other methods (hand calculations, other software, CFD modelling), especially if the bridge is near an area of interest. If calibration data is available, this should be used to guide the form loss value specification.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Common Questions Answered (FAQ)=&lt;br /&gt;
== What blockage values should I use for bridge guard rails? ==&lt;br /&gt;
The blockage of bridge guard rails can be anything from 100% blocked (solid concrete rails) to 10% blocked (very open rails). In addition, the accumulation of debris during a flood can be substantial as shown in the image below. Sensitivity testing with 100% blockage is recommended. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge rail debris.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
== How to conduct sensitivity test for 2D bridges? ==&lt;br /&gt;
General recommendations to cross-check the results are:&lt;br /&gt;
* Compare computed affluxes against desktop methods (e.g. Hydraulics of Bridge Waterways, 1978) and/or other software including CFD, especially for unusual bridge designs. &lt;br /&gt;
* Use any recorded flood marks or general observations from past events to check and calibrate FLC values. &lt;br /&gt;
* Conduct sensitivity testing by assessing the impact and influence of FLC values on your modelling objectives. The afflux resulting from the FLC values will be proportional to the velocity head, i.e. ∆h=FLC*(v^2/2g). As such, if velocities are low (e.g. 1 m/s), the results may not be overly sensitive to uncertainties in the FLC values. If completing a check using this equation for a long skew bridge it is best to calculate the total structure velocity from a PO line digitised in the same location as the bridge.&lt;br /&gt;
&lt;br /&gt;
Finally, after completing sensitivity testing and understanding the range of uncertainty due to unknowns like the degree of blockage and influence of FLC values (e.g. +/-20%), you are in a position to discuss with your client how best to proceed.  For example, if the modelling is to set planning levels for a development upstream then it may be appropriate to choose values on the higher side (higher FLC values and/or blockage assumptions), noting that the uncertainty may be amply covered by a regulatory freeboard.  Conversely, if the development is on the downstream side the conservative approach would be to use the results at the lower end of your FLC/blockage values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Bridge Flood Debris Loading.jpg | 500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I use both FLC and blockage for layer one in 2D bridge layered flow constriction? ==&lt;br /&gt;
When applying FLC and blockage values to model obstructions such as piers, the following considerations need to be taken into account:&lt;br /&gt;
* The FLC value applies an energy loss along 1D channels or across 2D cell faces equivalent to FLC*V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g where V is the 1D channel velocity or the 2D cell face velocity.&lt;br /&gt;
* FLC values are often sourced from publications such as Hydraulics of Bridge Waterways or AustRoads (e.g.  Kp chart for piers).  &lt;br /&gt;
* If possible, establish whether the source of the FLC value is based on the approach velocity (the velocity in the absence of piers) or structure velocity (the velocity with area blocked out by the piers) noting that it often isn’t clear or stated.  &lt;br /&gt;
** If it is the structure velocity, this is usually the velocity at the vena-contracta (point of greatest contraction within the entrance to the structure and therefore highest velocity) - see image below.  Bluff or sharp-edged obstructions will have a much more pronounced vena-contracta, and therefore higher velocity compared with a round-edged obstruction. &lt;br /&gt;
** FLC values based on the approach velocity will be higher than those based on the structure velocity to achieve the same energy loss.&lt;br /&gt;
* Applying a blockage equivalent to the obstruction width will increase, usually very slightly, the velocity of the 1D channel or 2D cell face.  This won’t be the vena-contracta velocity, but a velocity between the approach velocity and the vena-contracta velocity.  A greater blockage will need to be applied to emulate the vena-contracta velocity.&lt;br /&gt;
* If the FLC source value is based on:&lt;br /&gt;
** The approach velocity then there is no need to apply a blockage value.&lt;br /&gt;
** The structure velocity then the blockage value should be applied noting that it may be appropriate to apply a larger blockage to take into account the vena-contracta.&lt;br /&gt;
* If it is not clear or unknown whether the FLC source value is based on the approach or structure velocity, the recommendation would be to apply the blockage in the interests of being slightly conservative on the upstream flood level calculation.&lt;br /&gt;
* For most minor obstructions such as bridge piers, the blockage is usually relatively small and whether included or not has a negligible or minor affect on flood levels compared with other factors such as the approach embankments and the bridge deck.&lt;br /&gt;
* Blockage from debris wrapped around piers can have a greater influence on the results than the effect of applying or not applying a blockage. Debris wrapped around piers can be accounted for in the FLC value calculated for the pier layer. &lt;br /&gt;
* As always, sensitivity testing with and without blockage and +/- the FLC value is highly recommended to understand their importance in regard to the broader modelling objectives and the effects of uncertainties in the input data, boundaries, other parameters such as Manning’s n values, and the accuracy of the numerical solution scheme (see &amp;lt;u&amp;gt;[https://www.tuflow.com/library/webinars/#maximise_accuracy Maximising the Accuracy of Hydraulic Models webinar]&amp;lt;/u&amp;gt;).&lt;br /&gt;
[[File: Vena_contracta.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Image showing the formation of the vena-contracta.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t see results that I expect when using 2d_lfcsh layer==&lt;br /&gt;
The 2d_lfcsh layer is a versatile feature that was designed to model bridges in 2D, but can also be used for other applications like fences, buildings raised on pillars and so on.&lt;br /&gt;
Some of the unexpected results could be:&lt;br /&gt;
* Water level going through the bridge deck in 2D map output.&lt;br /&gt;
* Water transiting through 100% blocked Layer 1, e.g. fences with solid base.&lt;br /&gt;
* SHMax.csv reporting values above the bridge deck when 2D map output reports water level lower than the top of the bridge deck.&lt;br /&gt;
&lt;br /&gt;
TUFLOW is a 2D solution (not 3D), in the 2d_lfcsh layer the percent blockage and form loss coefficient applied to the cell faces is depth averaged across the entire cell face (across Layer 1, 2 and 3):&amp;lt;br&amp;gt;&lt;br /&gt;
*For bridges, where Layer 2 has a 100% blockage applied, the minimum flow width of 0.001m is used and is averaged with the Layer 1 blockage (based on the depth of the water). This may result in a water level being reported within or above the bridge deck, which would represent the pressure head.&lt;br /&gt;
*Layered flow constriction works by adjusting the flow area of the cell faces by any blockages to generate the correct depth averaged velocity at each face at which the form losses are applied as a fraction of the V&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2g kinetic energy. Calculating the correct velocity is critical for determining the losses as the losses are proportional to the velocity squared. &amp;lt;br&amp;gt;&lt;br /&gt;
*For a layered flow constriction cell face the flow area cannot be zero above the invert of Layer 1 to avoid a divide by zero in the computations, therefore a minimum average flow width after applying blockages of 0.001 m is applied.  if Layer 1 is 100% blocked, a very small amount of water will flow through Layer 1.  If this is unacceptable, instead of applying 100% blockage of Layer 1, the preferred approach is to start the layered flow constriction at the top of Layer 1 or raise the ground elevation to the top of Layer 1 using one of the Z Shape modification functions (e.g. a breakline). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:100% Blockage Diagram.png | 500px]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I model bridge piers explicitly in 2D using very small cells? ==&lt;br /&gt;
It isn&#039;t recommended to explicitly model bridge piers by blocking out the pier faces in TUFLOW, or in any hydraulic modelling software based on solving Shallow Water Equations(SWE). Due to the 3-dimentiality of the flow and turbulence around a pier, computational fluid dynamics (CFD) approach is often required to simulate the flow around piers explicitly. The wake turbulence behind a simple-shape pier can be resolved to some extent using extremely fine mesh in TUFLOW (see calibration example to a flume experiment in the [https://www.tuflow.com/library/webinars/#structures webinar on Energy Losses at Structures]), however the predictions for head losses show notable sensitivities to the mesh size, the mesh design, and the choice of turbulence model. The extremely fine mesh resolution also results in significantly higher computational costs. &lt;br /&gt;
&lt;br /&gt;
Therefore, the safest and strongly recommended approach with regard to establishing head losses and consequently flood levels, is to model the effects of such obstructions with form loss coefficients (applied to selected mesh cells) that have been derived from physical testing. This approach has been shown to provide the most consistent results across various mesh resolutions. It also has the added benefit that, by avoiding small cells in the mesh, it will provide much more efficient run times for flow solvers.&lt;br /&gt;
&lt;br /&gt;
[[File:Flow round a cylinder.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The point of flow separation around an object has a major bearing on the drag coefficient and is not reliably reproduced by 2D or 3D software.&#039;&#039;&lt;br /&gt;
&amp;lt;!-- SG commented out, too much CFD info&lt;br /&gt;
Small scale obstructions to the flow, such as trees, poles, piers, etc. cause additional head losses along a flow path due to their drag characteristics. Historically, form loss (or drag) coefficients for various profile shapes have been determined as a function of Reynold’s number through experimental testing. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More recently, computational fluid dynamics (CFD) has been used to attempt to reproduce the velocity field in the wake of such objects. Although providing better results than 2D modelling, the results have not always agreed well with physical tests. In particular, the drag of a given profile depends on the exact location of flow separation points, which in turn depends on the ability of the CFD code to predict the laminar to turbulent transition in the boundary layer, which is many times smaller than the profile shape itself. In general, the form loss results from CFD models show significant sensitivity to mesh size, mesh design, and choice of turbulence model. Considerable caution needs to be exercised even for CFD modelling.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to best convert flow constriction data (2d_fc or 2d_fcsh) into newer formats (2d_lfcsh or 2d_bg)? ==&lt;br /&gt;
The form loss parameters can be transferred from the flow constriction (2d_fc or 2d_fcsh) to the first layer of the layered flow constriction (2d_lfcsh) or pier layer of the 2d_bg. Definition of the remaining form loss and blockage layer inputs should follow the guidance outlined in &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_Layered_Flow_Constriction_.282d_lfcsh.29 | 2D Layered Flow Constriction]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_2D_Hydraulic_Structures#2D_BG_Shape_.282d_bg.29 | 2D BG Shape]]&amp;lt;/u&amp;gt; paragraphs.&amp;lt;br&amp;gt;&lt;br /&gt;
When using floating pontoon (type FD in the 2d_fc or 2d_fcsh) different setup might need to be used for different events. For large events when floating pontoon becomes fixed at the top of the supporting piles, standard 2d_lfcsh setup can be used. Smaller events when the pontoon is floating at different heights might require more sensitivity testing of the structure parameters to find out a setup the matches the reality as close as possible.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Should I model bridges in 1D or 2D Domain? ==&lt;br /&gt;
The recommended approach typically depends on the study objectives and if the channel upstream and downstream of the bridge is modelled in 1D or 2D. To preserve the momentum as accurately as possible the bridge should be modelled in the same dimension as the channel, e.g. 1d_nwk bridge if the channels is in 1D and 2d_bg or 2d_lfcsh if the channel is modelled in 2D.&amp;lt;br&amp;gt;&lt;br /&gt;
In 2D, the expansion/contraction losses are modelled based on the topography and don&#039;t need to be estimated as attributes as for 1D modelling. Also, for higher flows where the bridge is overtopped, 2D is preferable approach. &lt;br /&gt;
&lt;br /&gt;
== What is the difference between downstream and upstream controlled flow? ==&lt;br /&gt;
Downstream control means a change in downstream water level will cause a change in upstream water level. Upstream control means the upstream water level is insensitive to the downstream water level and usually indicates the occurrence of supercritical flow.&lt;br /&gt;
&lt;br /&gt;
== What FLC values should be used for 2d_bg bridge if hB/T is below 2 or above 6? ==&lt;br /&gt;
TMR has extended the CFD simulation to hB/T ratios of 1 to 10. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&lt;br /&gt;
If hB/T is outside this ratio:&lt;br /&gt;
* hB/T ratios of less than 1 represent a very unusual bridge sitting low to the ground, and the peak FLC may increase above the end value (FLC of 0.6) in a way that doesn&#039;t follow the research trend or extrapolation. For these cases we would recommend using CFD modelling to obtain a more informed value. Alternatively, computing an FLC based on pressure flow or using 1D culvert might be considered.&lt;br /&gt;
* For hB/T ratios of greater than 10, the FLC is likely to continue to decrease, but probably not significantly. Clamping to the end value (FLC of 0.16) might be considered the more conservative approach (if the primary concern is flood levels upstream of the bridge).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Plotting_1D_Flow_Regime&amp;diff=45823</id>
		<title>TUFLOW Viewer - Plotting 1D Flow Regime</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Plotting_1D_Flow_Regime&amp;diff=45823"/>
		<updated>2026-04-07T23:19:06Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
Flow regime can be a very useful output to understand and debug 1D results, in particular, culverts.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Flow regime results are output from ESTRY by default (i.e. there is no special output type or command required in the ECF). Since the 2020-01-AA TUFLOW release, flow regime results will be imported into TUFLOW Viewer when time series results are loaded. There are several methods to view the flow regime results:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Flow Regime&#039; in the &#039;&#039;&#039;Result Type&#039;&#039;&#039; widget (underneath &#039;Time Series&#039;).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_1a.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This will display the flow regime as points and lock the y-axis to the available flow regime types as per the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. The plot will group the types by outlet and inlet control regimes - &#039;G&#039; is no flow, everything below &#039;G&#039; on the plot will be inlet control and everything above &#039;G&#039; is outlet control.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_2a_03.png]]&amp;lt;br&amp;gt;&amp;lt;Br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Right clicking certain time series results [[File:results_2.png | 15px]] (e.g. &#039;Flow&#039;, &#039;Level&#039;, or &#039;Velocity&#039;) will give the user the option of checking on &#039;&#039;&#039;Flow Regime&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_3a.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will plot the flow regime as letters and map it to the chosen result type, making visualising the results a lot easier. For example, in the image below the jump in velocity at approximately 0.55 hrs to 0.7 hrs is shown to be a change in flow regime (it goes from &#039;A&#039; to &#039;B&#039; then to &#039;L&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_4a.png]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flow Regimes (Source: TUFLOW Manual)&#039;&#039;&#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Plotting_TimeSeries_FlowRegime_Legend.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Plotting 1D Flow Regime_1a.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Time_Series_Output| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=1D_Pits&amp;diff=45752</id>
		<title>1D Pits</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=1D_Pits&amp;diff=45752"/>
		<updated>2026-03-31T22:51:53Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Pit Inlet Data Sources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
There are predominantly two types of stormwater pits (drains/gullies) used as inlets to collect overland runoff and transfer that water to the underlying drainage/culvert/pipe network; &lt;br /&gt;
* Grated inlets&lt;br /&gt;
* Kerb Inlets (side entry pits / lintel inlets).&lt;br /&gt;
This page of the Wiki describes how pit inlet data is incorporated into a TUFLOW model.&lt;br /&gt;
&lt;br /&gt;
= Pit Inlet Types =&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Inlet Type !! Example !! Description !! Dimensioned Example&lt;br /&gt;
|-&lt;br /&gt;
! Q&lt;br /&gt;
| [[File:Q pit inlet.jpg|thumb|none|300px|Depth-Discharge Pit or Channel]] || Depth-Discharge Pit or Channel, pit inlet inflow information is defined within TUFLOW via a user-defined Pit Inlet Database and associated pit inlet curves. This approach allows for unlimited flexibility. Any pit design or configuration can be incorporated into a TUFLOW model if the inlet depth-discharge relationship is known. || &amp;lt;u&amp;gt;[[1D_Pits#TUFLOW_Model_Inputs | See TUFLOW Model Inputs]]&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! R&lt;br /&gt;
| [[File:Side_Entry_pit.jpg|thumb|none|300px|Kerb Inlet]]&lt;br /&gt;
|| Kerb inlets, also known as side entry pits or lintels, are common in Australia. The pit chamber can vary depending on overall depth, length, and the addition of any haunched riser units.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Width_or_Dia: Sets the width of the pit inlet section in the vertical plane. &amp;lt;br&amp;gt;&lt;br /&gt;
Height_or_WF: Sets the height of the pit inlet channel in the vertical plane.&lt;br /&gt;
|| [[File:003 Side Entry pit dimensions.jpg|alt=|left|thumb|300x300px|Kerb Inlet with dimensions]]&lt;br /&gt;
|-&lt;br /&gt;
! C&lt;br /&gt;
| [[File:Circular pit inlet.jpg|thumb|none|300px|Circular Pit Inlet]]&lt;br /&gt;
|| Circular pit inlet.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Width_or_Dia: Sets the diameter of the pit inlet cross-section in the vertical plane.&amp;lt;br&amp;gt;&lt;br /&gt;
Height_or_WF: Not used.&lt;br /&gt;
|| [[File:003 Circular pit inlet dimensions.jpg|alt=|left|thumb|300x300px|Circular Pit Inlet with dimensions]]&lt;br /&gt;
|-&lt;br /&gt;
! W&lt;br /&gt;
| [[File:Gully pit.jpg|thumb|none|300px|Grate (London, UK)]]&lt;br /&gt;
|| Grates, also known as Gully Pits, are common in the United Kingdom and are generally a square grate on top of a circular chamber and a riser outlet. The outlet will then feed into a larger culvert that forms part of the larger urban drainage network.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Width_or_Dia: Sets the width of the pit inlet section in the vertical plane. The width is the total width in the direction of flow to the pit. For example:&amp;lt;br&amp;gt;&lt;br /&gt;
* Case 1 - a gully pit may include all sides of the pit.&lt;br /&gt;
* Case 2 - an on grade pit may only include one side.&amp;lt;br&amp;gt;&lt;br /&gt;
Height_or_WF: Not used.&amp;lt;br&amp;gt;&lt;br /&gt;
|| [[File:006 CASE 1 Gully pit dimensions.jpg|alt=|left|thumb|300x300px|Case 1 - Grate with dimensions]][[File:006 CASE 2 Gully pit dimensions.jpg|alt=|left|thumb|300x300px|Case 2 - Grate with dimensions]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Pit Inlet Data Sources =&lt;br /&gt;
Pit inlet depth-discharge data can be obtained from a variety of sources. The most common typically being from suppliers or local agencies who enforce consistent design standards within their jurisdiction. For demonstration purposes, examples from Sutherland Shire Council and Brisbane City Council are provided below. &lt;br /&gt;
&lt;br /&gt;
== Sutherland Shire Council ==&lt;br /&gt;
The Sutherland Shire Council Urban Drainage Manual (1992) includes summary tables and graphs documenting pit grate and lintel capacity information (derived from Department of Main Roads testing). The guidelines are compatible with the standard pit grate and lintel design shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Pit_Inlet_Curves_SSC000.JPG|700px]]&amp;lt;br&amp;gt;&lt;br /&gt;
The capacity of a pit depends on three factors:&lt;br /&gt;
* The clear opening area of the grate&lt;br /&gt;
* The depth of water ponding over the grate &lt;br /&gt;
* The length of kerb inlet (lintel) opening&lt;br /&gt;
The following graphs summarise grate and lintel discharge estimates for a range of water depths and blockage factors, derived from the Sutherland Shire Council design standards. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Pit_Inlet_Curves_SSC001.JPG|700px]]&lt;br /&gt;
[[File: Pit_Inlet_Curves_SSC002.JPG|700px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above graphs estimate unit length and area flow estimates. These unit values can be multiplied by real pit dimensions to define at site depth-discharge characteristics. &lt;br /&gt;
&lt;br /&gt;
TUFLOW modelling requires the derivation of a unique depth-discharge curve for each pit type within the modelled area. An example is provided below for a single pit location.  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Pit_Inlet_Curves_SSC003.JPG|700px]]&lt;br /&gt;
&lt;br /&gt;
== Brisbane City Council==&lt;br /&gt;
The pit inlet curve examples below originate from Brisbane City Council 8000 series standard drawings: &amp;lt;u&amp;gt;https://www.brisbane.qld.gov.au/planning-building/planning-guidelines-tools/planning-guidelines/standard-drawings&amp;lt;/u&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
[[File: BCC_BSD-8077.JPG|border|700px]]&lt;br /&gt;
[[File: BCC_BSD-8051.JPG|border|700px]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: BCC_BSD-8082.JPG|border|700px]]&lt;br /&gt;
[[File: BCC_BSD-8052.JPG|border|700px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Spacing of Road Gullies (UK standards: BS EN 124 and BS7903) ==&lt;br /&gt;
The following section describes the &amp;lt;u&amp;gt;[https://www.standardsforhighways.co.uk/tses/attachments/a869ed8e-4470-4286-aef4-7d11af24a597 Spacing of Road Gullies]&amp;lt;/u&amp;gt; guidance (UK standards: &#039;&#039;&#039;BS EN 124&#039;&#039;&#039; and &#039;&#039;&#039;BS 7903&#039;&#039;&#039;) which provides a method for determining road gulley capture rates.&lt;br /&gt;
 &lt;br /&gt;
The method depends on the following &#039;&#039;&#039;Hydraulic parameters:&#039;&#039;&#039;&lt;br /&gt;
* Longitudinal gradient, &#039;&#039;S&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;&#039;&#039;, along the length of the scheme (expressed as fraction). &lt;br /&gt;
&lt;br /&gt;
* Cross-fall, &#039;&#039;S&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;&#039;&#039; (also expressed as a fraction). &lt;br /&gt;
&lt;br /&gt;
* Manning’s roughness coefficient, &#039;&#039;n&#039;&#039;. Usually &#039;&#039;n&#039;&#039; = 0.017 for a conventional road surface. Other values are given in the following &#039;&#039;&#039;Table 1&#039;&#039;&#039;. (For more details, please see Section: 5, Table 5.3N of the &amp;lt;u&amp;gt;[https://www.standardsforhighways.co.uk/tses/attachments/a869ed8e-4470-4286-aef4-7d11af24a597 guidance]&amp;lt;/u&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Table 1:&#039;&#039;&#039; Values of Manning&#039;s &#039;&#039;n&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Table1N.jpg|750px|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The grating type (P, Q, R, S or T), or the size and angle of kerb inlet.&lt;br /&gt;
&lt;br /&gt;
* The maximum allowable flow width (as shown below by &#039;&#039;B&#039;&#039; in m) against the kerb.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Figures 1 2.jpg|850px|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of Gully Flow Capture Rates based on Equations&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;The equations given in Appendix C (p.g: 25) of the &amp;lt;u&amp;gt;[https://www.standardsforhighways.co.uk/tses/attachments/a869ed8e-4470-4286-aef4-7d11af24a597 guidance]&amp;lt;/u&amp;gt; can be used to determine flow capture rates at different depths, to determine the depth-discharge curve for use within TUFLOW. The method requires the calculations of the flow capacity of the kerb channel and flow collection efficiency of the gully grate. &lt;br /&gt;
*As a first step, a gully grate type: P, Q, R, S or T should be selected. The selection of the grating type will determine the design value &#039;&#039;G&amp;lt;sub&amp;gt;d&amp;lt;/sub&amp;gt;&#039;&#039; (grating parameter) from &#039;&#039;&#039;Table 2&#039;&#039;&#039;. (For more details, please see Table A.2, Appendix A of the &amp;lt;u&amp;gt;[https://www.standardsforhighways.co.uk/tses/attachments/a869ed8e-4470-4286-aef4-7d11af24a597 guidance]&amp;lt;/u&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Table 2:&#039;&#039;&#039; Determination of grating type &#039;&#039;G&amp;lt;sub&amp;gt;d&amp;lt;/sub&amp;gt;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Determination of grating type.jpg|650px|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Road (longitudinal) gradient (&#039;&#039;S&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;&#039;&#039;), Crossfall (&#039;&#039;S&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;&#039;&#039;) and Manning&#039;s (&#039;&#039;n&#039;&#039;) should then be determined. Parameter values can be obtained from &#039;&#039;&#039;Table 3&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Table 3:&#039;&#039;&#039; Determination of &#039;&#039;S&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;&#039;&#039;, &#039;&#039;S&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;&#039;&#039; and Manning&#039;s &#039;&#039;n&#039;&#039; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Table SL SC N Range.jpg|750px|]]&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Further, a Water Depth against the kerb &#039;&#039;H&#039;&#039; (m) range should be provided. (Please note: The depth range can be changed, but the following equations that are used to calculate the flow capacity are only valid up to the kerb height).						&lt;br /&gt;
&lt;br /&gt;
*With the above parameters, the calculations of the i) Flow width (&#039;&#039;B&#039;&#039; in m), ii) Cross-sectional area (&#039;&#039;A&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt;&#039;&#039; in m2), iii) Hydraulic radius (&#039;&#039;R&#039;&#039; in m), iv) Flow rate (&#039;&#039;Q&#039;&#039; in m3/s) and v) Flow collection efficiency (&#039;&#039;ŋ&#039;&#039; (%)) based on the Equations C.1-C.5 which are presented in Appendix C of the &amp;lt;u&amp;gt;[https://www.standardsforhighways.co.uk/tses/attachments/a869ed8e-4470-4286-aef4-7d11af24a597 guidance]&amp;lt;/u&amp;gt; can be completed.&lt;br /&gt;
&lt;br /&gt;
*Finally, the resulting depth-discharge data can be used in the TUFLOW pit inlet curves.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Gully Flow Capture Rates template &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/Inlet_Spreadsheets/Gully%20Flow%20Capture%20Rates_v3.xlsx here]&amp;lt;/u&amp;gt;, includes a calculation tab which can be used for the completion of the above calculation processes. Based on calculations and Equations C.6 and C.7 of the &amp;lt;u&amp;gt;[https://www.standardsforhighways.co.uk/tses/attachments/a869ed8e-4470-4286-aef4-7d11af24a597 guidance]&amp;lt;/u&amp;gt; the maximum allowable spacings upstream of the gully can be further calculated (For more details, please see Appendix C, p.g: 25).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Key assumption&#039;&#039;&#039;&amp;lt;br&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; This method assumes that the route the flow takes around the trap limits the discharge from the gully pot to 10 l/s. This limit is effective in both directions, so any negative head on the gully would create -10 l/s flow back up through the gully and flood onto the road. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== UK Water Industry Research (UKWIR) Inlet Capture Tool ==&lt;br /&gt;
In 2023, the UK Water Industry Research (UKWIR) Limited released the Modelling Sewer Inlet Capacity Restrictions Report &amp;lt;u&amp;gt;[https://ukwir.org/modelling-sewer-inlet-capacity-restrictions Modelling Sewer Inlet Capacity Restrictions Report]&amp;lt;/u&amp;gt;. The main aim was to develop a sewer modelling methodology to enable the representation of inlet inflow restrictions, focusing on the development of a new 1D model approach to provide more accurate model sewer flooding predictions. The new modelling approach has been devised by combining the findings from a literature review and the development of semi-empirical relationships from academic studies which investigated factors affecting inlet capacity. The new approach allows for 2 types of gully response reflecting 2 flow conditions: Subcritical flow on a shallow road gradient and Supercritical flow on a steep road gradients. A threshold of 0.02 is used to distinguish between shallow and steep road gradients. The reported equations can be used for the production of input inlet curves for TUFLOW 1D pit inlet modelling. &lt;br /&gt;
&lt;br /&gt;
A template for the generation of the UKWIR Inlet Curve can be downloaded from &amp;lt;u&amp;gt;[https://downloads.tuflow.com/Other/Inlet_Spreadsheets/Inlet%20Curve%20Capture%20tool%20v4.xlsx here]&amp;lt;/u&amp;gt;. The template determines both Subcritical Head-Discharge and Supercritical Head-Discharge relationships obtained from the Modelling Sewer Inlet Capacity Restrictions Report based on user input values of water depth (in metres).  Two sets of curves can be generated, curves based on default parameters, and those based on user-defined parameters.  Note, the report is not clear what inlet capacity cap should be applied, so these are not applied within the spreadsheet currently.  However, the user can edit the resulting Head-Discharge relationship to apply a required cap on the inlet capacity.&lt;br /&gt;
&lt;br /&gt;
=TUFLOW Model Inputs=&lt;br /&gt;
The steps required to represent pit inlet information within a TUFLOW model is summarised below:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Import an empty 1d_nwk GIS file from the TUFLOW file template folder (model\gis\empty).&lt;br /&gt;
&amp;lt;li&amp;gt; Digitise points to represent pit locations. The points should be snapped to the start or end of 1d_nwk line features that define the underground pipe network.&lt;br /&gt;
&amp;lt;li&amp;gt; Update the field attributes for each Pit point. Refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. The most commonly used attributes are:&lt;br /&gt;
* Type = Q (C, R and W are also options if pit inlets based on structure dimension is required instead of using a Pit Inlet Database approach). &lt;br /&gt;
* US_Invert = Used to specify the ground elevation of the pit. If Conn_1D_2D is set to “SXL”, US_Invert is used as the amount by which to lower the 2D cell and the pit channel invert is set to this level. &lt;br /&gt;
* DS_Invert = The bottom elevation of the pit. This input can also be used to set the upstream and downstream inverts of connected pipes/channels.&lt;br /&gt;
* Inlet_Type = For Q pit channels, the name of a pit inlet type in the Pit Inlet Database. Multiple Pits can use the same Inlet_Type ID if they have the same design dimensions.&lt;br /&gt;
* Conn_1D_2D = SXL can be specified to connect the 1D pit or node to the 2D domain and lower the 2D cell by the amount of the US_Invert attribute.  The invert of the pit channel is set to the lowered 2D cell level.  This is useful to help trap the water into the pit as it flows overland in the 2D domain.  This feature works well in combination with the new Read GIS SA PITS option. &lt;br /&gt;
&amp;lt;li&amp;gt; Update the Estry Control File (*.ecf) to include reference to the new 1d_nwk GIS file.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Network&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;..\model\mi\Estry\1d_nwk_****.MIF&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;   Create a Pit Inlet Database csv file. This file lists each type of pit (matching the names listed in the 1d_nwk &amp;quot;Inlet_Type&amp;quot; field). It also provides reference to the depth-discharge curve information.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M05 pit inlet dbase 01.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Create the Source file referenced in the Pit Inlet Database. The source file defines the depth-discharge information for each pit (determined from the relevant design standards). The column headers must match the entries in the Pit Inlet Database.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M05 pit inlet v2.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Update the Estry Control File (*.ecf) to include reference to the Pit Inlet Database.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Pit Inlet Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;..\pit_dbase\EG_pit_dbase.csv&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example model including Pits is available for download: &amp;lt;u&amp;gt;https://wiki.tuflow.com/index.php?title=TUFLOW_Example_Models&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pit Search Distance==&lt;br /&gt;
Some agency pit datasets may not have all pit point features snapped to the associated pipe line features. The *.ecf command &amp;quot;Pit Search Distance&amp;quot; can be useful in this instance. It automatically connects floating nodes to the 1D pipe network where connectors are not snapped to channel ends:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Pit Search Distance&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Network&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;..\model\mi\1d_nwke_*****.MIF&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The order of the &amp;quot;Pit Search Distance&amp;quot; command is important as it can be repeated multiple times with different values that are assigned to the 1d_nwke(s) below the &#039;&#039;Pit Search Distance&#039;&#039; command. The pit search command should be included above the the GIS layer containing the pits.&lt;br /&gt;
&lt;br /&gt;
To check if the &#039;&#039;Pit Search Distance&#039;&#039; is working as expected, import the &amp;lt;u&amp;gt;[[Check_Files_1d_nwk_C | *_nwk_C_check]]&amp;lt;/u&amp;gt; file to visually see if the pits are automatically connecting to a culvert. The image below is an example of the *_nwk_C_check file and the connections TUFLOW has made to each pit. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Pit_search_distance_check.JPG|border|500px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Should you have any further questions, please email TUFLOW support: &amp;lt;u&amp;gt;[mailto:support@tuflow.com?Subject=TUFLOW%201D%20pits%20help support@tuflow.com]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[ TUFLOW 1D Channels and Hydraulic Structures | Back to 1D Channels and Hydraulic Structures]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45742</id>
		<title>TUFLOW Version Backward Compatibility</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Version_Backward_Compatibility&amp;diff=45742"/>
		<updated>2026-03-31T01:57:47Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* How can differences in model results between TUFLOW builds be investigated? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Backward Compatibility Change Register=&lt;br /&gt;
&lt;br /&gt;
==Default changes post 2017-09 Build==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;For changes in defaults post the 2017-09 build, see Chapter 18 of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;.&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Default changes pre 2017-09 Build==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&#039;&#039;&#039;2017-09-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
| rowspan=6|2017-09-AA&lt;br /&gt;
| New SX boundaries defaults.&lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2017&amp;lt;/tt&amp;gt; if similar results are required to the 2016-03-AE release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| XF files are now being processed for boundaries.&lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2017&amp;lt;/tt&amp;gt; or use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;XF Files Boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;OFF&amp;lt;/tt&amp;gt;  if similar results are required to the 2016-03-AE release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Regions in 2d_bc layers now applied as regions (previously only cell over region centroid selected). &lt;br /&gt;
|No backward compatible workaround provided.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Material IL and CL now applied to gridded rainfall (previously not applied).&lt;br /&gt;
|No backward compatible workaround provided.&lt;br /&gt;
|-&lt;br /&gt;
|SA regions now always select a 2D cell even if there are no cell centres falling within the region (previously a SA region would not select any cell if no cell centres fell within the region).&lt;br /&gt;
|No backward compatible workaround provided.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|If using “&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Reveal 1D Nodes&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;”, “&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; ” must be specified.&lt;br /&gt;
|No backward compatible workaround provided.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&#039;&#039;&#039;2016-03-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
| rowspan=7|2016-03-AA&lt;br /&gt;
| New operational 1D structure defaults.    &lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt;  if similar results are required to the 2013-12-AC release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Primary upstream and downstream 1D channels now correctly take into account bed slope. &lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt;  if similar results are required to the 2013-12-AC release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| A new layered 2D FC calculation method has been implemented. &lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Layered FLC Default Approach  &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;CUMULATE&amp;lt;/tt&amp;gt; or use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt;  if similar results are required to the 2013-12-AC release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| The &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;SX Flow Distribution Cutoff Depth&amp;lt;/font&amp;gt; has been raised to 0.005m from 0.0m. &lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt; or use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SX Flow Distribution Cutoff Depth &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;0.0&amp;lt;/tt&amp;gt;  if similar results are required to the 2013-12-AC release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|The &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;End After Maximum&amp;lt;/font&amp;gt; tolerance has been increased to 0.001m from 0.0m. &lt;br /&gt;
|Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt;  if similar results are required to the 2013-12-AC release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|A new ERROR message has been added to cross-check the 1D timestep is a multiple of the timestep for all 2D domains.&lt;br /&gt;
|Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt;  if similar results are required to the 2013-12-AC release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|WARNING 2460 has been escalated to an ERROR and stricter command line syntax rules have been introduced (&amp;quot;=&amp;quot; will now return an ERROR message if TUFLOW is expecting &amp;quot;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;)&lt;br /&gt;
|Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt;  if similar results are required to the 2013-12-AC release.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=1|2016-03-AD &lt;br /&gt;
| The treatment of the eddy viscosity term in the GPU Solver has been enhanced with slightly improved results in areas of rapidly changing velocity patterns.  &lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GPU Viscosity Method &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;Method A&amp;lt;/tt&amp;gt; or use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2016&amp;lt;/tt&amp;gt; to achieve the same results as Build 2013-12-AC and prior.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&#039;&#039;&#039;2013-12-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
| rowspan=1|2013-12-AA&lt;br /&gt;
| New default settings – see &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; PRE 2013-12&amp;lt;/tt&amp;gt; in the user manual for a list of the commands that have changed in their default setting.	&lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2013-12&amp;lt;/tt&amp;gt; if similar results are required to the 2012-05 release.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=1|2013-12-AC &lt;br /&gt;
| The default setting for  &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Link 2D2D Approach&amp;lt;/font&amp;gt; has changed.	&lt;br /&gt;
| Set  &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Link 2D2D Approach &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;METHOD B&amp;lt;/tt&amp;gt; to achieve the same results as Builds 2013-12-AA and 2013-12-AB.  See Link 2D2D Approach for more information.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| &#039;&#039;&#039;2011-09-XX and 2012-05-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
| rowspan=2| 2012-05-AA&lt;br /&gt;
| New default settings – see &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2012-05&amp;lt;/tt&amp;gt;  for a list of the commands that have changed in their default setting.	&lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2012-05&amp;lt;/tt&amp;gt; if similar results are required to the 2011-09 or 2010-10 releases. &lt;br /&gt;
|-  &lt;br /&gt;
| The approach to the sizing of automatic manholes and the application of losses has been enhanced.	&lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Manhole Approach &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;Method A&amp;lt;/tt&amp;gt; to achieve the same results as Build 2011-09-AA.&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
| rowspan=1| 2011-09-AA&lt;br /&gt;
| The optimised compiler code is treated differently for Single Precision builds producing slightly different results (fractions of a mm) for some models.	&lt;br /&gt;
| No workaround.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| &#039;&#039;&#039;2010-10-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
	&lt;br /&gt;
| rowspan=4| 2010-10-AA	&lt;br /&gt;
| New Intel Fortran Compiler version produces slightly different results (usually fractions of a mm).	&lt;br /&gt;
| No workaround.&lt;br /&gt;
|-&lt;br /&gt;
| w32 and w64 versions will give slightly different results for the same simulation.	&lt;br /&gt;
| No workaround.  Use the same platform (w32 or w64) for all simulations.  Use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Model Platform&amp;lt;/font&amp;gt; to force which platform should be used.&lt;br /&gt;
|-&lt;br /&gt;
| New default settings – see &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; PRE 2010-10&amp;lt;/tt&amp;gt; for a list of the commands that have changed in their default setting.	&lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2010-10&amp;lt;/tt&amp;gt; if similar results are required to the 2008-08 or 2009 07 releases.&lt;br /&gt;
|-&lt;br /&gt;
| Generation of TINs for polygons in Read GIS Shape layers is more robust and uses an improved approach.  In rare cases, the TIN would fail and TUFLOW would abort the start-up.	&lt;br /&gt;
| No workaround.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| &#039;&#039;&#039;2008-08-XX and 2009-07-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=1| 2008-08-AC	&lt;br /&gt;
| The default setting for &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;u&amp;gt;Shallow Depth Stability Factor&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt; has changed.&lt;br /&gt;
| Set &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Shallow Depth Stability Factor &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 3&amp;lt;/tt&amp;gt; for models without direct rainfall to achieve the same results as Builds 2008-08-AA and 2008-08-AB.  See &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Shallow Depth Stability Factor&amp;lt;/font&amp;gt; for more information.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=8| 2008-08-AA	&lt;br /&gt;
|- &lt;br /&gt;
| Uses a new set of defaults for a number of commands (see &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Defaults&amp;lt;/font&amp;gt; ). &lt;br /&gt;
| The new defaults produce slightly different results, and very slight differences also occur between the three versions offered. For established models run using the 2007-07-XX builds, use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2008-08&amp;lt;/tt&amp;gt; to use the default settings used by the 2007-07-XX builds.  Testing of a range of models has shown zero change in results if &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; PRE 2008-08&amp;lt;/tt&amp;gt; switch is set, and the Compaq Fortran compiled version (cSP) is used. Each of the new default settings and their effects are discussed in the rows below. &lt;br /&gt;
|-&lt;br /&gt;
| The method for interpolating n values where the 2D Manning’s n varies with depth has been enhanced from a linear interpolation of the M (1/n) value to a spline interpolation of the n value.  See &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;u&amp;gt;Bed Resistance Depth Interpolation&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;. &lt;br /&gt;
| Generally has little effect other than when the flow is predominantly in the depth range that the n value is varying.  The new approach offers a smoother transition in n values from one depth to the other.&lt;br /&gt;
|- &lt;br /&gt;
| The default viscosity coefficient is now a combination of a 0.2 Smagorinsky and 0.1 constant coefficient, and there are some enhancements to the application of the viscosity term.  See &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;u&amp;gt;Viscosity Coefficient&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;.&lt;br /&gt;
| This has slight effect for the majority of models.  For fine grid models (&amp;lt;2m cell size) with low bed resistance and significant variations in velocity vectors the effect is more pronounced but is still slight.&lt;br /&gt;
|- &lt;br /&gt;
| Inertia and viscosity terms are now not transferred across dry cell sides when constructing the coefficients for the solution arrays.  This was having the effect of generating a circulation on the other side of the wall (albeit a very weak one), which of course shouldn’t happen!	&lt;br /&gt;
| Generally little effect, but can have some minor influence for urban models where buildings and fences are modelled as solid thin Z lines.&lt;br /&gt;
|- &lt;br /&gt;
| 1D weir flow has been improved as the water level difference across the weir approaches zero.  The new method is more stable.  See &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;u&amp;gt;Weir Flow.&lt;br /&gt;
| Very little difference other than improved stability.&lt;br /&gt;
|- &lt;br /&gt;
| Incorporates minor improvements for transitioning between Regimes A and B, and between inlet and outlet controlled regimes, for circular culverts.	&lt;br /&gt;
| Very little difference other than improved stability.&lt;br /&gt;
|- &lt;br /&gt;
| The new automatic selection of cells for 2D SX connections using the 1d_nwk Conn_1D_2D attribute may choose more than one 2D cell.   &lt;br /&gt;
| Very little difference other than improved stability at the pit 2D connections.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| &#039;&#039;&#039;2007-07-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| rowspan=12| 2007-07-AA	&lt;br /&gt;
|-&lt;br /&gt;
| Uses a new set of defaults for a number of commands (see &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Defaults&amp;lt;/font&amp;gt;). &lt;br /&gt;
| The new defaults may produce slightly different results. For established models run using the 2006-06-XX builds, use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2007-07-AA&amp;lt;/tt&amp;gt; to use the default settings used by the 2006-06-XX builds. Each of the new default settings and their affects are discussed in the rows below. &lt;br /&gt;
|-&lt;br /&gt;
| Change &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Zero Material Values to One &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; OFF&amp;lt;/tt&amp;gt; (previously ON)	&lt;br /&gt;
| Will not cause different results if a &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 1&amp;lt;/tt&amp;gt; is specified before other material settings in the .tgc file, or if every cell has been assigned a material value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Inside Region &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method B&amp;lt;/tt&amp;gt; (previously Method A)	&lt;br /&gt;
| Testing thus far has not shown any difference between the two methods (other than the substantial gains in processing time of polygons).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Line Cell Selection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method D&amp;lt;/tt&amp;gt;  (previously Method C)	&lt;br /&gt;
| May change results slightly, but improved stability and a smoother water levels along HX lines result.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;VG Z Adjustment &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; MAX ZC&amp;lt;/tt&amp;gt;  (previously ZC)	&lt;br /&gt;
| May change results slightly, but stability should be significantly enhanced in some situations.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Bed Resistance Cell Sides &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; INTERROGATE&amp;lt;/tt&amp;gt;  (previously AVERAGE M)	&lt;br /&gt;
| Will influence results, usually slightly, but more pronounced where there are sudden changes in Manning’s n values such as in the urban environment.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Culvert Flow &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method D&amp;lt;/tt&amp;gt;  (previously Method C)&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Culvert Critical H/D &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; OFF&amp;lt;/tt&amp;gt;  (previously &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Culvert Critical H/D &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 1.5&amp;lt;/tt&amp;gt;)&lt;br /&gt;
| The most significant influences are the selection of upstream or downstream controlled regimes depending on the H/D ratio, and the bug fix relating to Regime E if &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Structure Losses &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; ADJUST&amp;lt;/tt&amp;gt;. Offers improved stability, better convergence for Regime C and smoother transitioning between some regimes.&lt;br /&gt;
|-&lt;br /&gt;
| Changed the setting of the default width (if eN1 &amp;lt; 0.001) of automatic weirs over R and C channels (i.e. RW and CW) to be the diameter/width multiplied by the number of culverts (previously, the width was not multiplied by the number of culverts).  	&lt;br /&gt;
| For backward compatibility, original weir width can be set by manually setting the eN1 attribute to the Diameter_or_Width attribute value of the culvert.&lt;br /&gt;
|-&lt;br /&gt;
| Bug fix that when using a restart file TUFLOW occasionally set the 2D FC bridge deck additional loss value incorrectly.	&lt;br /&gt;
| No backward compatible workaround provided.&lt;br /&gt;
|-&lt;br /&gt;
| Bug fix that incorrectly set the water levels on dried VG cells (only applies to simulations with source inflows, e.g. SA or RF, somewhere within in the model).  	&lt;br /&gt;
| May cause slight changes in results.  Backward compatibility provided if &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; PRE 2007-07-AA&amp;lt;/tt&amp;gt; is set (noting that setting this command reinstates the bug).  This bug also causes the mass error calculations to falsely give a mass error that is not occurring.&lt;br /&gt;
|-&lt;br /&gt;
| Fixed bug that did not correctly apply the reduction in conveyance for a FC BD (bridge deck) of FD (floating deck) cell using the 2d_fc Mannings_n attribute.&lt;br /&gt;
| Backward compatibility applied if &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt;PRE 2007-07-AA&amp;lt;/tt&amp;gt; is set, however, note that this reinstates the bug and the resistance to flow at FC BD and FD cells may need to be reviewed.  Indications are that only minor changes in results occur.  The flow area under 2D FC BD and FD cells is correctly calculated.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| &#039;&#039;&#039;2006-06-XX Builds&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=16| 2006-06-AA	&lt;br /&gt;
|-&lt;br /&gt;
| Uses a new set of defaults for a number of commands. &lt;br /&gt;
| The new defaults will produce different results.  For established models run using the 2005-05-XX builds, use &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; PRE 2006-06-AA&amp;lt;/tt&amp;gt; to use the previous default settings. Each of the new default settings and their affects are discussed in the rows below. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Cell Wet/Dry Depth &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 0.002&amp;lt;/tt&amp;gt; (previously 0.05) and &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Cell Side Wet/Dry Depth &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 0.001&amp;lt;/tt&amp;gt; (previously 0.03)	&lt;br /&gt;
| The most pronounced effect of the shallower wet/dry depths is likely to occur in areas that are still filling at the flood peak, such as behind a levee that is only just overtopped.  The shallower wet/dry depths provides a greater flow depth for a longer period over the levee.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Adjust Head at ESTRY Interface &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; OFF&amp;lt;/tt&amp;gt; (previously ON)	&lt;br /&gt;
| Usually does not have a major influence on results except where very high velocities occur.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Boundary Cell Selection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method C&amp;lt;/tt&amp;gt; (previously Method A) and &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Line Cell Selection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method C&amp;lt;/tt&amp;gt; (previously Method A)	&lt;br /&gt;
| May select slightly different cells along boundary/link lines.  This may cause a difference where the line is along the top of levee, possibly creating a “hole” in embankment.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Viscosity Formulation &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Smagorinsky&amp;lt;/tt&amp;gt; (previously Constant) and &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Viscosity Coefficient &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 0.2&amp;lt;/tt&amp;gt; (previously 1.0)	&lt;br /&gt;
| Can have a significant effect where the viscosity term is influential.  This occurs where the friction term is less dominant (i.e. low Manning’s n and/or deeper water such as the lower, tidal, reaches of rivers). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Structure Losses &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; ADJUST&amp;lt;/tt&amp;gt; (previously FIX)	&lt;br /&gt;
| Can have a significant affect in the vicinity of structures within a 1D network and for culvert networks.  Does not affect 1D structures linked to a 2D domain or at the structure ends not connected to another 1D channel. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Storage Above Structure Obvert (%) &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 5&amp;lt;/tt&amp;gt; (previously CHANNEL WIDTH)&lt;br /&gt;
| Usually negligible effect unless the model storage is predominantly within 1D closed sections (i.e. B, C and R channels).  The 1D domain is likely to be more sensitive to instabilities due to the much smaller storage above the top of the closed sections, therefore, a smaller 1D timestep may be required and/or the Storage Above Structure Obvert (%) increased.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Depth Limit Factor &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; 10&amp;lt;/tt&amp;gt; (previously 1)&lt;br /&gt;
| No effect as previously the model would have become “unstable” as the trigger for an instability was the top of the channel/node.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Culvert Flow &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method C&amp;lt;/tt&amp;gt; (previously Method B)	&lt;br /&gt;
| Usually only minor effects plus improved stability.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Culvert Add Dynamic Head &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt; (previously OFF)	&lt;br /&gt;
| Minor influence.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Bridge Flow &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method B&amp;lt;/tt&amp;gt; (previously Method A)	&lt;br /&gt;
| Negligible influence plus improved stability.  However, note the different treatment of energy losses once the bridge deck obvert/soffit is submerged if a BG or LC table is specified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;WLL Approach &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method B&amp;lt;/tt&amp;gt; (previously Method A)	&lt;br /&gt;
| Only affects the presentation of results.  Note, that Method A is no longer recommended or supported.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Apply All Inverts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt; (previously OFF)	&lt;br /&gt;
Does not affect hydraulic calculations, however, if a Blank, B or W channel is now lowered/raised because the inverts are now used, this will affect results/stability - see note at end of Apply All Inverts).  &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Conveyance Calculation &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; ALL PARALLEL&amp;lt;/tt&amp;gt; (previously CHANGE IN RESISTANCE)	&lt;br /&gt;
| Will affect results as ALL PARALLEL can be around 10% more “slippery” than CHANGE IN RESISTANCE.  For calibrated or established models developed using build prior to Build 2006-06-AA , recommend setting to CHANGE IN RESISTANCE&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Flow Calculation &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;tt&amp;gt; Method B&amp;lt;/tt&amp;gt; (previously Method A)	&lt;br /&gt;
| Negligible effect.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|&#039;&#039;&#039;Builds prior to 2006-06-XX&#039;&#039;&#039; &lt;br /&gt;
| Contact [mailto:support@tuflow.com support@tuflow.com]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=Frequently Asked Questions (FAQ)=&lt;br /&gt;
== Why are model results developed in an older release different to a newer release? ==&lt;br /&gt;
If comparing a Classic model with HPC, also check the &amp;lt;u&amp;gt;[[HPC_FAQ#Will_TUFLOW_HPC_and_TUFLOW_Classic_results_match.3F | Will TUFLOW HPC and TUFLOW Classic results match?]]&amp;lt;/u&amp;gt; page in addition to this answer. &amp;lt;br&amp;gt;&lt;br /&gt;
In addition to the above, there are reasons why model results would be different between different TUFLOW releases, whether it is the Classic or HPC solver, as follows:&lt;br /&gt;
* General improvements and fine-tuning of the solution scheme, especially for the more complex hydraulic physical terms and situations such as: sub-grid turbulence representation; treatment of shocks (e.g. hydraulic jumps); and transitioning between sub-critical and super-critical flow on steep slopes.&lt;br /&gt;
* Some new functionality can cause a significant change in results.  For example:&lt;br /&gt;
** Sub-Grid Sampling (SGS) applied to an existing model that used a too coarse cell resolution in high flow areas of highly variable topography (relative to the 2D cell size).  SGS will greatly improve the model&#039;s ability to convey water accurately in these situations with vastly improved results.&lt;br /&gt;
** New default sub-grid turbulence scheme in the 2020 release of TUFLOW HPC that is cell size independent and allows modellers to use cell sizes much smaller than the flow depth across all scales from flume to large rivers. For more information on differences between Smagorinsky scheme (HPC releases up to 2020) and the Wu turbulence scheme (2020 onwards) see &amp;lt;u&amp;gt;[[HPC_FAQ#With_Wu_turbulence_scheme_being_the_new_default.2C_are_old_models_using_Smagorinsky_wrong.3F | here]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
* Changes to the default settings and values, e.g.:&lt;br /&gt;
**different default eddy viscosity formulation and/or coefficients,&lt;br /&gt;
**improved data pre-processing approaches such as sampling materials on cell mid-sides instead of cell centres,&lt;br /&gt;
** and many others.&lt;br /&gt;
** For backward compatibility the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is available to run old models on new releases to replicate past results (note, sometimes full backward compatibility cannot be catered for due to different code compiler and updates that can&#039;t be reverted, especially for several releases earlier).&lt;br /&gt;
* New features that use GIS attributes previously reserved (i.e. unused). If these attributes were not populated with the recommended “reserved” value (usually 0 or blank), then they can cause unpredictable results in later releases.&lt;br /&gt;
* Bug fixes noting that most bug fixes are input/output related and rarely affect the model&#039;s hydraulic calculations.&lt;br /&gt;
* Change in timestepping can also produce a small change in results. HPC uses the Runge-Kutta 4th order integrator, which is usually fairly insensitive to time step provided the model is running stably. However when a region is filled by flow that only just overtops an embankment, a 10 mm difference in water levels upstream of the embankment can create a much larger difference in levels downstream.  Hence, small differences in time-stepping (along with many other aspects of model setup) can trigger local differences in model results.&lt;br /&gt;
* Model orientation (if changed) could also mean slight change in results. This is mostly given by interpolating values from different calculation points. Every cell has nine calculation points. Based on the model origin, all or most of the calculation points would have different topography elevation sampled, which translates to slightly different results.&lt;br /&gt;
* If using 1D channel, possibly different cells have been selected as HX boundary and might have different elevations. This can be reviewed in &amp;lt;u&amp;gt;[[Check_Files_1d_to_2d_bc | 1d_to_2d check file]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Generally, there should not be substantial differences as the fundamental equations being solved are unchanged and TUFLOW Classic and HPC solvers have always solved all the physical terms using a 2nd order spatial approach. The one exception is the turbulence (eddy viscosity) representation, which is the most complex and challenging to solve of all the physical terms (many 2D schemes simply omit this term). If significant differences (&amp;gt;10% of depth change across the whole model) are observed then it’s most likely due to the first four dot points above. To identify in which release(s) the significant changes occurred, the model can be run with the latest build and for past releases. The changes for each release are documented in their release notes. Past releases and release notes are all available [https://www.tuflow.com/downloads/tuflow-classichpc-archive/. here]. Once the exact release where the changes occurred is tracked down, individual features can be turned off to narrow down the cause.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The recommendation is usually for new or reworked models to use the newest build to take advantage of the latest features and enhancements, some level of calibration might be required for reworked models. The new TUFLOW executable is not different from the previous ones in the meaning that any existing model should be re-calibrated if there are available calibration data. However, particularly if a model is already calibrated, using prior builds of TUFLOW or winding back default settings using &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is considered reasonable for established models that are to be used for minor tasks where an update of the model would not be cost effective.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can differences in model results between TUFLOW builds be investigated? ==&lt;br /&gt;
Running TUFLOW on a later Build from which it was originally calibrated will not necessarily produce the same results, as discussed in &amp;lt;u&amp;gt;[[TUFLOW_Version_Backward_Compatibility#Why_are_model_results_developed_in_an_older_release_different_to_a_newer_release.3F | Why are model results developed in an older release different to a newer release?]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following is an example of steps that can be taken when upgrading a TUFLOW model’s executable Build, checking for consistency to original results each time. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Confirm you are able to run the original model with the original Build that would have been used to initially produce results.&lt;br /&gt;
* This may be particularly relevant when a model has been externally supplied, for example from a government body. &lt;br /&gt;
* Confirm if reproduced results are consistent with supplied results.&lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer Build, along with a relevant &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command (e.g. &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; Pre 2011 when the original Build was 2010-10).&lt;br /&gt;
* Any differences in results compared to the original results may highlight if there are any changes over time where no backward compatibility had been provided for. &lt;br /&gt;
&amp;lt;li&amp;gt; Run the original model with the newer Build, and without the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This more likely to see changes in results compared to the original results, which may require justification to the client or resolution by investigating, isolating and remedying the causes, especially if recalibration is not intended as a subsequent step.&lt;br /&gt;
&amp;lt;li&amp;gt; Iteratively run the original model with the newer Build, stepping through the different release version options for &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Defaults&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
* This will allow the modeller to investigate and isolate what changes to TUFLOW Builds may be affecting results, and when changes appear.&lt;br /&gt;
* Then, individually reverting settings that make up a Default group (see Chapter 18 of the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;).&lt;br /&gt;
* This can help isolate the primary drivers for any differences in results.&lt;br /&gt;
* The &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/changelog// TUFLOW Classic/HPC Changelog]&amp;lt;/u&amp;gt; that accompanying Build releases are also a key reference. &lt;br /&gt;
&amp;lt;li&amp;gt; Develop new improved or updated model version, with the newer Build (and any grouped or individual defaults that are deemed necessary to retain from the iterative testing in the prior step).&lt;br /&gt;
*Continue to verify results against the original results as you then iteratively add in or update to any newer functionality or formats that may be available in the later Build, a good quality assurance check that changes are behaving as expected.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Message_2251&amp;diff=45736</id>
		<title>TUFLOW Message 2251</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Message_2251&amp;diff=45736"/>
		<updated>2026-03-30T05:38:42Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TUFLOW_Message&lt;br /&gt;
|tuflow_message=CHECK 2251 - HPC Infiltration Drying Depth not specified, set to Cell Wet/Dry Depth - 0.0001.&lt;br /&gt;
|alt_msg=ERROR 2251 - HPC Infiltration Drying Depth must be smaller than Cell Wet/Dry Depth. &amp;lt;dry_depth&amp;gt;, &amp;lt;wet_depth&amp;gt;&lt;br /&gt;
|type=[[CHECK]] [[ERROR ]]&lt;br /&gt;
|message_desc= When the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;HPC Infiltration Drying Approach &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Method C&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; (default), the drying depth to switch off the infiltration calculation is set to the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Cell Wet/Dry Depth&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; - &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0.0001&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; by default. &lt;br /&gt;
|suggestions= The drying depth can be manually specified using the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;HPC Infiltration Drying Depth&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01&amp;diff=45734</id>
		<title>Tutorial M01</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01&amp;diff=45734"/>
		<updated>2026-03-30T04:47:57Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Running the Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
Read the &amp;lt;u&amp;gt;[[Tutorial_Introduction | Tutorial Model Introduction]]&amp;lt;/u&amp;gt; before starting this tutorial. It outlines programs requiring installation and provides the tutorial dataset download link.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this module, a fully two-dimensional (2D) model is built with a number of TUFLOW control files and Geographic Information System (GIS) layers.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The TUFLOW control files are:&amp;lt;br&amp;gt;&lt;br /&gt;
:* TUFLOW Simulation Control File (TCF)&lt;br /&gt;
:* TUFLOW Geometry Control File (TGC)&lt;br /&gt;
:* TUFLOW Boundary Control File (TBC)&lt;br /&gt;
:* TUFLOW Boundary Condition Database (bc_dbase)&lt;br /&gt;
:* TUFLOW Materials File (materials)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The GIS layers are:&amp;lt;br&amp;gt;&lt;br /&gt;
:*TGC layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt; 2d_loc: A layer defining the origin and orientation of the 2D grid. &lt;br /&gt;
&amp;lt;li&amp;gt; 2d_code: A layer containing polygons that define the cell codes (active or inactive status).&lt;br /&gt;
&amp;lt;li&amp;gt; *.tif: A DEM dataset defining the ground elevations within the 2D study area.&lt;br /&gt;
&amp;lt;li&amp;gt; 2d_mat: A layer defining the land-use (material) types within the 2D study area.&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*TBC layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt; 2d_bc: A layer defining the locations of external 2D boundaries.&lt;br /&gt;
&amp;lt;li&amp;gt; 2d_sa: A layer to define internal 2D flow boundaries.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*TCF layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;2d_po: A time series data output from 2D domains, for a range of hydraulic parameters.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
This tutorial is setup with shapefiles (SHP) and geopackage (GPKG) layers. For more information on these formats, see &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Initialisation = &lt;br /&gt;
TUFLOW models are separated into a series of folders which contain the input and output files. The recommended set up for the model directory and sub-folders is shown below. For a more detailed description, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Tute M01 Directory Structure v3.png|left]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Sub-Folder&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Input / Output&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=75%| Description&lt;br /&gt;
|-&lt;br /&gt;
| bc_dbase|| Input || Boundary condition database(s) and input time-series data.&lt;br /&gt;
|-&lt;br /&gt;
| check|| Output || GIS and other check files to carry out quality control checks (use Write Check Files).&lt;br /&gt;
|-&lt;br /&gt;
| model|| Input ||Geometry (TGC), Boundary (TBC) and other model control text files (i.e. no GIS files).&lt;br /&gt;
|-&lt;br /&gt;
| model\gis|| Input || GIS layers that are inputs to the 2D and 1D model domains are contained within this folder, model\gis is typically used for all QGIS and ArcGIS files.&lt;br /&gt;
|-&lt;br /&gt;
| model\mi|| Input || GIS layers that are inputs to the 2D and 1D model domains are contained within this folder, model\mi is typically used for MapInfo formatted GIS files.&lt;br /&gt;
|-&lt;br /&gt;
| results|| Output|| TUFLOW outputs the results to this folder in specified formats.&lt;br /&gt;
|-&lt;br /&gt;
| runs|| Input|| TUFLOW Control Files (TCF).&lt;br /&gt;
|-&lt;br /&gt;
| runs\log|| Output || TUFLOW log files (TLF) and messages layers.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
The TUFLOW folders can be set up manually, automatically running TUFLOW model with &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Write Empty GIS Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command or automatically through GIS programs:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Configure_TUFLOW_Project_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Configure_TUFLOW_Project_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*SMS - the folder structure listed above is automatically created before running the model using the &#039;Export TUFLOW files&#039; command (see &amp;lt;u&amp;gt; [[Run TUFLOW from within SMS | Run TUFLOW from within SMS]])&amp;lt;/u&amp;gt;.&lt;br /&gt;
:*ArcMap (10.1 and newer) - the ArcTUFLOW Toolbox can be used to automatically create the model folders, model projection, TUFLOW control files and run TUFLOW to create the template files.&lt;br /&gt;
&lt;br /&gt;
The following points on TUFLOW folders and filenames are worth noting: &lt;br /&gt;
:*TUFLOW accepts any folder structure, though the above listed format is most commonly used and is recommended. &amp;lt;br&amp;gt;&lt;br /&gt;
:*TUFLOW accepts spaces and special characters (such as ! or #) in filenames and paths, but other software may not. It is recommended that spaces and other special characters are not used in the simulation path and filenames. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Folder paths, filenames, file extensions and TUFLOW commands are not case sensitive in any TUFLOW control files. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Any directories that don&#039;t apply can be omitted, for example, if using QGIS or ArcMap the model\mi directory is not required. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Model Familiarisation=&lt;br /&gt;
Become familiar with the model location, using an aerial image and DEM:&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Site_Familiarisation_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Geometry Control File (TGC) =&lt;br /&gt;
The TGC file is a series of commands that build the geometry model. At its minimum, the TGC contains:&lt;br /&gt;
:*Information on the size and orientation of the grid;&lt;br /&gt;
:*Grid cell codes (whether cells are active or inactive);&lt;br /&gt;
:*Bed / ground elevations; and&lt;br /&gt;
:*Bed material type or flow resistance value.&lt;br /&gt;
&lt;br /&gt;
Commands in the TGC file are applied in sequential order; the order (layering) of these commands is critical. The last occurrence of a command prevails, it is possible to override previous information with new data to modify the model in selected areas. This is useful but is also something to be aware of as to not override commands by mistake. &lt;br /&gt;
&lt;br /&gt;
=== 2D Domain ===&lt;br /&gt;
Grid formats currently supported by TUFLOW include the ESRI ASCII grid format (.asc), binary grids (.flt) and geodetic grids (.tif). The Digital Elevation Model (DEM) is provided in .tif format. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Defining the location and orientation of the TUFLOW 2D domain can be undertaken using four different methods: &amp;lt;br&amp;gt;&lt;br /&gt;
:*Specifying origin coordinates and a second set of coordinates for a point along the X-axis of the domain; &amp;lt;br&amp;gt;&lt;br /&gt;
:*Specifying the origin coordinate and domain orientation angle; &amp;lt;br&amp;gt;&lt;br /&gt;
:*Digitising a line (2d_loc) to represent the bottom edge of the 2D domain (with the line starting at the origin and finishing at a secondary location along the X-axis); or &amp;lt;br&amp;gt;&lt;br /&gt;
:*Digitising location polygon. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first method is covered in this tutorial as it is required to use a licence-free version of TUFLOW. The third method is the most commonly used. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file called &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; and save it in &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. Notice the use of ‘001’ for numbering. This is part of a naming convention, allowing for the iteration of both GIS and TUFLOW control files. This way allows files to be recognised from a specific run and also reverted back to a working iteration in model development. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the created &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; in a text editor and specify the location and dimensions of the TUFLOW domain (rectangular computational area) and the cell size: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Origin &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;292725, 6177615&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Bottom left corner (origin) of the 2D grid&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Orientation &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;293580, 6177415&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Point along the X-axis determining the orientation of the 2D grid &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Cell Size &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;5&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! 2D cell size in metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Grid Size (X,Y) &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;850, 1000&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! 2D grid extent dimensions in metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Active and Inactive Areas of the 2D Domain ===&lt;br /&gt;
By default, every grid cell in a TUFLOW model is set as active and TUFLOW allows water to flow anywhere within the extents of the 2D domain. It is rare for a catchment to be a perfect rectangle. To reduce output file sizes and run times, permanently dry areas can be removed from the model. This can be an iterative process (i.e. run the model initially and refine). For the purpose of the tutorial a polygon is provided to define the active area. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set all 2D cells within the model domain rectangle to inactive by adding the following command to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets all cells to inactive&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Define active areas: &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Define_Active_Area_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Define_Active_Area_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set all cells within the code polygon to active. The command needs to be written after the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0 &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command to overwrite the inactive cells within the polygon: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_code_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets cell codes according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_code_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets cell codes according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: As mentioned, the order of commands in the TGC is critical. The final cell value (such as for code, elevation or material) is specified by the file lowest in the TGC. Consider the above two commands to set active and inactive cells, if the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; was written before the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command, all the cells within the code polygon would be first set to active and then overwritten to be all inactive, no hydraulic simulation could occur.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Topography ===&lt;br /&gt;
The points that assign elevations at each 2D cell centre, mid-side and corner are called Zpts. For a description on the computational function of each of the Zpts in a TUFLOW cell, see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/Zpt_Description Zpt Description]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A DEM is used to assign elevations to the Zpts: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy the DEM (&#039;&#039;&#039;DEM.tif&#039;&#039;&#039;) from the &#039;&#039;&#039;DEM&#039;&#039;&#039; folder into a new &#039;&#039;&#039;Module_01\TUFLOW\model\grid&#039;&#039;&#039; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set a global elevation for the Zpts by adding the following line to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 100&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets every 2D elevation zpt to 100 metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assign elevations to the Zpts from the DEM. The command needs to be written after the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;100 &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command to overwrite global Zpts where the DEM data are available: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GRID Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; grid\DEM.tif&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Assigns the elevation of zpts from the grid&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: The above data layering technique is common. After the first simulation, it is a good modelling practice to review the check files to confirm the topography in the model is as expected. Searching for a value of &#039;100&#039; is an easy way to identify if there are any gaps in the DEM dataset that were not expected (these should be fixed). &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
Surface roughness or bed resistance values (e.g. Manning’s n) are assigned to material IDs. In order for TUFLOW to associate the Manning’s n to the Material ID, a TUFLOW materials file is required.  This can be either a text file format .tmf, or a .csv file. This tutorial model utilises the csv format.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy the &#039;&#039;&#039;materials.csv&#039;&#039;&#039; file from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder into the &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. As a minimum this file must contain two columns; the first being the Material ID (as specified in the GIS layer), and the second being the Manning’s n.  Additional data such as loss parameters and depth varying Manning&#039;s n values (applicable for direct rainfall modelling) are covered in later modules. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Materials 02.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set a global material ID for all cells by adding the following line to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets all cells to a material ID of 1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Define spatial material definition:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Materials_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Materials_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assign materials from the GIS layer to overwrite the global material at all cells that fall within the material polygons: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_mat_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_mat_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TGC file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: As discussed in the previous sections, the order (layering) of these commands is important.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Boundary Control File (TBC) =&lt;br /&gt;
In this step the TBC and Boundary Condition Database (bc_dbase) are introduced. The TBC file contains information regarding the location of boundary conditions and internal links within the model. These include, but are not limited to: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Upstream and downstream flow boundaries &amp;lt;br&amp;gt;&lt;br /&gt;
:*Downstream water level boundaries &amp;lt;br&amp;gt;&lt;br /&gt;
:*Water sources &amp;lt;br&amp;gt;&lt;br /&gt;
:*Direct rainfall&lt;br /&gt;
:*Infiltration &amp;lt;br&amp;gt;&lt;br /&gt;
:*1D/2D links &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spatial Definition of Boundary Conditions ===&lt;br /&gt;
The following upstream and downstream boundaries are used in this tutorial: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*A flow vs time (QT) boundary and a source-area (SA) boundary is used for the inflows. &amp;lt;br&amp;gt;&lt;br /&gt;
:*A stage vs discharge (HQ) boundary is used for the outflow. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up boundary condition layers: &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Boundary_Conditions_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Boundary_Conditions_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Boundary Control File (TBC) ===&lt;br /&gt;
The boundary condition layers are read into TUFLOW in a new text file, the TBC. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file and save as &#039;&#039;&#039;M01_001.tbc&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file in a text editor and add the boundary conditions: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_bc_M01_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS SA &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_sa_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D source area boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_bc_M01_001_L&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS SA &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_sa_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D source area boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TBC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Boundary Condition Database (bc_dbase) =&lt;br /&gt;
The bc_dbase is a comma delimited file with .csv extension. It can be opened in any spreadsheet software or a text editor.&amp;lt;br&amp;gt;&lt;br /&gt;
A hydrograph is associated with all of the upstream boundaries:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the template bc database &#039;&#039;&#039;TUFLOW Tutorial Model BC Database.xlsx&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;There are two sheets in the file, &#039;bc_dbase&#039; and &#039;01p2hr&#039;. Complete the bc_dbase worksheet: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the name of the first upstream boundary condition under the &#039;Name&#039; heading. The name must appear exactly as it does in the boundary condition layer, (i.e. FC01). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the text &#039;01p2hr.csv&#039; under the &#039;Source&#039; heading. It is a source file for TUFLOW to extract the timeseries data. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the text &#039;time&#039; and &#039;inflow_FC01&#039; under the &#039;Column 1&#039; and &#039;Column 2&#039; heading. These correspond to the data headers in the source timeseries file. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Repeat the above process for all of the boundary conditions (i.e. FC02, FC04, FC05, FC06 and FC07). Note, FC02 is used in a later tutorial and Columns E to I are to remain black. The final bc_dbase should show as below: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 bc dbase 003.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Switch to the &#039;01p2hr&#039; sheet, and review the provided hydrographs. Note: the &#039;Inflow_FC02&#039; hydrograph is not used in this tutorial. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 100y2hr 002.png]] &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save both of the sheets in a csv format that TUFLOW can read. In the &#039;&#039;&#039;Module_01\TUFLOW\bc_dbase&#039;&#039;&#039; directory, there should be two new files, &#039;&#039;&#039;bc_dbase.csv&#039;&#039;&#039; and &#039;&#039;&#039;01p2hr.csv&#039;&#039;&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Time Series Plot Output =&lt;br /&gt;
The 2D plot output (2d_po) objects allow for a wide range of hydraulic parameters to be output from the 2D domain as time series data at predefined locations. &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Time_Series_Plot_Output_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Time_Series_Plot_Output_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Control File (TCF) =&lt;br /&gt;
The TCF file references all the control files, specifies time and output controls. This is the last step before running the simulation.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file and save as &#039;&#039;&#039;M01_5m_001.tcf&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\runs&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file in a text editor and add the following commands: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INITIALISATION&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Tutorial Model &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Required command to run this tutorial model licence free &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GIS Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; SHP&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify SHP as the output format for all GIS files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SHP Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\projection.prj &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the TUFLOW Model&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\grid\DEM.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the output grid files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! Write Empty GIS Files == ..\model\gis\empty  ! Creates template GIS layers, commented out as files were already created&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INITIALISATION&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\M01_001.gpkg   &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ! Specify the location of the GeoPackage Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Tutorial Model &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Required command to run this tutorial model licence free &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GIS Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; GPKG&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify GPKG as the output format for all GIS files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GPKG Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\projection.gpkg &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the TUFLOW Model&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\grid\DEM.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the output grid files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! Write Empty GIS Files == ..\model\gis\empty  ! Creates template GIS layers, commented out as files were already created&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Define the solution scheme and specify Sub-Grid Sampling (SGS) commands: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! SOLUTION SCHEME&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Solution Scheme &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; HPC&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Heavily Parallelised Compute, uses adaptive timestepping&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Hardware &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; GPU&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Comment out if GPU card is not available or replace with &amp;quot;Hardware == CPU&amp;quot; &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SGS &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Switches on Sub-Grid Sampling&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SGS Sample Target Distance&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0.5&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets SGS Sample Target Distance to 0.5m&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
For information on SGS, see Section 3.2 of the latest &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOW/Releases/2020-10/TUFLOW%20Release%20Notes.2020-10-AD.pdf Release Notes])&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Update the model inputs section. These commands reference the TGC, TBC, bc_dbase and materials file created in the above steps:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INPUTS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Geometry Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\M01_001.tgc&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;BC Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\M01_001.tbc&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Boundary Conditions Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;BC Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\bc_dbase\bc_dbase.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the Boundary Conditions Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read Materials File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\materials.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the Materials Definition File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following time control commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME CONTROL&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Timestep &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies the first 2D computational timestep of 1 second&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Start Time &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies a simulation start time of 0 hours&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;End Time &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 3&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies a simulation end time of 3 hours&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following output folder commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! OUTPUT FOLDERS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Log Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; log&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the log output files (e.g. .tlf and _messages files)&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Output Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\results\&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the 2D output files and prefixes them with the .tcf filename&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Write Check Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\check\&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the 2D check files and prefixes them with the .tcf filename&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following output settings commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! OUTPUT SETTINGS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; XMDF TIF&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Result file types&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Data Types &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; h V d dt&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs water levels, velocities, depths, minimum timestep&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 300&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs map data every 300 seconds (5 minutes)&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Map Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs only maximums for grids&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Reference the 2d_po layers. When reading in time-series layers, such as 2d_po files, its necessary to use a &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command. This command specifies the output interval in seconds for the time-series based output: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME SERIES PLOT OUTPUT&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\2d_po_M01_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output line&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\2d_po_M01_001_P.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output point&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 60&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs time series data every 60 seconds&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME SERIES PLOT OUTPUT&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 2d_po_M01_001_L&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output line&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 2d_po_M01_001_P&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output point&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 60&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs time series data every 60 seconds&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TCF file. The TUFLOW simulation is ready to be run for the first time.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
The comments (following the exclamation marks) are not required and these commands are generally self explanatory. For this tutorial model they are included to clarify the purpose of each line. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running the Simulation =&lt;br /&gt;
Set up a simple batch file (.bat) to run TUFLOW. This approach calls the TUFLOW executable file (.exe) and runs the TCF file.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file in the &#039;&#039;&#039;Module_01\TUFLOW\runs&#039;&#039;&#039; folder and save as &#039;&#039;&#039;_run_M01_HPC.bat&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;_run_M01_HPC.bat&#039;&#039;&#039; in a text editor and include a file path to the executable from the &#039;&#039;&#039;exe\2026.0.0&#039;&#039;&#039; folder and the TCF name: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&amp;quot;..\..\..\exe\2026.0.0\TUFLOW_iSP_w64.exe&amp;quot; M01_5m_001.tcf&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Note: A relative path is used for the executable and the TCF, a full file path can also be used.&lt;br /&gt;
&amp;lt;li&amp;gt;Save the batch file and double click it in file explorer to run the simulation. &lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
This opens the TUFLOW console window and the simulation begins running. The simulation usually takes a few minutes to process (depending on the computer hardware). While the model is running, it is a good practise to fill out a modelling log. It includes developer notes keeping a record of TUFLOW simulations and changes from one version to the next, for more information see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/TUFLOW_Modelling_Log here]&amp;lt;/u&amp;gt;. A template is included in the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
If the simulation is successful, the console window should look like the image below.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:simulation_finished_b.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting = &lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Check Files =&lt;br /&gt;
TUFLOW writes a series of check files during the model initialisation process when the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Write Check Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is specified in the TCF. The files are either in a tabular form (.csv), GIS Vector format (.gpkg, .shp, .mif) or GIS Raster format (.tif, .flt, .asc) and contain information on the input data processed by TUFLOW.&amp;lt;br&amp;gt;&lt;br /&gt;
While the model is running, review the added features are specified correctly: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Check_Files_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Check_Files_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Results=&lt;br /&gt;
Two map output formats specified for this tutorial:&lt;br /&gt;
:*TIF - Grid based output format writing map output data types separately&lt;br /&gt;
:*XMDF - Mesh based output format containing all map output data types in a single file&lt;br /&gt;
When the model is finished, review the results: &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Results_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Reviewing Model Performance =&lt;br /&gt;
There are a number of useful outputs from TUFLOW for reviewing the model performance.&amp;lt;br&amp;gt;&lt;br /&gt;
=== TUFLOW Log File ===&lt;br /&gt;
The first place to look is in the TUFLOW Log File (TLF). The &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Log Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; log&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command in the TCF controls where the log file is written. &amp;lt;br&amp;gt;&lt;br /&gt;
Navigate to the &#039;&#039;&#039;Module_01\TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;M01_5m_001.tlf&#039;&#039;&#039; file in a text editor. Scroll down to the bottom to &#039;Simulation Summary&#039;. This includes information about the computation time, messages, volume calculations and mass error. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Simulation_Summary_02a.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HPC TUFLOW Log File ===&lt;br /&gt;
As the model is using the HPC solution scheme, there is a second log file automatically written from the same command. Navigate to the &#039;&#039;&#039;Module_01\TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;M01_5m_001.hpc.tlf&#039;&#039;&#039; file. The HPC solution scheme, by default, uses adaptive timestepping to progress through the simulation. The timestep is adjusted so it complies with the mathematical stability criteria of a 2D SWE explicit solution. This is controlled by three control numbers, further information is provided &amp;lt;u&amp;gt;[https://wiki.tuflow.com/HPC_Adaptive_Timestepping here]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
Scroll down the &#039;&#039;&#039;hpc.tlf&#039;&#039;&#039; to &#039;iStep&#039;. This is the point at which the model successfully compiled and began running. The three HPC control numbers are listed in the columns after time. Then the number of wet cells, the volume of water, the dt (minimum timestep) and the efficiency of the solver. As the model starts to gain wet cells dt drops, but should eventually stabilise. Similarly, model efficiency should increase as the model progresses.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Simulation HPC.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Model Performance Indicators ===&lt;br /&gt;
For more information on how to review HPC models, see &amp;lt;u&amp;gt;[[HPC_Model_Review | HPC Model Review]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion = &lt;br /&gt;
:*Simple 2D TUFLOW model was created with required GIS and text based inputs.&lt;br /&gt;
:*Check files were used to review the model setup.&lt;br /&gt;
:*Results were visualised and the performance of the model reviewed. &amp;lt;br&amp;gt; &lt;br /&gt;
:*For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Alternatively, see the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Example_Model_Catalogue | TUFLOW Example Models]]&amp;lt;/u&amp;gt; to explore the full list of TUFLOW features.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Increasing Model Resolution (Optional) =&lt;br /&gt;
This section includes an optional exercise to reduce the cell size from 5m to 2.5m. Consider the impact this has on the model results and the runtime.&amp;lt;br&amp;gt;&lt;br /&gt;
To reduce the cell size in the model: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TUFLOW control file &#039;&#039;&#039;M01_5m_001.tcf&#039;&#039;&#039; as &#039;&#039;&#039;M01_2.5m_001.tcf&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Save the geometry control file &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; as &#039;&#039;&#039;M01_2.5m_001.tgc&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Modify the cell size in the geometry control file to &#039;2.5&#039; meters.&lt;br /&gt;
&amp;lt;li&amp;gt;In the TCF, update the reference to the new TGC.&lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file with the updated TCF file and run the simulation. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:Simulation_finished_b.png&amp;diff=45733</id>
		<title>File:Simulation finished b.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:Simulation_finished_b.png&amp;diff=45733"/>
		<updated>2026-03-30T04:47:40Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01&amp;diff=45714</id>
		<title>Tutorial M01</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01&amp;diff=45714"/>
		<updated>2026-03-30T02:42:10Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Running the Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
Read the &amp;lt;u&amp;gt;[[Tutorial_Introduction | Tutorial Model Introduction]]&amp;lt;/u&amp;gt; before starting this tutorial. It outlines programs requiring installation and provides the tutorial dataset download link.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this module, a fully two-dimensional (2D) model is built with a number of TUFLOW control files and Geographic Information System (GIS) layers.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The TUFLOW control files are:&amp;lt;br&amp;gt;&lt;br /&gt;
:* TUFLOW Simulation Control File (TCF)&lt;br /&gt;
:* TUFLOW Geometry Control File (TGC)&lt;br /&gt;
:* TUFLOW Boundary Control File (TBC)&lt;br /&gt;
:* TUFLOW Boundary Condition Database (bc_dbase)&lt;br /&gt;
:* TUFLOW Materials File (materials)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The GIS layers are:&amp;lt;br&amp;gt;&lt;br /&gt;
:*TGC layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt; 2d_loc: A layer defining the origin and orientation of the 2D grid. &lt;br /&gt;
&amp;lt;li&amp;gt; 2d_code: A layer containing polygons that define the cell codes (active or inactive status).&lt;br /&gt;
&amp;lt;li&amp;gt; *.tif: A DEM dataset defining the ground elevations within the 2D study area.&lt;br /&gt;
&amp;lt;li&amp;gt; 2d_mat: A layer defining the land-use (material) types within the 2D study area.&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*TBC layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt; 2d_bc: A layer defining the locations of external 2D boundaries.&lt;br /&gt;
&amp;lt;li&amp;gt; 2d_sa: A layer to define internal 2D flow boundaries.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*TCF layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;2d_po: A time series data output from 2D domains, for a range of hydraulic parameters.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
This tutorial is setup with shapefiles (SHP) and geopackage (GPKG) layers. For more information on these formats, see &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Initialisation = &lt;br /&gt;
TUFLOW models are separated into a series of folders which contain the input and output files. The recommended set up for the model directory and sub-folders is shown below. For a more detailed description, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Tute M01 Directory Structure v3.png|left]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Sub-Folder&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Input / Output&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=75%| Description&lt;br /&gt;
|-&lt;br /&gt;
| bc_dbase|| Input || Boundary condition database(s) and input time-series data.&lt;br /&gt;
|-&lt;br /&gt;
| check|| Output || GIS and other check files to carry out quality control checks (use Write Check Files).&lt;br /&gt;
|-&lt;br /&gt;
| model|| Input ||Geometry (TGC), Boundary (TBC) and other model control text files (i.e. no GIS files).&lt;br /&gt;
|-&lt;br /&gt;
| model\gis|| Input || GIS layers that are inputs to the 2D and 1D model domains are contained within this folder, model\gis is typically used for all QGIS and ArcGIS files.&lt;br /&gt;
|-&lt;br /&gt;
| model\mi|| Input || GIS layers that are inputs to the 2D and 1D model domains are contained within this folder, model\mi is typically used for MapInfo formatted GIS files.&lt;br /&gt;
|-&lt;br /&gt;
| results|| Output|| TUFLOW outputs the results to this folder in specified formats.&lt;br /&gt;
|-&lt;br /&gt;
| runs|| Input|| TUFLOW Control Files (TCF).&lt;br /&gt;
|-&lt;br /&gt;
| runs\log|| Output || TUFLOW log files (TLF) and messages layers.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
The TUFLOW folders can be set up manually, automatically running TUFLOW model with &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Write Empty GIS Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command or automatically through GIS programs:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Configure_TUFLOW_Project_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Configure_TUFLOW_Project_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*SMS - the folder structure listed above is automatically created before running the model using the &#039;Export TUFLOW files&#039; command (see &amp;lt;u&amp;gt; [[Run TUFLOW from within SMS | Run TUFLOW from within SMS]])&amp;lt;/u&amp;gt;.&lt;br /&gt;
:*ArcMap (10.1 and newer) - the ArcTUFLOW Toolbox can be used to automatically create the model folders, model projection, TUFLOW control files and run TUFLOW to create the template files.&lt;br /&gt;
&lt;br /&gt;
The following points on TUFLOW folders and filenames are worth noting: &lt;br /&gt;
:*TUFLOW accepts any folder structure, though the above listed format is most commonly used and is recommended. &amp;lt;br&amp;gt;&lt;br /&gt;
:*TUFLOW accepts spaces and special characters (such as ! or #) in filenames and paths, but other software may not. It is recommended that spaces and other special characters are not used in the simulation path and filenames. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Folder paths, filenames, file extensions and TUFLOW commands are not case sensitive in any TUFLOW control files. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Any directories that don&#039;t apply can be omitted, for example, if using QGIS or ArcMap the model\mi directory is not required. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Model Familiarisation=&lt;br /&gt;
Become familiar with the model location, using an aerial image and DEM:&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Site_Familiarisation_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Geometry Control File (TGC) =&lt;br /&gt;
The TGC file is a series of commands that build the geometry model. At its minimum, the TGC contains:&lt;br /&gt;
:*Information on the size and orientation of the grid;&lt;br /&gt;
:*Grid cell codes (whether cells are active or inactive);&lt;br /&gt;
:*Bed / ground elevations; and&lt;br /&gt;
:*Bed material type or flow resistance value.&lt;br /&gt;
&lt;br /&gt;
Commands in the TGC file are applied in sequential order; the order (layering) of these commands is critical. The last occurrence of a command prevails, it is possible to override previous information with new data to modify the model in selected areas. This is useful but is also something to be aware of as to not override commands by mistake. &lt;br /&gt;
&lt;br /&gt;
=== 2D Domain ===&lt;br /&gt;
Grid formats currently supported by TUFLOW include the ESRI ASCII grid format (.asc), binary grids (.flt) and geodetic grids (.tif). The Digital Elevation Model (DEM) is provided in .tif format. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Defining the location and orientation of the TUFLOW 2D domain can be undertaken using four different methods: &amp;lt;br&amp;gt;&lt;br /&gt;
:*Specifying origin coordinates and a second set of coordinates for a point along the X-axis of the domain; &amp;lt;br&amp;gt;&lt;br /&gt;
:*Specifying the origin coordinate and domain orientation angle; &amp;lt;br&amp;gt;&lt;br /&gt;
:*Digitising a line (2d_loc) to represent the bottom edge of the 2D domain (with the line starting at the origin and finishing at a secondary location along the X-axis); or &amp;lt;br&amp;gt;&lt;br /&gt;
:*Digitising location polygon. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first method is covered in this tutorial as it is required to use a licence-free version of TUFLOW. The third method is the most commonly used. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file called &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; and save it in &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. Notice the use of ‘001’ for numbering. This is part of a naming convention, allowing for the iteration of both GIS and TUFLOW control files. This way allows files to be recognised from a specific run and also reverted back to a working iteration in model development. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the created &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; in a text editor and specify the location and dimensions of the TUFLOW domain (rectangular computational area) and the cell size: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Origin &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;292725, 6177615&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Bottom left corner (origin) of the 2D grid&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Orientation &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;293580, 6177415&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Point along the X-axis determining the orientation of the 2D grid &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Cell Size &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;5&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! 2D cell size in metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Grid Size (X,Y) &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;850, 1000&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! 2D grid extent dimensions in metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Active and Inactive Areas of the 2D Domain ===&lt;br /&gt;
By default, every grid cell in a TUFLOW model is set as active and TUFLOW allows water to flow anywhere within the extents of the 2D domain. It is rare for a catchment to be a perfect rectangle. To reduce output file sizes and run times, permanently dry areas can be removed from the model. This can be an iterative process (i.e. run the model initially and refine). For the purpose of the tutorial a polygon is provided to define the active area. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set all 2D cells within the model domain rectangle to inactive by adding the following command to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets all cells to inactive&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Define active areas: &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Define_Active_Area_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Define_Active_Area_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set all cells within the code polygon to active. The command needs to be written after the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0 &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command to overwrite the inactive cells within the polygon: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_code_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets cell codes according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_code_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets cell codes according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: As mentioned, the order of commands in the TGC is critical. The final cell value (such as for code, elevation or material) is specified by the file lowest in the TGC. Consider the above two commands to set active and inactive cells, if the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; was written before the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command, all the cells within the code polygon would be first set to active and then overwritten to be all inactive, no hydraulic simulation could occur.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Topography ===&lt;br /&gt;
The points that assign elevations at each 2D cell centre, mid-side and corner are called Zpts. For a description on the computational function of each of the Zpts in a TUFLOW cell, see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/Zpt_Description Zpt Description]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A DEM is used to assign elevations to the Zpts: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy the DEM (&#039;&#039;&#039;DEM.tif&#039;&#039;&#039;) from the &#039;&#039;&#039;DEM&#039;&#039;&#039; folder into a new &#039;&#039;&#039;Module_01\TUFLOW\model\grid&#039;&#039;&#039; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set a global elevation for the Zpts by adding the following line to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 100&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets every 2D elevation zpt to 100 metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assign elevations to the Zpts from the DEM. The command needs to be written after the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;100 &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command to overwrite global Zpts where the DEM data are available: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GRID Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; grid\DEM.tif&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Assigns the elevation of zpts from the grid&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: The above data layering technique is common. After the first simulation, it is a good modelling practice to review the check files to confirm the topography in the model is as expected. Searching for a value of &#039;100&#039; is an easy way to identify if there are any gaps in the DEM dataset that were not expected (these should be fixed). &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
Surface roughness or bed resistance values (e.g. Manning’s n) are assigned to material IDs. In order for TUFLOW to associate the Manning’s n to the Material ID, a TUFLOW materials file is required.  This can be either a text file format .tmf, or a .csv file. This tutorial model utilises the csv format.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy the &#039;&#039;&#039;materials.csv&#039;&#039;&#039; file from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder into the &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. As a minimum this file must contain two columns; the first being the Material ID (as specified in the GIS layer), and the second being the Manning’s n.  Additional data such as loss parameters and depth varying Manning&#039;s n values (applicable for direct rainfall modelling) are covered in later modules. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Materials 02.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set a global material ID for all cells by adding the following line to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets all cells to a material ID of 1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Define spatial material definition:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Materials_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Materials_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assign materials from the GIS layer to overwrite the global material at all cells that fall within the material polygons: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_mat_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_mat_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TGC file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: As discussed in the previous sections, the order (layering) of these commands is important.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Boundary Control File (TBC) =&lt;br /&gt;
In this step the TBC and Boundary Condition Database (bc_dbase) are introduced. The TBC file contains information regarding the location of boundary conditions and internal links within the model. These include, but are not limited to: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Upstream and downstream flow boundaries &amp;lt;br&amp;gt;&lt;br /&gt;
:*Downstream water level boundaries &amp;lt;br&amp;gt;&lt;br /&gt;
:*Water sources &amp;lt;br&amp;gt;&lt;br /&gt;
:*Direct rainfall&lt;br /&gt;
:*Infiltration &amp;lt;br&amp;gt;&lt;br /&gt;
:*1D/2D links &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spatial Definition of Boundary Conditions ===&lt;br /&gt;
The following upstream and downstream boundaries are used in this tutorial: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*A flow vs time (QT) boundary and a source-area (SA) boundary is used for the inflows. &amp;lt;br&amp;gt;&lt;br /&gt;
:*A stage vs discharge (HQ) boundary is used for the outflow. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up boundary condition layers: &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Boundary_Conditions_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Boundary_Conditions_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Boundary Control File (TBC) ===&lt;br /&gt;
The boundary condition layers are read into TUFLOW in a new text file, the TBC. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file and save as &#039;&#039;&#039;M01_001.tbc&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file in a text editor and add the boundary conditions: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_bc_M01_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS SA &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_sa_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D source area boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_bc_M01_001_L&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS SA &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_sa_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D source area boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TBC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Boundary Condition Database (bc_dbase) =&lt;br /&gt;
The bc_dbase is a comma delimited file with .csv extension. It can be opened in any spreadsheet software or a text editor.&amp;lt;br&amp;gt;&lt;br /&gt;
A hydrograph is associated with all of the upstream boundaries:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the template bc database &#039;&#039;&#039;TUFLOW Tutorial Model BC Database.xlsx&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;There are two sheets in the file, &#039;bc_dbase&#039; and &#039;01p2hr&#039;. Complete the bc_dbase worksheet: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the name of the first upstream boundary condition under the &#039;Name&#039; heading. The name must appear exactly as it does in the boundary condition layer, (i.e. FC01). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the text &#039;01p2hr.csv&#039; under the &#039;Source&#039; heading. It is a source file for TUFLOW to extract the timeseries data. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the text &#039;time&#039; and &#039;inflow_FC01&#039; under the &#039;Column 1&#039; and &#039;Column 2&#039; heading. These correspond to the data headers in the source timeseries file. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Repeat the above process for all of the boundary conditions (i.e. FC02, FC04, FC05, FC06 and FC07). Note, FC02 is used in a later tutorial and Columns E to I are to remain black. The final bc_dbase should show as below: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 bc dbase 003.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Switch to the &#039;01p2hr&#039; sheet, and review the provided hydrographs. Note: the &#039;Inflow_FC02&#039; hydrograph is not used in this tutorial. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 100y2hr 002.png]] &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save both of the sheets in a csv format that TUFLOW can read. In the &#039;&#039;&#039;Module_01\TUFLOW\bc_dbase&#039;&#039;&#039; directory, there should be two new files, &#039;&#039;&#039;bc_dbase.csv&#039;&#039;&#039; and &#039;&#039;&#039;01p2hr.csv&#039;&#039;&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Time Series Plot Output =&lt;br /&gt;
The 2D plot output (2d_po) objects allow for a wide range of hydraulic parameters to be output from the 2D domain as time series data at predefined locations. &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Time_Series_Plot_Output_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Time_Series_Plot_Output_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Control File (TCF) =&lt;br /&gt;
The TCF file references all the control files, specifies time and output controls. This is the last step before running the simulation.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file and save as &#039;&#039;&#039;M01_5m_001.tcf&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\runs&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file in a text editor and add the following commands: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INITIALISATION&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Tutorial Model &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Required command to run this tutorial model licence free &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GIS Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; SHP&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify SHP as the output format for all GIS files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SHP Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\projection.prj &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the TUFLOW Model&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\grid\DEM.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the output grid files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! Write Empty GIS Files == ..\model\gis\empty  ! Creates template GIS layers, commented out as files were already created&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INITIALISATION&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\M01_001.gpkg   &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ! Specify the location of the GeoPackage Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Tutorial Model &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Required command to run this tutorial model licence free &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GIS Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; GPKG&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify GPKG as the output format for all GIS files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GPKG Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\projection.gpkg &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the TUFLOW Model&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\grid\DEM.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the output grid files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! Write Empty GIS Files == ..\model\gis\empty  ! Creates template GIS layers, commented out as files were already created&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Define the solution scheme and specify Sub-Grid Sampling (SGS) commands: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! SOLUTION SCHEME&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Solution Scheme &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; HPC&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Heavily Parallelised Compute, uses adaptive timestepping&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Hardware &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; GPU&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Comment out if GPU card is not available or replace with &amp;quot;Hardware == CPU&amp;quot; &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SGS &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Switches on Sub-Grid Sampling&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SGS Sample Target Distance&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0.5&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets SGS Sample Target Distance to 0.5m&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
For information on SGS, see Section 3.2 of the latest &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOW/Releases/2020-10/TUFLOW%20Release%20Notes.2020-10-AD.pdf Release Notes])&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Update the model inputs section. These commands reference the TGC, TBC, bc_dbase and materials file created in the above steps:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INPUTS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Geometry Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\M01_001.tgc&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;BC Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\M01_001.tbc&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Boundary Conditions Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;BC Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\bc_dbase\bc_dbase.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the Boundary Conditions Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read Materials File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\materials.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the Materials Definition File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following time control commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME CONTROL&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Timestep &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies the first 2D computational timestep of 1 second&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Start Time &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies a simulation start time of 0 hours&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;End Time &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 3&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies a simulation end time of 3 hours&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following output folder commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! OUTPUT FOLDERS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Log Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; log&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the log output files (e.g. .tlf and _messages files)&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Output Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\results\&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the 2D output files and prefixes them with the .tcf filename&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Write Check Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\check\&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the 2D check files and prefixes them with the .tcf filename&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following output settings commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! OUTPUT SETTINGS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; XMDF TIF&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Result file types&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Data Types &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; h V d dt&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs water levels, velocities, depths, minimum timestep&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 300&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs map data every 300 seconds (5 minutes)&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Map Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs only maximums for grids&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Reference the 2d_po layers. When reading in time-series layers, such as 2d_po files, its necessary to use a &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command. This command specifies the output interval in seconds for the time-series based output: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME SERIES PLOT OUTPUT&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\2d_po_M01_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output line&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\2d_po_M01_001_P.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output point&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 60&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs time series data every 60 seconds&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME SERIES PLOT OUTPUT&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 2d_po_M01_001_L&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output line&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 2d_po_M01_001_P&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output point&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 60&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs time series data every 60 seconds&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TCF file. The TUFLOW simulation is ready to be run for the first time.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
The comments (following the exclamation marks) are not required and these commands are generally self explanatory. For this tutorial model they are included to clarify the purpose of each line. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running the Simulation =&lt;br /&gt;
Set up a simple batch file (.bat) to run TUFLOW. This approach calls the TUFLOW executable file (.exe) and runs the TCF file.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file in the &#039;&#039;&#039;Module_01\TUFLOW\runs&#039;&#039;&#039; folder and save as &#039;&#039;&#039;_run_M01_HPC.bat&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;_run_M01_HPC.bat&#039;&#039;&#039; in a text editor and include a file path to the executable from the &#039;&#039;&#039;exe\2026.0.0&#039;&#039;&#039; folder and the TCF name: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&amp;quot;..\..\..\exe\2026.0.0\TUFLOW_iSP_w64.exe&amp;quot; M01_5m_001.tcf&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Note: A relative path is used for the executable and the TCF, a full file path can also be used.&lt;br /&gt;
&amp;lt;li&amp;gt;Save the batch file and double click it in file explorer to run the simulation. &lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
This opens the TUFLOW console window and the simulation begins running. The simulation usually takes a few minutes to process (depending on the computer hardware). While the model is running, it is a good practise to fill out a modelling log. It includes developer notes keeping a record of TUFLOW simulations and changes from one version to the next, for more information see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/TUFLOW_Modelling_Log here]&amp;lt;/u&amp;gt;. A template is included in the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
If the simulation is successful, the console window should look like the image below.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Simulation_Finished_a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting = &lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Check Files =&lt;br /&gt;
TUFLOW writes a series of check files during the model initialisation process when the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Write Check Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is specified in the TCF. The files are either in a tabular form (.csv), GIS Vector format (.gpkg, .shp, .mif) or GIS Raster format (.tif, .flt, .asc) and contain information on the input data processed by TUFLOW.&amp;lt;br&amp;gt;&lt;br /&gt;
While the model is running, review the added features are specified correctly: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Check_Files_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Check_Files_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Results=&lt;br /&gt;
Two map output formats specified for this tutorial:&lt;br /&gt;
:*TIF - Grid based output format writing map output data types separately&lt;br /&gt;
:*XMDF - Mesh based output format containing all map output data types in a single file&lt;br /&gt;
When the model is finished, review the results: &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Results_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Reviewing Model Performance =&lt;br /&gt;
There are a number of useful outputs from TUFLOW for reviewing the model performance.&amp;lt;br&amp;gt;&lt;br /&gt;
=== TUFLOW Log File ===&lt;br /&gt;
The first place to look is in the TUFLOW Log File (TLF). The &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Log Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; log&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command in the TCF controls where the log file is written. &amp;lt;br&amp;gt;&lt;br /&gt;
Navigate to the &#039;&#039;&#039;Module_01\TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;M01_5m_001.tlf&#039;&#039;&#039; file in a text editor. Scroll down to the bottom to &#039;Simulation Summary&#039;. This includes information about the computation time, messages, volume calculations and mass error. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Simulation_Summary_02a.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HPC TUFLOW Log File ===&lt;br /&gt;
As the model is using the HPC solution scheme, there is a second log file automatically written from the same command. Navigate to the &#039;&#039;&#039;Module_01\TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;M01_5m_001.hpc.tlf&#039;&#039;&#039; file. The HPC solution scheme, by default, uses adaptive timestepping to progress through the simulation. The timestep is adjusted so it complies with the mathematical stability criteria of a 2D SWE explicit solution. This is controlled by three control numbers, further information is provided &amp;lt;u&amp;gt;[https://wiki.tuflow.com/HPC_Adaptive_Timestepping here]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
Scroll down the &#039;&#039;&#039;hpc.tlf&#039;&#039;&#039; to &#039;iStep&#039;. This is the point at which the model successfully compiled and began running. The three HPC control numbers are listed in the columns after time. Then the number of wet cells, the volume of water, the dt (minimum timestep) and the efficiency of the solver. As the model starts to gain wet cells dt drops, but should eventually stabilise. Similarly, model efficiency should increase as the model progresses.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Simulation HPC.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Model Performance Indicators ===&lt;br /&gt;
For more information on how to review HPC models, see &amp;lt;u&amp;gt;[[HPC_Model_Review | HPC Model Review]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion = &lt;br /&gt;
:*Simple 2D TUFLOW model was created with required GIS and text based inputs.&lt;br /&gt;
:*Check files were used to review the model setup.&lt;br /&gt;
:*Results were visualised and the performance of the model reviewed. &amp;lt;br&amp;gt; &lt;br /&gt;
:*For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Alternatively, see the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Example_Model_Catalogue | TUFLOW Example Models]]&amp;lt;/u&amp;gt; to explore the full list of TUFLOW features.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Increasing Model Resolution (Optional) =&lt;br /&gt;
This section includes an optional exercise to reduce the cell size from 5m to 2.5m. Consider the impact this has on the model results and the runtime.&amp;lt;br&amp;gt;&lt;br /&gt;
To reduce the cell size in the model: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TUFLOW control file &#039;&#039;&#039;M01_5m_001.tcf&#039;&#039;&#039; as &#039;&#039;&#039;M01_2.5m_001.tcf&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Save the geometry control file &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; as &#039;&#039;&#039;M01_2.5m_001.tgc&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Modify the cell size in the geometry control file to &#039;2.5&#039; meters.&lt;br /&gt;
&amp;lt;li&amp;gt;In the TCF, update the reference to the new TGC.&lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file with the updated TCF file and run the simulation. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_SWMM_Troubleshooting&amp;diff=45713</id>
		<title>TUFLOW SWMM Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_SWMM_Troubleshooting&amp;diff=45713"/>
		<updated>2026-03-30T02:41:38Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Simulation Console Window Flashes and Disappears */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
This page contains useful information outlining common modeling mistakes and steps to troubleshoot them.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Common Modeling Mistakes=&lt;br /&gt;
===Unsaved Control Files===&lt;br /&gt;
When changes are made in the control files and the files are not saved, errors occur. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Check all simulation control files and batch files are saved ([[File:Notepad Saved Icon.png]]). A red icon indicates that there are unsaved changes in the file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use the &#039;Save All&#039; tool to save all unsaved control files:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_02a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Unsaved GIS Layers===&lt;br /&gt;
When changes are made in GIS layers and the layers are not saved, errors occur. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Check all GIS input layers are saved. If the &#039;Save Layer Edits&#039; icon is available ([[File:QGIS UnsavedEdits.png|20px]]), there are unsaved edits in the layer. &lt;br /&gt;
&amp;lt;li&amp;gt;A pencil icon on the layer ([[File:QGIS ToggleEditing.png]]) indicates that the layer is still editable and may contain unsaved edits. It is recommended to always turn off editing for all input layers after the edits are complete. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_SWMM_Troubleshooting_CommonErrors_01a.mp4|width=500}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unsaved SWMM INP file ===&lt;br /&gt;
After edits are complete and saved to the SWMM GeoPackage database, a copy of the information needs to be exported to an INP format for reading into TUFLOW. Two mistakes can occur in relation to INP files:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; No INP file has been exported. If an INP file referenced in the SWMM control file (TSCF) does not exist, the following dialog will appear when attempting to run the model. If this error occurs, check the INP file has been exported from the SWMM GeoPackage and ensure the file reference in the TSCF does not contain any spelling mistakes.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_03a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; The save date of the INP must be later than its associated GeoPackage file. If this is not the case, the following dialog will appear when attempting to run the model. The error will also be written to the TUFLOW Log File (.tlf). If this error occurs, export the INP file again to ensure it is newer then its associated GeoPackage file. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_04a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===TUFLOW Syntax Rules===&lt;br /&gt;
Control files use a double equal sign (&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;). When a single equal sign (&amp;lt;tt&amp;gt;=&amp;lt;/tt&amp;gt;) is used, the simulation stops with and error at the end of the .tlf file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_05a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_06a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Spelling Mistakes in Control Files===&lt;br /&gt;
Spelling mistakes in control files can result in a &#039;does not exist&#039; pop up message:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_07a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
To fix the reference:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In this example, the file that cannot be found is &#039;&#039;&#039;TS01_01.tbc&#039;&#039;&#039;. Go to the folder where the file should be (&#039;&#039;&#039;TUFLOW\model&#039;&#039;&#039; folder). &lt;br /&gt;
&amp;lt;li&amp;gt;The file referenced should be &#039;&#039;&#039;TS01_&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;001&amp;lt;/font&amp;gt;.tbc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Update the reference in the TCF and confirm the file can now be found by right clicking on the file and selecting open. &amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_SWMM_Troubleshooting_CommonErrors_02a.mp4|width=1000}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Spelling Mistakes in Input Layers===&lt;br /&gt;
Spelling mistakes in input layers can result in an error message in the .tlf:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_08a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
To fix the reference:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In this example, the layer that cannot by found is &#039;&#039;&#039;2d_bc_SWMM_Culvert_Connections_001_L&#039;&#039;&#039;. This layer is within the &#039;&#039;&#039;TS01_001.gpkg&#039;&#039;&#039; database. &lt;br /&gt;
&amp;lt;li&amp;gt;In QGIS, within the Browser Panel, navigate to the folder containing the database (the &#039;&#039;&#039;TUFLOW\model\gis&#039;&#039;&#039; folder in this case). &lt;br /&gt;
&amp;lt;li&amp;gt;Locate the layer with the spelling mistake. In this case &#039;&#039;&#039;2d_bc_SWMM_&#039;&#039;Culvet&#039;&#039;_Connections_001_L&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Right click the layer and select &#039;Manage&#039; &amp;gt; &#039;Rename Layer&#039; to save the layer under the correct name (&#039;&#039;&#039;2d_bc_SWMM_&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Culvert&amp;lt;/font&amp;gt;_Connections_001_L&#039;&#039;&#039;).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_SWMM_Troubleshooting_CommonErrors_03a.mp4|width=1218}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===TCF does not exist===&lt;br /&gt;
Typos or spaces in the TCF name result in a &#039;does not exist&#039; message in the console window:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Check the name of the TCF is referenced correctly in the batch file.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the TCF in the batch file, select &#039;Open File&#039; to make sure it can be opened.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Example of incorrect TCF name missing an underscore:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_09a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_10a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Example of using space in the TCF name causing TUFLOW to look for a TCF name ending with the first space:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_11a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Ambiguous Command===&lt;br /&gt;
TUFLOW control files are command driven text files. The commands must be in the format and location TUFLOW is expecting. The &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; and the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/release/latest/ TUFLOW Release Notes]&amp;lt;/u&amp;gt; list all the available commands and specify which TUFLOW control file each command belongs to.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Example of a typo in the &#039; &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;BC Control File&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; ==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &#039; command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_12a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Example of &#039; &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Data Types &amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &#039; command entered into TGC instead of TCF: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_CommonErrors_13a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting Steps=&lt;br /&gt;
== Model won&#039;t run == &lt;br /&gt;
=== Simulation Console Window Flashes and Disappears ===&lt;br /&gt;
When batch file is double clicked and the simulation console window flashes and disappears the problem might be in the filepath of the TUFLOW executable or incorrect syntax:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Check the TUFLOW executable can be found with the specified filepath (absolute or relative).&lt;br /&gt;
&amp;lt;li&amp;gt;Double click the executable, this performs a licence check and console window appears. If it doesn&#039;t, move the executable to a location where it is permitted to run. Some locations on C drive might be restricted for some users preventing to execute the simulation.&lt;br /&gt;
&amp;lt;li&amp;gt;TUFLOW doesn&#039;t run from a batch file if the filepaths are specified as UNC paths. The folder with both, the executable and the model, must be opened with a mapped drive. Type &amp;quot;net use &amp;lt;drive&amp;gt;: \\server_name\share_name&amp;quot; in the command line to map the drives.&lt;br /&gt;
&amp;lt;li&amp;gt;If using environment variable &#039;set exe&#039;, confirm there are no spaces surrounding the equals sign (e.g. &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;set &amp;lt;/font&amp;gt;exe&amp;lt;font color=&amp;quot;red&amp;gt;=&amp;lt;/font&amp;gt;&amp;quot;..\..\..\exe\2026.0.0\TUFLOW_iSP_w64.exe&amp;quot;&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&amp;lt;li&amp;gt;Write &#039;&amp;lt;font color=&amp;quot;blue&amp;gt;&amp;lt;tt&amp;gt;pause&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; at the end of the script, rerun the batch file and the console window should remain open providing more information. In the below example, the file path to the TUFLOW exe is incorrect:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_SWMM_Troubleshooting_Steps_01a.mp4|width=1218}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== _ TUFLOW Simulations (*.log) ===&lt;br /&gt;
The log file contains brief overview of the simulation:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate to the &#039;&#039;&#039;TUFLOW\runs&#039;&#039;&#039; folder and open the &#039;&#039;&#039;_ TUFLOW Simulations.log&#039;&#039;&#039; in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt;Confirm if the simulation has &#039;Started&#039; and &#039;Finished&#039; line.&lt;br /&gt;
&amp;lt;li&amp;gt;If there is no log file, see the &#039;&#039;&#039;Simulation Console Window Flashes and Disappears&#039;&#039;&#039; advice above.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Log File (*.tlf) ===&lt;br /&gt;
The .tlf file contains information on the model run status and any error messages:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate to the &#039;&#039;&#039;TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;.tlf&#039;&#039;&#039; file in a text editor.&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll to the bottom to confirm the model run finished successfully by observing &amp;quot;Simulation FINISHED&amp;quot;.&lt;br /&gt;
&amp;lt;li&amp;gt;If not, search from the bottom up for any error, warning or check messages.&lt;br /&gt;
&amp;lt;li&amp;gt;Review the error number, open the link provided in a web browser and read through the description and suggestions:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_SWMM_Troubleshooting_Steps_02a.mp4|width=1218}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Open the .qgs workspace in QGIS from the &#039;&#039;&#039;TUFLOW\runs\log&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt;Click &#039;Apply TUFLOW Styles to Open Layers&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Zoom in to the location of any error messages, turn on labelling to view the error. &lt;br /&gt;
&amp;lt;li&amp;gt;In this example the 2d_bc CN connection isn&#039;t snapped to the SX line.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_SWMM_Troubleshooting_Steps_03a.mp4|width=1218}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;If no error messages appear in the .tlf and the last line shows &#039;Sending initialisation data to HPC...&#039; see &amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS#HPC_TUFLOW_Log_File_.28.2Ahpc.tlf.29 | HPC TUFLOW Log File]]&amp;lt;/u&amp;gt; below.&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure that the final cumulative mass error is less then 1%. To reduce the mass error and fix model instabilities, see &amp;lt;u&amp;gt;[[TUFLOW_SWMM_Troubleshooting#Model_runs_with_high_mass_error_or_instabilities | Improving Model Stability]]&amp;lt;/u&amp;gt; below.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:SWMM_Troubleshooting_Steps_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SWMM Report File (*rpt)===&lt;br /&gt;
The SWMM Report File (&#039;&#039;&#039;*.rpt&#039;&#039;&#039;) contains SWMM related error messages. If the error relates to SWMM, the .tlf will state:&amp;lt;br&amp;gt; &lt;br /&gt;
:&amp;lt;tt&amp;gt;NoXY: ERROR during Preparing and starting SWMM simulation&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;For SWMM Model Errors see: &amp;lt;&amp;lt;path to rpt file&amp;gt;&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To investigate the error(s):&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate to the &#039;&#039;&#039;TUFLOW\results&#039;&#039;&#039; folder and open the &#039;&#039;&#039;.rpt&#039;&#039;&#039; file in a text editor. Review the SWMM initialization error message.&lt;br /&gt;
&amp;lt;li&amp;gt;In this case, there is an invalid keyword in the &#039;OUTFALL&#039; section. This refers to the SWMM INP file. &lt;br /&gt;
&amp;lt;li&amp;gt;Navigate to the &#039;&#039;&#039;TUFLOW\model\swmm&#039;&#039;&#039; folder and open the INP file in a text editor. Find and correct the error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_SWMM_Troubleshooting_Steps_04a.mp4|width=1218}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HPC TUFLOW Log File (*.hpc.tlf) ===&lt;br /&gt;
The .hpc.tlf file contains error messages not recorded in the .tlf file:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate to the &#039;&#039;&#039;TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;.hpc.tlf&#039;&#039;&#039; file in a text editor. If the last lines shows:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:SWMM_Troubleshooting_Steps_02a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The model is set up to run on GPU and there is no GPU available, or&lt;br /&gt;
&amp;lt;li&amp;gt;The GPU needs a driver update, for more information see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/index.php?title=GPU_Setup Update GPU Driver]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Model runs with high mass error or instabilities ==&lt;br /&gt;
=== Identifying Trouble Spots ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;TUFLOW GIS messages file (&#039;&#039;&#039;_messages.gpkg&#039;&#039;&#039;):&lt;br /&gt;
*Navigate to the &#039;&#039;&#039;TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;_messages.gpkg&#039;&#039;&#039; file in QGIS. &lt;br /&gt;
*Look for instabilities and 2D timestep instability warnings in the file to identify areas of concern. They will often occur near SWMM/2D connections.&lt;br /&gt;
&amp;lt;li&amp;gt;SWMM Report file (&#039;&#039;&#039;.rpt&#039;&#039;&#039;):&lt;br /&gt;
*Navigate to the &#039;&#039;&#039;TUFLOW\results&#039;&#039;&#039; folder and open the &#039;&#039;&#039;.rpt&#039;&#039;&#039; file in a text editor. &lt;br /&gt;
*To determine overall model health, look at the &#039;&amp;lt;tt&amp;gt;Continuity Error (%)&amp;lt;/tt&amp;gt;&#039;. This value should be between -0.5% and 0.5%.  &lt;br /&gt;
*The &#039;&amp;lt;tt&amp;gt;Highest Flow Instability Indexes&amp;lt;/tt&amp;gt;&#039; and &#039;&amp;lt;tt&amp;gt;Most Frequent Nonconverging Nodes&amp;lt;/tt&amp;gt;&#039; may indicate areas of instability in the model. &lt;br /&gt;
&amp;lt;li&amp;gt;Update the Report Step:&lt;br /&gt;
*Open the GeoPackage file containing the SWMM options into QGIS. By default, this GeoPackage will be in the &#039;&#039;&#039;TUFLOW\model\swmm&#039;&#039;&#039; folder.&lt;br /&gt;
*Turn on editing for the &#039;&#039;&#039;Project--Options&#039;&#039;&#039; layer and update the &#039;REPORT_STEP&#039; attribute to a small time frame (i.e. 5 seconds). &lt;br /&gt;
*Ensure the &#039;ROUTING_STEP&#039; attribute is smaller then the new &#039;REPORT_STEP&#039; value. Save the edits and export the SWMM INP.&lt;br /&gt;
*Rerun the model with the updated Report Step. The time series reports may then include oscillations at unstable areas. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Improving Model Stability ===&lt;br /&gt;
Below are some common causes of instabilities and methods to improve them. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The timestep:&lt;br /&gt;
*The timestep can cause instabilities. By default, SWMM uses the 2D timestep. Use the TCF command &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Timestep Maximum&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt; to force a smaller 2D timestep and improve SWMM stability. This fix is often required when using SWMM hydrology as it puts water into the 1D domain before the 2D, which can lead to large 2D timesteps.&lt;br /&gt;
&amp;lt;li&amp;gt;Insufficient storage at 1D nodes:&lt;br /&gt;
*Model instabilities often arise from insufficient storage at 1D nodes, especially those associated with HX boundaries. HX cells do not have storage associated with them, so the storage for those cells should be represented in the SWMM domain. &lt;br /&gt;
*Storage nodes using the &#039;PYRAMIDAL&#039; type can be set up to match the 2D model. The size of the shape should correspond to the area of the 2D cells. For example, if two 10m cells are selected, the length (L) and width (W) should be set to 20m and 10m, respectively. Larger dimensions may improve stability, but increasing them too far beyond the cell size may artificially attenuate flood hydrographs.&lt;br /&gt;
&amp;lt;li&amp;gt;Not enough connections between the 2D cells and the SWMM 1D network:&lt;br /&gt;
*Instabilities may arise from having too few 2D cells connected to the SWMM 1D network. For example, a rectangular culvert 20m wide connected to a single 5m cell may create an instability. In this case, it is recommended that the culvert is connected to four (or more) cells.&lt;br /&gt;
&amp;lt;li&amp;gt;2D cells are raised due to a HX connection:&lt;br /&gt;
*Instabilities may occur if 2D cells are raised due to an HX connection. HX connections require 2D cell elevations be higher than the node elevation. If an embankment culvert is elevated above the 2D cell elevations (which is common), set the node elevation at or below the lowest 2D cell elevation. Use the &#039;InOffset&#039; elevation on adjacent conduits to set the culvert to the appropriate elevation, preventing the cell from being raised to the culvert invert.&lt;br /&gt;
&amp;lt;li&amp;gt;Incorrectly placed SWMM connections:&lt;br /&gt;
*Incorrectly placed SWMM connections may lead to instabilities. For example, if an embankment culvert connects adjacent ditches, but the connections select cells adjacent to rather than containing the ditches, the improper cell selection tends to throttle the flows in 2D even though the 1D has sufficient capacity. This creates a mismatch that leads to oscillations.&lt;br /&gt;
&amp;lt;li&amp;gt;If the model is still unstable after trying all the above options:&lt;br /&gt;
*If some SWMM to 2D HX connections (embankment culverts) are still unstable, consider converting the HX connections to SX connections with an inlet. This is generally required for embankment culverts where there is overtopping so only a fraction of the flow goes through the culverts (HX culvert connections work well if the culverts convey the majority of the flow). An inlet is required for SX connections. A drop curb inlet can provide a suitable open area for a culvert connection. An SX connection with an inlet may be more stable in these situations because the discharge is based on the WSE (water surface elevation) in the cell rather than the flow going through the cell.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
If the above tips do not assist in fixing the error, email [mailto:support@tuflow.com support@tuflow.com].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TUFLOW SWMM Tutorial Models:&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_SWMM_Tutorial_M01 | TUFLOW SWMM Module 1]]&amp;lt;/u&amp;gt;  - 1D SWMM Culverts&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_SWMM_Tutorial_M02 | TUFLOW SWMM Module 2]]&amp;lt;/u&amp;gt;  - 1D SWMM Pipe Network / 2D TUFLOW Direct Rainfall Hydrology&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_SWMM_Tutorial_M03 | TUFLOW SWMM Module 3]]&amp;lt;/u&amp;gt;  - 1D SWMM Pipe Network / 1D SWMM Urban Hydrology&lt;br /&gt;
*&amp;lt;u&amp;gt;[[TUFLOW_SWMM_Tutorial_M04 | TUFLOW SWMM Module 4]]&amp;lt;/u&amp;gt;  - 1D SWMM Pipe Network / 1D SWMM Urban Hydrology: Executing multiple different event simulations from a single model control file.&lt;br /&gt;
*&amp;lt;u&amp;gt;[[XPSWMM_to_TUFLOW-SWMM | XPSWMM to TUFLOW SWMM]]&amp;lt;/u&amp;gt;  - How to convert an XPSWMM model to TUFLOW SWMM.&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01&amp;diff=45712</id>
		<title>Tutorial M01</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01&amp;diff=45712"/>
		<updated>2026-03-30T02:40:50Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Running the Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
Read the &amp;lt;u&amp;gt;[[Tutorial_Introduction | Tutorial Model Introduction]]&amp;lt;/u&amp;gt; before starting this tutorial. It outlines programs requiring installation and provides the tutorial dataset download link.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this module, a fully two-dimensional (2D) model is built with a number of TUFLOW control files and Geographic Information System (GIS) layers.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The TUFLOW control files are:&amp;lt;br&amp;gt;&lt;br /&gt;
:* TUFLOW Simulation Control File (TCF)&lt;br /&gt;
:* TUFLOW Geometry Control File (TGC)&lt;br /&gt;
:* TUFLOW Boundary Control File (TBC)&lt;br /&gt;
:* TUFLOW Boundary Condition Database (bc_dbase)&lt;br /&gt;
:* TUFLOW Materials File (materials)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The GIS layers are:&amp;lt;br&amp;gt;&lt;br /&gt;
:*TGC layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt; 2d_loc: A layer defining the origin and orientation of the 2D grid. &lt;br /&gt;
&amp;lt;li&amp;gt; 2d_code: A layer containing polygons that define the cell codes (active or inactive status).&lt;br /&gt;
&amp;lt;li&amp;gt; *.tif: A DEM dataset defining the ground elevations within the 2D study area.&lt;br /&gt;
&amp;lt;li&amp;gt; 2d_mat: A layer defining the land-use (material) types within the 2D study area.&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*TBC layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt; 2d_bc: A layer defining the locations of external 2D boundaries.&lt;br /&gt;
&amp;lt;li&amp;gt; 2d_sa: A layer to define internal 2D flow boundaries.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
:*TCF layers:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;2d_po: A time series data output from 2D domains, for a range of hydraulic parameters.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
This tutorial is setup with shapefiles (SHP) and geopackage (GPKG) layers. For more information on these formats, see &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Initialisation = &lt;br /&gt;
TUFLOW models are separated into a series of folders which contain the input and output files. The recommended set up for the model directory and sub-folders is shown below. For a more detailed description, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Tute M01 Directory Structure v3.png|left]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Sub-Folder&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Input / Output&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=75%| Description&lt;br /&gt;
|-&lt;br /&gt;
| bc_dbase|| Input || Boundary condition database(s) and input time-series data.&lt;br /&gt;
|-&lt;br /&gt;
| check|| Output || GIS and other check files to carry out quality control checks (use Write Check Files).&lt;br /&gt;
|-&lt;br /&gt;
| model|| Input ||Geometry (TGC), Boundary (TBC) and other model control text files (i.e. no GIS files).&lt;br /&gt;
|-&lt;br /&gt;
| model\gis|| Input || GIS layers that are inputs to the 2D and 1D model domains are contained within this folder, model\gis is typically used for all QGIS and ArcGIS files.&lt;br /&gt;
|-&lt;br /&gt;
| model\mi|| Input || GIS layers that are inputs to the 2D and 1D model domains are contained within this folder, model\mi is typically used for MapInfo formatted GIS files.&lt;br /&gt;
|-&lt;br /&gt;
| results|| Output|| TUFLOW outputs the results to this folder in specified formats.&lt;br /&gt;
|-&lt;br /&gt;
| runs|| Input|| TUFLOW Control Files (TCF).&lt;br /&gt;
|-&lt;br /&gt;
| runs\log|| Output || TUFLOW log files (TLF) and messages layers.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
The TUFLOW folders can be set up manually, automatically running TUFLOW model with &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Write Empty GIS Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command or automatically through GIS programs:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Configure_TUFLOW_Project_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Configure_TUFLOW_Project_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*SMS - the folder structure listed above is automatically created before running the model using the &#039;Export TUFLOW files&#039; command (see &amp;lt;u&amp;gt; [[Run TUFLOW from within SMS | Run TUFLOW from within SMS]])&amp;lt;/u&amp;gt;.&lt;br /&gt;
:*ArcMap (10.1 and newer) - the ArcTUFLOW Toolbox can be used to automatically create the model folders, model projection, TUFLOW control files and run TUFLOW to create the template files.&lt;br /&gt;
&lt;br /&gt;
The following points on TUFLOW folders and filenames are worth noting: &lt;br /&gt;
:*TUFLOW accepts any folder structure, though the above listed format is most commonly used and is recommended. &amp;lt;br&amp;gt;&lt;br /&gt;
:*TUFLOW accepts spaces and special characters (such as ! or #) in filenames and paths, but other software may not. It is recommended that spaces and other special characters are not used in the simulation path and filenames. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Folder paths, filenames, file extensions and TUFLOW commands are not case sensitive in any TUFLOW control files. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Any directories that don&#039;t apply can be omitted, for example, if using QGIS or ArcMap the model\mi directory is not required. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Model Familiarisation=&lt;br /&gt;
Become familiar with the model location, using an aerial image and DEM:&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Site_Familiarisation_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Geometry Control File (TGC) =&lt;br /&gt;
The TGC file is a series of commands that build the geometry model. At its minimum, the TGC contains:&lt;br /&gt;
:*Information on the size and orientation of the grid;&lt;br /&gt;
:*Grid cell codes (whether cells are active or inactive);&lt;br /&gt;
:*Bed / ground elevations; and&lt;br /&gt;
:*Bed material type or flow resistance value.&lt;br /&gt;
&lt;br /&gt;
Commands in the TGC file are applied in sequential order; the order (layering) of these commands is critical. The last occurrence of a command prevails, it is possible to override previous information with new data to modify the model in selected areas. This is useful but is also something to be aware of as to not override commands by mistake. &lt;br /&gt;
&lt;br /&gt;
=== 2D Domain ===&lt;br /&gt;
Grid formats currently supported by TUFLOW include the ESRI ASCII grid format (.asc), binary grids (.flt) and geodetic grids (.tif). The Digital Elevation Model (DEM) is provided in .tif format. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Defining the location and orientation of the TUFLOW 2D domain can be undertaken using four different methods: &amp;lt;br&amp;gt;&lt;br /&gt;
:*Specifying origin coordinates and a second set of coordinates for a point along the X-axis of the domain; &amp;lt;br&amp;gt;&lt;br /&gt;
:*Specifying the origin coordinate and domain orientation angle; &amp;lt;br&amp;gt;&lt;br /&gt;
:*Digitising a line (2d_loc) to represent the bottom edge of the 2D domain (with the line starting at the origin and finishing at a secondary location along the X-axis); or &amp;lt;br&amp;gt;&lt;br /&gt;
:*Digitising location polygon. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first method is covered in this tutorial as it is required to use a licence-free version of TUFLOW. The third method is the most commonly used. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file called &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; and save it in &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. Notice the use of ‘001’ for numbering. This is part of a naming convention, allowing for the iteration of both GIS and TUFLOW control files. This way allows files to be recognised from a specific run and also reverted back to a working iteration in model development. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the created &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; in a text editor and specify the location and dimensions of the TUFLOW domain (rectangular computational area) and the cell size: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Origin &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;292725, 6177615&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Bottom left corner (origin) of the 2D grid&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Orientation &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;293580, 6177415&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Point along the X-axis determining the orientation of the 2D grid &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Cell Size &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;5&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! 2D cell size in metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Grid Size (X,Y) &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;850, 1000&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! 2D grid extent dimensions in metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Active and Inactive Areas of the 2D Domain ===&lt;br /&gt;
By default, every grid cell in a TUFLOW model is set as active and TUFLOW allows water to flow anywhere within the extents of the 2D domain. It is rare for a catchment to be a perfect rectangle. To reduce output file sizes and run times, permanently dry areas can be removed from the model. This can be an iterative process (i.e. run the model initially and refine). For the purpose of the tutorial a polygon is provided to define the active area. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set all 2D cells within the model domain rectangle to inactive by adding the following command to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets all cells to inactive&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Define active areas: &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Define_Active_Area_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Define_Active_Area_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set all cells within the code polygon to active. The command needs to be written after the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0 &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command to overwrite the inactive cells within the polygon: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_code_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets cell codes according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_code_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets cell codes according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: As mentioned, the order of commands in the TGC is critical. The final cell value (such as for code, elevation or material) is specified by the file lowest in the TGC. Consider the above two commands to set active and inactive cells, if the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; was written before the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Code &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command, all the cells within the code polygon would be first set to active and then overwritten to be all inactive, no hydraulic simulation could occur.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Topography ===&lt;br /&gt;
The points that assign elevations at each 2D cell centre, mid-side and corner are called Zpts. For a description on the computational function of each of the Zpts in a TUFLOW cell, see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/Zpt_Description Zpt Description]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A DEM is used to assign elevations to the Zpts: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy the DEM (&#039;&#039;&#039;DEM.tif&#039;&#039;&#039;) from the &#039;&#039;&#039;DEM&#039;&#039;&#039; folder into a new &#039;&#039;&#039;Module_01\TUFLOW\model\grid&#039;&#039;&#039; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set a global elevation for the Zpts by adding the following line to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 100&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets every 2D elevation zpt to 100 metres&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assign elevations to the Zpts from the DEM. The command needs to be written after the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;100 &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command to overwrite global Zpts where the DEM data are available: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GRID Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; grid\DEM.tif&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Assigns the elevation of zpts from the grid&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: The above data layering technique is common. After the first simulation, it is a good modelling practice to review the check files to confirm the topography in the model is as expected. Searching for a value of &#039;100&#039; is an easy way to identify if there are any gaps in the DEM dataset that were not expected (these should be fixed). &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
Surface roughness or bed resistance values (e.g. Manning’s n) are assigned to material IDs. In order for TUFLOW to associate the Manning’s n to the Material ID, a TUFLOW materials file is required.  This can be either a text file format .tmf, or a .csv file. This tutorial model utilises the csv format.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy the &#039;&#039;&#039;materials.csv&#039;&#039;&#039; file from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder into the &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. As a minimum this file must contain two columns; the first being the Material ID (as specified in the GIS layer), and the second being the Manning’s n.  Additional data such as loss parameters and depth varying Manning&#039;s n values (applicable for direct rainfall modelling) are covered in later modules. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Materials 02.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set a global material ID for all cells by adding the following line to the TGC file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets all cells to a material ID of 1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Define spatial material definition:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Materials_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Materials_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assign materials from the GIS layer to overwrite the global material at all cells that fall within the material polygons: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_mat_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Mat &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_mat_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets material values according to attributes in the GIS layer&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TGC file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Note: As discussed in the previous sections, the order (layering) of these commands is important.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Boundary Control File (TBC) =&lt;br /&gt;
In this step the TBC and Boundary Condition Database (bc_dbase) are introduced. The TBC file contains information regarding the location of boundary conditions and internal links within the model. These include, but are not limited to: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Upstream and downstream flow boundaries &amp;lt;br&amp;gt;&lt;br /&gt;
:*Downstream water level boundaries &amp;lt;br&amp;gt;&lt;br /&gt;
:*Water sources &amp;lt;br&amp;gt;&lt;br /&gt;
:*Direct rainfall&lt;br /&gt;
:*Infiltration &amp;lt;br&amp;gt;&lt;br /&gt;
:*1D/2D links &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spatial Definition of Boundary Conditions ===&lt;br /&gt;
The following upstream and downstream boundaries are used in this tutorial: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*A flow vs time (QT) boundary and a source-area (SA) boundary is used for the inflows. &amp;lt;br&amp;gt;&lt;br /&gt;
:*A stage vs discharge (HQ) boundary is used for the outflow. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up boundary condition layers: &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Boundary_Conditions_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Boundary_Conditions_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Boundary Control File (TBC) ===&lt;br /&gt;
The boundary condition layers are read into TUFLOW in a new text file, the TBC. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file and save as &#039;&#039;&#039;M01_001.tbc&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\model&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file in a text editor and add the boundary conditions: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_bc_M01_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS SA &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_sa_M01_001_R.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D source area boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_bc_M01_001_L&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS SA &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;2d_sa_M01_001_R&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in 2D source area boundaries&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TBC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Boundary Condition Database (bc_dbase) =&lt;br /&gt;
The bc_dbase is a comma delimited file with .csv extension. It can be opened in any spreadsheet software or a text editor.&amp;lt;br&amp;gt;&lt;br /&gt;
A hydrograph is associated with all of the upstream boundaries:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the template bc database &#039;&#039;&#039;TUFLOW Tutorial Model BC Database.xlsx&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;There are two sheets in the file, &#039;bc_dbase&#039; and &#039;01p2hr&#039;. Complete the bc_dbase worksheet: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the name of the first upstream boundary condition under the &#039;Name&#039; heading. The name must appear exactly as it does in the boundary condition layer, (i.e. FC01). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the text &#039;01p2hr.csv&#039; under the &#039;Source&#039; heading. It is a source file for TUFLOW to extract the timeseries data. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the text &#039;time&#039; and &#039;inflow_FC01&#039; under the &#039;Column 1&#039; and &#039;Column 2&#039; heading. These correspond to the data headers in the source timeseries file. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Repeat the above process for all of the boundary conditions (i.e. FC02, FC04, FC05, FC06 and FC07). Note, FC02 is used in a later tutorial and Columns E to I are to remain black. The final bc_dbase should show as below: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 bc dbase 003.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Switch to the &#039;01p2hr&#039; sheet, and review the provided hydrographs. Note: the &#039;Inflow_FC02&#039; hydrograph is not used in this tutorial. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 100y2hr 002.png]] &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save both of the sheets in a csv format that TUFLOW can read. In the &#039;&#039;&#039;Module_01\TUFLOW\bc_dbase&#039;&#039;&#039; directory, there should be two new files, &#039;&#039;&#039;bc_dbase.csv&#039;&#039;&#039; and &#039;&#039;&#039;01p2hr.csv&#039;&#039;&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2D Time Series Plot Output =&lt;br /&gt;
The 2D plot output (2d_po) objects allow for a wide range of hydraulic parameters to be output from the 2D domain as time series data at predefined locations. &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Time_Series_Plot_Output_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Time_Series_Plot_Output_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Control File (TCF) =&lt;br /&gt;
The TCF file references all the control files, specifies time and output controls. This is the last step before running the simulation.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file and save as &#039;&#039;&#039;M01_5m_001.tcf&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\runs&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file in a text editor and add the following commands: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INITIALISATION&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Tutorial Model &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Required command to run this tutorial model licence free &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GIS Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; SHP&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify SHP as the output format for all GIS files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SHP Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\projection.prj &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the TUFLOW Model&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\grid\DEM.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the output grid files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! Write Empty GIS Files == ..\model\gis\empty  ! Creates template GIS layers, commented out as files were already created&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INITIALISATION&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\M01_001.gpkg   &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ! Specify the location of the GeoPackage Spatial Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Tutorial Model &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Required command to run this tutorial model licence free &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GIS Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; GPKG&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specify GPKG as the output format for all GIS files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;GPKG Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\projection.gpkg &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the TUFLOW Model&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Projection &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\grid\DEM.tif &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets the GIS projection for the output grid files&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! Write Empty GIS Files == ..\model\gis\empty  ! Creates template GIS layers, commented out as files were already created&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Define the solution scheme and specify Sub-Grid Sampling (SGS) commands: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! SOLUTION SCHEME&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Solution Scheme &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; HPC&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Heavily Parallelised Compute, uses adaptive timestepping&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Hardware &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; GPU&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Comment out if GPU card is not available or replace with &amp;quot;Hardware == CPU&amp;quot; &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SGS &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ON&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Switches on Sub-Grid Sampling&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;SGS Sample Target Distance&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0.5&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Sets SGS Sample Target Distance to 0.5m&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
For information on SGS, see Section 3.2 of the latest &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOW/Releases/2020-10/TUFLOW%20Release%20Notes.2020-10-AD.pdf Release Notes])&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Update the model inputs section. These commands reference the TGC, TBC, bc_dbase and materials file created in the above steps:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! MODEL INPUTS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Geometry Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\M01_001.tgc&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;BC Control File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\M01_001.tbc&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the TUFLOW Boundary Conditions Control File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;BC Database &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\bc_dbase\bc_dbase.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the Boundary Conditions Database&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read Materials File &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;..\model\materials.csv&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reference the Materials Definition File&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following time control commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME CONTROL&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Timestep &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 1&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies the first 2D computational timestep of 1 second&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Start Time &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies a simulation start time of 0 hours&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;End Time &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 3&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies a simulation end time of 3 hours&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following output folder commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! OUTPUT FOLDERS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Log Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; log&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the log output files (e.g. .tlf and _messages files)&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Output Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\results\&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the 2D output files and prefixes them with the .tcf filename&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Write Check Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\check\&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Location of the 2D check files and prefixes them with the .tcf filename&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following output settings commands: &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! OUTPUT SETTINGS&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Format &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; XMDF TIF&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Result file types&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Data Types &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; h V d dt&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs water levels, velocities, depths, minimum timestep&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Map Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 300&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs map data every 300 seconds (5 minutes)&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;TIF Map Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs only maximums for grids&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Reference the 2d_po layers. When reading in time-series layers, such as 2d_po files, its necessary to use a &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command. This command specifies the output interval in seconds for the time-series based output: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - SHP&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME SERIES PLOT OUTPUT&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\2d_po_M01_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output line&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; ..\model\gis\2d_po_M01_001_P.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output point&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 60&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs time series data every 60 seconds&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;QGIS - GPKG&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;! TIME SERIES PLOT OUTPUT&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 2d_po_M01_001_L&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output line&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS PO &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 2d_po_M01_001_P&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Reads in plot output point&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Time Series Output Interval &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; 60&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Outputs time series data every 60 seconds&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TCF file. The TUFLOW simulation is ready to be run for the first time.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
The comments (following the exclamation marks) are not required and these commands are generally self explanatory. For this tutorial model they are included to clarify the purpose of each line. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running the Simulation =&lt;br /&gt;
Set up a simple batch file (.bat) to run TUFLOW. This approach calls the TUFLOW executable file (.exe) and runs the TCF file.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file in the &#039;&#039;&#039;Module_01\TUFLOW\runs&#039;&#039;&#039; folder and save as &#039;&#039;&#039;_run_M01_HPC.bat&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;_run_M01_HPC.bat&#039;&#039;&#039; in a text editor and include a file path to the executable from the &#039;&#039;&#039;exe\2025.1.0&#039;&#039;&#039; folder and the TCF name: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;&amp;quot;..\..\..\exe\2026.0.0\TUFLOW_iSP_w64.exe&amp;quot; M01_5m_001.tcf&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Note: A relative path is used for the executable and the TCF, a full file path can also be used.&lt;br /&gt;
&amp;lt;li&amp;gt;Save the batch file and double click it in file explorer to run the simulation. &lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
This opens the TUFLOW console window and the simulation begins running. The simulation usually takes a few minutes to process (depending on the computer hardware). While the model is running, it is a good practise to fill out a modelling log. It includes developer notes keeping a record of TUFLOW simulations and changes from one version to the next, for more information see &amp;lt;u&amp;gt;[https://wiki.tuflow.com/TUFLOW_Modelling_Log here]&amp;lt;/u&amp;gt;. A template is included in the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
If the simulation is successful, the console window should look like the image below.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Simulation_Finished_a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting = &lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Check Files =&lt;br /&gt;
TUFLOW writes a series of check files during the model initialisation process when the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Write Check Files &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command is specified in the TCF. The files are either in a tabular form (.csv), GIS Vector format (.gpkg, .shp, .mif) or GIS Raster format (.tif, .flt, .asc) and contain information on the input data processed by TUFLOW.&amp;lt;br&amp;gt;&lt;br /&gt;
While the model is running, review the added features are specified correctly: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Check_Files_QGIS | QGIS - SHP]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Check_Files_QGIS_GPKG | QGIS - GPKG]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Results=&lt;br /&gt;
Two map output formats specified for this tutorial:&lt;br /&gt;
:*TIF - Grid based output format writing map output data types separately&lt;br /&gt;
:*XMDF - Mesh based output format containing all map output data types in a single file&lt;br /&gt;
When the model is finished, review the results: &amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_M01_Results_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Reviewing Model Performance =&lt;br /&gt;
There are a number of useful outputs from TUFLOW for reviewing the model performance.&amp;lt;br&amp;gt;&lt;br /&gt;
=== TUFLOW Log File ===&lt;br /&gt;
The first place to look is in the TUFLOW Log File (TLF). The &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Log Folder &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt; log&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command in the TCF controls where the log file is written. &amp;lt;br&amp;gt;&lt;br /&gt;
Navigate to the &#039;&#039;&#039;Module_01\TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;M01_5m_001.tlf&#039;&#039;&#039; file in a text editor. Scroll down to the bottom to &#039;Simulation Summary&#039;. This includes information about the computation time, messages, volume calculations and mass error. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Simulation_Summary_02a.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HPC TUFLOW Log File ===&lt;br /&gt;
As the model is using the HPC solution scheme, there is a second log file automatically written from the same command. Navigate to the &#039;&#039;&#039;Module_01\TUFLOW\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;M01_5m_001.hpc.tlf&#039;&#039;&#039; file. The HPC solution scheme, by default, uses adaptive timestepping to progress through the simulation. The timestep is adjusted so it complies with the mathematical stability criteria of a 2D SWE explicit solution. This is controlled by three control numbers, further information is provided &amp;lt;u&amp;gt;[https://wiki.tuflow.com/HPC_Adaptive_Timestepping here]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
Scroll down the &#039;&#039;&#039;hpc.tlf&#039;&#039;&#039; to &#039;iStep&#039;. This is the point at which the model successfully compiled and began running. The three HPC control numbers are listed in the columns after time. Then the number of wet cells, the volume of water, the dt (minimum timestep) and the efficiency of the solver. As the model starts to gain wet cells dt drops, but should eventually stabilise. Similarly, model efficiency should increase as the model progresses.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:Simulation HPC.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Model Performance Indicators ===&lt;br /&gt;
For more information on how to review HPC models, see &amp;lt;u&amp;gt;[[HPC_Model_Review | HPC Model Review]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion = &lt;br /&gt;
:*Simple 2D TUFLOW model was created with required GIS and text based inputs.&lt;br /&gt;
:*Check files were used to review the model setup.&lt;br /&gt;
:*Results were visualised and the performance of the model reviewed. &amp;lt;br&amp;gt; &lt;br /&gt;
:*For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
:*Alternatively, see the &amp;lt;u&amp;gt;[[TUFLOW_Example_Models#Example_Model_Catalogue | TUFLOW Example Models]]&amp;lt;/u&amp;gt; to explore the full list of TUFLOW features.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Increasing Model Resolution (Optional) =&lt;br /&gt;
This section includes an optional exercise to reduce the cell size from 5m to 2.5m. Consider the impact this has on the model results and the runtime.&amp;lt;br&amp;gt;&lt;br /&gt;
To reduce the cell size in the model: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TUFLOW control file &#039;&#039;&#039;M01_5m_001.tcf&#039;&#039;&#039; as &#039;&#039;&#039;M01_2.5m_001.tcf&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Save the geometry control file &#039;&#039;&#039;M01_001.tgc&#039;&#039;&#039; as &#039;&#039;&#039;M01_2.5m_001.tgc&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Modify the cell size in the geometry control file to &#039;2.5&#039; meters.&lt;br /&gt;
&amp;lt;li&amp;gt;In the TCF, update the reference to the new TGC.&lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file with the updated TCF file and run the simulation. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Message_2595&amp;diff=45711</id>
		<title>TUFLOW Message 2595</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Message_2595&amp;diff=45711"/>
		<updated>2026-03-30T02:37:34Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: Created page with &amp;quot;{{TUFLOW_Message |tuflow_message=CHECK 2595 - FLC automatically generated for 2D BG shape. Please check _BG_UVPT check file. |alt_msg=NA |type=CHECK |message_desc= |suggestions=   |uplink=2xxx Messages  }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TUFLOW_Message&lt;br /&gt;
|tuflow_message=CHECK 2595 - FLC automatically generated for 2D BG shape. Please check _BG_UVPT check file.&lt;br /&gt;
|alt_msg=NA&lt;br /&gt;
|type=[[CHECK]]&lt;br /&gt;
|message_desc=&lt;br /&gt;
|suggestions=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Message_2596&amp;diff=45710</id>
		<title>TUFLOW Message 2596</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Message_2596&amp;diff=45710"/>
		<updated>2026-03-30T02:37:04Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: Created page with &amp;quot;{{TUFLOW_Message |tuflow_message=CHECK 2596 - Bridge Soffit is below ground level.  Ground Level = &amp;lt;n1&amp;gt;; Bridge Soffit Level = &amp;lt;n2&amp;gt;; Average depth based on wetted width at Bridge Soffit Level = &amp;lt;n3&amp;gt; |alt_msg=NA |type=CHECK |message_desc= |suggestions=   |uplink=2xxx Messages  }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TUFLOW_Message&lt;br /&gt;
|tuflow_message=CHECK 2596 - Bridge Soffit is below ground level.  Ground Level = &amp;lt;n1&amp;gt;; Bridge Soffit Level = &amp;lt;n2&amp;gt;; Average depth based on wetted width at Bridge Soffit Level = &amp;lt;n3&amp;gt;&lt;br /&gt;
|alt_msg=NA&lt;br /&gt;
|type=[[CHECK]]&lt;br /&gt;
|message_desc=&lt;br /&gt;
|suggestions=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M04&amp;diff=45709</id>
		<title>TUFLOW CATCH Tutorial M04</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M04&amp;diff=45709"/>
		<updated>2026-03-30T02:09:27Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Running the Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
In this module, a TUFLOW CATCH integrated model with interventions is developed. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TUFLOW CATCH Tutorial 04 is built from the models created in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02 | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt;. The completed TUFLOW CATCH Tutorial 03 is provided in the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling&#039;&#039;&#039; folder of the download dataset as the starting point for this tutorial. &lt;br /&gt;
If unfamiliar with TUFLOW CATCH, it is recommended to complete &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02 | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt; prior to starting this tutorial.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; An NVIDIA GPU card is required to run this tutorial model. If this is not available, a shortened simulation can be run on CPU by updating the following commands in the Global Settings section of the TUFLOW CATCH Control file (.tcc):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Hardware &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; CPU&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Time &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 01/01/2021 12:00:00&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Meteorological Data =&lt;br /&gt;
Meteorological inputs are defined in boundary condition blocks within the receiving model block of the TUFLOW CATCH Control file (.tcc). &amp;lt;!-- reference TUFLOW FV manual when it&#039;s done --&amp;gt; For this tutorial, timeseries meteorological data has been supplied.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Tutorial_Data&#039;&#039;&#039; folder. Copy the &#039;&#039;&#039;TC04_met_ts_001.csv&#039;&#039;&#039; and paste it in the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling\TUFLOWFV\bc_dbase\met&#039;&#039;&#039; folder. This file contains the timeseries meteorological data.&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file. As this file is read by TUFLOW FV, the first column (Time) must contain the date is ISODATE format (DD/MM/YYYY hh:mm:ss). The other columns contain the data for the meteorological conditions that will be simulated in this model: &amp;lt;br&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| &lt;br /&gt;
* &#039;&#039;&#039;AIR_TEMP&#039;&#039;&#039;: Air temperature (degrees Celsius)&lt;br /&gt;
| &lt;br /&gt;
:::* &#039;&#039;&#039;REL_HUM&#039;&#039;&#039;: Relative humidity (%)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
*&#039;&#039;&#039;LW_RAD&#039;&#039;&#039;: Downward longwave radiation (W m&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;)&lt;br /&gt;
| &lt;br /&gt;
:::*&#039;&#039;&#039;W10_X&#039;&#039;&#039;: Zonal wind velocity at 10m (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
*&#039;&#039;&#039;SW_RAD&#039;&#039;&#039;: Downward shortwave radiation (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
| &lt;br /&gt;
:::*&#039;&#039;&#039;W10_Y&#039;&#039;&#039;: Meridional wind velocity at 10m (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File: TC4_met_ts_data_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Simulation Control Files =&lt;br /&gt;
The following steps will require use of a text editor. The tutorial demonstration uses Notepad++. For its configuration information refer to &amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++ Tips]]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Generate Template Files ====&lt;br /&gt;
This tutorial requires a Water Quality Control file (.fvwq) and a Sediment Transport Control file (.fvsed). Use the TUFLOW CATCH plugin to generate template files:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In QGIS, go to Processing &amp;gt; Toolbox from the top drop down menu options to open the Processing Toolbox.&lt;br /&gt;
&amp;lt;li&amp;gt;Go to TUFLOW Catch in the processing tool list and select &#039;Create TUFLOW Catch Project&#039;. This opens the dialog shown below:&lt;br /&gt;
*Project Name: &#039;&#039;&#039;TC04&#039;&#039;&#039;&lt;br /&gt;
*Project Folder: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling&#039;&#039;&#039; folder.&lt;br /&gt;
*Project CRS: Click the drop down menu and select &#039;Project CRS: EPSG:32760 - WGS 84 / UTM zone 60S’.&lt;br /&gt;
* TUFLOW HPC Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOW\2026.0.0 folder&#039;&#039;&#039;. Select &#039;&#039;&#039;TUFLOW_iSP_w64.exe&#039;&#039;&#039;.&lt;br /&gt;
* TUFLOW FV Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOWFV\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOWFV.exe&#039;&#039;&#039;.&lt;br /&gt;
* Default GIS Format: Click the drop down menu and select &#039;SHP&#039;.&lt;br /&gt;
* Tick on &#039;Setup Control File Templates&#039;.&lt;br /&gt;
* Control File Templates: Expand the &#039;Advanced Parameters&#039; section. Click &#039;...&#039;, and tick on: Water Quality Control file (.fvwq) and Sediment Control file (.fvsed). Ensure all other files are ticked off. &lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Run&#039;. Once the tool has finished click &#039;Close&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC4_Create_CATCH_Project_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Water Quality Control File (FVWQ) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Navigate to the &#039;&#039;&#039;TUFLOWFV\wqm&#039;&#039;&#039; folder and open &#039;&#039;&#039;TC04_001.fvwq&#039;&#039;&#039; in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Simulation Controls&#039; sections, update the following commands:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Simulation Class&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;DO  &amp;lt;font color=green&amp;gt;  ! Specify the simulation class to Dissolved Oxygen&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;WQ dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Interval for updating the water quality module &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;WQ Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;mgL  &amp;lt;font color=green&amp;gt;  ! Specify the units to be mgL &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Constituent Model Settings&#039;, add the following commands to specify the constituent (oxygen and pathogens) parameters. For more information on the model settings for each constituent, refer to the TUFLOW FV Water Quality Manual: &amp;lt;u&amp;gt;[https://docs.tuflow.com/fv/wqm/manual/2025.1/SimulationConstruction-1.html#ConModClssOxy-4 Section 4.6.3.1 (Oxygen)]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[https://docs.tuflow.com/fv/wqm/manual/2025.1/SimulationConstruction-1.html#ConModClssPth-4 Section 4.6.3.2 (Pathogens)]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;O2  &amp;lt;font color=green&amp;gt;  ! Set the oxygen model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Min Max&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0, 12.0  &amp;lt;font color=green&amp;gt;  ! Specify the allowable minimum and maximum oxygen concentrations&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Benthic&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;4.7, 1.08  &amp;lt;font color=green&amp;gt;  ! Specify the global benthic parameters &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Oxygen Model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Pathogen Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Free, Ecoli  &amp;lt;font color=green&amp;gt;  ! Set the pathogen model and name&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Alive Min Max&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0, 1e7  &amp;lt;font color=green&amp;gt;  ! Specify the allowable minimum and maximum concentrations&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Mortality&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.08, 2e-12, 6.1, 1.0, 1.11  &amp;lt;font color=green&amp;gt;  ! Specify the mortality parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Visible Inactivation&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.082, 0.0067, 0.5  &amp;lt;font color=green&amp;gt;  ! Specify the visible light inactivation parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;UVA Inactivation&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.5, 0.0067, 0.5  &amp;lt;font color=green&amp;gt;  ! Specify the UV-A light inactivation parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;UVB Inactivation&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1.0, 0.0067, 0.5  &amp;lt;font color=green&amp;gt;  ! Specify the UV-B light inactivation parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Settling&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-0.03  &amp;lt;font color=green&amp;gt;  ! Specify the settling of non-attached pathogens&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Pathogen Model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Material Specifications&#039; section, add the following material blocks to specify oxygen flux for each material ID.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Default  &amp;lt;font color=green&amp;gt;  ! Defines default properties for all materials&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1400.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 1 (overwrites default)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1100.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;2  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 2 (overwrites default)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1200.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;3  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 3 (overwrites default)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1300.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Save the FVWQ.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sediment Transport Control File (FVSED) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Navigate to the &#039;&#039;&#039;TUFLOWFV\stm&#039;&#039;&#039; folder and open &#039;&#039;&#039;TC04_001.fvsed&#039;&#039;&#039; in a text editor.&lt;br /&gt;
&amp;lt;li&amp;gt; Update the following command to match the output interval for the rest of the model (300secs or 5mins):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Interval for updating the sediment transport module&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Settings&#039; section, update the following commands. For more information on these commands, please refer to the &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOWFV/Releases/Latest/TUFLOW_FV_ST_and_PT_Modules_User_Manual.pdf TUFLOW FV Sediment Transport Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Erosion Depth Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.1, 0.5  &amp;lt;font color=green&amp;gt;  ! Depth limits within which the erosion rate is scaled down (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Deposition Depth Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.1, 0.5  &amp;lt;font color=green&amp;gt;  ! Depth limits within which the deposition rate is scaled down (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Bed Roughness Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;ks  &amp;lt;font color=green&amp;gt;  ! Set bed roughness model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Bed Roughness Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.02, 0.02  &amp;lt;font color=green&amp;gt;  ! Specify the bed roughness for current and waves&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Fractions&#039; section, add in the following Fraction block to set the parameters for clay. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Fraction&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Clay  &amp;lt;font color=green&amp;gt;  ! Set sediment fraction&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;d50&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0002  &amp;lt;font color=green&amp;gt;  ! Specify the median grain size of the sediment fraction (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Particle Density&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;2650.0  &amp;lt;font color=green&amp;gt;  ! Specify the density of the particle group (kg/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Settling Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Constant  &amp;lt;font color=green&amp;gt;  ! Set the settling model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Settling Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1e-05  &amp;lt;font color=green&amp;gt;  ! Specify constant settling velocity (m/s)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Critical Stress Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Constant  &amp;lt;font color=green&amp;gt;  ! Set the critical stress model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Critical Stress Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.15  &amp;lt;font color=green&amp;gt;  ! Specify constant critical stress (N/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Erosion Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Mehta  &amp;lt;font color=green&amp;gt;  ! Set the erosion model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Erosion Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.01, 0.5, 1.0  &amp;lt;font color=green&amp;gt;  ! Specify constant erosion rate (g/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;s), critical shear stress (N/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) and power coefficient&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Deposition Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;ws0  &amp;lt;font color=green&amp;gt;  ! Set the deposition model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Fraction&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Materials&#039; section, add the following material blocks to set the sediment transport for each material ID.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1, 2  &amp;lt;font color=green&amp;gt;  ! Defines properties for material IDs 1 and 2&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Nlayer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Number of sediment bed layers&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Layer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Bed layer number &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Dry Density&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;800  &amp;lt;font color=green&amp;gt;  ! Dry density of bed layer (kg/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Mass&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1500  &amp;lt;font color=green&amp;gt;  ! Initial mass of each sediment fraction (kg/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Layer&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;3  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 3&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Nlayer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Number of sediment bed layers&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Layer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Bed layer number &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Dry Density&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;800  &amp;lt;font color=green&amp;gt;  ! Dry density of bed layer (kg/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Mass&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;3200  &amp;lt;font color=green&amp;gt;  ! Initial mass of each sediment fraction (kg/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Layer&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the FVSED.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Control File (TCC) ==&lt;br /&gt;
=== Global Settings ===&lt;br /&gt;
For this tutorial, leave all commands as is. This section of the .tcc was populated in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Catchment Hydraulic Model ===&lt;br /&gt;
This block contains commands that construct the TUFLOW HPC simulation.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save a copy of &#039;&#039;&#039;TC03_001.tcc&#039;&#039;&#039; as &#039;&#039;&#039;TC04_001.tcc&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling\TUFLOWCATCH\runs&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt; Open &#039;&#039;&#039;TC04_001.tcc&#039;&#039;&#039; in a text editor, and comment out the following command:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Pollutant == Salinity, Temperature, WQ_DISS_OXYGEN_MG_L, WQ_PATH_ECOLI_ALIVE_CFU_100ML, WQ_PATH_ECOLI_DEAD_CFU_100ML, SED_CLAY ! Specify the pollutant names&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pollutant Export Model ===&lt;br /&gt;
This block contains commands that control the pollutant export (and other constituent) simulation. As this tutorial model is an integrated simulation with interventions, we must turn the pollutant export model back on:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set the pollutant export model:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Catchment Pollutant Export Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Mass Accumulation Release &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Uncomment all the commands. The pollutant export model block should look the same as in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02#Pollutant_Export_Model | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Receiving Model ===&lt;br /&gt;
This block contains commands that construct the TUFLOW FV simulation. For this tutorial, the receiving model block must be updated to include water quality and sediment transport. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;General Parameters&#039; section, update the following commands to turn on salinity, temperature, sediment and heat. For more information on these commands, refer to &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOWFV/Releases/Latest/TUFLOW_FV_User_Manual.pdf Appendix B of the TUFLOW FV Manual]&amp;lt;/u&amp;gt; &amp;lt;!-- Update link here when TUFLOW FV Manual update is done --&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Salinity&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1,0  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Temperature&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1,0  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Sediment&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1,0  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Heat&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Water Quality&#039; section, update the following commands to set the general WQ parameters and to reference the Water Quality Control file. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Water Quality Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;TUFLOW  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Water Quality Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\wqm\TC04_001.fvwq  &amp;lt;font color=green&amp;gt;  ! Reference the Water Quality Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Water Quality Model Directory&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\wqm\  &amp;lt;font color=green&amp;gt;  ! Location of the Water Quality Directory&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Cell Water Quality Depth&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.05  &amp;lt;font color=green&amp;gt;  ! Minimum depth to execute water quality calculations (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Sediment Transport&#039; section, update the following command to reference the Sediment Control file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Sediment Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\stm\TC04_001.fvsed  &amp;lt;font color=green&amp;gt;  ! Reference the Sediment Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Initial Conditions&#039; section, update the following commands to set the initial temperature, salinity, sediment concentration and water quality concentrations. The initial water level was set in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03#Receiving_Model | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Temperature&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;17.0  &amp;lt;font color=green&amp;gt;  ! Specify initial temperature (degrees Celsius)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Salinity&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0  &amp;lt;font color=green&amp;gt;  ! Specify initial salinity (psu)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Sediment Concentration&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;20  &amp;lt;font color=green&amp;gt;  ! Specify initial suspended sediment concentration for clay (mg/L)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial WQ Concentration&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;8.0, 1e6, 1e6  &amp;lt;font color=green&amp;gt;  ! Specify initial water quality concentration for dissolved oxygen, alive and dead E. coli&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Meteorology&#039; section, add the following boundary condition blocks to specify meteorological conditions. The variable &#039;&amp;lt;tt&amp;gt;met_ts&amp;lt;/tt&amp;gt;&#039; is used to define the location of the meteorological data. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Set Variable met_ts&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\bc_dbase\met\TC04_met_ts_001.csv &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;LW_RAD, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Downward longwave radiation (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, LW_RAD  &amp;lt;font color=green&amp;gt;  ! Column headers to read from time series file&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Specify update timestep for BC (seconds)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours  &amp;lt;font color=green&amp;gt;  ! Specify time units&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00  &amp;lt;font color=green&amp;gt;  ! Specify boundary condition reference time&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;SW_RAD, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Downward shortwave radiation (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, SW_RAD&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;W10, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Wind velocity at 10m (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, W10_X, W10_Y&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;AIR_TEMP, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Temperature input (deg C)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, AIR_TEMP&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;REL_HUM, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Relative humidity (%)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, REL_HUM&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Outputs&#039; section, update the existing NetCDF output block to include sediment:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;NetCDF  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;h, v, d, sed_1  &amp;lt;font color=green&amp;gt; ! Outputs water level, velocity, depth and sediment&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=green&amp;gt; ! Interval to output the data (seconds) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Suffix&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;HD  &amp;lt;font color=green&amp;gt; ! Specify suffix for the output NetCDF file &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Output&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; At the end of the &#039;Outputs&#039; section, add the following output block to output water quality results.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;NetCDF  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;wq_all  &amp;lt;font color=green&amp;gt; ! Outputs water quality results &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=green&amp;gt; ! Interval to output the data (seconds) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Suffix&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;WQ  &amp;lt;font color=green&amp;gt; ! Specify suffix for the output NetCDF file &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Output&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TCC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running the Simulation =&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder. Save a copy of &#039;&#039;&#039;_run_TC03_CATCH.bat&#039;&#039;&#039; as &#039;&#039;&#039;_run_TC04_CATCH.bat&#039;&#039;&#039; and open the file in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file to reference the &#039;&#039;&#039;TC04_001.tcc&#039;&#039;&#039;:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;set &amp;lt;/font&amp;gt;exe&amp;lt;font color=red&amp;gt;=&amp;lt;/font&amp;gt;&amp;quot;..\..\..\..\exe\TUFLOWCATCH\2026.0.0\TUFLOWCATCH.exe&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=orange&amp;gt;%exe%&amp;lt;/font&amp;gt; TC04_001.tcc&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Double click the batch file in file explorer to run the simulation. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Results Output =&lt;br /&gt;
Complete the steps outlined in the following links to review simulation results from the TUFLOW CATCH integrated model simulation:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M04_Results_QGIS | TC04 - Results]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
* A TUFLOW CATCH Integrated model was created.&lt;br /&gt;
* Meteorological data, water quality and sediment transport were added to the model.&lt;br /&gt;
* A TUFLOW CATCH JSON file was created to review the transfer of results (particularly pollutants) between the TUFLOW HPC and the TUFLOW FV domains.&lt;br /&gt;
* For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M04&amp;diff=45708</id>
		<title>TUFLOW CATCH Tutorial M04</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M04&amp;diff=45708"/>
		<updated>2026-03-30T02:09:18Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Simulation Control Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
In this module, a TUFLOW CATCH integrated model with interventions is developed. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TUFLOW CATCH Tutorial 04 is built from the models created in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02 | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt;. The completed TUFLOW CATCH Tutorial 03 is provided in the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling&#039;&#039;&#039; folder of the download dataset as the starting point for this tutorial. &lt;br /&gt;
If unfamiliar with TUFLOW CATCH, it is recommended to complete &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02 | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt; prior to starting this tutorial.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; An NVIDIA GPU card is required to run this tutorial model. If this is not available, a shortened simulation can be run on CPU by updating the following commands in the Global Settings section of the TUFLOW CATCH Control file (.tcc):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Hardware &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; CPU&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Time &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 01/01/2021 12:00:00&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Meteorological Data =&lt;br /&gt;
Meteorological inputs are defined in boundary condition blocks within the receiving model block of the TUFLOW CATCH Control file (.tcc). &amp;lt;!-- reference TUFLOW FV manual when it&#039;s done --&amp;gt; For this tutorial, timeseries meteorological data has been supplied.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Tutorial_Data&#039;&#039;&#039; folder. Copy the &#039;&#039;&#039;TC04_met_ts_001.csv&#039;&#039;&#039; and paste it in the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling\TUFLOWFV\bc_dbase\met&#039;&#039;&#039; folder. This file contains the timeseries meteorological data.&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file. As this file is read by TUFLOW FV, the first column (Time) must contain the date is ISODATE format (DD/MM/YYYY hh:mm:ss). The other columns contain the data for the meteorological conditions that will be simulated in this model: &amp;lt;br&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| &lt;br /&gt;
* &#039;&#039;&#039;AIR_TEMP&#039;&#039;&#039;: Air temperature (degrees Celsius)&lt;br /&gt;
| &lt;br /&gt;
:::* &#039;&#039;&#039;REL_HUM&#039;&#039;&#039;: Relative humidity (%)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
*&#039;&#039;&#039;LW_RAD&#039;&#039;&#039;: Downward longwave radiation (W m&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;)&lt;br /&gt;
| &lt;br /&gt;
:::*&#039;&#039;&#039;W10_X&#039;&#039;&#039;: Zonal wind velocity at 10m (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
*&#039;&#039;&#039;SW_RAD&#039;&#039;&#039;: Downward shortwave radiation (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
| &lt;br /&gt;
:::*&#039;&#039;&#039;W10_Y&#039;&#039;&#039;: Meridional wind velocity at 10m (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File: TC4_met_ts_data_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Simulation Control Files =&lt;br /&gt;
The following steps will require use of a text editor. The tutorial demonstration uses Notepad++. For its configuration information refer to &amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++ Tips]]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Generate Template Files ====&lt;br /&gt;
This tutorial requires a Water Quality Control file (.fvwq) and a Sediment Transport Control file (.fvsed). Use the TUFLOW CATCH plugin to generate template files:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In QGIS, go to Processing &amp;gt; Toolbox from the top drop down menu options to open the Processing Toolbox.&lt;br /&gt;
&amp;lt;li&amp;gt;Go to TUFLOW Catch in the processing tool list and select &#039;Create TUFLOW Catch Project&#039;. This opens the dialog shown below:&lt;br /&gt;
*Project Name: &#039;&#039;&#039;TC04&#039;&#039;&#039;&lt;br /&gt;
*Project Folder: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling&#039;&#039;&#039; folder.&lt;br /&gt;
*Project CRS: Click the drop down menu and select &#039;Project CRS: EPSG:32760 - WGS 84 / UTM zone 60S’.&lt;br /&gt;
* TUFLOW HPC Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOW\2026.0.0 folder&#039;&#039;&#039;. Select &#039;&#039;&#039;TUFLOW_iSP_w64.exe&#039;&#039;&#039;.&lt;br /&gt;
* TUFLOW FV Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOWFV\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOWFV.exe&#039;&#039;&#039;.&lt;br /&gt;
* Default GIS Format: Click the drop down menu and select &#039;SHP&#039;.&lt;br /&gt;
* Tick on &#039;Setup Control File Templates&#039;.&lt;br /&gt;
* Control File Templates: Expand the &#039;Advanced Parameters&#039; section. Click &#039;...&#039;, and tick on: Water Quality Control file (.fvwq) and Sediment Control file (.fvsed). Ensure all other files are ticked off. &lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Run&#039;. Once the tool has finished click &#039;Close&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC4_Create_CATCH_Project_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Water Quality Control File (FVWQ) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Navigate to the &#039;&#039;&#039;TUFLOWFV\wqm&#039;&#039;&#039; folder and open &#039;&#039;&#039;TC04_001.fvwq&#039;&#039;&#039; in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Simulation Controls&#039; sections, update the following commands:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Simulation Class&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;DO  &amp;lt;font color=green&amp;gt;  ! Specify the simulation class to Dissolved Oxygen&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;WQ dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Interval for updating the water quality module &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;WQ Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;mgL  &amp;lt;font color=green&amp;gt;  ! Specify the units to be mgL &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Constituent Model Settings&#039;, add the following commands to specify the constituent (oxygen and pathogens) parameters. For more information on the model settings for each constituent, refer to the TUFLOW FV Water Quality Manual: &amp;lt;u&amp;gt;[https://docs.tuflow.com/fv/wqm/manual/2025.1/SimulationConstruction-1.html#ConModClssOxy-4 Section 4.6.3.1 (Oxygen)]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[https://docs.tuflow.com/fv/wqm/manual/2025.1/SimulationConstruction-1.html#ConModClssPth-4 Section 4.6.3.2 (Pathogens)]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;O2  &amp;lt;font color=green&amp;gt;  ! Set the oxygen model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Min Max&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0, 12.0  &amp;lt;font color=green&amp;gt;  ! Specify the allowable minimum and maximum oxygen concentrations&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Benthic&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;4.7, 1.08  &amp;lt;font color=green&amp;gt;  ! Specify the global benthic parameters &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Oxygen Model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Pathogen Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Free, Ecoli  &amp;lt;font color=green&amp;gt;  ! Set the pathogen model and name&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Alive Min Max&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0, 1e7  &amp;lt;font color=green&amp;gt;  ! Specify the allowable minimum and maximum concentrations&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Mortality&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.08, 2e-12, 6.1, 1.0, 1.11  &amp;lt;font color=green&amp;gt;  ! Specify the mortality parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Visible Inactivation&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.082, 0.0067, 0.5  &amp;lt;font color=green&amp;gt;  ! Specify the visible light inactivation parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;UVA Inactivation&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.5, 0.0067, 0.5  &amp;lt;font color=green&amp;gt;  ! Specify the UV-A light inactivation parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;UVB Inactivation&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1.0, 0.0067, 0.5  &amp;lt;font color=green&amp;gt;  ! Specify the UV-B light inactivation parameters&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Settling&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-0.03  &amp;lt;font color=green&amp;gt;  ! Specify the settling of non-attached pathogens&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Pathogen Model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Material Specifications&#039; section, add the following material blocks to specify oxygen flux for each material ID.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Default  &amp;lt;font color=green&amp;gt;  ! Defines default properties for all materials&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1400.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 1 (overwrites default)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1100.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;2  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 2 (overwrites default)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1200.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;3  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 3 (overwrites default)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Oxygen Flux&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;-1300.0 &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Save the FVWQ.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sediment Transport Control File (FVSED) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Navigate to the &#039;&#039;&#039;TUFLOWFV\stm&#039;&#039;&#039; folder and open &#039;&#039;&#039;TC04_001.fvsed&#039;&#039;&#039; in a text editor.&lt;br /&gt;
&amp;lt;li&amp;gt; Update the following command to match the output interval for the rest of the model (300secs or 5mins):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Interval for updating the sediment transport module&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Settings&#039; section, update the following commands. For more information on these commands, please refer to the &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOWFV/Releases/Latest/TUFLOW_FV_ST_and_PT_Modules_User_Manual.pdf TUFLOW FV Sediment Transport Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Erosion Depth Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.1, 0.5  &amp;lt;font color=green&amp;gt;  ! Depth limits within which the erosion rate is scaled down (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Deposition Depth Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.1, 0.5  &amp;lt;font color=green&amp;gt;  ! Depth limits within which the deposition rate is scaled down (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Bed Roughness Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;ks  &amp;lt;font color=green&amp;gt;  ! Set bed roughness model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Bed Roughness Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.02, 0.02  &amp;lt;font color=green&amp;gt;  ! Specify the bed roughness for current and waves&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Fractions&#039; section, add in the following Fraction block to set the parameters for clay. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Fraction&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Clay  &amp;lt;font color=green&amp;gt;  ! Set sediment fraction&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;d50&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0002  &amp;lt;font color=green&amp;gt;  ! Specify the median grain size of the sediment fraction (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Particle Density&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;2650.0  &amp;lt;font color=green&amp;gt;  ! Specify the density of the particle group (kg/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Settling Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Constant  &amp;lt;font color=green&amp;gt;  ! Set the settling model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Settling Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1e-05  &amp;lt;font color=green&amp;gt;  ! Specify constant settling velocity (m/s)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Critical Stress Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Constant  &amp;lt;font color=green&amp;gt;  ! Set the critical stress model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Critical Stress Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.15  &amp;lt;font color=green&amp;gt;  ! Specify constant critical stress (N/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Erosion Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Mehta  &amp;lt;font color=green&amp;gt;  ! Set the erosion model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Erosion Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.01, 0.5, 1.0  &amp;lt;font color=green&amp;gt;  ! Specify constant erosion rate (g/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;s), critical shear stress (N/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) and power coefficient&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Deposition Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;ws0  &amp;lt;font color=green&amp;gt;  ! Set the deposition model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Fraction&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Materials&#039; section, add the following material blocks to set the sediment transport for each material ID.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1, 2  &amp;lt;font color=green&amp;gt;  ! Defines properties for material IDs 1 and 2&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Nlayer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Number of sediment bed layers&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Layer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Bed layer number &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Dry Density&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;800  &amp;lt;font color=green&amp;gt;  ! Dry density of bed layer (kg/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Mass&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1500  &amp;lt;font color=green&amp;gt;  ! Initial mass of each sediment fraction (kg/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Layer&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;3  &amp;lt;font color=green&amp;gt;  ! Defines properties for material ID 3&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Nlayer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Number of sediment bed layers&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Layer&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Bed layer number &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Dry Density&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;800  &amp;lt;font color=green&amp;gt;  ! Dry density of bed layer (kg/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Mass&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;3200  &amp;lt;font color=green&amp;gt;  ! Initial mass of each sediment fraction (kg/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Layer&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the FVSED.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Control File (TCC) ==&lt;br /&gt;
=== Global Settings ===&lt;br /&gt;
For this tutorial, leave all commands as is. This section of the .tcc was populated in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Catchment Hydraulic Model ===&lt;br /&gt;
This block contains commands that construct the TUFLOW HPC simulation.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save a copy of &#039;&#039;&#039;TC03_001.tcc&#039;&#039;&#039; as &#039;&#039;&#039;TC04_001.tcc&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_04\Modelling\TUFLOWCATCH\runs&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt; Open &#039;&#039;&#039;TC04_001.tcc&#039;&#039;&#039; in a text editor, and comment out the following command:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Pollutant == Salinity, Temperature, WQ_DISS_OXYGEN_MG_L, WQ_PATH_ECOLI_ALIVE_CFU_100ML, WQ_PATH_ECOLI_DEAD_CFU_100ML, SED_CLAY ! Specify the pollutant names&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pollutant Export Model ===&lt;br /&gt;
This block contains commands that control the pollutant export (and other constituent) simulation. As this tutorial model is an integrated simulation with interventions, we must turn the pollutant export model back on:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set the pollutant export model:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Catchment Pollutant Export Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Mass Accumulation Release &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Uncomment all the commands. The pollutant export model block should look the same as in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02#Pollutant_Export_Model | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Receiving Model ===&lt;br /&gt;
This block contains commands that construct the TUFLOW FV simulation. For this tutorial, the receiving model block must be updated to include water quality and sediment transport. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;General Parameters&#039; section, update the following commands to turn on salinity, temperature, sediment and heat. For more information on these commands, refer to &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOWFV/Releases/Latest/TUFLOW_FV_User_Manual.pdf Appendix B of the TUFLOW FV Manual]&amp;lt;/u&amp;gt; &amp;lt;!-- Update link here when TUFLOW FV Manual update is done --&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Salinity&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1,0  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Temperature&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1,0  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Sediment&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1,0  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Include Heat&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Water Quality&#039; section, update the following commands to set the general WQ parameters and to reference the Water Quality Control file. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Water Quality Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;TUFLOW  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Water Quality Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\wqm\TC04_001.fvwq  &amp;lt;font color=green&amp;gt;  ! Reference the Water Quality Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Water Quality Model Directory&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\wqm\  &amp;lt;font color=green&amp;gt;  ! Location of the Water Quality Directory&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Cell Water Quality Depth&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.05  &amp;lt;font color=green&amp;gt;  ! Minimum depth to execute water quality calculations (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Sediment Transport&#039; section, update the following command to reference the Sediment Control file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Sediment Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\stm\TC04_001.fvsed  &amp;lt;font color=green&amp;gt;  ! Reference the Sediment Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Initial Conditions&#039; section, update the following commands to set the initial temperature, salinity, sediment concentration and water quality concentrations. The initial water level was set in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03#Receiving_Model | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Temperature&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;17.0  &amp;lt;font color=green&amp;gt;  ! Specify initial temperature (degrees Celsius)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Salinity&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.0  &amp;lt;font color=green&amp;gt;  ! Specify initial salinity (psu)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Sediment Concentration&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;20  &amp;lt;font color=green&amp;gt;  ! Specify initial suspended sediment concentration for clay (mg/L)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial WQ Concentration&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;8.0, 1e6, 1e6  &amp;lt;font color=green&amp;gt;  ! Specify initial water quality concentration for dissolved oxygen, alive and dead E. coli&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Meteorology&#039; section, add the following boundary condition blocks to specify meteorological conditions. The variable &#039;&amp;lt;tt&amp;gt;met_ts&amp;lt;/tt&amp;gt;&#039; is used to define the location of the meteorological data. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Set Variable met_ts&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\bc_dbase\met\TC04_met_ts_001.csv &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;LW_RAD, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Downward longwave radiation (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, LW_RAD  &amp;lt;font color=green&amp;gt;  ! Column headers to read from time series file&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Specify update timestep for BC (seconds)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours  &amp;lt;font color=green&amp;gt;  ! Specify time units&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00  &amp;lt;font color=green&amp;gt;  ! Specify boundary condition reference time&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;SW_RAD, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Downward shortwave radiation (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, SW_RAD&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;W10, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Wind velocity at 10m (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, W10_X, W10_Y&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;AIR_TEMP, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Temperature input (deg C)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, AIR_TEMP&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;REL_HUM, &amp;lt;&amp;lt;met_ts&amp;gt;&amp;gt;  &amp;lt;font color=green&amp;gt;  ! Relative humidity (%)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Header&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Time, REL_HUM&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Update dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Time Units&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Hours&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Reference Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Outputs&#039; section, update the existing NetCDF output block to include sediment:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;NetCDF  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;h, v, d, sed_1  &amp;lt;font color=green&amp;gt; ! Outputs water level, velocity, depth and sediment&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=green&amp;gt; ! Interval to output the data (seconds) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Suffix&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;HD  &amp;lt;font color=green&amp;gt; ! Specify suffix for the output NetCDF file &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Output&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; At the end of the &#039;Outputs&#039; section, add the following output block to output water quality results.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;NetCDF  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;wq_all  &amp;lt;font color=green&amp;gt; ! Outputs water quality results &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=green&amp;gt; ! Interval to output the data (seconds) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Suffix&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;WQ  &amp;lt;font color=green&amp;gt; ! Specify suffix for the output NetCDF file &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Output&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TCC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running the Simulation =&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder. Save a copy of &#039;&#039;&#039;_run_TC03_CATCH.bat&#039;&#039;&#039; as &#039;&#039;&#039;_run_TC04_CATCH.bat&#039;&#039;&#039; and open the file in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file to reference the &#039;&#039;&#039;TC04_001.tcc&#039;&#039;&#039;:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;set &amp;lt;/font&amp;gt;exe&amp;lt;font color=red&amp;gt;=&amp;lt;/font&amp;gt;&amp;quot;..\..\..\..\exe\TUFLOWCATCH\2025.1.0\TUFLOWCATCH.exe&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=orange&amp;gt;%exe%&amp;lt;/font&amp;gt; TC04_001.tcc&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Double click the batch file in file explorer to run the simulation. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Results Output =&lt;br /&gt;
Complete the steps outlined in the following links to review simulation results from the TUFLOW CATCH integrated model simulation:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M04_Results_QGIS | TC04 - Results]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
* A TUFLOW CATCH Integrated model was created.&lt;br /&gt;
* Meteorological data, water quality and sediment transport were added to the model.&lt;br /&gt;
* A TUFLOW CATCH JSON file was created to review the transfer of results (particularly pollutants) between the TUFLOW HPC and the TUFLOW FV domains.&lt;br /&gt;
* For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M03&amp;diff=45707</id>
		<title>TUFLOW CATCH Tutorial M03</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M03&amp;diff=45707"/>
		<updated>2026-03-30T02:08:50Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Running the Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
In this module, a TUFLOW CATCH hydrology model is developed. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TUFLOW CATCH Tutorial 03 is built from the model created in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02 | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt;. The completed TUFLOW CATCH Tutorial 02 is provided in the &#039;&#039;&#039;TUFLOW_CATCH_Module_03\Modelling&#039;&#039;&#039; folder of the download dataset as the starting point for this tutorial. &lt;br /&gt;
If unfamiliar with TUFLOW CATCH, it is recommended to complete &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02 | TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt; prior to starting this tutorial.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; An NVIDIA GPU card is required to run this tutorial model. If this is not available, a shortened simulation can be run on CPU by updating the following commands in the Global Settings section of the TUFLOW CATCH Control file (.tcc):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Hardware &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; CPU&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Time &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 01/01/2021 12:00:00&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= GIS Inputs =&lt;br /&gt;
Create, import and view input data:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03_TUFLOW_HPC_GIS_Inputs_QGIS | TC03 - TUFLOW HPC GIS Inputs]]&amp;lt;/u&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03_TUFLOW_FV_GIS_Inputs_QGIS | TC03 - TUFLOW FV GIS Inputs]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Simulation Control Files =&lt;br /&gt;
The following steps will require use of a text editor. The tutorial demonstration uses Notepad++. For its configuration information refer to &amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++ Tips]]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Boundary Control File (TBC) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of &#039;&#039;&#039;TC01_001.tbc&#039;&#039;&#039; as &#039;&#039;&#039;TC03_001.tbc&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_03\Modelling\TUFLOW\model&#039;&#039;&#039; folder. &lt;br /&gt;
&amp;lt;li&amp;gt; Open the &#039;&#039;&#039;TC03_001.tbc&#039;&#039;&#039; in a text editor and update the reference to the 1D/2D culvert connections:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_bc_TC03_001_P.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Links the two upstream 1D culverts to the 2D domain&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_bc_TC03_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Links the two upstream 1D culverts to the 2D domain&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TBC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW ESTRY Control File (ECF) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save a copy of &#039;&#039;&#039;TC01_001.ecf&#039;&#039;&#039; as &#039;&#039;&#039;TC03_001.ecf&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_03\Modelling\TUFLOW\model&#039;&#039;&#039; folder. &lt;br /&gt;
&amp;lt;li&amp;gt; Open the &#039;&#039;&#039;TC03_001.ecf&#039;&#039;&#039; in a text editor and update the following line to reference the new 1d_nwk layer (containing the two upstream culverts):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Network &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\1d_nwk_TC03_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines the two upstream culverts&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt;Save the ECF.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Control File (TCC) ==&lt;br /&gt;
=== Global Settings ===&lt;br /&gt;
For this tutorial, leave all commands as is. This section of the .tcc was populated in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Catchment Hydraulic Model ===&lt;br /&gt;
This block contains commands that construct the TUFLOW HPC simulation.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save a copy of &#039;&#039;&#039;TC02_001.tcc&#039;&#039;&#039; as &#039;&#039;&#039;TC03_001.tcc&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_03\Modelling\TUFLOWCATCH\runs&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt; Open &#039;&#039;&#039;TC03_001.tcc&#039;&#039;&#039; in a text editor, and update the following commands to reference the new TBC and ECF:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\TC03_001.tbc  &amp;lt;font color=green&amp;gt;  ! Reference the TUFLOW Boundary Conditions Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;ESTRY Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\TC03_001.ecf  &amp;lt;font color=green&amp;gt;  ! Reference the ESTRY (1D) Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Remove or comment out the following command using a &#039;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;!&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; symbol. The receiving polygon can only be used in the pollutant export configuration of TUFLOW CATCH. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Receiving Polygon == ..\..\TUFLOW\model\gis\2d_rp_TC01_001_R.shp ! GIS layer defining the receiving polygon&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pollutant Export Model ===&lt;br /&gt;
This block contains commands that control the pollutant export (and other constituent) simulation. As this tutorial model is a hydrology simulation, we must set the pollutant export model to &#039;None&#039;, and comment out all commands. The pollutant export model block should look similar to the below:&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Catchment Pollutant Export Model &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; None&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Constant Salinity == 0.0&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Constant WQ_DISS_OXYGEN_MG_L == 8.0&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Time-Series Temperature == temp&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Material == ALL  ! Default parameters for all materials&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt; ! SED_CLAY, Method == Shear1, Rate == 0.0, Limit == 100.0, Depth Threshold == 0.02, Deposition Stress == 0.1, Erosion Stress == 0.5, Deposition Velocity == 0.1, Erosion Rate == 0.05&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt; ! WQ_PATH_ECOLI_ALIVE_CFU_100ML, Method == Washoff1, Rate == 0.0, Limit == 0.0, Time Constant == 3600.00, Rain Threshold == 1.0, Depth Threshold == 0.20, Deposition Velocity == 0.0&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt; ! WQ_PATH_ECOLI_DEAD_CFU_100ML, Method == Washoff1, Rate == 0.0, Limit == 0.0, Time Constant == 3600.00, Rain Threshold == 1.0, Depth Threshold == 0.20, Deposition Velocity == 0.0&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! End Material &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Other material specifications ...&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Read GIS Intervention == ..\..\TUFLOW\model\gis\2d_im_TC02_001_L.shp ! GIS layer defining interventions&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Device == ALL ! Default parameters for all devices&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt; ! SED_CLAY, Method == Eqn, Eqn == Constant, Coefficients == 1.0&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt; ! WQ_PATH_ECOLI_ALIVE_CFU_100ML, Method == Eqn, Eqn == Constant, Coefficients == 1.0&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt; ! WQ_PATH_ECOLI_DEAD_CFU_100ML, Method == Eqn, Eqn == Constant, Coefficients == 1.0&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! End Device&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Other mass removal specifications ...&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Catchment Pollutant Export Model &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Receiving Model ===&lt;br /&gt;
This block contains commands that construct the TUFLOW FV simulation. These commands are almost entirely those that would be used in setting up a standalone TUFLOW FV control file (.fvc), with a small number of additional commands that relate to TUFLOW CATCH.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set the receiving model:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Receiving Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;TUFLOWFV  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Above the &#039;Hardware&#039; section, add the following command. This command allows the simulation to proceed if minor timestepping mismatches occur in the boundary condition timeseries files (written by TUFLOW CATCH). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Global Temporal Extrapolation Check&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;WARNING  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Timestep Commands&#039; section, update the following commands:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;CFL&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.95  &amp;lt;font color=green&amp;gt; ! Specify the Courant–Friedrichs–Lewy (CFL) number&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Timestep Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.10,1.0  &amp;lt;font color=green&amp;gt; ! Specify the minimum and maximum timesteps (seconds)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Display dt&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=green&amp;gt; ! Interval of displaying timestep information to the log (seconds)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Model Parameters&#039; section, update the following commands. All other commands in this section relate to 3D modelling, so they can be removed or ignored.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Stability Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;100.0, 10.0  &amp;lt;font color=green&amp;gt; ! Specify maximum water level (meters) and velocity (m/s) which indicate an unstable model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Momentum Mixing Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Smagorinsky  &amp;lt;font color=green&amp;gt; ! Specify the momentum mixing model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Global Horizontal Eddy Viscosity&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.2  &amp;lt;font color=green&amp;gt; ! Specify the Smagorinsky coefficient&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Global Horizontal Eddy Viscosity Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.05, 99999.  &amp;lt;font color=green&amp;gt; ! Specify the minimum and maximum eddy viscosity (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Scalar Mixing Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Smagorinsky  &amp;lt;font color=green&amp;gt; ! Specify the scalar mixing model&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Global Horizontal Scalar Diffusivity&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.2  &amp;lt;font color=green&amp;gt; ! Specify the Smagorinsky coefficient&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Global Horizontal Scalar Diffusivity Limits&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.05, 99999.  &amp;lt;font color=green&amp;gt; ! Globally sets the minimum and maximum horizontal scalar diffusivity limits&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;At the end of the &#039;Model Parameters&#039; section, add the following command to set the cell wetting and drying depths:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Cell Wet/Dry Depths&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;5.0e-03, 5.0e-02  &amp;lt;font color=green&amp;gt; ! Specify the cell wetting and drying depths (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;2D Geometry&#039; section, update the following commands to reference the TUFLOW FV mesh and the model domain:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Geometry 2D&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\geo\Stream_Mesh.2dm  &amp;lt;font color=green&amp;gt; ! 2D geometry input file (mesh file)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read Grid Zpts&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\geo\DEM.asc  &amp;lt;font color=green&amp;gt; ! Assigns the elevation of Zpts from the grid&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Materials&#039; section, update/add the following commands. They reference the TUFLOW FV materials GIS layer and specify the surface roughness or bed resistance values (e.g. Manning’s n) assigned to each material ID within the TUFLOW FV model domain. These are distinct materials from those specified in the catchment hydraulic model.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Set Mat&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt; ! Sets the default material ID for all cells in the TUFLOW FV model domain&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read GIS Mat&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\gis\2d_mat_TC03_FV_001_R.shp  &amp;lt;font color=green&amp;gt; ! Sets the TUFLOW FV material values according to attributes in the GIS layer&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt; ! Defines properties for material ID 1&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Bottom Roughness&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.011  &amp;lt;font color=green&amp;gt; ! Specify the Manning&#039;s roughness&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;2  &amp;lt;font color=green&amp;gt; ! Defines properties for material ID 2&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Bottom Roughness&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.015  &amp;lt;font color=green&amp;gt; ! Specify the Manning&#039;s roughness&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Material&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;3  &amp;lt;font color=green&amp;gt; ! Defines properties for material ID 3&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Bottom Roughness&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.017  &amp;lt;font color=green&amp;gt; ! Specify the Manning&#039;s roughness&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Material&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Initial Conditions&#039; section, update the following command to set the initial water level:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Initial Water Level&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;35.0  &amp;lt;font color=green&amp;gt; ! Specify initial water level (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Non-Catchment Boundaries&#039; section, update the following commands to reference the downstream TUFLOW FV normal (friction slope) boundary and to define its boundary conditions.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read GIS Nodestring&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\gis\2d_ns_TC03_DS_boundary_001_L.shp  &amp;lt;font color=green&amp;gt; ! GIS nodestring layer defining non-catchment boundary(ies)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;QN, DS, 0.001  &amp;lt;font color=green&amp;gt; ! Defines BC type, BC name and friction slope&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End BC&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Catchment Boundaries&#039; section, update the following command to reference the upstream (inflow) TUFLOW FV boundary. TUFLOW CATCH uses this nodestring to automatically write boundaries that include momentum from catchment hydraulic model predictions. For more information, refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.1/SimulationConstruction-1.html#SCTCCFV-3 Section 4.5.4 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Catchment BC Nodestring&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\gis\2d_ns_TC03_US_boundary_001_L.shp  &amp;lt;font color=green&amp;gt; ! GIS nodestring layer defining catchment boundary(ies) that include momentum&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Above the &#039;Outputs&#039; section, add the following commands to reference the downstream TUFLOW FV culvert and its parameters. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read GIS Nodestring&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\gis\2d_ns_TC03_culverts_001_L.shp  &amp;lt;font color=green&amp;gt; ! GIS nodestring layer defining the downstream culvert&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read GIS Nodestring&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\gis\2d_ns_TC03_weir_001_L.shp  &amp;lt;font color=green&amp;gt; ! GIS nodestring layer enforcing the road crest at the downstream culvert&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Structure&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Linked Nodestrings, FC01.2_R_US, FC01.2_R_DS  &amp;lt;font color=green&amp;gt; ! Defines the structure type, culvert US nodestring ID, culvert DS nodestring ID&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Flux Function&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Culvert  &amp;lt;font color=green&amp;gt; ! Culvert flux function &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Culvert File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOWFV\model\csv\TC03_culvert_dbase_001.csv, 1 &amp;lt;font color=green&amp;gt; ! Reference the culvert database and the number of culverts &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Structure&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Structure&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Nodestring, FC01.2_W  &amp;lt;font color=green&amp;gt; ! Defines the structure type and the nodestring ID&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Flux Function&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Weir_dz &amp;lt;font color=green&amp;gt; ! Weir_dz flux function &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Properties&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.1, 1.705  &amp;lt;font color=green&amp;gt; ! Defines the weir height above face elevation (meters) and the weir coefficient&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Structure&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Outputs&#039; section, update/add the following commands. Ensure that the &#039;Flux&#039; block is removed or commented out. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;NetCDF  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Parameters&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;h, v, d  &amp;lt;font color=green&amp;gt; ! Outputs water level, velocity and depth &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=green&amp;gt; ! Interval to output the data (seconds) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Suffix&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;HD  &amp;lt;font color=green&amp;gt; ! Specify suffix for the output NetCDF file &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Output&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;Mass  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=green&amp;gt; ! Interval to output the data (seconds) &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Output&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Remove or comment out the following commands:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Write Restart dt == 24&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Restart Overwrite == 1 &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Save the .tcc.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running the Simulation =&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder. Save a copy of &#039;&#039;&#039;_run_TC02_CATCH.bat&#039;&#039;&#039; as &#039;&#039;&#039;_run_TC03_CATCH.bat&#039;&#039;&#039; and open the file in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file to reference the &#039;&#039;&#039;TC03_001.tcc&#039;&#039;&#039;:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;set &amp;lt;/font&amp;gt;exe&amp;lt;font color=red&amp;gt;=&amp;lt;/font&amp;gt;&amp;quot;..\..\..\..\exe\TUFLOWCATCH\2026.0.0\TUFLOWCATCH.exe&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=orange&amp;gt;%exe%&amp;lt;/font&amp;gt; TC03_001.tcc&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Double click the batch file in file explorer to run the simulation. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Check Files and Results Output =&lt;br /&gt;
Complete the steps outlined in the following links to review check files and simulation results from the TUFLOW CATCH hydrology model simulation:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03_Check_Files_QGIS | TC03 - Check Files]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03_Results_QGIS | TC03 - Results]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Reviewing Model Performance=&lt;br /&gt;
As discussed in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01#Reviewing_Model_Performance | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;, there are a number of useful outputs from TUFLOW CATCH for reviewing the model performance. &amp;lt;br&amp;gt;&lt;br /&gt;
In this tutorial, the receiving model was specified. As such, the TUFLOW FV Log File (.log) should be reviewed. The &amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Log Folder&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;log&amp;lt;/tt&amp;gt; command in the .tcc defines where the .log is written.&amp;lt;br&amp;gt;&lt;br /&gt;
Navigate to the &#039;&#039;&#039;Modelling\TUFLOWCATCH\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;TC03_001_receiving.log&#039;&#039;&#039; file in a text editor. &lt;br /&gt;
* Scroll down to the bottom to &#039;Simulation Summary&#039;. This includes information about the computation time and messages. If an error occurred (stopping the simulation), the error message will be output just above the &#039;Simulation Summary&#039;. &lt;br /&gt;
* Review any check, warning or error messages. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; It is recommended to check all simulation log files at the end of each run. For this tutorial, the catchment hydraulic and receiving models were specified, so &#039;&#039;&#039;TC03_001.catchlog&#039;&#039;&#039;, &#039;&#039;&#039;TC03_001_catchment_hydraulic.tlf&#039;&#039;&#039; and &#039;&#039;&#039;TC03_001_receiving.log&#039;&#039;&#039; should all be reviewed.&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
* A TUFLOW CATCH Hydrology model was created. &lt;br /&gt;
* A TUFLOW FV mesh was added to the stream and the downstream culvert was redefined in TUFLOW FV format.&lt;br /&gt;
* A TUFLOW CATCH JSON file was created to review the transfer of results between the TUFLOW HPC and the TUFLOW FV domains.&lt;br /&gt;
* For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M03_TUFLOW_HPC_GIS_Inputs_QGIS&amp;diff=45706</id>
		<title>TUFLOW CATCH Tutorial M03 TUFLOW HPC GIS Inputs QGIS</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M03_TUFLOW_HPC_GIS_Inputs_QGIS&amp;diff=45706"/>
		<updated>2026-03-30T02:08:27Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* TUFLOW CATCH Project Re-Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
The updated culvert layers are supplied and inspected. &lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Project Re-Configuration ==&lt;br /&gt;
Re-configure the TUFLOW CATCH project to use and save empty files to the correct folders:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Go to Processing &amp;gt; Toolbox from the top drop down menu options to open the Processing Toolbox.&lt;br /&gt;
&amp;lt;li&amp;gt;Go to TUFLOW Catch in the processing tool list and select &#039;Create TUFLOW Catch Project&#039;. This opens the dialog shown below.&lt;br /&gt;
* Project Name: &#039;&#039;&#039;TC03&#039;&#039;&#039;&lt;br /&gt;
* Project Folder: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_03\Modelling&#039;&#039;&#039; folder.&lt;br /&gt;
* Project CRS: Click the drop down menu and select &#039;Project CRS: EPSG:32760 - WGS 84 / UTM zone 60S’.&lt;br /&gt;
* TUFLOW HPC Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOW\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOW_iSP_w64.exe&#039;&#039;&#039;.&lt;br /&gt;
* TUFLOW FV Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOWFV\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOWFV.exe&#039;&#039;&#039;.&lt;br /&gt;
* Default GIS Format: Click the drop down menu and select &#039;SHP&#039;.&lt;br /&gt;
* Tick on &#039;Create Empty Files&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Run&#039; and a console window will open. This creates the empty GIS files.&lt;br /&gt;
&amp;lt;li&amp;gt; Once the tool has finished, click &#039;Close&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC3_Create_CATCH_Project_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set up the QGIS workspace by setting the projection to EPSG:32760, loading and styling the DEM and saving the workspace. See &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Project_Initialisation_QGIS | TUFLOW CATCH Module 01 - Project Initialisation]]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Review Supplied TUFLOW Input Files==&lt;br /&gt;
Navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_03\Tutorial_Data&#039;&#039;&#039; folder. Copy the below layers into the &#039;&#039;&#039;Modelling\TUFLOW\model\gis&#039;&#039;&#039; folder:&lt;br /&gt;
:* &#039;&#039;&#039;1d_nwk_TC03_001_L&#039;&#039;&#039;&lt;br /&gt;
:* &#039;&#039;&#039;2d_bc_TC03_001_L&#039;&#039;&#039;&lt;br /&gt;
:* &#039;&#039;&#039;2d_bc_TC03_001_P&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For this tutorial, a TUFLOW FV mesh will be included in the channel (outlined in the next section: &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03_TUFLOW_FV_GIS_Inputs_QGIS | TUFLOW FV GIS Inputs]]&amp;lt;/u&amp;gt;). Currently, there is a TUFLOW HPC culvert defined in the channel. This culvert needs to be removed from the TUFLOW HPC, and redefined in TUFLOW FV format. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the supplied files into QGIS and use the &#039;Apply TUFLOW Styles to Open Layers&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Notice that the downstream culvert has been removed. All other culverts are the same.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=animation_TC3_HPC_GIS_inputs_01a.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_M03#GIS_Inputs| Back to TUFLOW CATCH Tutorial 03]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M02&amp;diff=45705</id>
		<title>TUFLOW CATCH Tutorial M02</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M02&amp;diff=45705"/>
		<updated>2026-03-30T02:08:09Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Running the Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
In this module, a TUFLOW CATCH pollutant export model with interventions is developed. Interventions are representative of water quality pollutant treatment infrastructure. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TUFLOW CATCH Tutorial 02 is built from the pollutant export model created in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;. The completed TUFLOW CATCH Tutorial 01 is provided in the &#039;&#039;&#039;TUFLOW_CATCH_Module_02\Modelling&#039;&#039;&#039; folder of the download dataset as the starting point for this tutorial. &lt;br /&gt;
If unfamiliar with TUFLOW CATCH, it is recommended to complete &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt; prior to starting this tutorial.&lt;br /&gt;
&lt;br /&gt;
= GIS Inputs =&lt;br /&gt;
Create, import and view input data:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02_GIS_Inputs_QGIS | TC02 - GIS Inputs]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Treatment Tables =&lt;br /&gt;
Treatment tables can be used in TUFLOW CATCH models with interventions. Treatment tables are one of the mass removal methods offered by TUFLOW CATCH. A treatment table is a two dimensional array that defines the proportion of pollutant mass removed from the incoming water based on:&lt;br /&gt;
* Incoming pollutant concentration: The concentration of a given pollutant entering the treatment device. &lt;br /&gt;
:&#039;&#039;Note:&#039;&#039; The concentration units depend on the pollutant. Refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.1/SimulationConstruction-1.html#SCTCCPollExpUnits-5 Section 4.5.3.3.3 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt; for details on unit conventions. &lt;br /&gt;
* Flow rate: The volume of water passing through the treatment device (m³/s).&lt;br /&gt;
Treatment tables allow users to vary pollutant removal efficiency. This recognises that some intervention devices perform better when pollutants enter at higher concentrations and lower flow rates, rather than at lower concentrations with higher flow rates. For more information about treatment tables and their properties, please refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.1/ProcessDescriptions-1.html#ProcessDescriptionsIntervMatrix-4 Section 3.3.1.2 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For this tutorial, treatment tables for E. coli and clay have been provided:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_02\Tutorial_Data&#039;&#039;&#039; folder. Copy the &#039;&#039;&#039;TC02_ecoli_treatment_001.csv&#039;&#039;&#039; and &#039;&#039;&#039;TC02_clay_treatment_001.csv&#039;&#039;&#039; and paste them in the &#039;&#039;&#039;TUFLOW_CATCH_Module_02\Modelling\TUFLOW\bc_dbase&#039;&#039;&#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;TC02_ecoli_treatment_001.csv&#039;&#039;&#039;. The first row (below the title) defines the incoming concentration (cfu/100mL) and the first column defines the incoming flow rate (m³/s). The other values are the mass removal factors, which define the proportion of pollutant removed for a given concentration and flow rate. For example, for an incoming concentration of 200000 cfu/100mL and an incoming flow rate of 1 m³/s, the removal factor is 0.2. The concentration and flow ranges were determined from the outputs of the previous tutorial model (&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 |TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;). &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC2_treatment_table_ecoli_01b.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;TC02_clay_treatment_001.csv&#039;&#039;&#039;. This file follows the same structure as the E. coli treatment table, however the incoming concentrations are in mg/L instead of cfu/100mL. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC2_treatment_table_clay_01b.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Simulation Control Files =&lt;br /&gt;
The following steps will require use of a text editor. The tutorial demonstration uses Notepad++. For its configuration information refer to &amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++ Tips]]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Control File (TCC) ==&lt;br /&gt;
=== Global Settings ===&lt;br /&gt;
For this tutorial, leave all commands as is. This section of the .tcc was populated in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Catchment Hydraulic Model ===&lt;br /&gt;
For this tutorial, leave all commands as is. This section of the .tcc was populated in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 01]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Pollutant Export Model ===&lt;br /&gt;
This block contains commands that control the pollutant export (and other constituent) simulation. For this tutorial, the pollutant export model block must be updated to include interventions. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save a copy of &#039;&#039;&#039;TC01_001.tcc&#039;&#039;&#039; as &#039;&#039;&#039;TC02_001.tcc&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_02\Modelling\TUFLOWCATCH\runs&#039;&#039;&#039; folder. Open &#039;&#039;&#039;TC02_001.tcc&#039;&#039;&#039; in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Interventions&#039; section, update the following command to reference the interventions (2d_im) layer created earlier in this tutorial. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read GIS Intervention&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\gis\2d_im_TC02_001_L.shp  &amp;lt;font color=green&amp;gt;  ! GIS layer defining interventions&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Mass Removal Properties&#039; section, add the following device block. This block defines the default mass removal properties for all pollutants across all devices. Including it is considered best practice, as it ensures that all devices have their mass export properties specified. For more information on the mass removal parameters, please refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.1/SimulationConstruction-1.html#SCTCCPollExpInter-4 Section 4.5.3.5 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Device&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;ALL &amp;lt;font color=green&amp;gt;  ! Default parameters for all devices&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;SED_CLAY, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 1.0&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_ALIVE_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 1.0&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_DEAD_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 1.0&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Device&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Set the mass removal properties for intervention devices &#039;trench1&#039; and &#039;trench2&#039;. These devices are placed around the edges of paddocks C and D to manage the E. coli runoff. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Device&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;trench1, trench2 &amp;lt;font color=green&amp;gt;  ! Defines mass removal properties for trench1 and trench2&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;SED_CLAY, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 0.4&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_ALIVE_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 0.9&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_DEAD_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 0.9&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Device&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Set the mass removal properties for intervention device &#039;retentionBasin&#039;. This device is place parallel to the road on the eastern side of the model. It has been placed between paddockB and the culvert under the road to minimise clay and E. coli runoff.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Device&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;retentionBasin &amp;lt;font color=green&amp;gt;  ! Defines mass removal properties for retentionBasin&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;SED_CLAY, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 0.8&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_ALIVE_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Table, &amp;lt;font color=blue&amp;gt;Path &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; ..\..\TUFLOW\bc_dbase\TC02_ecoli_treatment_001.csv&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_DEAD_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Table, &amp;lt;font color=blue&amp;gt;Path &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; ..\..\TUFLOW\bc_dbase\TC02_ecoli_treatment_001.csv&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Device&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Set the mass removal properties for intervention devices &#039;bufferStrip1&#039; and &#039;bufferStrip2&#039;. These devices are placed strategically to manage clay sediment runoff. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Device&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;bufferStrip1, bufferStrip2&amp;lt;font color=green&amp;gt;  ! Defines mass removal properties for bufferStrip1 and bufferStrip2&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;SED_CLAY, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Table, &amp;lt;font color=blue&amp;gt;Path &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; ..\..\TUFLOW\bc_dbase\TC02_clay_treatment_001.csv&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_ALIVE_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 0.4&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;WQ_PATH_ECOLI_DEAD_CFU_100ML, &amp;lt;font color=blue&amp;gt;Method &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Eqn, &amp;lt;font color=blue&amp;gt;Eqn &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; Constant, &amp;lt;font color=blue&amp;gt;Coefficients &amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt;==&amp;lt;/font&amp;gt; 0.7&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Device&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Save the .tcc.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Receiving Model ===&lt;br /&gt;
For this tutorial, leave all commands as is. This section of the .tcc will be populated in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Running the Simulation =&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder. Save a copy of &#039;&#039;&#039;_run_TC01_CATCH.bat&#039;&#039;&#039; as &#039;&#039;&#039;_run_TC02_CATCH.bat&#039;&#039;&#039; and open the file in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file to reference the &#039;&#039;&#039;TC02_001.tcc&#039;&#039;&#039;:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;set &amp;lt;/font&amp;gt;exe&amp;lt;font color=red&amp;gt;=&amp;lt;/font&amp;gt;&amp;quot;..\..\..\..\exe\TUFLOWCATCH\2026.0.0\TUFLOWCATCH.exe&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=orange&amp;gt;%exe%&amp;lt;/font&amp;gt; TC02_001.tcc&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Double click the batch file in file explorer to run the simulation. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Check Files and Results Output =&lt;br /&gt;
Complete the steps outlined in the following links to review check files and simulation results from the TUFLOW CATCH pollutant export model simulation:&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02_Check_Files_QGIS | TC02 - Check Files]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02_Results_QGIS | TC02 - Results]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
* Intervention devices were added to a TUFLOW CATCH Pollutant Export model. &lt;br /&gt;
* Check files were used to review the placement of intervention devices.&lt;br /&gt;
* TUFLOW CATCH interventions summary and TUFLOW map outputs were assessed to observe the mass removal for each intervention device.&lt;br /&gt;
* For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M02_GIS_Inputs_QGIS&amp;diff=45704</id>
		<title>TUFLOW CATCH Tutorial M02 GIS Inputs QGIS</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M02_GIS_Inputs_QGIS&amp;diff=45704"/>
		<updated>2026-03-30T02:07:54Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* TUFLOW CATCH Project Re-Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
An interventions (2d_im) layer is created to remove pollutants from the run off around the paddocks and within the waterway. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Project Re-Configuration ==&lt;br /&gt;
Re-configure the TUFLOW CATCH project to use and save empty files to the correct folders:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Go to Processing &amp;gt; Toolbox from the top drop down menu options to open the Processing Toolbox.&lt;br /&gt;
&amp;lt;li&amp;gt;Go to TUFLOW Catch in the processing tool list and select &#039;Create TUFLOW Catch Project&#039;. This opens the dialog shown below.&lt;br /&gt;
* Project Name: &#039;&#039;&#039;TC02&#039;&#039;&#039;&lt;br /&gt;
* Project Folder: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_02\Modelling&#039;&#039;&#039; folder.&lt;br /&gt;
* Project CRS: Click the drop down menu and select &#039;Project CRS: EPSG:32760 - WGS 84 / UTM zone 60S’.&lt;br /&gt;
* TUFLOW HPC Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOW\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOW_iSP_w64.exe&#039;&#039;&#039;.&lt;br /&gt;
* TUFLOW FV Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOWFV\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOWFV.exe&#039;&#039;&#039;.&lt;br /&gt;
* Default GIS Format: Click the drop down menu and select &#039;SHP&#039;.&lt;br /&gt;
* Tick on &#039;Create Empty Files&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Run&#039; and a console window will open. This creates the empty GIS files.&lt;br /&gt;
&amp;lt;li&amp;gt; Once the tool has finished, click &#039;Close&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC2_Create_CATCH_Project_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set up the QGIS workspace by setting the projection to EPSG:32760, loading and styling the DEM and saving the workspace. See &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Project_Initialisation_QGIS | TUFLOW CATCH Module 01 - Project Initialisation]]&amp;lt;/u&amp;gt; for details.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Create Interventions == &lt;br /&gt;
An interventions (2d_im) layer contains one or more lines, called intervention devices. These intervention devices may represent constructed wetlands, bioretention systems, grassed swales, riparian revegetation strips or similar features. In the TUFLOW CATCH Control file, each device is assigned mass removal properties, which can be defined and adjusted on a pollutant by pollutant basis. The location and orientation of each device is specified via lines in the 2d_im layer. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create the 2d_im layer using the TUFLOW CATCH plugin:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the Processing Toolbox, go to TUFLOW Catch in the processing tool list and select &#039;Import Empty&#039;. This opens the dialog shown below.&lt;br /&gt;
:* Project Directory: This should automatically be set to the &#039;&#039;&#039;TUFLOW_CATCH_Module_02\Modelling&#039;&#039;&#039; folder.&lt;br /&gt;
:* Empty Type: Click ..., and tick on &#039;2d_im&#039; from the empty type list.&lt;br /&gt;
:* Geometry Type: Click ..., and tick on &#039;Line&#039;.&lt;br /&gt;
:* Run ID: &#039;&#039;&#039;TC02_001&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Run&#039;. Once the tool has finished, click &#039;Close&#039;. The &#039;&#039;&#039;2d_im_TC02_001_L&#039;&#039;&#039; will appear in the QGIS Layers panel. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC2_import_empty_2d_im_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To help determine where the intervention devices should be placed, load in the following files:&lt;br /&gt;
*&#039;&#039;&#039;2d_mat_TC01_001_R.shp&#039;&#039;&#039; from the &#039;&#039;&#039;TUFLOW\model\gis&#039;&#039;&#039; folder&lt;br /&gt;
*&#039;&#039;&#039;TC01_001_catchment_hydraulic_d_Max.tif&#039;&#039;&#039; from the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOWCATCH\results\grids&#039;&#039;&#039; folder&lt;br /&gt;
&lt;br /&gt;
Create interventions:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the QGIS Layers panel, select (left click) &#039;&#039;&#039;2d_im_TC02_001_L&#039;&#039;&#039; and toggle on editing. &lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Add Line Feature&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Digitise a line around the corner of the paddock with material ID 9 (paddockD). Use the right mouse button to terminate the line and an attributes dialog will appear. Set the ID to &#039;trench1&#039; and click &#039;OK&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Repeat the same process as above to digitise a line between the road and the paddock with material ID 7 (paddockB). Set the ID to &#039;retentionBasin&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=animation_TC2_GIS_inputs_01a.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Zoom in to the downstream end of the model. Use the &#039;&#039;&#039;TC01_001_catchment_hydraulic_d_Max.tif&#039;&#039;&#039; to determine where the water will be flowing. Using the same process as above, digitise a line perpendicular to the water on the western side of the stream. Set the ID to &#039;bufferStrip1&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=animation_TC2_GIS_inputs_02a.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create two more intervention devices with ID&#039;s &#039;trench2&#039; and &#039;bufferStrip2&#039;. Use the image below as a guide. &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; To style the interventions, use the &amp;quot;Apply TUFLOW Styles to Open Layers&amp;quot; [[File: TUFLOW_apply_styles_open_layers_icon.png | 30px]] and the &amp;quot;Apply Label to Current Layer&amp;quot; [[File: TUFLOW_apply_label_icon.png | 40px]] tools from the TUFLOW Plugin toolbar.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC2_all_devices_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Once all the intervention devices have been created, turn off editing to save the edits.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_M02#GIS_Inputs| Back to TUFLOW CATCH Tutorial 02]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M01&amp;diff=45703</id>
		<title>TUFLOW CATCH Tutorial M01</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M01&amp;diff=45703"/>
		<updated>2026-03-30T02:07:38Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* Running the Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
In this module, a TUFLOW CATCH pollutant export model is developed. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TUFLOW CATCH Tutorial 01 is built from the model created in &amp;lt;u&amp;gt;[[Tutorial_M06#Part_3_-_Rainfall_Control_File | TUFLOW Tutorial Module 6 - Part 3]]&amp;lt;/u&amp;gt;. The completed TUFLOW Module 6 (part 3) is provided in the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOW&#039;&#039;&#039; folder of the download dataset as the starting point for this tutorial. If unfamiliar with TUFLOW, it is recommended to complete Modules 1, 2, 3 and 6 of the &amp;lt;u&amp;gt;[[Tutorial_Introduction | TUFLOW Tutorials]]&amp;lt;/u&amp;gt; to establish an understanding of 1D and 2D TUFLOW modelling, including direct rainfall models.&lt;br /&gt;
&lt;br /&gt;
= Project Initialisation =&lt;br /&gt;
TUFLOW CATCH models are separated into a series of folders which contain the input and output files. The recommended directory structure for TUFLOW CATCH models consists of a top-level folder, &#039;&#039;&#039;Modelling&#039;&#039;&#039;, which contains three subfolders:&lt;br /&gt;
* &#039;&#039;&#039;TUFLOW&#039;&#039;&#039;: Contains TUFLOW HPC input files.&lt;br /&gt;
* &#039;&#039;&#039;TUFLOWCATCH&#039;&#039;&#039;: Contains the TUFLOW CATCH Control file, as well as all check, results and log files.&lt;br /&gt;
* &#039;&#039;&#039;TUFLOWFV&#039;&#039;&#039;: Contains TUFLOW FV input files.&lt;br /&gt;
The third level subfolders are outlined below. For a more detailed description, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/latest/ TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;. For more information on TUFLOW HPC or TUFLOW FV folder structures, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt; or the &amp;lt;u&amp;gt;[https://downloads.tuflow.com/TUFLOWFV/Releases/Latest/TUFLOW_FV_User_Manual.pdf TUFLOW FV Manual]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
[[File:TC1_folder_structure_01a.png|left]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; | Folder&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=10%| Sub-Folder (s)&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=75%| Description&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot;|TUFLOW&lt;br /&gt;
| bc_dbase&amp;lt;br&amp;gt;model|| Follows standard TUFLOW structure.&lt;br /&gt;
|-&lt;br /&gt;
| catch || Not used, but generated for internal use. It holds files that are produced during computation, but deleted when the simulation finishes successfully.&lt;br /&gt;
|-&lt;br /&gt;
| check&amp;lt;br&amp;gt;results&amp;lt;br&amp;gt;runs || Not used, but generated for internal use. &amp;lt;br&amp;gt;All TUFLOW check and results files are written to the &#039;&#039;&#039;TUFLOWCATCH\check&#039;&#039;&#039; folder and the &#039;&#039;&#039;TUFLOWCATCH\results&#039;&#039;&#039; folder respectively. &amp;lt;br&amp;gt;TUFLOW CATCH simulations are run from the .tcc file in the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center;&amp;quot;|TUFLOWCATCH&lt;br /&gt;
| bc_dbase|| Contains the output boundary condition and time-series data.&lt;br /&gt;
|-&lt;br /&gt;
| check || Contains the GIS and other check files produced by TUFLOW CATCH, TUFLOW and TUFLOW FV to carry out quality control checks&lt;br /&gt;
|-&lt;br /&gt;
| model || Not used - generated for internal use.&lt;br /&gt;
|-&lt;br /&gt;
| results|| Contains the result files produced by TUFLOW CATCH, TUFLOW and TUFLOW FV.&lt;br /&gt;
|-&lt;br /&gt;
| runs|| Contains the .tcc simulation control file.&lt;br /&gt;
|-&lt;br /&gt;
| runs\log || Contains the log files (e.g. .catchlog, .tlf, .log, etc) and _messages.shp files produced by TUFLOW CATCH, TUFLOW and TUFLOW FV.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot;|TUFLOWFV&lt;br /&gt;
| bc_dbase&amp;lt;br&amp;gt;model&amp;lt;br&amp;gt;stm&amp;lt;br&amp;gt;wqm|| Follows standard TUFLOW FV structure.&lt;br /&gt;
|-&lt;br /&gt;
| check&amp;lt;br&amp;gt;results&amp;lt;br&amp;gt;runs || Not used, but generated for internal use. &amp;lt;br&amp;gt;All TUFLOW FV check and results files are written to the &#039;&#039;&#039;TUFLOWCATCH\check&#039;&#039;&#039; folder and the &#039;&#039;&#039;TUFLOWCATCH\results&#039;&#039;&#039; folder respectively. &amp;lt;br&amp;gt;TUFLOW CATCH simulations are run from the .tcc file in the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The TUFLOW CATCH folders can be set up manually, or automatically through the TUFLOW CATCH QGIS Plugin (recommended).&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Project_Initialisation_QGIS | TUFLOW CATCH Project Initialisation]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= GIS Inputs =&lt;br /&gt;
Create, import and view input data:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_GIS_Inputs_QGIS | TC01 - GIS Inputs]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Boundary Condition Database (bc_dbase) =&lt;br /&gt;
Update the bc_dbase to remove the 2D boundaries and add a reference to the timeseries temperature data. Note that TUFLOW CATCH does not support 2D boundaries, however, 2d_sa GIS layers can be used to simulate non-hydrologic surface loads. For more information on 2d_sa inputs, refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.2/ProcessDescriptionsSAs-2.html#ProcessDescriptionsSAs-2 Section 3.4 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Tutorial_Data&#039;&#039;&#039; folder. Copy the &#039;&#039;&#039;temperature.csv&#039;&#039;&#039; and paste it in the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOW\bc_dbase&#039;&#039;&#039; folder. This file contains the timeseries temperature data. &lt;br /&gt;
&amp;lt;li&amp;gt; Open the file. As this file will be read by TUFLOW CATCH, the first column must contain the date in ISODATE format (DD/MM/YYYY hh:mm:ss). It will also be read by TUFLOW HPC, and therefore must have a column specifying a time in hours from the beginning of the model. In this case, the &#039;TUFLOW_Time&#039; column contains the time in hours. For example, 01/01/2021 10:00:00 corresponds to 0, 01/01/2021 11:00:00 to 1, and so on. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC1_temperature_csv_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;&#039;&#039;TUFLOW\bc_dbase&#039;&#039;&#039; folder, save a copy of the &#039;&#039;&#039;bc_dbase_M06_001.csv&#039;&#039;&#039; as &#039;&#039;&#039;bc_dbase_TC01_001.csv&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Open the file and remove the references to the 2D boundaries (FC01, FC02, FC04, FC05, FC06 and FC07). &lt;br /&gt;
&amp;lt;li&amp;gt; Add the reference to the timeseries temperature data as shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC1_bc_dbase_01b.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save the bc_dbase.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Materials =&lt;br /&gt;
Surface roughness or bed resistance values (e.g. Manning’s n) are assigned to material IDs. To simulate a more complex catchment area, more material IDs have been specified. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Tutorial_Data&#039;&#039;&#039; folder. Copy the &#039;&#039;&#039;materials_TC01_001.csv&#039;&#039;&#039; and paste it in the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOW\model&#039;&#039;&#039; folder. This file is a modified version of &#039;&#039;&#039;materials_M06_002.csv&#039;&#039;&#039; from &amp;lt;u&amp;gt;[[Tutorial_M06#Materials_2 | TUFLOW Tutorial Module 6]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file. Roughness values (Manning&#039;s n) have been applied to the five new material IDs:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC1_materials_01b.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;These new material IDs have been assigned to allow different pollutant export properties to be specified to each material ID. This is discussed in the &amp;lt;u&amp;gt;[[#Pollutant_Export_Model | TUFLOW CATCH Control File]]&amp;lt;/u&amp;gt; section. &lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW Soil File (.tsoilf) =&lt;br /&gt;
The soils (.tsoilf) file is similar to the materials file. A positive integer ID is assigned to each soil, then an infiltration method followed by the soil parameters. For this tutorial, there is only one soil type (ID 1) which is applied across the whole model. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Tutorial_Data&#039;&#039;&#039; folder. Copy the &#039;&#039;&#039;TC01_soils_001.tsoilf&#039;&#039;&#039; and paste it in the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOW\model&#039;&#039;&#039; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the file. The Green-Ampt (GA) infiltration method has been used. For more information on infiltration methods, refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC1_soils_file_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Simulation Control Files =&lt;br /&gt;
The following steps will require use of a text editor. The tutorial demonstration uses Notepad++. For its configuration information refer to &amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++ Tips]]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
=== TUFLOW Geometry Control File (TGC) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save a copy of &#039;&#039;&#039;M02_001.tgc&#039;&#039;&#039; as &#039;&#039;&#039;TC01_001.tgc&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOW\model&#039;&#039;&#039; folder. &lt;br /&gt;
&amp;lt;li&amp;gt; Open the &#039;&#039;&#039;TC01_001.tgc&#039;&#039;&#039; in a text editor and add the following line after the &#039;&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read GIS Mat&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&#039; command to reference the new materials GIS layer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Read GIS Mat&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;gis\2d_mat_TC01_001_R.shp  &amp;lt;font color=green&amp;gt;  ! Sets material values according to attributes in the GIS layer&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add the following section to globally set the soil ID and the soil thickness:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! SOILS&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Set Soil&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;1  &amp;lt;font color=green&amp;gt;  ! Globally sets the soil ID to 1&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Set Soil Thickness&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.2  &amp;lt;font color=green&amp;gt;  ! Globally sets the soil thickness to 0.2m&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save the TGC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW Boundary Control File (TBC) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of &#039;&#039;&#039;M06_003.tbc&#039;&#039;&#039; as &#039;&#039;&#039;TC01_001.tbc&#039;&#039;&#039; in the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOW\model&#039;&#039;&#039; folder. &lt;br /&gt;
&amp;lt;li&amp;gt; Open the &#039;&#039;&#039;TC01_001.tbc&#039;&#039;&#039; in a text editor and remove or comment out the reference to the 2D boundaries using a &#039;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;!&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; symbol.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Read GIS BC == gis\2d_bc_M01_001_L.shp    ! Reads in downstream 2D boundary&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add the additional lines to reference the 1D/2D culvert connections:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_bc_M03_culverts_001_P.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Links the 1D culverts to the 2D domain&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS BC &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\2d_bc_M03_culverts_001_R.shp | gis\2d_bc_M03_culverts_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Links the 1D culverts to the 2D domain&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the TBC.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TUFLOW ESTRY Control File (ECF) ===&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOW\model&#039;&#039;&#039; folder, and open &#039;&#039;&#039;TC01_001.ecf&#039;&#039;&#039; in a text editor. This file was created using the TUFLOW CATCH plugin.&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;1D Time Control&#039; section, ensure the following command has been specified to set the 1D computational timestep:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Timestep &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;0.5&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Specifies a 1D computational timestep of 0.5 seconds&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;1D Elements&#039; section, add the following command to define the culverts:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read GIS Network &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;black&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;gis\1d_nwk_M03_culverts_001_L.shp&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;  ! Defines culverts&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; Add the following command line to define the Advection Dispersion (AD) approach. For more information on Advection Dispersion, please refer to the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;AD Approach&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;METHOD A  &amp;lt;font color=green&amp;gt;  ! Sets the modelling approach for the Advection Dispersion through 1D channels&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the ECF.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Control File (TCC) ==&lt;br /&gt;
A TUFLOW CATCH simulation is set up and executed by constructing a TUFLOW CATCH Control file (.tcc). TUFLOW Control file (.tcf) and TUFLOW FV Control file (.fvc) are not used. The .tcc has four command blocks:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Global settings&lt;br /&gt;
&amp;lt;li&amp;gt; Catchment Hydraulic Model (TUFLOW HPC) commands&lt;br /&gt;
&amp;lt;li&amp;gt; Catchment Pollutant Export Model &lt;br /&gt;
&amp;lt;li&amp;gt; Receiving Model (TUFLOW FV) commands&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
All blocks must be included in the above order, but the later three can be switched on and off with a single command. &lt;br /&gt;
&lt;br /&gt;
The TUFLOW CATCH plugin has created a .tcc template file in the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder, &#039;&#039;&#039;TC01_001.tcc&#039;&#039;&#039;. This file has been populated with all the commands needed to execute a TUFLOW CATCH simulation. In this section, the template commands will be populated/updated for this tutorial model.&lt;br /&gt;
&lt;br /&gt;
=== Global Settings ===&lt;br /&gt;
This section contains information that is applied equally to both TUFLOW HPC and TUFLOW FV.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling\TUFLOWCATCH\runs&#039;&#039;&#039; folder and open &#039;&#039;&#039;TC01_001.tcc&#039;&#039;&#039; into a text editor.&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Simulation Settings&#039; section, update the time commands:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Start Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00:00  &amp;lt;font color=green&amp;gt;  ! Specifies the simulation start time&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;End Time&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 13:00:00  &amp;lt;font color=green&amp;gt;  ! Specifies the simulation end time&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Boundary Condition Configuration&#039; section, update the BC and CSV output intervals:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Catch BC Output Interval Nodestring&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Outputs BC nodestring data every 300 seconds&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Catch BC Output Interval Lateral&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;300  &amp;lt;font color=green&amp;gt;  ! Outputs BC lateral data every 300 seconds&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;CSV Write Frequency Day&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.01  &amp;lt;font color=green&amp;gt;  ! Writes CSV output every 0.01 days&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Catchment Hydraulic Model (TUFLOW HPC) ===&lt;br /&gt;
This block contains commands that construct the TUFLOW HPC simulation. These commands are almost entirely those that would be used in setting up a standalone TUFLOW HPC control file (.tcf), with a small number of additional commands that relate to TUFLOW CATCH. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set the catchment hydraulic model:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Catchment Hydraulic Model&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;HPC  &amp;lt;font color=green&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Set the zero date. TUFLOW HPC does not support ISODATE format, while TUFLOW FV requires it. This command ensures compatibility by setting the date in TUFLOW FV ISODATE format that corresponds to zero hours in TUFLOW HPC boundary condition files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Zero Date&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;01/01/2021 10:00  &amp;lt;font color=green&amp;gt;  ! Specifies the simulation start time in TUFLOW FV ISODATE format&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;GIS&#039; section, remove or comment out the following command using a &#039;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;!&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; symbol. The SHP projection has already been set in the &amp;lt;u&amp;gt;[[#Global_Settings |Global Settings]]&amp;lt;/u&amp;gt; section.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! SHP Projection == ..\..\TUFLOW\model\gis\projection.shp&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;GIS&#039; section, set the projection for the output grid files: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;TIF Projection&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\grid\DEM.tif  &amp;lt;font color=green&amp;gt;  ! Sets the GIS projection for the output grid files&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Solver&#039; section, set the timestep maximum and time format:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Timestep Maximum&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;2.5  &amp;lt;font color=green&amp;gt;  ! Specifies a maximum timestep (seconds)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Time Format&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;TUFLOWFV  &amp;lt;font color=green&amp;gt;  ! Specifies the time format of output results&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;SGS&#039; section, set the sample target distance:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;SGS Sample Target Distance&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;0.5  &amp;lt;font color=green&amp;gt;  ! Sets SGS Sample Target Distance (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Control Files&#039; section, ensure all control files are referenced.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Geometry Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\TC01_001.tgc  &amp;lt;font color=green&amp;gt;  ! Reference the TUFLOW Geometry Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Control File&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\TC01_001.tbc  &amp;lt;font color=green&amp;gt;  ! Reference the TUFLOW Boundary Conditions Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;BC Database&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\bc_dbase\bc_dbase_TC01_001.csv  &amp;lt;font color=green&amp;gt;  ! Reference the Boundary Conditions Database&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Read Materials File&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\materials_TC01_001.csv  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Reference the Materials Definition File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Rainfall Control File&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\M06_point2grid_003.trfc  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Reference the TUFLOW Rainfall Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;ESTRY Control File&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt; ..\..\TUFLOW\model\TC01_001.ecf &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Reference the ESTRY (1D) Control File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Soils&#039; section, reference the soils file (.tsoilf), and remove or comment out the &#039;soil negative rainfall approach&#039; command using a &#039;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;!&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&#039; symbol.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Read Soils File&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\TC01_soils_001.tsoilf  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Reference the Soils File&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=green&amp;gt;! Soil Negative Rainfall Approach == FACTOR&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Pollutant Configuration&#039; section, reference the receiving polygon and set the pollutants. In this tutorial, salinity, temperature, dissolved oxygen (WQ_DISS_OXYGEN_MG_L), alive and dead ecoli (WQ_PATH_ECOLI_ALIVE/DEAD_CFU_100ML) and clay sediment (SED_CLAY) are simulated.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Receiving Polygon&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;..\..\TUFLOW\model\gis\2d_rp_TC01_001_R.shp  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! GIS layer defining the receiving polygon&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Pollutant&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;Salinity, Temperature, WQ_DISS_OXYGEN_MG_L, WQ_PATH_ECOLI_ALIVE_CFU_100ML, WQ_PATH_ECOLI_DEAD_CFU_100ML, SED_CLAY  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Specify the pollutant names &amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Output Map Configuration&#039; section, update the following commands to set the map output formats, the map output interval, map cuttoff depth and to define the TIF output parameters. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Map Output Format&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;XMDF TIF  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Result file types&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Map Output Data Types&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;catch h v d  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Output data types&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Map Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;30  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Interval of output map data (seconds)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Map Cutoff Depth&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;0.05  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Sets map cutoff depth (meters)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;TIF Map Output Interval&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;0  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! Interval of output TIF map data (seconds)&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;TIF Map Output Data Types&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;h d dt  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;  ! TIF result file types&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Pollutant Export Model===&lt;br /&gt;
This block contains commands that control the pollutant export (and other constituent) simulation.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set the pollutant export model:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Catchment Pollutant Export Model&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;Mass Accumulation Release  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Constant Concentrations&#039; section, add the following commands. They set the pollutants &#039;Salinity&#039; and &#039;WQ_DISS_OXYGEN_MG_L&#039; (dissolved oxygen) to a constant concentration value that is applied equally to all boundaries and summary files where appropriate.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Constant Salinity&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;0.0  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt; ! Specify the constant concentration of salinity&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Constant WQ_DISS_OXYGEN_MG_L&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;8.0  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt; ! Specify the constant concentration of dissolved oxygen&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the &#039;Time Series&#039; section, add the following command. It sets the pollutant &#039;Temperature&#039; to be a time-series input, and points to the name &#039;temp&#039; in the bc_dbase.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Time-Series Temperature&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt; == &amp;lt;/font&amp;gt;temp  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;! Specify temperature as a timeseries and the corresponding BC database name&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;In the &#039;Pollutant Export Properties&#039; section, add the material block &#039;&amp;lt;tt&amp;gt;ALL&amp;lt;/tt&amp;gt;&#039; (&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Material &amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; ALL&amp;lt;/tt&amp;gt;) from the page linked below. This code block defines the default pollutant export properties for each pollutant. Once uniform conditions are set, progressive specifications of material by material pollutant behaviour can be set. These specifications override previous settings on a spatial basis. Including the default (&amp;lt;tt&amp;gt;ALL&amp;lt;/tt&amp;gt;) material block is considered best practice, as it ensures that all pollutants have export properties defined across the entire TUFLOW HPC domain, otherwise an error will occur. For more information on the pollutant export parameters, refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.0/SimulationConstruction-1.html#SCTCCPollExpPE-4 Section 4.5.3.3 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;. &lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Pollutant_Export#Default_.28ALL.29 | Pollutant Export Properties: ALL]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To set the pollutant export properties for the different material IDs, blocks similar to the above (e.g. &amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;Material &amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;==&amp;lt;/font&amp;gt; 4&amp;lt;/tt&amp;gt;) can be used. The material IDs correspond to those defined in the &#039;&#039;&#039;2d_mat_TC01_001.shp&#039;&#039;&#039; and &#039;&#039;&#039;2d_mat_M01_001.shp&#039;&#039;&#039; GIS layers.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
To estimate E. coli export rates for each paddock, the area of each paddock was calculated. Based on this, appropriate animal populations were assigned. Using these values, the E. coli rates were calculated. For more information on pollutant export calculations, refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.0/ProcessDescriptions-1.html#ProcessDescriptionsMats-3 Section 3.2.3 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TC1_aerial_with_paddocks_01a.png|left]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white; padding: 10px&amp;quot; |Material ID&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white; padding: 10px&amp;quot; |Paddock Name&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white; padding: 10px&amp;quot; |Area (ha)&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white; padding: 10px&amp;quot; |Animals&lt;br /&gt;
|-&lt;br /&gt;
|6||paddockA||1.5|| 23 Sheep, 7 Lambs&lt;br /&gt;
|- &lt;br /&gt;
|7||paddockB||0.3||2 Cows&lt;br /&gt;
|-&lt;br /&gt;
|8||paddockC||1.2||20 Sheep&lt;br /&gt;
|- &lt;br /&gt;
|9||paddockD || 1||4 Cows, 2 Calves&lt;br /&gt;
|} &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Set the pollutant export properties for material ID 1. This is the material ID for all areas within the model domain not covered by a material region. These pollutant export properties define the release and deposition of clay sediment. Sediment pollutants generally use the &#039;Shear1&#039; method. For more information on &#039;Shear1&#039;, refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/catch/manual/2025.0/SimulationConstruction-1.html#SCTCCPollExpSS-5 Section 4.5.3.3.2 of the TUFLOW CATCH Manual]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Pollutant_Export#Model_Area_.281.29 | Pollutant Export Properties: 1]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Set the pollutant export properties for material ID 4 (waterholes, eddies, etc). These properties define settling (deposition velocity) of alive and dead E. coli to 2 meters per day (approx 25cm during the simulation).&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Pollutant_Export#Slow_Moving_Water_.284.29 | Pollutant Export Properties: 4]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Set the pollutant export properties for material ID&#039;s 6 (paddockA), 7 (paddockB), 8 (paddockC) and 9 (paddockD). These properties define the accumulation (rate) and washoff of alive and dead E. coli for the animals on the paddock.&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Pollutant_Export#Paddocks_.286.2C_7.2C_8_and_9.29 | Pollutant Export Properties: 6, 7, 8, 9]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; For this tutorial, leave all interventions commands as is. This section of the .tcc will be discussed in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M02 |TUFLOW CATCH Tutorial 02]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;li&amp;gt; Save the .tcc.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Receiving Model (TUFLOW FV)===&lt;br /&gt;
For this tutorial, leave all commands as is. This section of the .tcc will be populated in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Running the Simulation=&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOWCATCH\runs&#039;&#039;&#039; folder. The TUFLOW CATCH plugin created a batch file (.bat) that references the .tcc called &#039;&#039;&#039;Demonstration.bat&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of &#039;&#039;&#039;Demonstration.bat&#039;&#039;&#039; as &#039;&#039;&#039;_run_TC01_CATCH.bat&#039;&#039;&#039; and open the file in a text editor. &lt;br /&gt;
&amp;lt;li&amp;gt;Update the batch file to reference the TUFLOW CATCH executable:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;set &amp;lt;/font&amp;gt;exe&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;=&amp;lt;/font&amp;gt;&amp;quot;..\..\..\..\exe\TUFLOWCATCH\2026.0.0\TUFLOWCATCH.exe&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;%exe%&amp;lt;/font&amp;gt; TC01_001.tcc&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Double click the batch file in file explorer to run the simulation.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
See tips on common mistakes and troubleshooting steps if the model doesn&#039;t run:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[Tutorial_Troubleshooting_QGIS | QGIS]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Check Files and Results Output=&lt;br /&gt;
Complete the steps outlined in the following links to review check files and simulation results from the TUFLOW CATCH pollutant export model simulation:&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Check_Files_QGIS | TC01 - Check Files]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:*&amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M01_Results_QGIS | TC01 - Results]]&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Reviewing Model Performance=&lt;br /&gt;
There are a number of useful outputs from TUFLOW CATCH for reviewing the model performance. &lt;br /&gt;
&lt;br /&gt;
===TUFLOW CATCH Log File (.catchlog)===&lt;br /&gt;
The first file to review is the TUFLOW CATCH Log File (.catchlog). The &amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Log Folder&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;log&amp;lt;/tt&amp;gt; command in the .tcc controls where the .catchlog is written. &amp;lt;br&amp;gt;&lt;br /&gt;
Navigate to the &#039;&#039;&#039;Modelling\TUFLOWCATCH\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;TC01_001.catchlog&#039;&#039;&#039; file in a text editor. It contains a summary of the TUFLOW CATCH simulation. The following are the key points to review: &amp;lt;br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Global Settings:&#039;&#039;&#039; The commands from the &#039;Global Settings&#039; section of the .tcc are echoed here. Review these to confirm that the correct settings have been applied.&amp;lt;br&amp;gt;&lt;br /&gt;
:[[File: TC1_catchlog_01b.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Simulation Configuration:&#039;&#039;&#039; The .catchlog outlines which models have been used and what simulation configuration has been run. In this tutorial, the catchment hydraulic and pollutant export models have been applied, indicating a pollutant export configuration. &amp;lt;br&amp;gt;&lt;br /&gt;
:[[File: TC1_catchlog_02a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Run Status:&#039;&#039;&#039; At the end of the file, a message will confirm the simulation outcome. &lt;br /&gt;
:* If successful, it will state &#039;Run Successful&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
::[[File: TC1_catchlog_03b.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
:* If an issue occurred, the simulation will stop and an error message will be reported. An example error is shown in the image below. &lt;br /&gt;
::&#039;&#039;&#039;Note:&#039;&#039;&#039; Each TUFLOW CATCH error message has a corresponding wiki page that provides further details about the error, and suggestions for how to fix the issue. Refer to &amp;lt;u&amp;gt;[[5xxx_TUFLOW_Messages | 5xxx Messages]]&amp;lt;/u&amp;gt; for a list of all TUFLOW CATCH related error messages.&amp;lt;br&amp;gt;&lt;br /&gt;
::[[File: TC1_catchlog_04c.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Other Log Files===&lt;br /&gt;
Once the .catchlog has been reviewed, it is recommended to check the TUFLOW Log File (.tlf) if the catchment hydraulic model has been specified and to check the TUFLOW FV Log File (.log) if the receiving model has been specified. These files contain TUFLOW and TUFLOW FV specific check, warning and error messages.&lt;br /&gt;
&lt;br /&gt;
====TUFLOW Log File (.tlf)====&lt;br /&gt;
Since the catchment hydraulic model is specified in this tutorial, review the TUFLOW Log File. The &amp;lt;tt&amp;gt;&amp;lt;font color=blue&amp;gt;Log Folder&amp;lt;/font&amp;gt;&amp;lt;font color=red&amp;gt; == &amp;lt;/font&amp;gt;log&amp;lt;/tt&amp;gt; command in the .tcc defines where the .tlf is written&amp;lt;br&amp;gt;&lt;br /&gt;
Navigate to the &#039;&#039;&#039;Modelling\TUFLOWCATCH\runs\log&#039;&#039;&#039; folder and open the &#039;&#039;&#039;TC01_001_catchment_hydraulic.tlf&#039;&#039;&#039; file in a text editor. &lt;br /&gt;
* Scroll down to the bottom to &#039;Simulation Summary&#039;. This includes information about the computation time, messages, volume calculations and mass error.&lt;br /&gt;
* Review any check, warning or error messages. &lt;br /&gt;
* For more information on reviewing TUFLOW log outputs, refer to &amp;lt;u&amp;gt;[[HPC_Model_Review | HPC Model Review]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====TUFLOW FV Log File (.log)====&lt;br /&gt;
The receiving model has not been specified in this tutorial, so no TUFLOW FV Log File (.log) has been created. The TUFLOW FV Log File will be reviewed in &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_M03#Reviewing_Model_Performance | TUFLOW CATCH Tutorial 03]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
* A TUFLOW CATCH Pollutant Export model was created. A downstream receiving polygon was used to track pollutants in the receiving waters.&lt;br /&gt;
* Check files were used to review the transfer from the Catchment Hydraulic model (TUFLOW HPC) into the receiving polygon.&lt;br /&gt;
* TUFLOW CATCH time series results and TUFLOW map outputs were assessed to observe the pollutant behaviours.&lt;br /&gt;
* For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_Introduction| Back to Tutorial Introduction Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M01_Project_Initialisation_QGIS&amp;diff=45702</id>
		<title>TUFLOW CATCH Tutorial M01 Project Initialisation QGIS</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_CATCH_Tutorial_M01_Project_Initialisation_QGIS&amp;diff=45702"/>
		<updated>2026-03-30T02:06:37Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* TUFLOW CATCH Plugin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
QGIS is used to configure the TUFLOW CATCH project with the TUFLOW CATCH plugin. For installation, see &amp;lt;u&amp;gt;[[TUFLOW_CATCH_Tutorial_Introduction#Software_Requirements | TUFLOW CATCH Tutorial Introduction]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
There are three steps to set up the TUFLOW CATCH project:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Define the QGIS Project Coordinate Reference System (CRS).&lt;br /&gt;
&amp;lt;li&amp;gt;Use the TUFLOW CATCH plugin to create the model folder structure and to write empty GIS files for model inputs.&lt;br /&gt;
&amp;lt;li&amp;gt;Set up the QGIS workspace to contain the DEM of the site.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Coordinate Reference System (CRS) ==&lt;br /&gt;
Define the CRS, also called &#039;Projection&#039;, for the QGIS workspace:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt;Go to Project &amp;gt; Properties… &lt;br /&gt;
&amp;lt;li&amp;gt;In the CRS tab, type ‘WGS 84 / UTM Zone 60S’.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the matching projection in the &#039;Predefined Coordinate Reference Systems&#039; section.&lt;br /&gt;
&amp;lt;li&amp;gt;Click ‘Apply’ and ‘OK’.&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure that the projection is set correctly by viewing the bottom right hand corner of the workspace. It should read ‘EPSG:32760’.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=animation_TC1_initialisation_01a.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW CATCH Plugin == &lt;br /&gt;
Create the TUFLOW CATCH project:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Go to Processing &amp;gt; Toolbox from the top drop down menu options to open the Processing Toolbox.&lt;br /&gt;
&amp;lt;li&amp;gt; Go to TUFLOW Catch in the processing tool list and select &#039;Create TUFLOW Catch Project&#039;. This opens the dialog shown below. &lt;br /&gt;
*Project Name: &#039;&#039;&#039;TC01&#039;&#039;&#039;&lt;br /&gt;
*Project Folder: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling&#039;&#039;&#039; folder. &lt;br /&gt;
*Project CRS: Click the drop down menu and select &#039;Project CRS: EPSG:32760 - WGS 84 / UTM zone 60S’.&lt;br /&gt;
*TUFLOW HPC Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOW\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOW_iSP_w64.exe&#039;&#039;&#039;.&lt;br /&gt;
*TUFLOW FV Executable: Click &#039;...&#039;, and navigate to the &#039;&#039;&#039;exe\TUFLOWFV\2026.0.0&#039;&#039;&#039; folder. Select &#039;&#039;&#039;TUFLOWFV.exe&#039;&#039;&#039;.&lt;br /&gt;
*Default GIS Format: Click the drop down menu and select &#039;SHP&#039;.&lt;br /&gt;
*Tick on &#039;Create Empty Files&#039;, &#039;Create Folder Structure&#039; and &#039;Setup Control File Templates&#039;&lt;br /&gt;
*Control File Templates: Expand the &#039;Advanced Parameters&#039; section. Click &#039;...&#039;, and tick on: TUFLOW CATCH Control file (.tcc), Batch file (.bat) and ESTRY Control file (.ecf). Ensure all other files are ticked off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Run&#039; and a console window will open. This creates the TUFLOW CATCH folder structure, the projection files, the empty GIS files and template control files.  &lt;br /&gt;
&amp;lt;li&amp;gt; Once the tool has finished, click &#039;Close&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=animation_TC1_initialisation_02b.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The TUFLOW CATCH folder structure will now be set up in the &#039;&#039;&#039;TUFLOW_CATCH_Module_01\Modelling&#039;&#039;&#039; folder. The template files &#039;&#039;&#039;TC01_001.tcc&#039;&#039;&#039;, &#039;&#039;&#039;Demonstration.bat&#039;&#039;&#039; and &#039;&#039;&#039;TC01_001.ecf&#039;&#039;&#039; will be in their respective folders. Note that the &#039;&#039;&#039;Modelling\TUFLOW&#039;&#039;&#039; folder still contains all files from &amp;lt;u&amp;gt;[[Tutorial_M06#Part_3_-_Rainfall_Control_File | TUFLOW Tutorial Module 6 (part 3)]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Video|name=animation_TC1_initialisation_03a.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== QGIS Workspace == &lt;br /&gt;
Set up the QGIS workspace to contain the model elevation data, and save the workspace:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Windows File Explorer, navigate to the &#039;&#039;&#039;TUFLOW\model\grid&#039;&#039;&#039; folder. Drag and drop the &#039;&#039;&#039;DEM.tif&#039;&#039;&#039; file into QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt;Change the symbology of the DEM:&lt;br /&gt;
* In the QGIS Layers panel, right click the &#039;&#039;&#039;DEM&#039;&#039;&#039; file and select &#039;Properties&#039;.&lt;br /&gt;
*From the Symbology tab, under &#039;Band Rendering&#039; select the following options:&lt;br /&gt;
:*Render type: Singleband pseudocolor&lt;br /&gt;
:*Color ramp: Spectral&lt;br /&gt;
:*Color ramp: Invert Color Ramp&lt;br /&gt;
:*Mode: Equal Interval&lt;br /&gt;
*From the Transparency tab, set the Global Opacity to 75%.&lt;br /&gt;
*Click &#039;Apply&#039; and &#039;OK&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=animation_TC1_initialisation_04a.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a hillshade of the DEM:&lt;br /&gt;
*Right click on the &#039;&#039;&#039;DEM&#039;&#039;&#039; file in the QGIS Layers Panel and select &#039;Duplicate Layer&#039;.&lt;br /&gt;
*Right click on the &#039;&#039;&#039;DEM_copy&#039;&#039;&#039; and select &#039;Rename Layer&#039;. Rename the layer to &#039;&#039;&#039;DEM_Hillshade&#039;&#039;&#039;.&lt;br /&gt;
*Right click on the &#039;&#039;&#039;DEM_Hillshade&#039;&#039;&#039; and select &#039;Properties&#039;.&lt;br /&gt;
*From the Symbology tab, under &#039;Band Rendering&#039; select the following options:&lt;br /&gt;
:*Render type: Hillshade&lt;br /&gt;
:*Z Factor: 3&lt;br /&gt;
*Click &#039;Apply&#039; and &#039;OK&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=animation_TC1_initialisation_05a.mp4|width=1236}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Save the QGIS workspace:&lt;br /&gt;
*Go to Project &amp;gt; Save As.&lt;br /&gt;
*Navigate to the &#039;&#039;&#039;TUFLOW_CATCH_Module_01&#039;&#039;&#039; folder and save the workspace as &#039;&#039;&#039;TC01.qgz&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_CATCH_Tutorial_M01#Project_Initialisation| Back to TUFLOW CATCH Tutorial 1]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=XPSWMM_to_TUFLOW-SWMM&amp;diff=45701</id>
		<title>XPSWMM to TUFLOW-SWMM</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=XPSWMM_to_TUFLOW-SWMM&amp;diff=45701"/>
		<updated>2026-03-30T02:05:11Z</updated>

		<summary type="html">&lt;p&gt;Emilie Nielsen: /* TUFLOW Simulation Execution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
This Wiki page outlines recommended steps for the conversion of an XPSWMM model to TUFLOW. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
XPSWMM is a flood and urban stormwater drainage modeling software developed by Autodesk (previously Innovyze and XP Solutions). The XPSWMM solution uses EPA SWMM for its 1D calculations, dynamically linked to TUFLOW for its 2D calculations. The software functions within a custom build Graphical User Interface (GUI). Unknown to many XPSWMM modelers, during simulation, XPSWMM processes its inputs into TUFLOW files and also calls TUFLOW for the 2D calculations. As XPSWMM uses TUFLOW for its 2D engine, like-for-like results can be achieved using this software. The modeling workflow in TUFLOW differs from XPSWMM, as TUFLOW modeling is integrated with QGIS (Geographical Information System) GIS software instead of embedded within a software specific Graphical User Interface.&lt;br /&gt;
&lt;br /&gt;
If you are building a TUFLOW SWMM model from scratch, not from XPSWMM, please refer to the &amp;lt;u&amp;gt;[[TUFLOW_SWMM_Tutorial_Introduction | TUFLOW SWMM Tutorials]]&amp;lt;/u&amp;gt;. Tutorials are provided for the following topics:&lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW SWMM Tutorial M01 | TUFLOW SWMM Module 1]]&amp;lt;/u&amp;gt; - 1D SWMM Culverts&lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW SWMM Tutorial M02 | TUFLOW SWMM Module 2]]&amp;lt;/u&amp;gt; - 1D SWMM Pipe Network / 2D TUFLOW Direct Rainfall Hydrology&lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW SWMM Tutorial M03 | TUFLOW SWMM Module 3]]&amp;lt;/u&amp;gt; - 1D SWMM Pipe Network / 1D SWMM Urban Hydrology&lt;br /&gt;
* &amp;lt;u&amp;gt;[[TUFLOW SWMM Tutorial M04 | TUFLOW SWMM Module 4]]&amp;lt;/u&amp;gt; - 1D SWMM Pipe Network / 1D SWMM Urban Hydrology: Executing multiple different event simulations from a single model control file.&lt;br /&gt;
&lt;br /&gt;
== Dataset Download ==&lt;br /&gt;
The dataset used for this model conversion demonstration is available for download here: &amp;lt;u&amp;gt;[https://downloads.tuflow.com/SWMM/XPSWMM_XPX_to_TUFLOW_Conversion.zip XPSWMM XPX to TUFLOW Conversion Dataset]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
This dataset contains the XPSWMM model and the resulting TUFLOW model that is created. These can be found in the &#039;&#039;&#039;XPSWMM&#039;&#039;&#039; and &#039;&#039;&#039;Complete_Conversion&#039;&#039;&#039; folders respectively. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you are using this example conversion dataset, please rerun the XPSWMM model in the location where you save the dataset before beginning your own TUFLOW model conversion.&#039;&#039;&#039; Rerunning the model is necessary because XPSWMM will write TUFLOW files during its preprocessing, subsequently defining the correct file path information (for the location where you saved your files) in the newly written TUFLOW files. We also recommend creating your own TUFLOW model in a different folder from the provided TUFLOW dataset so you can easily compare your model against it.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have access to a XPSWMM license and the XPSWMM Application, please refer to the &amp;lt;u&amp;gt;[[XPSWMM_to_TUFLOW-SWMM_Troubleshooting#Model_Conversion_Without_a_XPSWMM_License |XPSWMM to TUFLOW SWMM Troubleshooting]]&amp;lt;/u&amp;gt; page. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XPSWMM to TUFLOW Model Conversion =&lt;br /&gt;
== Export Data From XPSWMM Model == &lt;br /&gt;
&#039;&#039;&#039;Digital Terrain Model (DTM) Data&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
XPSWMM reads its 2D DTM data in one of two ways:&lt;br /&gt;
* The DTM data can be directly specified in the &#039;2D Model Settings&#039;, or &lt;br /&gt;
* The DTM data can be internally processed by XPSWMM using its terrain tools and DTM builder. &lt;br /&gt;
Depending on which method is applied to your XPSWMM model, the steps required to will vary. Review which method is used:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open your existing model in XPSWMM.&lt;br /&gt;
&amp;lt;li&amp;gt; In the top dropdown menu options, go to Configuration &amp;gt; Job Control &amp;gt; 2D Model Settings. This will open a dialog. &lt;br /&gt;
&amp;lt;li&amp;gt; Under &#039;2D Hydraulics Job Control&#039;, select &#039;Surface &amp;amp; Sampling&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt; Review the options in the &#039;Surface&#039; section:&lt;br /&gt;
:* If &#039;Use DTM&#039; is selected: Continue to the section below (&amp;lt;u&amp;gt;[[XPSWMM_to_TUFLOW-SWMM#Export_DTM_Data_from_XPSWMM |Export DTM Data from XPSWMM]]&amp;lt;/u&amp;gt;) and complete the steps.&lt;br /&gt;
:* If &#039;Use Grid File for Topography&#039; is selected and a &#039;Grid file&#039; is specified, the steps outlined in the &#039;Export DTM Data From XPSWMM&#039; section can be skipped. Go to the &amp;lt;u&amp;gt;[[XPSWMM_to_TUFLOW-SWMM#Export_XPX_Data_From_XPSWMM|Export XPX Data From XPSWMM]]&amp;lt;/u&amp;gt; section.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you have a .tif elevation file, you can continue to the &amp;lt;u&amp;gt;[[XPSWMM_to_TUFLOW-SWMM#Export_XPX_Data_From_XPSWMM|Export XPX Data From XPSWMM]]&amp;lt;/u&amp;gt; section. The conversion process will be identical however, once converted, you will have to create the &#039;&#039;&#039;TUFLOW\model\grid&#039;&#039;&#039; folder manually and copy the .tif file into it. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_Export_Data_01b.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Export DTM Data From XPSWMM ===&lt;br /&gt;
If &#039;Use DTM&#039; was selected, XPSWMM preprocesses its Digital Terrain Model (DTM) into a binary XPTIN elevation dataset for inclusion in the TUFLOW model. XPTIN is a binary format that can&#039;t readily be used in GIS software. For this reason, the following steps outline how to obtain a DTM dataset in a GIS friendly form.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the XPSWMM Layers panel, under &#039;Topography&#039;, right click on &#039;&#039;&#039;DTM&#039;&#039;&#039; and select &#039;Export DTM Data&#039;. &lt;br /&gt;
:* Input TIN File: Select the relevant XPSWMM Input TIN file. &lt;br /&gt;
:* Output File Format: &#039;ASCII Grid File Format&#039;.&lt;br /&gt;
:* Cell Size Value: Choose a suitable DTM resolution. This resolution should be finer than the hydraulic model resolution. Typically, a DTM resolution is 1/5th to 1/10th of the hydraulic model 2D cell size is common (1 in the example dataset).&lt;br /&gt;
&#039;&#039;Note: XPSWMM requires an integer cell size value for this export step. For example, Cell Size Values of 1, 2, 3, 4, 5 ... are suitable. The XPSWMM export will not function if you specify a decimal cell size value (eg. 0.5, 2.5, etc.).&#039;&#039;  &lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Export&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Save the file under an appropriate name (e.g. &#039;&#039;&#039;1D2D_Urban_Grid.asc&#039;&#039;&#039;) to the folder where XPSWMM writes the .tcf during its simulation preprocessing. By default, this is the &#039;&#039;&#039;2D\Data&#039;&#039;&#039; folder. &amp;lt;br&amp;gt;&lt;br /&gt;
If this folder does not exist, either:&lt;br /&gt;
:* The XPSWMM model has not run, so the TUFLOW control files have not been created by XPSWMM. Run the XPSWMM model (go to Analyze &amp;gt; Solve... in top dropdown menu options).&lt;br /&gt;
:* Non-default output settings have been specified in XPSWMM. To determine the output location, in the top dropdown menu options, go to Configuration &amp;gt; Job Control &amp;gt; 2D Model Settings &amp;gt; Folder Options. Ensure the following &#039;Folder Locations&#039; are selected.&lt;br /&gt;
::[[File: XPSWMM_to_TUFLOW_2DJobControl_FolderOptions_Dialog_01e.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; In the top dropdown menu options, navigate to  Configuration &amp;gt; Job Control &amp;gt; 2D Model Settings. This will open a dialog, under &#039;2D Hydraulics Job Control&#039;, select &#039;Surface &amp;amp; Sampling&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Tick on &#039;Use grid file for topography&#039; and select &#039;...&#039; to navigate to the Grid file saved in the &#039;&#039;&#039;2D\Data&#039;&#039;&#039; folder. This file will be read directly into TUFLOW. &lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;OK&#039; to save the settings. &lt;br /&gt;
&amp;lt;li&amp;gt; Run the XPSWMM model to rewrite the TUFLOW files (including the new linkage to the DTM dataset) to the Data folder (go to Analyze &amp;gt; Solve... in top dropdown menu options).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_Export_Data_02b.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Export XPX Data From XPSWMM ===&lt;br /&gt;
A XPX file is a simple command line file that contains the information needed to create link and node objects. To export this data from the XPSWMM model:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In XPSWMM, in the top dropdown menu options, navigate to File &amp;gt; Import/Export Data &amp;gt; Export XPX Data. This will open a dialog. Leave all options as default and click &#039;Export&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; When prompted, save the file under an appropriate name (eg &#039;&#039;&#039;1D2D_Urban_001.xpx&#039;&#039;&#039;) to the folder where the XPSWMM model is located.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_Export_Data_03b.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Convert XPSWMM Model to TUFLOW SWMM ==&lt;br /&gt;
Ensure you have QGIS and have the QGIS TUFLOW Plugin installed:&lt;br /&gt;
*Install QGIS 3.34 or later: &amp;lt;u&amp;gt;[https://www.qgis.org/download/ Latest 64-bit version of QGIS]&amp;lt;/u&amp;gt;. &lt;br /&gt;
*Install the QGIS TUFLOW Plugin by following the instructions, &amp;lt;u&amp;gt;[[TUFLOW_QGIS_Plugin | QGIS TUFLOW Plugin Installation]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following steps outline the process of converting a XPSWMM model to TUFLOW SWMM using the &#039;&amp;lt;u&amp;gt;[[QGIS_SWMM_Convert_XPSWMM_Model_From_XPX|Convert - XPSWMM model from XPX]]&amp;lt;/u&amp;gt;&#039; processing tool.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open QGIS and go to Processing &amp;gt; Toolbox from the top dropdown menu options to open the Processing Toolbox.&lt;br /&gt;
&amp;lt;li&amp;gt; Go to TUFLOW &amp;gt;&amp;gt; SWMM in the processing tool list and select &#039;&amp;lt;u&amp;gt;[[QGIS_SWMM_Convert_XPSWMM_Model_From_XPX|Convert - XPSWMM model from XPX]]&amp;lt;/u&amp;gt;&#039;. This opens the dialog shown below.&lt;br /&gt;
:* XPSWMM Exported XPX File: Click &#039;...&#039; and navigate to the exported XPX data (e.g. &#039;&#039;&#039;1D2D_Urban_001.xpx&#039;&#039;&#039;). This should be located in the same folder as the XPSWMM model. &lt;br /&gt;
:* TUFLOW TCF Filename: Click &#039;...&#039; and navigate to the XPSWMM .tcf. This should be located in the &#039;&#039;&#039;2D\Data&#039;&#039;&#039; folder (e.g. &#039;&#039;&#039;2D\Data &amp;gt;&amp;gt; 1D2D_Urban_001.tcf&#039;&#039;&#039;). &lt;br /&gt;
:* SWMM File Prefix: Choose an appropriate prefix for the SWMM files (e.g. &#039;&#039;&#039;1D2D_Urban_swmm&#039;&#039;&#039;).&lt;br /&gt;
:* Output Solution Scheme: &#039;HPC&#039;&lt;br /&gt;
:* Output Hardware Specification: &#039;GPU&#039; (if GPU is not available, select &#039;CPU&#039;)&lt;br /&gt;
:* Output Vector Format: &#039;GPKG&#039;&lt;br /&gt;
:* Output Raster Format: &#039;GTIFF&#039;&lt;br /&gt;
:* Output Profile: Any option can be used. &#039;ALL IN ONE&#039; is used in this example for model design consistency with the &amp;lt;u&amp;gt;[[Tutorial_Introduction | TUFLOW SWMM Tutorials]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
:* Event name if no global storms: Choose an appropriate event name if applicable (100yr in the example dataset). &lt;br /&gt;
:* BC width for created 1D/2D connections (HX/SX): This value should be approximately 2 times the width of the hydraulic model 2D cell size (10 in the example dataset).&lt;br /&gt;
:* BC offset distance for created 1D/2D connections (HX/SX): Distance from the channel endpoint to the midpoint of the BC line (2 in the example dataset).&lt;br /&gt;
:* Output Folder: Click &#039;...&#039; and navigate to an appropriate location to save your TUFLOW model. In this location, create a new folder called &#039;&#039;&#039;TUFLOW&#039;&#039;&#039; and select it.&lt;br /&gt;
:* Output CRS: Select an appropriate Coordinate Reference System (CRS) for the model. For the demonstration model, the CRS is &#039;EPSG:32760 - WGS 84 / UTM zone 60S&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;Run&#039;. Once the tool is finished, click &#039;Close&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_Convert_01c.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Inspect the output of the &#039;&amp;lt;u&amp;gt;[[QGIS_SWMM_Convert_XPSWMM_Model_From_XPX|Convert - XPSWMM model from XPX]]&amp;lt;/u&amp;gt;&#039; processing tool and load the TUFLOW model into QGIS:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In Windows File Explorer, inspect the files output by the processing tool. In particular:&lt;br /&gt;
* The &#039;&#039;&#039;TUFLOW\bc_dbase&#039;&#039;&#039; folder contains the BC Database which will contain any curves used in BC conditions, for easy extending to other events.&lt;br /&gt;
* The &#039;&#039;&#039;TUFLOW\model&#039;&#039;&#039; folder contains the TUFLOW SWMM Control File (TSCF) which holds all commands specific to SWMM, including links to the converted SWMM INP file. &lt;br /&gt;
* The &#039;&#039;&#039;TUFLOW\model\swmm&#039;&#039;&#039; folder contains a GeoPackage database (&#039;&#039;&#039;*_convert_messages.gpkg&#039;&#039;&#039;). This GeoPackage contains locations and descriptions of any errors or warnings that occurred during the conversion process. &lt;br /&gt;
: &#039;&#039;&#039;Note:&#039;&#039;&#039; Conversion messages are addressed in further detail here &amp;lt;u&amp;gt;[[XPSWMM_to_TUFLOW-SWMM_Troubleshooting#Common_Conversion_Issues |XPSWMM to TUFLOW SWMM Troubleshooting]]&amp;lt;/u&amp;gt;. &lt;br /&gt;
* The &#039;&#039;&#039;TUFLOW\runs&#039;&#039;&#039; folder contains the TCF. If event(s) are specified, the TCF filename with have event placeholder(s), i.e. &#039;_~e1~_~e2~_&#039; (e.g. &#039;&#039;&#039;1D2D_Urban_001_~e1~.tcf&#039;&#039;&#039;). Again, if event(s) are used, this folder also contains the TUFLOW Event File (TEF) with the event(s) specified. &amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_Convert_02b.mp4|width=800}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open QGIS, and click on the ‘Load TUFLOW Layers from TCF’ symbol from the QGIS TUFLOW Plugin toolbar.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Tuflow_plugin_load_tcf_layers.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Navigate to the location of the TUFLOW model and go to the &#039;&#039;&#039;TUFLOW\runs&#039;&#039;&#039; folder. Select the TCF.&lt;br /&gt;
&amp;lt;li&amp;gt; In the Load Layers window, select:&lt;br /&gt;
* Ordering Options: Alphabetical&lt;br /&gt;
* Grouping Options: Group by control file&lt;br /&gt;
* Raster Load Options: Load Normally &lt;br /&gt;
&amp;lt;li&amp;gt; Click ‘Open’ and ‘OK’.&lt;br /&gt;
&amp;lt;li&amp;gt; Change the symbology of the DTM dataset:&lt;br /&gt;
* In the QGIS Layers panel, right click on the DTM Grid file and select &#039;Properties&#039;.&lt;br /&gt;
* In the Symbology tab, under &#039;Band Rendering&#039;, set the &#039;Render type&#039; to &#039;Hillshade&#039; and the &#039;Z Factor&#039; to 3.&lt;br /&gt;
&amp;lt;li&amp;gt; Inspect the output GIS layers.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_Convert_03b.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommended Additional Conversion Steps == &lt;br /&gt;
While the bulk of the XPSWMM to TUFLOW SWMM model conversion is automated by the &#039;&amp;lt;u&amp;gt;[[QGIS_SWMM_Convert_XPSWMM_Model_From_XPX|Convert - XPSWMM model from XPX]]&amp;lt;/u&amp;gt;&#039; processing tool, some required or recommended conventions must be implemented/updated manually. Therefore, it is highly recommended to complete the additional conversion steps: &amp;lt;u&amp;gt;[[XPSWMM_to_TUFLOW-SWMM_Recommended_Additional_Conversion_Steps|Recommended Additional Conversion Steps]]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt; &lt;br /&gt;
These steps can help improve model stability and they may also be helpful to address any messages that occurred when using the conversion tool. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TUFLOW Simulation Execution ==&lt;br /&gt;
Set up a simple batch file (.bat) to run TUFLOW. This approach calls the TUFLOW executable file (.exe) and runs the TCF file.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new text file in the &#039;&#039;&#039;TUFLOW\runs&#039;&#039;&#039; folder and save as &#039;&#039;&#039;_run_HPC.bat&#039;&#039;&#039;. &lt;br /&gt;
&amp;lt;li&amp;gt;Open the &#039;&#039;&#039;_run_HPC.bat&#039;&#039;&#039; in a text editor and include a file path to the TUFLOW executable and the TCF name: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;set &amp;lt;/font&amp;gt;exe&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;=&amp;lt;/font&amp;gt;&amp;quot;..\..\exe\2026.0.0\TUFLOW_iSP_w64.exe&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;set &amp;lt;/font&amp;gt;run&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;=&amp;lt;/font&amp;gt;start &amp;quot;TUFLOW&amp;quot; /wait &amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;%exe%&amp;lt;/font&amp;gt; -b&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;orange&amp;quot;&amp;gt;%run%&amp;lt;/font&amp;gt; -e1 100yr 1D2D_Urban_001_~e1~.tcf&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tt&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; A relative path is used for the executable and the TCF, full file path can also be used.&lt;br /&gt;
&amp;lt;li&amp;gt;Save the batch file and double click it in Windows File Explorer to run the simulation. This will open the TUFLOW Console Window and the simulation should be executed. &lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TUFLOW simulations can be executed via numerous ways. A comprehensive summary of the most commonly used approaches is documented in the &amp;lt;u&amp;gt;[[Running_TUFLOW | Running TUFLOW]]&amp;lt;/u&amp;gt; Wiki page.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
Did your TUFLOW SWMM model fail to run successfully? If so, here is a link to a troubleshooting guide: &amp;lt;u&amp;gt;[[TUFLOW_SWMM_Troubleshooting | TUFLOW SWMM Troubleshooting]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TUFLOW SWMM Result Viewing =&lt;br /&gt;
Are you familiar with loading and viewing TUFLOW results in QGIS? If not, we strongly recommend self-registering and completing our free eLearning: &lt;br /&gt;
&amp;lt;u&amp;gt;[https://www.tuflow.com/training/training-course-catalogue/tt001-e-introduction-to-qgis-for-tuflow-elearning/ Introduction to QGIS for TUFLOW]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Our &amp;lt;u&amp;gt;[[TUFLOW_SWMM_Tutorial_Introduction | TUFLOW SWMM Tutorials]]&amp;lt;/u&amp;gt; also demonstrate working with TUFLOW SWMM results.&lt;br /&gt;
&lt;br /&gt;
= Recommended Further Reading =&lt;br /&gt;
For users who wish to get a better understanding of either 2D TUFLOW or 1D EPA SWMM, the following resources may be of use:&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;TUFLOW&#039;&#039;&#039;: &amp;lt;u&amp;gt;[https://www.tuflow.com www.tuflow.com]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[https://www.tuflow.com/downloads/#tuflow TUFLOW User Manual]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/release/2023-03-AD/ TUFLOW 2023-03-AD release notes]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[[Tutorial_Introduction#Tutorial_Modules | TUFLOW Tutorial Models]]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;EPA SWMM&#039;&#039;&#039;: &amp;lt;u&amp;gt;[https://www.epa.gov/water-research/storm-water-management-model-swmm www.epa.gov]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[https://downloads.tuflow.com/SWMM/SWMM5_Reference_Manual_Volume1_Hydrology_P100NYRA.pdf SWMM5 Reference Manual - Volume 1 (Hydrology)]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[https://downloads.tuflow.com/SWMM/SWMM5_Reference_Manual_Volume2_Hydaulics_P100S9AS.pdf SWMM5 Reference Manual - Volume 2 (Hydraulics) ]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[https://downloads.tuflow.com/SWMM/SWMM5_Reference_Manual_Volume2_Hydraulics_Addendum-20220210mas2wr.pdf  SWMM5 Reference Manual - Volume 2 (Hydraulics Addendum) ]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[https://downloads.tuflow.com/SWMM/SWMM5_Reference_Manual_Volume3_Water_Quality_P100P2NY.pdf  SWMM5 Reference Manual - Volume 3 (Water Quality) ]&amp;lt;/u&amp;gt; &lt;br /&gt;
*&amp;lt;u&amp;gt;[https://downloads.tuflow.com/SWMM/swmm-users-manual-version-5.2.pdf EPA SWMM5 User&#039;s Manual]&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Contact=&lt;br /&gt;
For comments, requests and feedback contact &amp;lt;u&amp;gt;[mailto:support@tuflow.com support@tuflow.com]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
For further training opportunities see &amp;lt;u&amp;gt;[https://tuflow.com/training/training-course-catalogue/ TUFLOW Training Catalogue]&amp;lt;/u&amp;gt; and/or contact &amp;lt;u&amp;gt;[mailto:training@tuflow.com training@tuflow.com]&amp;lt;/u&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Main_Page| Back to Wiki Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
</feed>