MIKE Flood to TUFLOW: Difference between revisions

Content deleted Content added
No edit summary
Line 66:
=Creating a TUFLOW Boundary Control File from MIKE21 and MIKE Flood=
 
This section discusses how to extract data from a MIKE model to populate the TUFLOW Boundary Control file (TBC). The TBC file defines the:
==* Downstream Boundary==boundary
* Inflow locations
* 1D/2D linking
 
==Upstream and Downstream Boundaries==
 
The location of upstream and downstream boundaries can be found in the MIKE21 control file (.m21) in the <b>Basic Parameters</b> >> <b>Boundary</b> tab. The location of the boundaries are specified as a line object using the start and end vertices in the local (j, k) coordinate system. These are required to be converted to absolute coordinates so an identical boundary location can be digitised in TUFLOW. This can be done in MS Excel using the following steps:
<ol>
<li> Identify boundary locations
<ol>
<li> Open the MIKE Zero program
<li> Open the .m21 file through <b>Open</b> (or drag and drop)
<li> Navigate to the <b>Basic Parameters</b> >> <b>Boundary tab</b><br>[[File: Mike21-BP-Boundary.png|350px|]]
</ol>
<li> In excel convert these (j,k) coordinates to an absolute reference (X, Y)
<ol>
<li> Copy <b>Cellsize</b>, <b>xllcorner</b>, and <b>yllcorner</b> values from your <b>terrain.asc</b> grid header into Excel
<li> Copy your (j, k) values into Excel
<li> Use the following formulas to convert your (j, k) values to (X, Y)
<ol>
<li> X = xllcorner + j * cellsize
<li> Y = yllcorner + k * cellsize<br>
</ol>
</ol>
</ol>
 
==Inflow Boundaries==