Tutorial M06: Difference between revisions

Content deleted Content added
Line 30:
<br>
<li>Save the bc_dbase.
</ol>
 
== Materials ==
Surface roughness or bed resistance values (e.g. Manning’s n) are assigned to material IDs. Depth varying roughness values are used in direct rainfall models to reflect the bed roughness at shallow depths. <br>
<ol>
<li>Copy the '''materials_M06_001.csv''' file from the '''Module_06\Tutorial_Data''' folder into the '''Module_06\TUFLOW\model''' folder. Depth-varying roughness values are applied to three of the Material IDs within the study area: <br>
<br>
[[File:M06 Materials 001.png]]<br>
<br>
<li>For Material ID 1, 3 and 5, four numbers (y1, n1, y2, n2) are added to each row separated by commas and are applied as follows: <br>
:*Below depth y1 (m), a Manning’s n value of n1 is applied,
:*Above depth y2 (m), a Manning’s n value n2 is applied, and
:*Between y1 and y2, the Manning’s n value is interpolated between n1 and n2. The default interpolation method uses a curved fit so that the n values transition gradually.
<li>For example, for Material ID 1, for depths of water below 0.03m a Manning's n value of 0.10 is applied. For depths of water greater than 0.1m, a Manning's n value of 0.06 is applied. Between 0.03 to 0.1m, a Manning's n value is interpolated between 0.1 and 0.06.
<li>For Material ID 2 and 4, the Manning’s n value specified in the second column will be applied at all depths, i.e. a value of 0.022 for Material ID 2.
</ol>
 
Line 52 ⟶ 67:
<li>Update the reference to the bc database: <br>
<font color="blue"><tt>BC Database </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\bc_dbase\bc_dbase_M06_001.csv</tt></font> <font color="green"><tt> ! Reference the Boundary Conditions Database</tt></font> <br>
<li>Update the reference to the materials file:<br>
<font color="blue"><tt>Read Materials File </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\model\materials_M06_001.csv</tt></font> <font color="green"><tt> ! Reference the Materials Definition File</tt></font> <br>
<li>A Timestep Maximum command is required in direct rainfall modelling to ensure the timestep does not get too large during periods where cells are dry (causing the model to become unstable). Include the following command in the <font color="green"><tt> ! TIME CONTROL</tt></font> section: <br>
<font color="blue"><tt>Timestep Maximum </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>5</tt></font> <font color="green"><tt> ! Specifies a maximum timestep of 5 seconds</tt></font> <br>
<li>Add Cumulative Rainfall (RFC) and, Rainfall Rate (RFR) and Manning's n (n) as additional Map Output Data Types. These outputs are discussed in the Results section. <br>
<font color="blue"><tt>Map Output Data Types </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt> h V d dt RFC RFR n </tt></font> <font color="green"><tt> ! Outputs water levels, velocities, depths, minimum timestep, cumulative rainfall, rainfall rate, manning's n</tt></font> <br>
<li>A Map Cutoff Depth is useful for direct rainfall modelling where there is a need to differentiate between very shallow sheet flow and flooding. Include the following command in the <font color="green"><tt> ! OUTPUT SETTINGS</tt></font> section:<br>
<font color="blue"><tt>Map Cutoff Depth </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt> 0.1 </tt></font> <font color="green"><tt> ! Sets map cutoff depth of 0.1 meters</tt></font> <br>