Structures¶
In general, the structure description in MIKE 1D combines a wide range of elements including weirs, narrow cross sections, flood plains, etc. The concept is based on the calculation of a discharge through the structure as a function of the upstream and downstream water levels, which is then applied on a q-grid point.
MIKE 1D can include structure calculations using two different modes: discharge mode and head loss mode. Not all structures can use both modes. Discharge mode is applicable for all structures. Head loss mode is applicable for Energy equation structures only. Head loss mode is the most recent addition, introduced by Release 2022. Discharge mode corresponds to using the Eqs. the linearised structure discharge at the new time step, expanded around the and (A.2.39) described in Appendix A.2.4.1. Head loss mode corresponds to using Eq. the full momentum equation including the headloss and friction slope terms described in Appendix A.2.4.2.
Energy equation structures supporting head loss mode are:
- Bridges
- Culverts
- Energy loss structures
- Gates
- Broad crested weirs (not Overflow weirs)
For all other structures, the discharge mode is always applied.
The head loss mode is only applicable under sub-critical conditions. If the structure flow is evaluated as super critical, calculations revert to discharge mode.
Discharge mode¶
The discharge mode is based on the structures explicitly calculating a discharge through the structure qs, typically based on the surrounding water levels.
Equation: Structure discharge as a function of upstream and downstream water levels.
Here hus is the upstream water level and hds is the downstream water level. This discharge replaces the evaluation of the momentum equation on a q-grid point. In the simplest form, the structure discharge directly enters Equation the discretised implicit finite-difference form of the momentum equation at a q-grid in the form:
Equation: Change in discharge across a structure in the momentum balance.

