FEFLOW piMIKE1D: User Manual

The former IfmMIKE11 is now officially replaced by FEFLOW piMIKE1D. This new solution offers a native coupling between FEFLOW and MIKE 1D engines for integrated groundwater / surface water modelling. MIKE 1D is the new DHI's generation of surface water engine and is the successor of the former MIKE 11. MIKE 1D engine is part of MIKE Hydro River and MIKE+ products.

In order to use this coupling, the installation of MIKE Zero 2025 is necessary. MIKE Zero can be installed from  MIKE Download Center, selecting "MIKE SHE" as Product.

 

FEFLOW piMIKE1D supports the coupling between an existing Node Selection and a River Network file from MIKE 1D. It is not required to previously define a Fluid Transfer BC on the target Node Selection, as it's automatically set by the coupling.

For user previously working with the old coupling, FEFLOW piMIKE1D supports you to easily migrate to the new framework. MIKE 11 files (*.mhydro, *.sim11) can be read and automatically used for the coupling in FEFLOW.

The present documentation page does not replace any existing documentation of MIKE 1D. If you are a former MIKE 11 user and would like to understand more about the MIKE 1D engine, the primary information source is the MIKE 1D Reference Manual or the corresponding documentation of MIKE+ and/or MIKE Hydro River. The present document of FEFLOW piMIKE1D is subdivided in the following sections:

1) Supported systems

The current coupling implementation is only supported in Windows OS. The details about the supported OS for FEFLOW can be found in the software release notes. In a future release, the solution will be also supported under Linux OS. The proper operation of piMIKE1D requires the installation of .NET Desktop Runtime 6.x.

The latest version of piMIKE1D was developed to support MIKE 2025 version and FEFLOW 10.0. No previous versions of FEFLOW and MIKE will support this latest coupling version of the plug-in. In the case of the coexistence of multiple MIKE versions, the appropriate MIKE 1D version will be selected automatically.

2) Current restrictions

The current implementation supports flow simulations only. A future release will incorporate the coupling of mass transport (water quality). The flow coupling is only supported in transient state for 3D FEFLOW unsaturated models (i.e., Phreatic or Richards equation). Free and Movable Problem Settings are not supported.

3) Licensing

The execution of FEFLOW piMIKE1D requires that both systems (FEFLOW and MIKE 1D) are licensed. FEFLOW piMIKE1D requires also a license, separate to the FEFLOW license.

4) MIKE 1D Terminology

If you are new to surface water modelling, you will notice below that piMIKE1D introduces new terms in FEFLOW. Below you can get a condensed overview of the basic terminology used in MIKE1D.

The river network in MIKE1D consists in multiple geometrical information such as reaches, nodes, grid points, cross-sections and structures:

5) Getting started with piMIKE1D

As mentioned above, the new surface water - groundwater coupling solution does not require a Fluid Transfer BC as it was the case with its predecessor ifmMIKE11, but a Node Selection to map the river network on the FEFLOW mesh. The other mandatory settings are available through the FEFLOW Problem settings dialog.

Activation of the Hydrodynamics module in FEFLOW

Differently to all existing FEFLOW customized modules (plug-ins), FEFLOW piMIKE1D provides an intuitive workflow within the FEFLOW graphical interface.

The activation of FEFLOW piMIKE1D happens directly to the FEFLOW Problem Settings dialog by clicking on the "Hydrodynamics" Custom feature (see figure below). All the required settings for the coupling are to be defined in the new Tab Hydrodynamics, which is activated by clicking on "Apply".

Custom features "MIKE 1D Hydrodynamical coupling" in the FEFLOW Problem settings dialog.

Hydrodynamics - Coupling Settings

FEFLOW piMIKE1D supports both *.mhydro and *.sim11 file formats to represent river model set-ups. In the future with the Linux support, the solution will support *.m1dx files.

Hydrodynamics - Coupling Settings page in the FEFLOW Problem settings dialog.

Hydrodynamics - Basic Settings page in the FEFLOW Problem settings dialog.

Mapping

The current coupling implementation carries out an automatic mapping between the FEFLOW nodes (associated to an existing Node Selection ) and MIKE 1D H-grid points. The user requires to activate the Node Selection through the drop-down menu of the Hydrodynamics - Coupling Settings page in the FEFLOW Problem Settings dialog. The selection contains a set of FEFLOW nodes to be used for the coupling.

Each of the FEFLOW boundary node will be mapped to the closes H-grid point based on the Euclidian distance. The user can provide a Maximum distance between the FEFLOW node and the river network through the Coupling Settings page. For each FEFLOW boundary node, FEFLOW piMIKE1D searches for the closest H-grid point and store this connectivity for further use. If the H-grid points are non-equidistant, the resulting "snapping" distance could be distinct between upstream and downstream. During the model run a nodal distribution with name "Nodes2HPoint" is automatically created in FEFLOW. The user can review the resulting connectivity between the two meshes.

