FM Tute M01 MI 1D2D Code: Difference between revisions
Content deleted Content added
Steph.dufour (talk | contribs) No edit summary |
Tuflowduncan (talk | contribs) |
||
| (3 intermediate revisions by 2 users not shown) | |||
Line 4:
=Method=
<li>Import in an empty <b>2d_bc_empty.mif</b> layer from within the <b>FMT_tutorial\FMT_M01\TUFLOW\model\mi\empty</b> folder.
<li>Save the layer as <b>2d_bc_FMT_HX_001_R.TAB</b> in the <b> FMT_Tutorial\FMT_M01|TUFLOW\model\mi</b> folder.
<li>Open the <b>Inactive_area.TAB</b> GIS layer from '''Module_Data\Module_01\mi''' folder. Select all objects from within this layer, copy and paste into <b>
<li> For all polygons assign a 'type' attribute of 'CD'. This designates the digitised polygon as a code polygon where the 2D cells within it may be either active or inactive. </li>
<li> For all polygons assign a 'f' attribute of '-1'. A cell code of '-1' deactivates all cells within the digitised code polygons. </li>
Line 16 ⟶ 17:
<li>Save the file and export to MID/MIF. </li>
<div style="background-color: #D6E9E0; margin: 20px; text-align: center;
border: 5px solid #1ABDC9">
<p style="font-weight: bold; color: #E20177">Key Tip!</p>
<p> Cells may also be deactivated within a model by using a cell code of '0' instead of '-1'. A value of 0 removes these cells from the computation entirely which has the benefit of reducing computation time and output file sizes. </p>
</div>
Please return to the [[Flood_Modeller_Tutorial_Module01#Modify_Simulation_Control_Files|Flood Modeller Tutorial Model]].
| |||