Figure: Mathematical notation showing the difference in structure discharge variables.
To increase accuracy and stability, the structure can also calculate derivatives with respect to upstream and downstream water levels, and then the discharge is evaluated for time n+1 as follows:
Equation: Linearised structure discharge at the new time step, expanded around the upstream and downstream water levels.
or on the form of Eq. the discretised implicit finite-difference form of the momentum equation at a q-grid:
Equation: Linearised structure discharge equation, rearranged with the new time step unknowns on the left.
Which gives:
Equation: Coefficient of the upstream water level in the linearised structure equation.
Equation: Coefficient of the discharge in the linearised structure equation.
Equation: Coefficient of the downstream water level in the linearised structure equation.
Equation: Constant term in the linearised structure equation.
Head loss mode¶
In head loss mode, the effect of structures is applied by including an additional head loss term (HL) inside Saint-Venant momentum equation:
Equation: The full momentum equation including the headloss and friction slope terms.
with Dx being the distance between to computational h-points surrounding the structure. The advantage of this approach is that it allows for structures with zero head loss, simply by evaluating the HL term to zero. Furthermore, it includes bed friction f between two h-points in the normal way. This approach is especially relevant for structures that do not interact with the flow until at some water level, (e.g. a bridge overflow). Note that the zero head loss scenario the discharge mode cannot handle.
When the flow through the structure becomes critical \(Q \geq Q_{critical}\), the calculations are switched to the discharge mode.
This head loss term is evaluated in the following way:
- The typical energy equations are solved to determine the structure flow qs (for example, see Eq. the energy balance for submerged culvert flow accounting for contraction loss). The energy equation usually relates the water level difference and the structure discharge in the following way:
Equation: Energy equation relating water level difference across a structure to discharge squared.
-
Here we introduce the concept of an overall head loss coefficient c(hin,s, hout,s, qs). This coefficient is a function of inflow and outflow water levels at the structure hin,s, hout,s and the structure discharge qs. For small water level differences hin,s - hout,s , we have \(c\left(h_{in,s},h_{out,s},q_{s}\right) \approx c\left(h_{in,s},h_{out,s}\right)\).
-
The actual discharge in the structure from previous Saint-Venant equation solution is qSV=qn. It is used to evaluate a head loss HL=h’in,s - h’out,s by assuming that the head loss coefficient (hin,s, hout,s, qs) is the same as from the calculation in point 1.
Equation: Headloss across a structure, expressed through a coefficient function of the water levels and flow.
-
We stress that the Saint-Venant discharges qn or qn+1 are not the same as the structure discharge qs=qs(husn,hdsn) coming as a solution to the energy equation. However, if a stationary flow state is reached qSV and qs do become the same.
-
Note that here the inflow/outflow water levels at the structure hin,s, hout,s are not upstream/downstream water levels hus, hds of the corresponding H-grid points. The inflow/outflow water levels at the structure are upstream/downstream water levels modified by the friction loss of the flow. This is needed to not double count the effect of the friction loss also appearing in Eq. the full momentum equation including the headloss and friction slope terms. The hus and hds can be modified in a simplified way as
Equation: Water levels at the inlet and outlet of a structure, limited by the upstream/downstream slope.
- Here: lus/ds distance from upstream/downstream location to the structure, (m) Kus/ds conveyance at the upstream/downstream cross section, (m3/s) - One of the main assumptions for Eq. the water levels at the inlet and outlet of a structure, limited by the to be valid is that the head loss appearing due to flow from upstream cross section to structure and from structure to downstream cross section is considerably smaller than the head loss happening in the structure.
Time discretization of head loss term¶
The head loss term is dependent on discharge qSV and inflow/outflow water levels hus/ds. At discrete time step n+1 it can be Taylor expanded as
Equation: First-order Taylor expansion of the headloss HL at the new time step.
The head loss derivative with respect to discharge is interpreted as derivative with respect to qSV and using Eq. the headloss across a structure, expressed through a coefficient function of the it becomes:
Equation: Derivative of the headloss with respect to discharge.
In the current Mike1D implementation of head loss mode the dHL/dhus/ds terms are disregarded and only the dHL/dqSV term is kept in Eq. (A.2.48).
Linearisation of flow when head approaches zero¶
When the head across the structure approaches zero, a linearisation is used in order to avoid discontinuities. If the difference between up- and down-stream water levels is below the delH, then the discharge and discharge derivatives are linearly interpolated between zero and their value at a water level difference of delH.
General energy headloss considerations¶
The description generally used for flow through a structure is given by:
Equation: Headloss expressed through a loss coefficient and the approach velocity head.
where DH is the energy headloss over the structure, z is a headloss coefficient and Vs is the mean cross sectional velocity at the structure.
For broad crested weir, special weir and culverts the headloss is divided into inflow (contraction) and outflow (expansion) components.
In the case of a sudden expansion the energy loss can be described as the headloss expressed through a loss coefficient and the approach velocity head and as:
Equation: Headloss expressed through the velocity difference across the structure.
Setting the headloss expressed through a loss coefficient and the approach velocity head equal to the headloss expressed through the velocity difference across the structure gives:
Equation: Equating the two headloss expressions to solve for the loss coefficient.
which can be reduced to:
Equation: Loss coefficient expressed through the velocity ratio.
f, is equal to the user defined outflow headloss coefficient (zout) and the loss coefficient expressed through the velocity ratio becomes equal to:
Equation: Loss coefficient, generalised with the outlet loss coefficient.
Equation the loss coefficient, generalised with the outlet loss coefficient can also be written in the form:
Equation: Loss coefficient expressed through the discharge and area ratios.
Which in case of a single structure (Qs = Q2, see the cross-sectional flow areas at a structure showing entrance and exit velocity) is equal to:
Equation: Loss coefficient expressed through the area ratio.
For a parallel structure the loss coefficient expressed through the discharge and area ratios cannot be reduced to the loss coefficient expressed through the area ratio as (\(Q_{s} = Q_{2}\)) consequently equation the loss coefficient, generalised with the outlet loss coefficient can be applied instead.
A similar approach can be used for adjustment of inflow headloss:
Equation: Inlet loss coefficient, expressed through the velocity ratio.
where, z1 and z2 are the adjusted inflow and outflow headloss coefficients calculated using the inflow and outflow loss coefficients (zin and zout).

