XPSWMM to TUFLOW-SWMM: Difference between revisions

Content deleted Content added
Line 535:
</ol>
 
=== TUFLOW Boundary Control File (TBC) == =
The TUFLOW Boundary Control File (TBC) contains information regarding the location of boundary conditions and internal links within the model. As XPSWMM writes TUFLOW model files, a TBC file was transferred to the '''TUFLOW\model''' folder in the <u>[[#Convert_XPSWMM_Model_to_Recommended_TUFLOW_Structure | Convert XPSWMM Model to Recommended TUFLOW Structure]]</u> section.
<ol>
<li> In Windows File Explorer, navigate to the '''TUFLOW\model''' folder and open the TBC into a text editor (Notepad++ is recommended).
<li> Remove all commands from the TBC file.
<li>
<li> Add the following command to reference the external model boundary: <br>
<ol><font color="blue"><tt>Read GIS BC </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\gis\2d_bc_1d2d_links.gpkg1D2D_Urban_001_2d_bc_L </tt></font></olbr>
<li> Add the following command to reference the link between the 1D SWMM culverts and the 2D TUFLOW domain.<br>
<font color="blue"><tt>Read GIS BC </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>2d_bc_Culvert_Connections_001_L </tt></font><br>
</ol>
 
<li>Update=== TUFLOW BoundaryGeometry Control fileFile (TBCTGC): ===
The TGC file is a series of commands that build the geometry model. At its minimum, the TGC contains:
:* Information on the size and orientation of the grid;
:* Grid cell codes (whether cells are active or inactive);
:* Bed / ground elevations; and
:* Bed material type or flow resistance value.
<brol>
<li> In Windows File Explorer, navigate to the '''TUFLOW\model''' folder and open the TGC into a text editor (Notepad++ is recommended).
<li> Replace all '#' with '!'.
</ol>
 
 
'''<font color="red"> Below is from Pavlina's edits - keeping as a reference for now</font>'''
<li>Update TUFLOW Boundary Control file (TBC):
<ol>
:* Add non-inlet 1D/2D links:
<ol><font color="blue"><tt>Read GIS BC </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\gis\2d_bc_1d2d_links.gpkg </tt></font></ol>
'''<<Video>>'''<br>
<br>
 
<li>Update main TUFLOW control file (TCF):
:* Add below commands if applicable: