TUFLOW 2D2D BC Advice: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 11:
The <font color="blue"><tt>INVERT </tt></font> option can be used with <font color="blue"><tt>Read GIS CODE</tt></font> or <font color="blue"><tt>Read GIS Code BC</tt></font> to deactivate the active cells using the same GIS polygon that is used to define the active cells in the child domain. If INVERT is specified (eg. Read GIS Code Invert or Read GIS Code BC Invert), the active/inactive status of any Code polygon is reversed (i.e. a Code of 1 becomes 0, and a Code of -1 or 0 becomes 1). This means that the same layer can be used by both TGC files when linking 2D domains.<br> <br>
 
Correct deactivation of active cells in areas of overlap can be reviewed by viewingvia the [[TUFLOW_Check_Files | grd_check file]], shown below.<br>
 
{| class="wikitable"
Line 21:
 
 
<li>Multiple 2D domain models use thea 2d_bc “2D”line linkto type asdefine the location of 2D/2D boundary cells. The type attribute associated with the line must be set to "2D" whichto transfer flow between the neighbouring domains.
<ol>
<li> The file containing the GIS layer must be read into the TBC files of both 2D domains. For example, the command below would be read into both TBC files listed in the TCF file: <font color="blue"><tt> Read GIS BC </tt></font> <font color="red"><tt>== </tt></font> <tt> mi\2d_bc_2D_Link_001_L.mif </tt><br>
 
<li> The 2d_bc “2D” link line should be snapped to the polygon defining the active/inactive area mentioned in bullet point 1areas.<br>
 
<li> Flow is transferred between both domains via a series of hidden 1D nodes. The location of the hidden 1D nodes requires consideration. TUFLOW creates these at each vertex along the 2D link line and also at a regular interval, as defined by the “d” attribute. The hidden 1D nodes act as storage that convey the water from one 2D domain to the other. The water levels along the 2d_bc 2D link line are linearly interpolated using the water levels in the hidden 1D nodes. If in reality the water level profile is not close to linear between vertices, strange flow patterns may occur which can lead to model instability. As such, appropriate resolution of the hidden 1D nodes is an important feature of multiple 2D domain models. The TCF command <font color="blue"><tt>Reveal 1D Nodes</tt></font><font color="red"><tt>== </tt></font> <tt> ON </tt> can be used to view the hidden 1D nodes. The hidden nodes will be written to the nwk_N check layer. The 2D link can then be checked by viewing the _2d_to_2d_check layer which displays the 2D cells used to link the two domains together. <br>