Figure: Cross-sectional diagram showing flow areas at a structure with inflow, outflow, and main flow paths.
A minimum value for z1 and z2 can be specified in the HD parameter editor under the Default Values tab as ZetaMin. In the case \(A_{s} \to A_{1}\) the solution can become unstable (no friction) and specification of a minimum value of z1,2, ensures a stable solution.
Expansion and contraction coefficients¶
As described in the previous section, flow through a structure is described according to:
Equation: Total headloss across the structure.
This equation z~ t~ describes the total headloss coefficient, which is composed of entrance (z1) and exit (z2) coefficients. For subcritical flow the coefficients are related to the input parameters zin and z~out ~and the changes in velocity (v) and area (A):
Equation: Total loss coefficient, combining the inlet and outlet contributions.
For subcritical flow through a structure there is an upstream contraction and a downstream expansion, so equation the total loss coefficient, combining the inlet and outlet contributions works fine. When there is supercritical flow there is an upstream expansion and a downstream contraction. Thus if supercritical flow occurs then the loss coefficients are no longer valid. To accommodate supercritical flow, calculation of the of entrance (z1) and exit (z2) coefficients are expanded:
Equation: Inlet headloss coefficient, depending on whether the inlet velocity is below or above the structure's characteristic velocity.
Equation: Outlet headloss coefficient, depending on whether the structure's characteristic velocity is below or above the outlet velocity.
Care must be taken when selecting loss coefficients, particularly in situations where both subcritical and supercritical flow conditions occur. When flow conditions change from subcritical to supercritical (or the Froude number FR becomes greater than 1), the loss coefficients zin and zout (specified in the Headloss Factors box) are modified:
- If FR > 1 in upstream h-point then zin = zin / 2
- If FR > 1 in downstream h-point then zout = zout / 2
Note that this adjustment is not made for bridge structures.
Determination of flow regime¶
Given the upstream and downstream water levels and the discharge, and assuming that these three values are compatible with each other, the type of flow can be determined as follows.
For zero flow the upstream and downstream water levels are both below the structure invert (crest level) and the flow regime is subcritical, or the flow direction is opposite valve regulation.
For differentiating between critical and drowned flow it is assumed, in the first instance, that the flow at the weir crest is critical.
The critical discharge is determined for broad crested weirs, special weirs and culverts via the tabulated QH-relation while it in case of structures with time dependent geometry is computed by critical flow iteration during the simulation. The pre-processed QH-relation for broad crested weirs are based on the assumption of a single structure, hence when the broad crested weir is a part of a composite structure the QH-relation is no longer valid. In this case the critical discharge is computed by iteration during the simulation. When special weirs and culverts are included in a composite structure it is assumed that the user defined QH-relations for critical flow takes the changed hydraulic conditions into account. When the upstream flow regime is supercritical, the QH-relations are also recalculated.
When a long culvert is a part of a composite structure, there is no critical discharge iteration i.e. the computed QH-relation is used to estimate the critical discharge. This approach is assumed valid as the structure area usually is much smaller than the upstream area i.e. \(A_{s} \ll A_{1}\) hence no need for iteration.
Critical flow occurs (for z2 > 1) when the energy head at the crest is larger than the downstream energy head, viz.:
Equation: Energy condition for critical flow over a weir or submerged structure.
Critical flow occurs (for \(\zeta_{2} \leq 1\) and outflow headloss less or equal to 1) when the water level at the crest is larger than the downstream energy head:
Equation: Critical flow condition where upstream energy head exceeds downstream energy head at the structure crest.
If the flow is not critical, a submerged discharge iteration is performed and the submerged discharge is compared with the critical and the smallest is taken.
Discharge over specific structures¶
How the discharge and the discharge derivatives over specific structures for use in equation (A.2.39) are calculated is not presented in this document for all structures.
Section B.1 QH Relations Calculated for Culverts (p. 317) presents some details for culverts.