FM Tute M01 QGIS 1D2D Code: Difference between revisions
Content deleted Content added
Tuflowduncan (talk | contribs) |
|||
| (6 intermediate revisions by 4 users not shown) | |||
Line 1:
<ol>
=Introduction=
In this section we will deactivate the 2D cells where the 1D Flood Modeller component is replacing the 2D solution.
=Method=
<li>Import in an empty <b>2d_bc_empty_R.shp</b> layer from within the '''FMT_tutorial\FMT_M01\TUFLOW\model\gis\empty''' folder
<li>Save the layer as <b>2d_bc_FMT_M01_HX_001_R.shp</b> in the '''FMT_tutorial\FMT_M01\TUFLOW\model\gis''' folder. </li>
<li>Open the <b>Inactive_area.shp</b> GIS layer from '''Module_Data\Module_01\
<li> For all polygons assign a 'type' attribute of 'CD'.
<li> For all polygons assign a 'f' attribute of '-1'. A cell code of '-1' deactivates all cells within the digitised code polygons. </li>
[[File:FMT QGIS 1D2D Code attribute.JPG|
<li> Observe how the code polygon has been digitised between nodes FC01.35 and FC01.34. The polygon covers the area between these two Flood Modeller nodes. This is because overtopping of the
[[File:FMT QGIS 1D2D Code Polygon Digitisation.JPG|
<li> Observe how the code polygon has been digitised downstream of node FC01.11. In this case, no code polygon has been
[[File:FMT QGIS 1D2D Code Bank Digitasation.JPG|
<li>Save the file</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]].
| |||