<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=Tute_M01_Active_Areas_SMS_Archive</id>
	<title>Tute M01 Active Areas SMS Archive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=Tute_M01_Active_Areas_SMS_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Active_Areas_SMS_Archive&amp;action=history"/>
	<updated>2026-05-11T03:29:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tute_M01_Active_Areas_SMS_Archive&amp;diff=31466&amp;oldid=prev</id>
		<title>ElizaCollison: Created page with &quot;The active and inactive areas of a TUFLOW model domain are set using cell codes. In SMS, the Cell codes can be specified either on the grid cell by cell, or by using BC covera...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Active_Areas_SMS_Archive&amp;diff=31466&amp;oldid=prev"/>
		<updated>2023-01-09T02:17:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The active and inactive areas of a TUFLOW model domain are set using cell codes. In SMS, the Cell codes can be specified either on the grid cell by cell, or by using BC covera...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The active and inactive areas of a TUFLOW model domain are set using cell codes. In SMS, the Cell codes can be specified either on the grid cell by cell, or by using BC coverages to define an active area of the model. &lt;br /&gt;
==Method==&lt;br /&gt;
We will start by setting the default cell code to &amp;quot;inactive&amp;quot; for the entire model. &lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; Right click on the folder named &amp;#039;&amp;#039;Components&amp;#039;&amp;#039; in the TUFLOW Simulation Catalogue and choose &amp;#039;&amp;#039;New 2D Geometry Component&amp;#039;&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute1_SMS_Geo_Comp.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Rename the new tree item from &amp;#039;&amp;#039;&amp;#039;2D Geom Component&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;5m geo&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Right click on the new 2D geometry component &amp;#039;&amp;#039;&amp;#039;5m geo&amp;#039;&amp;#039;&amp;#039; and select &amp;#039;&amp;#039;Grid Options&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Under &amp;#039;&amp;#039;Cell Codes&amp;#039;&amp;#039; select &amp;#039;&amp;#039;Specify using BC coverages(s)&amp;#039;&amp;#039;. Select &amp;#039;&amp;#039;Inactive cell -- not in mesh&amp;#039;&amp;#039; for the &amp;#039;&amp;#039;Default code&amp;#039;&amp;#039;. &lt;br /&gt;
&amp;lt;li&amp;gt; Click OK.&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:SMS_M01_GridOptionsCellCode.jpg]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
We will now overwrite the cell code status using a polygon to define the active areas.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; First we must read in the geometry defining the active area of the domain. Select &amp;#039;&amp;#039;File | Open&amp;#039;&amp;#039; and open the file &amp;#039;&amp;#039;&amp;#039;\Module_Data\Module01\Boundary.MIF&amp;#039;&amp;#039;&amp;#039;. Click OK to read it as a &amp;quot;GIS Layer&amp;quot;. This file contains geometry specifying the active area to be used in the model.&lt;br /&gt;
&amp;lt;li&amp;gt; Create a boundary condition coverage in SMS by right clicking on Map Data folder in the project explorer and selecting &amp;#039;&amp;#039;New Coverage&amp;#039;&amp;#039;. Change the type to TUFLOW &amp;gt;&amp;gt; 1D/2D BCs and Links and the name to &amp;quot;BC&amp;quot; (this same coverage will also be used later in the tutorial when setting up boundary conditions). Click OK and make sure the new coverage is active (Click on the coverage to make it active).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &amp;quot;Boundary.MIF&amp;quot; GIS shapefile in the project explorer and select &amp;#039;&amp;#039;Mapping | Shapes &amp;gt;&amp;gt; Feature Objects&amp;#039;&amp;#039;. Click Yes to use all shapes for mapping. &lt;br /&gt;
&amp;lt;li&amp;gt; In the &amp;#039;&amp;#039;&amp;#039;GIS to Feature Objects Wizard&amp;#039;&amp;#039;&amp;#039; make sure &amp;#039;&amp;#039;Use an existing coverage&amp;#039;&amp;#039; is selected. Select the coverage named &amp;quot;BC&amp;quot; and click Next. Click Next again then Finish. This copies the GIS data from &amp;quot;Boundary.mif&amp;quot; to &amp;#039;&amp;#039;BC&amp;#039;&amp;#039; coverage which is used by SMS. You can now delete &amp;quot;Boundary.mif&amp;quot; from the project explorer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; To specify the active portion of the domain make sure the &amp;quot;BC&amp;quot; coverage is active and select &amp;#039;&amp;#039;Feature Objects | Build Polygons&amp;#039;&amp;#039;. &lt;br /&gt;
&amp;lt;li&amp;gt; Select the &amp;#039;&amp;#039;Select Feature Polygon&amp;#039;&amp;#039; tool and double click somewhere within the boundary polygon. This will open the &amp;#039;&amp;#039;Boundary Conditions&amp;#039;&amp;#039; dialog.&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:SMS Active Region.JPG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Change the &amp;#039;&amp;#039;BC Type&amp;#039;&amp;#039; to &amp;#039;&amp;#039;No BC&amp;#039;&amp;#039;. The toggle an option to &amp;#039;&amp;#039;Set cell code&amp;#039;&amp;#039;. In the dropdown box select Cell Codes to be &amp;#039;&amp;#039;Active&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Click OK.  &lt;br /&gt;
&amp;lt;li&amp;gt; Save your SMS project.&amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;#039;&amp;#039;Note: There is no need to make changes to the TGC file (as is required when creating a TUFLOW model using ArcGIS, MapInfo or QGIS). SMS makes the necessary TGC updates when using the Export TUFLOW Files command later on (as long as the model is set up correctly).&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Please progress to: [[Tutorial Module01_Archive#Define the Materials (Surface Roughness)|Define the Materials (Surface Roughness)]].&lt;/div&gt;</summary>
		<author><name>ElizaCollison</name></author>
	</entry>
</feed>