It is strongly recommended that the user verifies whether the current grid spacing in the surface water project is appropriate for the coupling with FEFLOW. The Grid spacing is controlled through the Computational control parameters from MIKE Hydro River GUI (see later below). Alternatively, FEFLOW user can simply adjust the Global grid spacing from Hydrodynamics - Basic Settings page in the FEFLOW Problem Settings dialog.

An example about the mapping between FEFLOW nodes and H-grid points is shown below. The Node Selection is activated below the red points.

Example of the mapping between FEFLOW Node Selection and H-grid points to create "Nodes2HPoints" Nodal Distribution. 

 

Transfer Rate

The exchange rate between the river and the aquifer is defined by the equation below, where PHI [m2/d] is the product of the exchange area [m2] and the leakage parameter [1/d]. The exchange area is the current wetted perimeter at the H-grid point multiplied with the sum of half the distances to the up- and downstream H-grid points. The wetted perimeter is based on the current water level and the cross-section geometry and is directly extracted on run-time from MIKE 1D.

The transfer rate (or leakage coefficient) is an user-defined parameter. The user can choose whether to use the FEFLOW In/Out-Transfer Rates values already available in the FEM document or extract the values from the river settings.

The leakage coefficient in the river settings is found in the section Boundary Conditions - MIKE SHE Couplings as shown in the Figure below and is a branch-dependent parameter.

Definition of the leakage coefficient [1/s] in the surface water set-up in MIKE Hydro River GUI.

Calculation of exchange term

FEFLOW piMIKE1D is capable to accommodate either to the FEFLOW time steps or to the MIKE1D time steps. The decision is based on the option "Calculate exchange on time step of..." in the Hydrodynamics - Coupling Settings page in FEFLOW. Every numerical model is different in terms hydrodynamic behaviours on the surface water or groundwater processes, thus the user needs to evaluate what time resolution would be better suitable for capturing all the relevant physical processes.

Hydrodynamics - Basic Settings

Geometrical Information

In this section, an overview table of all extracted information from the river network is presented such as branches, nodes, cross-sections, etc. The information is read-only and automatically provided after the mapping between FEFLOW and MIKE1D is computed.

Simulation period

FEFLOW piMIKE 1D offers two possibilities to control the simulation period for the coupled calculation.

MIKE 1D Settings

The discretizations level in the river network plays a significant role for the success of the coupling. piMIKE1D will always find a FEFLOW boundary node to be linked with a H-grid point. But if the amount of H-grid points is limited, the spatial changes of water level in FEFLOW may not be optimal reflected.

Through the Hydrodynamics - Basic settings page in the FEFLOW Problem Settings dialog, the user can control the Global grid spacing (maximum dx) in MIKE1D. The same parameter can be controlled from the MIKE11 or MIKE Hydro River GUIs.

Discretizations settings in MIKE 11 GUI.

Discretizations settings in MIKE HYDRO River GUI.

Model results

The coupling solution utilizes the standard result formats in FEFLOW and MIKE Hydro River (or MIKE 11). If the option of FEFLOW Results *.dac file is activated before the model run, the user will be able to visualize the river exchange through the values of nodal Rate Budget. These values can be accessed either through the standard FEFLOW tools for budget analysis, e.g., Rate Budget Panel, Budget Charts or Fluid rate budget spheres as shown below as example.

 

Example of river node Budget Analysis through the Inspection of the Fluid Rate budget in Slice View.

 

The user should be aware that no Fluid-Transfer BCs are saved in the DAC. Results are available in the Nodal Distributions created by the coupling (see below) and through the standard FEFLOW Budget tools for the Node Selection used in the coupling.

 

 

In the case the Transfer Rates in FEFLOW are not used for the calculation of the exchange flows, instead the rates are computed on runtime and passed directly to the FEFLOW kernel, the on-the-fly budget calculation using the Rate Budget panel in the DAC file may not be correct.

It is strongly recommend to create a nodal selection with the river nodes and activate the Budget-History Charting -> BCs before starting the simulation. This will assure that boundary budgets in the charts contain the real leakage coefficient.

 

 

Three Nodal Distributions are automatically created and saved during the simulation for the Node Selection active in the coupling:

 

Nodal Distributions created during the coupling and saved in the DAC file.

 

 

Apart from the standard MIKE1D log files, a <model>_Summary.html file will be saved in a "Result Files" directory created in the same location of the river setup. The file contains some general information on the MIKE1D model and the water balance. For debugging purposes, the section “Couplings In-/Outflow mass error“ contains some hints about possible imbalances originated by the coupling.

The option Suppress all file output is intended in the case the same FEFLOW and MIKE1D projects are opened and executed at the same time, e.g. in the case of a scenario analysis. In order to avoid locking the results files from the MIKE1D side, the option can be used.

The log files created on runtime can be used for additional debugging purposes, other visualization and verification of the mapping between the FEFLOW nodes and the MIKE1D H-grid points. The following output files are automatically created in the same folder where the *.fem file is stored.