View source for MIKE Flood to TUFLOW
←
MIKE Flood to TUFLOW
Jump to navigation
Jump to search
<b>This page is currently under construction</b> =Introduction= This page provides guidance on a generalised method to convert a MIKE FLOOD model to a TUFLOW model format. MIKE Flood is the top level program that couples MIKE21 (the MIKE 2D engine and program) with MIKE11 (the MIKE 1D engine and program). These programs are referenced when converting the relevant setup to TUFLOW format. These steps could therefore also be used for converting stand-alone MIKE21 or MIKE11 models to TUFLOW format.<br><br>If you have any suggestions to be included in these pages, please email <font color="blue"><u>support@tuflow.com</u></font>. ==Requirements== The following programs are required in the conversion process: * MIKE Zero * xsGenerator.exe (for MIKE11 conversion) MIKE Zero is required to extract data from the MIKE FLOOD model. The tools required are freely available using the Demo version of Mike Zero.<br>For MIKE11 conversion, the xsGenerator utility has been made to automate some of the steps. The xsGenerator utility is freely available from the TUFLOW <u>[http://www.tuflow.com/Tuflow%20Utilities.aspx website]</u>. =Creating a TUFLOW Geometry Control File from MIKE21= This section discusses how to extract geometry data from a MIKE21 model to populate the TUFLOW Geometry Control file (TGC). The TGC file defines the: * Terrain elevation * Manning's values * Model domain * Active cells The MIKE21 (.m21) control file can be used to determine the specific geometry input files for the MIKE21 model. You can view the MIKE21 control file using MIKE Zero. ==Converting Terrain== Like TUFLOW, MIKE uses a grid file to define the underlying terrain. MIKE uses its own grid format (.dsf2) as well as a local coordinate system. For these reasons, it needs to be converted into a format that TUFLOW can read as well as an absolute coordinate system.<br>The terrain .dfs2 grid can be converted through the MIKE Zero toolbox. This can be done through the following steps: <ol> <li> Open the MIKE Zero program <li> From the MIKE Zero shell select <b>File</b> >> <b>New</b> >> <b>File</b><br>[[File: MikeZero-File-New.png|350px|]] <li> On the MIKE Zero button select <b>MIKE Zero Toolbox (.mzt)</b>. Click <b>OK</b>.<br>[[File: MikeZero-New-Toolbox.png|350px|]] <li> Under the <b>GIS</b> dropdown, double click <b>MIKE2GRD</b><br>[[File: MikeZero-New-Mike2Grd.png|350px|]] <li> Work through the steps being careful to specify an appropriate projection <li> Before clicking <b>Finish</b>, ensure you have clicked <b>Execute</b> to run the conversion<br>[[File: MikeZero-Mike2Grd-Execute.png|350px|]] <li> This should produce an ascii file that can be directly read by TUFLOW </ol> Unlike TUFLOW, the grid cell size of the model in MIKE is determined directly by the input grid file. For more discussion on grid cell size and the differences in how MIKE and TUFLOW handle the underlying terrain please see the discussion section at the bottom of the page.<br><br>''Note: After grid conversion, it is important to perform checks that the ascii grid has converted properly. This is best done in your preferred GIS package. '' ==Converting Manning's== Follow the same steps as converting terrain to convert the manning’s grid using the Mike Zero Toolbox. It is important to identify the manning’s value type (M or n) so that it can be correctly read into TUFLOW. This can be done by viewing the .dfs2 grid in Mike Zero following the steps below: <ol> <li> Open the MIKE Zero program <li> Open the .dfs2 file through <b>Open</b> (or drag and drop) <li> From the toolbar select <b>Edit</b> >> <b>Items…</b> <li> The value should be listed in <b>Type</b><br>[[File: MikeZero-Edit-Items.PNG|350px|]] </ol> More information on reading in manning’s grids into TUFLOW is provided in Section 6.9 of the <u>[https://www.tuflow.com/Download/TUFLOW/Releases/2016-03/TUFLOW%20Manual.2016-03.pdf TUFLOW Manual]</u>. ==Model Domain== The model domain can be manually set by viewing the terrain and manning’s data in your preferred GIS program, or set using the Read Grid Location command.<br><br><font color='green'><tt>! Set model domain</tt></font><br><font color='blue'><tt>Read Grid Location</tt></font> <font color='red'><tt>==</tt></font> ..\model\grid\example_grid.asc<br><br>More information on setting the model domain is provided in Section 6.5 of the <u>[https://www.tuflow.com/Download/TUFLOW/Releases/2016-03/TUFLOW%20Manual.2016-03.pdf TUFLOW Manual]</u>. ==TUFLOW Code Layer== The user can manually set the TUFLOW code layer by viewing the terrain data through their preferred GIS program or, it should be noted, that MIKE uses a process of defining active cells by defining a ‘Land’ elevation value. A ‘Land’ elevation value is specified in the .dsf2 grid file that specifies a value at which elevations equal to or greater than this value are considered ‘Land’ and will not be subject to possible wetting and drying. This value could be used as a guidance for producing a TUFLOW code layer. The steps in identifying this value are as follows: <ol> <li> Open the MIKE Zero program <li> Open the .dfs2 elevation grid through <b>Open</b> (or drag and drop) <li> From the toolbar select <b>Edit</b> >> <b>Custom Blocks…</b> <li> The fourth element value is the ‘Land’ value elevation<br>[[File: MikeZero-Edit-CustomBlocks.PNG|350px|]] </ol> ''Note: A downfall of this method in MIKE, is that elevations in the .dfs2 grid could have been manually modified such that the area outside the flood extent has a constant ‘Land’ elevation. Inspection of the terrain data before use is highly recommended. '' =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 * 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>[[File: MIKE-JK-XY_conv.PNG|350px|]] </ol> </ol> </ol> The type of the boundary is defined in the <b>Hydrodynamic Parameters</b> >> <b>Boundary</b> tab. This tab specifies the whether the boundary is ‘Flux’ (QT), ‘Level’ (HT), or ‘Rating Curve’ (HQ), as well as whether the data is a time series (type 0 data file) or constant.<br>[[File: MIKE21-HP-Boundary.PNG|350px|]] The name of the boundary can be found following the below steps: * Click the <b>‘…’</b> button to browse * Viewing <b>Item</b> which corresponds to the boundary name<b>[[File: MIKE21-HP-Boundary-Names.PNG|350px|]] The Upstream boundary can be digitised in TUFLOW as a 2d_bc (type ‘HT’), or as a 2d_SA polygon. For more discussion on selecting an appropriate upstream boundary type, please see the discussion at the bottom of the page. ==Source Boundaries== The location of source boundaries can be found in the MIKE21 control file (.m21) in the <b>Basic Parameters</b> >> <b>Source and Sink</b>. The location of the boundaries are specified as a point object using 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. The conversion process can be undertaken using identical steps as performed with converting upstream and downstream boundaries. It is recommended that the source boundary point from MIKE be converted to a 2d_SA polygon in TUFLOW. The 2d_SA polygon should be enlarged to encompass a larger region such that it is able to apply flow to more than one cell. This is considered to give a more stable and accurate representation of flow distribution to the model. More information on how 2d_SA polygons distributes flow can be found in Section 7.4.2 of the <u>[https://www.tuflow.com/Download/TUFLOW/Releases/2016-03/TUFLOW%20Manual.2016-03.pdf TUFLOW Manual]</u>. ==Inflow Boundaries== ===Upstream Boundary=== ===Source Boundaries=== ==1D/2D Linking Boundaries== =Creating a Boundary Control Database from MIKE= ==DSF0 time series== =Creating an Estry Control File from MIKE11= ==1D Network Conversion== ===Model Conversion Utility (xsGenerator)=== ==1D Boundaries== =Creating a TUFLOW Control File from MIKE21= ==Run Settings== ==Result Outputs== =Discussion=
Template used on this page:
Template:Tips Navigation
(
view source
)
Return to
MIKE Flood to TUFLOW
.
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
English
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information