Mouse: Pipe Flow
Mouse: Pipe Flow
Pipe Flow
Reference Manual
MIKE 2017
2
PLEASE NOTE
LIMITED LIABILITY The liability of DHI is limited as specified in Section III of your 'DHI
Software Licence Agreement':
3
4 MIKE URBAN - © DHI
CONTENTS
5
4.3 Numerical Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.3.1 Continuity Equation . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.3.2 Momentum equation . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.4 The "Double Sweep" Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.4.1 "Branch matrix" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.5 Stability Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.6 Optimising the Simulation Time Step t . . . . . . . . . . . . . . . . . . . . . 71
4.6.1 Automated, Self-adaptive Time Step Variation . . . . . . . . . . . . . 71
4.6.2 Criteria Controlling the Self-adaptive Time Step Variation . . . . . . . 72
4.7 Mass Continuity Balance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.7.1 Improved Continuity Balance for Links . . . . . . . . . . . . . . . . . 75
4.7.2 User Defined Minimum Water Depth . . . . . . . . . . . . . . . . . . 76
5 Initial Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1 Default Initial Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.2 Initial Conditions provided by Hotstart . . . . . . . . . . . . . . . . . . . . . . 78
6 Boundary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7 Flow Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
7.1 Friction Losses in Free-Surface Flow Links . . . . . . . . . . . . . . . . . . . 83
7.1.1 Numerical Description . . . . . . . . . . . . . . . . . . . . . . . . . 83
7.1.2 The Friction Resistance Described by the Manning Formula . . . . . 84
7.1.3 Depth-variable Manning coefficient . . . . . . . . . . . . . . . . . . 85
7.1.4 Colebrook - White Formula for Circular Pipes . . . . . . . . . . . . . 87
7.1.5 Hazen-Williams Equation . . . . . . . . . . . . . . . . . . . . . . . 88
7.2 Head Losses in Manholes and Structures - Introduction . . . . . . . . . . . . 88
7.3 ‘Standard’ MOUSE Solution (F.A. Engelund) . . . . . . . . . . . . . . . . . . 89
7.3.1 Head Loss at the Node Inlet . . . . . . . . . . . . . . . . . . . . . . 89
7.3.2 Head losses at the outlet from a node . . . . . . . . . . . . . . . . . 89
7.3.3 Implementation of the Total Energy Loss Computation . . . . . . . . 92
7.4 An Alternative Solution Based on Weighted Inlet Energy Levels . . . . . . . . 93
7.5 Selecting an Appropriate Local Head-loss Computation . . . . . . . . . . . . 93
7.5.1 Constitutive Parameters of Head Loss Computation Options . . . . . 94
7.5.2 Default Computational Options . . . . . . . . . . . . . . . . . . . . . 95
7.5.3 Example: Node Outlet Head Losses Variation as Function of Head Loss Co-
efficient Mode 96
7.5.4 Implementation of Head Loss Description in Kinematic Wave Simulations
99
8 Some Special Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
8.1 Surface Flooding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
8.2 Sealed Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
8.3 Spilling Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
8.4 Pressure Mains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
8.5 Dry Conduits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
8.6 A note on flooding and spilling . . . . . . . . . . . . . . . . . . . . . . . . . 104
7
8 MIKE URBAN - © DHI
MOUSE PIPE FLOW
Reference Manual
9
10 MIKE URBAN - © DHI
1 A General Description
The MOUSE Pipe Flow Model is a computational tool for simulations of
unsteady flows in pipe networks with alternating free surface and pressurised
flow conditions. The computation is based on an implicit, finite difference
numerical solution of basic 1-D, free surface flow equations (Saint Venant).
The implemented algorithm provides efficient and accurate solutions in multi-
ply connected branched and looped pipe networks.
Both sub-critical and supercritical flows are treated by means of the same
numerical scheme that adapts according to the local flow conditions. Natu-
rally, flow features such as backwater effects and surcharges are precisely
simulated.
11
A General Description
1. Links
manholes,
basins (structures),
storage nodes,
outlets.
3. Functions, for description of certain physical components of sewer sys-
tems, including:
overflow weirs,
orifices,
pumps,
non-return valves,
flow regulators.
4. Controllable structures, for the simulation of reactive or time dependent
operation real-time control, including:
2.2 Links
Links in MOUSE Pipe Flow Model are defined as one-dimensional water con-
duits, connecting two nodes in the model. The link definition allows that the
dependent flow variables (e.g. water levels and discharges) can be uniquely
described as functions of time and space.
13
Modelling the Physical System
Link Material
The parameter which characterises the link material is the link friction,
expressed as Manning's number (M or n = 1/M). The link can be defined as
constituted of one of 8 predefined material types. Table 2.1 lists the available
link materials with MOUSE default values for Manning's number.
Fig 0.0.1
The default values can be edited by the user. The modified default values are
associated with the current project only; i.e. will affect any simulation carried
out with the MOUSE project file. Also, the default Manning number for any
individual link can be overwritten by a user-specified, link-specific value.
Longitudinal Profile
A link is longitudinally defined by bottom elevations of the upstream and
downstream end. By default, link bottom elevations are assumed to be equal
to the adjacent node's bottom elevations. The default setting can be over-
ruled by specification of the actual link end elevations, but not below the node
bottom.
In cases where actual link length significantly deviates from the calculated
value, a user-specified length can be supplied instead.
15
Modelling the Physical System
By convention, positive flow values represent the flow in the direction from
"upstream" to "downstream" node.
Link Cross-Sections
As a built-in feature, MOUSE supports four different pipe cross-section types.
Any other "non-standard" pipe, tunnel or open channel can be described
through the Cross-section database facility (by specifying the geometric
shape of the cross section or a table of geometrical parameters.
1. Circular pipe,
2. Rectangular pipe (B H),
3. O-shaped pipe (H/B = 1.125/1),
4. Egg-shaped pipe (H/B = 1.5/1),
Any of the four "standard" pipe cross sections is fully defined by specifying
the pipe type, and characteristic dimension(s). While for the circular and rec-
tangular shape, this is straightforward, attention should be paid for the defini-
tion of the egg-shaped cross sections. For the O-shaped pipe the dimension
to be specified is the width (D, [m]), and for the Egg-shaped pipe the dimen-
sion to be specified is the cross-section height.
17
Modelling the Physical System
The raw geometrical data are then automatically processed, in order to create
tables with parameters suitable for flow computations. Such a table contains
50 data sets, covering the range from the lowest to the highest point speci-
fied, in equal increments.
The first set of values is associated with depth equal to zero (y = 0), and the
last set with the maximum specified value (relative to the bottom).
For open channels, MOUSE will compute the flow as long as the water level
is below the lower end of the cross-section. If this level is exceeded, the com-
putation will be stopped unless extrapolation of cross-section is specified in
the DHIAPP.INI file. For closed conduits, MOUSE allows an unlimited raise of
pressure; i.e. Preissmann slot is extended indefinitely in the height.
Processed data for a cross section is specified as a table with depth (Y),
width (B), area (A) and hydraulic radius (R). Conveyance is computed auto-
matically by MOUSE as C = AR2/3.
For closed cross-sections, the processed data table has to cover the entire
range from the bottom to the top of the cross-section. MOUSE adds the Pre-
issmann slot (see ref. /4/) automatically.
2.3 Nodes
Points associated with link ends and junctions are called nodes. Each link is
actually defined with exactly two nodes. Depending on the position in a net-
work layout, a node is associated with one or more links. In the later case, a
node is called a junction. An arbitrary number of links can be attached to a
junction, thus allowing construction of arbitrary network layouts.
Circular Manholes
Circular manhole is a vertical cylinder, defined by the following parameters:
19
Modelling the Physical System
Q
v m = -------------------------------------------- (2.1)
H m – H bott D m
The flow area calculated as above gives a very conservatively low estimate of
the velocity head and hence a conservative energy loss in the manhole,
causing higher water levels in the manholes than observed in reality.
An alternative formula for a more realistic calculation of the flow area in man-
holes is also available – however only for “flow-through” manholes with one
inlet pipe and one outlet pipe. The alternative formulation is based on the
assumption that the inflow behaves like a submerged jet, which entrains
water from the ambient fluid and increases the discharge through the man-
hole. The angle of entrainment is approximately 6.8. The cross-section area
of the jet thus depends on the distance from the inlet.
Dm 6.8 2
A flow = A jet = --- D in 1 + 2 -------- tan --------- 2
2
(2.2)
4 D in 360
So far, the alternative formula is only applicable in MOUSE for manholes with
one inlet and one outlet. However, the implementation includes the possibility
for a change in elevation and a change in flow direction from inlet to outlet.
Figure 2.5 Manhole with one inlet, one outlet and a change in flow direction.
In the case of a change in flow direction the effect of the jet at the outlet will
gradually diminish with increasing angle. The effective flow area is therefore
linearly interpolated between the full cross-section area of the manhole, Am,
and the area of the jet, Ajet, as the angle increases.
The distance, a, from the point where the jet intercepts the manhole to the
centreline of the inlet, see Figure 2.5, is conservatively calculated as half the
diameter of the inlet, Din, thus neglecting the entrainment angle of 6.8
D in
a = -------
- (2.3)
2
The distance, b, from the point where the side of the outlet enters the man-
hole to the centreline of the inlet is approximated with
Dm D out
- tan --------- 2 – ----------
b = ------- - (2.4)
2 360 2
where is the angle between the centrelines of the inlet/outlet and Dout is the
diameter of the outlet pipe.
In the case of a change in elevation the effective flow area is diminished with
a factor, drop_factor, which is equal to 1 when the inlet flows directly into the
outlet and 0 when there is no interception between the incoming jet (calcu-
lated conservatively without the entrainment angle) and the outlet. In between
these two conditions the drop factor is interpolated linearly.
21
Modelling the Physical System
b b
A flow = A jet 1 – --- drop_factor + 1 – drop_factor 1 – --- A m (2.5)
a a
For a straight inlet/outlet with no change in elevation the formula gives that
the effective flow area equals the jet area.
If the jet area is affected by the bottom level of the manhole the jet area is
reduced correspondingly.
If the effective flow area is greater than the full cross-section area of the man-
hole, Am, then the full cross-section area will be used.
If the water level exceeds the ground elevation Htop, then surface flooding
occurs, consequently followed by appropriate treatment by the model (see
section 8.1 Surface Flooding (p. 101))
Structures (basins)
This type of nodes is associated with arbitrarily shaped structures of signifi-
cant volume - non-circular manholes, tanks, reservoirs, basins and natural
ponds.
H =elevation, [m]
The first set of values corresponds to the structure bottom. The last set corre-
sponds to the surface level. Intermediate values are linearly interpolated. The
H-column can start at any value, e.g. 0.0 for interpretation of H as depth in the
basin. The MOUSE Engine will associate the first H-value to the bottom level
of the node.
If the water level raises above the highest elevation value in the table describ-
ing the structure geometry, the program extends the basin geometry, follow-
ing the principle as described in section 8.1 Surface Flooding (p. 101).
Storage Nodes
Purpose of storage nodes is a controlled simulation of the surface flooding,
i.e. controlled return of the water into the sewer system.
23
Modelling the Physical System
Storage nodes are fully defined with the identification string alone. The only
other parameter associated with a storage node is the content of water (the
capacity is not limited) currently stored in the storage node. Water enters a
storage node from any manhole or structure, either through a weir, gate/ori-
fice or a pump. A storage node may be emptied by an emptying function.
Outlets
Outlets are nodes specified at locations where the modelled system interacts
with receiving waters. External water volume is assumed so large that the
outlet water level is not affected by the outflow from the sewer system. As
such, outlets are appropriate for simulation of the sewer flow recipients (river,
lake, and sea).
An outlet can behave as an inlet, which depends on the flow conditions in the
link, attached to the outlet and the water level specified at the outlet. This
means that the flow in both directions can occur.
Depending on the specified outlet water level, the model applies the following
elevation of the water surface H in the link adjacent to the outlet:
where:
In the later case, the outlet is considered to be a free outlet, meaning that the
outlet water level does not influence the flow in the adjacent link.
Otherwise, the model applies the specified water level, with the correspond-
ing backwater effect and a possibility for reverse flow.
2.4 Functions
Functions are used for the calculation of the flow between two nodes or in
specified links according to the functional relation and the hydraulic condi-
tions at relevant points in the system.
The overflow structures are normally found in sewer systems with purpose to
lessen the hydraulic load in the pipe system during extreme flow conditions
by allowing a part of the flow to be spilled to a recipient. Also, overflow struc-
tures can be used for internal distribution of the flow within the pipe system.
free overflow
submerged overflow
The free overflow is the more frequent of the two types and the present con-
ceptualisation is therefore concentrated on this phenomenon. The computa-
tion of the submerged overflow is based on the same concept as the free
overflow and therefore inherently yields approximate results.
MOUSE also supports a weir where this assumption is not acceptable. This
type of weir is called a “long” weir, please refer to the section concerning this
type of element.
The definition of the upstream and downstream nodes does not restrict direc-
tion of the flow because the weir function allows the flow in both directions,
depending on the current hydraulic conditions. Practically, this means that if
the water level in the downstream node is higher than the water level in the
upstream node, then the water flows 'backwards', i.e. the computed flow rates
are given a negative sign.
25
Modelling the Physical System
The relation between the water level in the structure or manhole and the
released discharge can be defined as a specific Q/H relation, or the built-in
overflow formula can be used. In the later case, the discharge is calculated
on the basis of a given structure geometry (crest elevation, structure width,
orientation relative to the flow, crest type). It is important that the width of the
overflow is realistic compared to the physical dimensions of the manhole or
structure. E.g., an overflow width of 10 m in a manhole having a diameter of 2
m will inevitably cause numerical problems when the overflow is in function.
Q/H Relation
The user-defined Q/H relation consists of at least 2 pairs of tabulated values
for water level above the weir crest, H [m], and corresponding discharge, Q
[m3/s]. Intermediate values are linearly interpolated.
Flow computation based on the energy loss coefficient and weir orienta-
tion. This is applied if the field for the discharge coefficient on the
weir dialog is left empty.
Flow computation based on a standard rectangular overflow weir formula
with user-specified discharge coefficient. This is applied if a discharge
coefficient is specified.
Energy Loss Coefficient
In case of a free overflow, the water depth above the weir crest will be equal
to the critical water depth. Certain energy loss occurs, with a magnitude
depending on the structural configuration. The overflow situation is schema-
tised in Figure 2.7.
In the critical flow section the Froude's number Fr equals to 1, and the critical
flow condition can be written as:
v
Fr = ------------- = 1 (2.7)
gy c
where:
g = 9.81 [ms-2]
2
v
E = y c + ------ + E (2.8)
2g
with:
2
v
E = K c ------ (2.9)
2g
where:
27
Modelling the Physical System
Based on the energy conservation and critical flow principles, discharge over
a plane overflow having a structure width B [m], is calculated for a weir
orthogonal to the flow axis (90o), as:
3
---
2 2
Q weir = B g --------------- H (2.10)
2 + Kc
3
---
2 2
Q weir = B g --------------- H (2.11)
3 + Kc
where:
2 32
Q weir = --- C d B 2g H (2.12)
3
3
C d = --------------------------
- (2.13)
32
2 + Kc
3
C d = --------------------------
- (2.14)
32
3 + Kc
Where Kc is the head loss coefficient applied for the upstream manhole. E.g.,
this method if used with Kc = 0.5 (sharp-edged outlet), is equivalent to a
standard weir formula with Cd = 0.7589 and Cd = 0.4582 for orthogonal and
for side weir, respectively. Please note that the crest type - sharp or broad
crested has no influence on the calculations.
The side overflow yields a smaller discharge for the same overflow level,
because in this case the kinetic energy of the approaching flow is excluded
from the computations.
3
---
2
Q weir = C H B 2g H (2.15)
This implies that the head-loss coefficient specified for the weir node and the
weir orientation are ignored in the weir computation.
Submerged Overflow
The model calculates the flow rate for the submerged overflow using the
same critical depth formulation in the case of a submerged overflow. In this
situation, the head that is driving the flow is expressed as the difference
between the upstream and downstream water surface elevations.
The submerged weir flow is then (with user-specified "level" discharge coeffi-
cient) approximated as:
3
---
H 2
Q weir = C H B 2g -------- H (2.16)
H
--3-
2 2 H
Q weir = B g --------------- H -------- (2.17)
2 + Kc H
29
Modelling the Physical System
3
---
2 2 H
Q weir = B g --------------- H -------- (2.18)
3 + Kc H
Figure 2.9 Examples of an "illegal" (left) and correct definition of an orifice polygon.
For the computational purpose, a polygon is cut into a number of narrow rec-
tangles ('slices') which approximate the shape of an orifice (see Figure 2.10).
For the given upstream and downstream water levels, flow through the orifice
is computed as an integral of the flows through individual slices, with the total
flow corrected for lateral contraction.
Free overflow,
Submerged overflow,
31
Modelling the Physical System
The solution for the approaching flow in super-critical regime has not been
implemented.
Free Overflow
This flow regime is identified when the downstream water level has no influ-
ence on the discharge over the weir. The water surface is free, and the solu-
tion is therefore a pure free-overflow weir solution.
q = C H H 2gH (2.19)
The coefficient CH is given in Table 2.2 for different values of the weir height
divided by the water level above the crest (w1/H).
0,0533
0.407 + ---------------- > 0.2
w1 H
0.673 0.2
0.757 0.1
0.761 0.05
w 1,5
0.707 1 + -----1- <0.05
H
In the interval from w1/H = 0.05 to 0.1 the coefficient CH is interpolated line-
arly between 0.761 and 0.757. In the interval from w1/H = 0.1 to 0.2 the coef-
ficient is interpolated linearly between 0.757 and 0.673.
Ignoring the energy loss from the upstream section to the weir section, the
energy equation reads:
2 2
q q
E = H + ------------------------------2- = y + -----------------------2- (2.20)
2g H + w 1 2g v y
where:
y = the distance from the sill level to the surface at the weir crest
(m),
the Coriolis factor;
v = the vertical contraction coefficient;
E = the energy level (m).
The depth at the weir crest is considered to be critical, i.e. y = yC = 2/3E. This
assumption is very rough, because the streamlines are curved. As a conse-
quence, the depth over the crest will be less than the critical depth. In the
context of the present implementation, curvature of the streamlines is
ignored, since the expression is only used to evaluate the effect the velocity
33
Modelling the Physical System
term have on the coefficient CH. The effect of curved streamlines is indeed
incorporated in the coefficients CH and CE.
By inserting y = 2/3E on the right hand side of Equation (2.20), the following
relation is obtained:
2
2 q 4
E = --- E + ----------------------------2- q = v ---------- E 2gE = C E E 2gE (2.21)
3 2 2 27
2g v --- E
3
where:
Since the discharge q can be expressed either via the water level above the
crest upstream of the weir, or the energy level at the upstream section, the
following relation between the level discharge coefficient and the energy dis-
charge coefficient can be derived:
3
---
2 2
q
C H = C E 1 + -----------------------------------2- (2.22)
2gH w 1 + H
As it can be seen from the relation above, the coefficient CH takes several
effects into account. One effect is the change of the velocity term in the
energy equation (v2/2g). For large values of w1 is the upstream energy level E
approximately equal to the depth over the crest H and CE is equal CH. For
smaller values of w1, the upstream velocity term becomes more important
and CE and CH will deviate from each other. The other effects are the curved
streamlines, the change in the Coriolis coefficient (), the vertical contraction
coefficient (v), the surface tension and the friction. The latter effects influ-
ence both CE and CH.
By moving from a (q,H) relation to a (q,E) relation, the variation in the dis-
charge coefficient should be expected to be smaller.
2 2
v = + ------------------------------
q
E = H + --------
- H - = 1 H (2.23)
2g 2g H + w
2
1
where:
2
2 1
1 = 1 + C H --------------------- (2.24)
w
1 + -----1-
H
CH
C E = ---------
32
- (2.25)
1
The table below shows the relation between CH, CE, 1 and q (for H = 1) for
different values of w1/H, showing indeed that the coefficient CE shows less
variation than the values for CH.
Table 2.3 Relations between CH, CE, , q, E for different values of w1/H
w1/H CH CE Q for H=1 E 1.71E3/2
0.407 0.407 1.00 1.81 1.000 1.71
1 0.460 0.426 1.053 2.04 1.053 1.84
0.1 0.757 0.423 1.474 3.35 1.474 3.05
0.05 0.761 0.404 1.525 3.37 1.525 3.22
0 0.707 0.385 1.500 3.13 1.500 3.15
Starting with values for H and w1 given, the energy level can be derived by
iteration. The iteration implemented in the program is based on a Newton-
Raphson technique.
The discharge over the weir can then be determined by inserting the energy
level into equation (2.21).
Submerged Overflow
The submerged overflow is identified when the downstream water level influ-
ences the discharge over the weir, and water surface is free (i.e. the upper of
the gate is not in contact with the water surface, as can be seen in
Figure 2.11). The submerged overflow case will be applied, when the w0/H
1.0 and H/H 1/3, where wo is the height of the orifice and H is the water
depth above the sill level.
The submerged overflow case is illustrated in Figure 2.12, also giving the
meaning of the geometrical parameters used in the sequel.
35
Modelling the Physical System
Since the energy loss from section 1 to 2 is much smaller than the energy
loss from 2 to 3, the energy loss is neglected (i.e. E1 = E2). The energy equa-
tion now reads:
2 2
q
y 1 – w 1 + ------------- q
2
- = y 2 – w 2 + -----------
2
- (2.26)
y 1 2g y 2g
2 2 2 2
q y2 q y3
- = --------- + ------
------ + ------ - (2.27)
gy 2 gy 3 2
where the shear stress on the bottom between section 2 and 3 is neglected.
The contracted overflow area can be expressed by applying the vertical con-
traction coefficient given as y = v (y2-w2).
There are two unknowns in these two equations. By rearranging the equa-
tions and substituting the q (actually q2/2g) from one of the equations into
another, the remaining unknown in the obtained equation is y2.
4 3 2
C4 y2 + C3 y2 + C2 y2 + C1 y2 + C0 = 0 (2.28)
The submerged overflow solution must be compatible with the free overflow
at the transition between the two flow regimes. In other words, introducing the
submerged solution at H/H = 1/3 requires that the submerged discharge for
this water level difference is equal to the free flow discharge. This is not
achievable in all cases and sometimes another pragmatic solution must be
adopted for the transitional regime.
Following the approximate rule as for the flow over a broad-crested weir, a
flow reduction is introduced as soon as the difference between upstream and
downstream water level is less than one third of the upstream water level.
The remaining submerged discharge is proportional to the square root of the
difference in upstream and downstream water levels above the weir crest.
The free flow is taken from the “sharp-crested” case, as described above.
q H 1
q = ------f- H
-------- ;for -------- --- (2.29)
1 H H 3
---
3
37
Modelling the Physical System
where:
Free Underflow
The underflow is free, if the issuing jet of the supercritical flow is open to the
atmosphere and is not overlaid or submerged by tail water. Following an
approach similar to the one developed in the section related to free overflow,
the discharge through the opening (e.g. gate) can be expressed as:
q = C E w o 2gE 1 (2.30)
where:
2
q - = 2 H
E = H + ------------------------------ (2.31)
2
2g H + w 1
where:
H the upstream water level measured from the crest of the weir,
q the discharge,
w1 is the weir height at the upstream side.
q = C H w o 2gH (2.32)
with:
Cc Cc
C H = -------------------------------------
- = ------------------------------------
- (2.33)
wo w0
1 + C c ----------------- ------
H + w1 H
1 + C c ----------------
w
1 + -----1-
H
wo 2
------
2 H
2 = 1 + C H ---------------- (2.34)
1 + -----w 1
-
H
CH
C E = --------- (2.35)
2
For this reason, the transition is simply assumed to take place at an upstream
water level equal to the top of the gate, while the difference between overflow
and underflow equations is fully corrected in the underflow computation at
that level. This requires a correction in the free underflow equation, through
the use of a correction coefficient.
39
Modelling the Physical System
C new = C c – C c – C E (2.36)
where:
q overflow
= C c – ------------------------------- Cc – CE (2.37)
w 0 2gE
with E and CE taken at the top of the gate level. For increasing upstream lev-
els the discharge coefficient approaches the constant value Cc, usually taken
as 0.608.
The free flow equations require a further correction based on the pressure
distribution at the outflow side.
There are two extreme cases, the jet can either emanate surrounded by free
atmosphere (like an orifice), or it can have full contact with the bottom on the
downstream side (the vertical sluice gate).
In the first case the pressure over the height of the jet is approximately
atmospheric. In the other case the pressure follows a hydrostatic distribution.
The real situation usually is somewhere in between these two extreme cases,
and the flow through the gate is corrected for the influence from the pressure
on the downstream side.
The underflow equation has been derived on the basis of experiments where
the downstream bottom level is the same as the sill level of gates (w2 = 0).
This implies a hydrostatic pressure distribution in the contracted flow section.
With positive values for w2 (drop structure), however, these pressures drop to
lower values, with nearly atmospheric pressure over the height of the jet. In
this case the discharge will be higher due to the lower counter pressure.
Comparison of the orifice flow equation and the underflow equation reveals
that this difference may be up to 9 %. The same reasoning applies, to some
extent, for the case of overflow, where the discharge equation for the case of
a free overfall (w1 = 0) is also based on hydrostatic pressure distribution
assumption.
To cover most cases in a reasonable way, therefore, the free flow discharges
are increased by 5 % for the case where the downstream water level is found
below the crest level of the gate. For the range of downstream water levels
between the crest level and the upstream level, the correction applied is
reduced quadratically as the downstream water level is increasing. The quad-
ratic reduction follows from the quadratic relation between the integrated
hydrostatic pressure force and the water depth. Although the matrix of free
flow discharges is set up for the complete range of downstream water levels
up to the level which equals the upstream level, it should be realised, that
some of these corrected discharges are overwritten by new values for the
submerged flow case.
Submerged Underflow
The submerged underflow is identified when the upstream water level is
above the gate level and the downstream water level influences the dis-
charge through the gate. The threshold for swapping from free underflow to
submerged underflow is, for the simplification purpose, defined at H/H = 1/3.
This ensures that the same criterion is applied both in the overflow and
underflow cases and a consistency of the solution is maintained when w0/H
approaches unity.
2 2
q q
y 1 – w 1 + -------------- = y 2 – w 2 + ------------ (2.38)
2 2
y 1 2g y 2g
41
Modelling the Physical System
2 2 2 2
q y2 q y3
------ + ------
- = --------- + ------
- (2.39)
gy 2 gy 3 2
where the shear stress on the bottom from section 2 and 3 is neglected. The
contracted overflow area can then be expressed by applying the vertical con-
traction coefficient given as y = v w0.
By rearranging the two equations and eliminating one of the two unknowns (q
and y2), the combined equation reads:
1 2 2 1 1 - = 0
y 2 – w 2 – y 1 + w 1 – --- y 3 – y 2 ----
- – ------------------- (2.40)
4 2
y w 2
1 v 0
1--- 1
C y + C 1 y 2 + C 1 w 1 – w 2 – y 1 – --- C 2 y 3 = 0
2 2
(2.41)
4 2 2 4
Introducing:
it can be shown that the only realistic solution for the second-degree polyno-
mial, is the negative one. So, y2 can be expressed as:
2
– B – B – 4AC
y 2 = ------------------------------------------- (2.43)
2A
Grids for the full range of upstream and downstream water levels are
generated. The grid spacing depends on the local geometrical parame-
ters.
Discharge from the dimensionless 4D-table, for the given upstream and
downstream water level and, if relevant gate position, are read and inter-
polated.
The 'unit' discharges are scaled, by multiplying the discharge by the
upstream depth above the crest (i.e. slice bottom) to the power of 1.5
(H1.5).
The discharge is corrected (reduced) for the effect of lateral contraction.
The discharge for entire orifice is summed up.
The actual flow through an orifice in a given hydraulic situation is obtained
during the simulation, by interpolating the flow derivatives with respect to h1,
h2 and w0 in the 3-D table, and inserting these directly into the MOUSE pipe
flow algorithm. By these means, accuracy and stability of the computation is
preserved, even with very rapid water level changes and fast movement of
the gate.
43
Modelling the Physical System
If the pump discharges out system then the downstream node identifier ('TO’)
is left unspecified (empty).
Relation 1 correlates water level in the pump-sump basin and the pump dis-
charge:
Q H if H stop H
or if H start H
Q pump = (2.44)
else
0
Relation 2 defines the pump performance as a function of the water level dif-
ference between the two nodes:
Q H if H stop H
or if H start H
Q pump = (2.45)
else
0
As the pump performance can be quite significant even during the start-up, it
has been necessary to dampen the pump dynamics in order to sustain the
numerical stability. The dampening is obtained by centring the pump rate
backwards in time so that the pump performance does not instantaneously
reach the full capacity but instead the pump discharge is gradually increased
over some time steps.
In computational terms the flow regulation differ fundamentally from the weir,
orifice and pump function by the fact that the control is simulated within the
pipe connecting two nodes and NOT by replacing the pipe with a functional
relation. This means that the conduit connecting the two
specified nodes is treated by the algorithm as a normal link. The flow is con-
trolled by setting the general equation coefficients at the control location (first
upstream Q-point in the pipe).
where:
The function for simulation of non-return valves is included into the model
structure identically as the flow regulation function.
45
Modelling the Physical System
Q for H up H down
Q reg = else (2.47)
0
where:
where:
The long weir must be defined as a link between two channels of the “natural
channel” type. The weir is topographically defined by the two links defining
the upstream link (“Source channel”) and the downstream link (“Destination
channel”). The “Location” field is the upstream node of the source channel
and the “To” field is the upstream node of the destination channel.
2 32
q s = --- C d 2gH (2.49)
3
where
2h 32
q s = --------- C d 2gH (2.50)
3h d
where
The Saint Venant Equations are solved for conservation of mass and conser-
vation of momentum. The equations are rewritten and solved for q and h
points.
Q
------- + A
------- = 0 (2.51)
x t
2
Q
-------
Q A - + gA y
------- + ------------------- ------ + gAI f = gAI 0 (2.52)
t x x
47
Modelling the Physical System
where
Q = the flow
A = the flow cross section
y = the depth of water
If = the friction slope
I0 = the bottom slope of the canal
Taking into account the continuous discharge over the weir, Equation (2.52) is
modified to
Q
------- + A
------- = q s (2.53)
x t
In branches with long weirs the pair of equations (2.52) and (2.53) is solved.
2.4.8 Valves
The definition of the upstream and downstream nodes does not restrict the
direction of the flow because the valve function allows the flow in both direc-
tions, depending on the current hydraulic conditions. Practically, this means
that if the pressure level in the downstream node is higher than the pressure
level in the upstream node, then the water flows 'backwards', i.e. the com-
puted flow rates are given a negative sign. All valves can be defined either to
be non return valves, meaning that only flow in the positive direction is
allowed, or non restricted valves allowing flow in both directions.
Q = A 2gH
--------------- (2.54)
k
where
An assumption for this equation is that the valve is located in a pipe which is
running under pressure. However, should the system run under non-pressur-
ized flow conditions the flow area A in equation (2.54) of the valve is reduced
by a linear reduction for non pressurized flow conditions:
d
A d = A ---- (2.55)
d f
where
This means that the velocity head upstream and downstream of the valve is
equal and equation (1) can be rewritten to
Q = A 2gh
---------- (2.56)
k
where
MIKE URBAN supports full RTC control features of the new valve, which
means that it will be possible to define control algorithm for the opening of
valve.
49
Modelling the Physical System
Q A
------- + ------- = 0 (3.1)
x t
2
Q
-------
Q A y
------- + -------------------- + gA ------ + gAI f = gAI 0 (3.2)
t x x
where:
Q = discharge, [m3s-1]
A = flow area, [m2]
y = flow depth, [m]
g = acceleration of gravity, [ms-2]
x = distance in the flow direction, [m]
t = time, [s]
= velocity distribution coefficient
I0 = bottom slope
If = friction slope
51
Description of Unsteady Flow in Links
The general flow equations are non-linear, hyperbolic partial differential equa-
tions. The equations determine the flow condition (variation in water depth
and flow rate) in a pipe or channel when they are solved with respect to
proper initial and boundary conditions. Analytical solutions are only possible
in special cases with a rather limited number of applications, therefore the
general equations have to be solved numerically.
Q + A
------- ------- = 0 (3.3)
x t
and
2
Q
-------
Q A y
------- + -------------------- + gA ------ = gA I 0 – I f (3.4)
t x x
with the same nomenclature as for Equations (3.1) and (3.2). The sketch of
the system being described by the equations is presented in Figure 3.1.
The equations above are valid for free surface flow only. They can, however,
be generalised to include flow in full pipes (pressurised flow) as discussed in
section 3.3 Modelling The Pressurised Flow (p. 54).
The continuity equation expresses that the volume of water, Q, which is
added in pipe section of length x, is balanced by an increase in cross-sec-
tional area A (storage).
The first two terms on the left side of the momentum equation represent the
inertia forces (local and convective acceleration), while the third term repre-
sents pressure forces. The two terms on the right hand side of the equation
represent gravity and friction forces, respectively.
A 2
= ------2- v dA (3.5)
Q A
Assuming that the bottom slope Io is small (~ 0), then Io can be expressed
as a function of the water depth and water surface gradient, i.e.:
y h
I 0 ------ – ------ (3.6)
x x
It is thus possible to use the height, h, above a certain reference level, as the
dependent variable instead of the water depth, y. The equation of momentum
can hence be written as:
2
Q
-------
Q A h
------- + -------------------- + gA ------ = gAI f (3.7)
t x x
Pressure and gravity forces can be expressed in one term only as:
h
gA ------ (3.8)
x
The friction slope If is equal to the slope of the energy grade line and is intro-
duced into the equation using the Manning's formulation (for more details see
section 4 Numerical Solution of the Flow Equations in MOUSE Link Networks
(p. 63)).
53
Description of Unsteady Flow in Links
The idea of introducing a fictitious slot was first presented by Preissmann and
Cunge, 1961, and has since been used by Cunge and Wegner, 1964 (see ref.
/4/).
The derivation can be obtained from the continuity equation which can be
written as:
Q A
– ---------------- dxdt = --------------- dxdt (3.9)
x t
Q + Q
---- ------ + A
------- + ----
A
------- ------ = 0 (3.10)
x x t t
For a circular pipe, it can be shown that the density of the water can be
approximated as:
g y – D
0 1 + ---------------------
2
(3.11)
a0
where:
55
Description of Unsteady Flow in Links
Furthermore, it can be shown that the cross-sectional area in the case of the
excess pressure g(y-D) approximately equals to:
g y – D
A A 0 1 + ---------------------
2
(3.12)
ar
where:
Er e
ar = -------------
- (3.13)
0 D
with:
The ar has the dimension [ms-1] and is in the order of 1400 [ms-1] for most
concrete pipes.
A A y 1 1 gA 0 y
- ------
------- + ---- ------ = g A ------ ----- + ----- = --------- (3.14)
t t t a a 2 2
a
2 t
r 0
where:
a0
a = ---------------------- (3.15)
2 2
1a 0 a r
Q Q gA 0- ----- y
------- + ---- ------ + --------- - = 0 (3.16)
x x a
2 t
The analogy with the continuity equation can thus be maintained in case that
the fictitious slot width bslot is specified as:
A
b slot = g -----20- (3.17)
a
In order to obtain a smooth transition between the free surface flow computa-
tions and pressurised flow computations, it is required to apply a "soft" transi-
tion between the actual pipe geometry and the fictitious slot. Such a "smooth"
transition has been designed based on a series of tests with various slot con-
figurations. The slot configuration thus obtained ensures stable computations
without affecting the accuracy significantly. The applied slot width is larger
than the theoretical value. The default relation between relative depth and the
slot width as implemented in MOUSE is given in Table 3.1.
The default slot width can be modified for individual links through the *.ADP
file.
3.4.1 General
The flow conditions in steep, partly full pipelines are mainly established by the
balance between gravity forces and friction forces. Consequently, the inertia
and pressure terms in the momentum equation are less dominant. Accelera-
tions are comparably small and the flow is almost uniform, so that the kine-
matic wave approximation is a reasonable approach.
i.e. the friction slope is equal to the bottom slope (uniform flow conditions). In
MOUSE, the Manning's formula for uniform flow is used and the momentum
equation reads:
23 12
Q = MAR I0 (3.19)
57
Description of Unsteady Flow in Links
tion can therefore only be applied in cases when the flow is independent of
the downstream conditions which is the case in supercritical flow (Froude's
number Fr > 1).
The kinematic wave is by nature undamped. The flow rate and the water
depth will therefore remain unchanged for an observer moving downstream
with the velocity Q/A.
3.4.2 Implementation
The 'filling' function can be determined from the Manning's formula assuming
uniform flow conditions, i.e. If = I0:
23
y Q MAR
F ---- = ----------- = ---------------------------------------- (3.20)
D Q full 23
M full A full R full
where suffix 'full' indicates values corresponding to a filled pipe and y/D indi-
cates the degree of filling.
The "filling" function applied in MOUSE does not include this over-capacity
but follows the Manning function up to a value of y/D = 0.8, see Figure 3.3.
According to the kinematic wave theory, Q/Qfull will not increase further after
the pipe runs full, as the pressure grade line is assumed to remain parallel to
the pipeline. In reality, however, pressurised flow often gives rise to an
increased pressure gradient and thus an increased flow rate. The
kinematic wave theory is therefore not suitable for computations of pressur-
ised flow without special adaptations.
Q y–D
----------- = 0.1 ------------- + 1 (3.21)
Q full lr I0
59
Description of Unsteady Flow in Links
Figure 3.4 The assumption that 10% of the excess pressure is used to increase
the pressure gradient
gA y
------ + gAO f = gAI 0 (3.22)
x
3.6.1 General
The general flow equations form the best theoretical foundation for a flow
model because the full equation of momentum makes it possible to describe
all forces affecting the flow conditions. However, larger computational load in
comparison with the kinematic and diffusive wave approximations involves
correspondingly larger CPU time for the same analysis. Additionally, difficul-
ties are present when simulating the supercritical flow conditions.
The full Saint Venant equations (3.1 and 3.2) are applicable in the dynamic
wave approximation only for sub-critical flow conditions, i.e. for Froude num-
ber Fr < 1. In supercritical flow conditions, the equations are reduced to the
diffusive wave approximation. In the sub-critical regime, the contribution of
2
Q A is gradually
the inertia terms (Q/t and --------------------------
-
x
taken out by a reduction factor, according to Figure 3.5.
Similarly, the differential equation is gradually centred upstream (as the influ-
ence of the upstream conditions increases) according to the same function.
3.7.1 Inventory
61
Description of Unsteady Flow in Links
4.1 General
The implemented algorithm solves the flow equations by an implicit finite dif-
ference method. Setting the numerical scheme into the frame of the Double-
Sweep algorithm ensures preservation of the mass continuity and compatibil-
ity of energy levels in the network nodes.
The solution method is the same for each model level (kinematic, diffusive,
and dynamic).
l -
x = ------------ (4.1)
N–1
On the basis of the input data and the specified time step the model automat-
ically generates a complete computational grid, based on the velocity condi-
tion (see section 4.5 Stability Criteria (p. 70)). The velocity used in the
calculation is a full-flow velocity, obtained from the Manning formulation
assuming completely filled conduit.
If the velocity condition can not be satisfied for the specified simulation time
step, which often happens with short and steep pipes, then the model issues
a warning, with proposal for a shorter time step, required for the condition to
be satisfied.
The grid generated by the model can be altered individually for each conduit,
i.e. can be made more dense or sparse, according to the needs of the current
application (see documentation on *.ADP file).
63
Numerical Solution of the Flow Equations in MOUSE Link Networks
A h
------- = b s ------ (4.2)
t t
giving
Q b ----- h
------- + s - = 0 (4.3)
x t
Figure 4.3 Centring of the continuity equation in the Abbott scheme (a generalised
scheme). Note that in MOUSE xj and xj+1 are always equal
The individual derivative terms in Equation (4.3) are expressed by finite differ-
ence approximations at the time level, n+½, as follows:
n+1 n n+1 n
Qj + 1 + Qj + 1 Qj – 1 + Qj – 1
------------------------------------- – -------------------------------------
Q 2 2
------- --------------------------------------------------------------------------------- (4.4)
x 2x j
n+1 n
h- h j – hj
----- -------------------------- (4.5)
t t
bs is approximated by:
A o j + A o j + 1
b s = -------------------------------
- (4.6)
2x j
where:
65
Numerical Solution of the Flow Equations in MOUSE Link Networks
n+1 n
Q Qj – Qj
------- ----------------------------
- (4.8)
t t
1 1
2 n + -- -
2 2 n + --2-
2 Q ------
- –
Q
------
-
Q
------- A j + 1 A j–1
A
-------------------- --------------------------------------------------------------- (4.9)
x 2x j
n+1 n n+1 n
hj + 1 + hj + 1 hj + 1 + hj – 1
----------------------------- – -----------------------------
h 2 2
------ -----------------------------------------------------------------
- (4.10)
x 2x j
2 n+1 n n n
Q = f Qj Qj – f – 1 Qj Qj (4.11)
where
n+12 n+12 n n
Qj Qj – Qj Qj
f = ------------------------------------------------------------------
n n+j n
(4.12)
Qj Qj – Qj
where
j = f A
n
j = f Q j ,t ,x ,M ,A ,R
(4.14)
j = f A
n n+1 n n n+1
j = f A x t q v h j – 1 Q j Q j h j + 1 Q j + 1
As shown earlier, the continuity equation and momentum equation can be for-
mulated in a similar form (compare Equation (4.7) and Equation (4.13).
Writing the appropriate equation for every grid point, a system of equations is
obtained for each conduit (branch) in the network, constituting the 'branch
coefficient matrix', as illustrated in Figure 4.5.
67
Numerical Solution of the Flow Equations in MOUSE Link Networks
h = h H 1 H 2 (4.16)
and similarly:
Q = Q H 1 H 2 (4.17)
Figure 4.5 “Branch” matrix, with coefficients derived from the node energy level,
momentum and continuity equations
AH 1 + BH 2 + .... = Z (4.19)
Equation (4.19) shows that the water level in a node can be described as a
function of the water levels in the neighbouring nodal points. It is therefore
possible to set up a 'nodal point matrix' at each time step using the coeffi-
cients from Equation (4.19) and the solution to the matrix yields, by backward
substitution, the water levels in all nodal points at the next time step.
Figure 4.7 Principle of a "nodal" matrix for a system with 8 nodes and 9 branches
The crosses in the matrix symbolise coefficients, meaning that, for instance,
the water level in node 4 can be expressed as a function of the water levels in
nodes 1, 5 and 6. When the nodal point matrix has been solved, the solution
in the branches is found by backward local elimination.
The bandwidth of the nodal point matrix, as indicated by the stippled lines,
depends on the order in which the nodal points are defined. The bandwidth of
the matrix in Figure 4.7 is equal to 5. The computational time required for
solution of the nodal point matrix depends on the bandwidth size, and sharply
increases with increasing bandwidth.
69
Numerical Solution of the Flow Equations in MOUSE Link Networks
C r = t
v + gy -
------------------------------ (4.20)
x
where:
The most conservative condition for a correct and stable solution of the imple-
mented finite difference scheme is the velocity condition:
v t x (4.21)
Before the actual time step is taken, a preliminary value of the time step
is calculated, on the basis of the following:
The instantaneously time step is increased by a user-specified fraction
(the time step acceleration). Acceptance of this time step is validated
through checking the resolution of boundary conditions and pump
operations (see below). Finally, the suggested time step is validated
with respect to user-specified minimum and maximum values. The
minimum and maximum values and acceleration factors are specified
as a part of the simulation configuration. If the maximum and minimum
values of dt are equal, the program will use a constant time step.
71
Numerical Solution of the Flow Equations in MOUSE Link Networks
where is the largest error between the given and simulated boundary condi-
tions (see Figure 4.9), Bvar is the value of the given boundary conditions and
QacceptLimitRel is a user specified value given in the DHIAPP.INI file.
The boundary resolution criteria is tested on all time series defined as bound-
ary or results from a runoff simulation (the *.CRF file). However, the test is
Q MaxPumpFlowVar Q (4.23)
where Q is the variation in the pumped flow, Q is the current value of the
pumped flow and MaxPumpFlowVar is the user specified maximum relative
variation.
It should be noted that this test also implies that the simulation is always
decelerated down to the minimum time step whenever a pump is switched
ON or OFF.
H WaterLevDiffMaxRel H (4.24)
for H WaterLevDiffMaxRel H1 H0
where H is the relative depth (the water depth divided by the height, e.g. by
diameter for circular pipes), H0 is the relative depth before the attempted time
step and H1 is the relative depth at the end of the time step. H is the differ-
ence in the relative depth through the time step. The WaterLevDiffMaxRel
value can be user-controlled from DHIAPP.INI file. If limitation is violated at
any H-point in the model, then the obtained solution is scaled down with
respect to dt.
73
Numerical Solution of the Flow Equations in MOUSE Link Networks
is specified through the variable Crosscheck in the DHIAPP.INI file (the value
0 means that this is de-activated, while the values 1 or 2 mean that the check
is activated in one of the two available variants). If the check on the cross-
section parameters is activated, then it is carried out in all H-grid points.
where the variable X is one of the three cross-section variables and the
meaning of Max(X) depends on the value of Crosscheck. If Crosscheck is
given as 1 then Max(X) is the maximum value of the actual parameter over
the cross section, while a value of Crosscheck which is equal to 2 means that
Max(X) is given as the actual value of the respective cross-section parame-
ters. However, the check is carried out only if the relative depth in the cross-
section is larger than the variable CrossLowDepthLimit. The check of these
limitations is carried out at the end of a time step simulation. If limitations are
violated then the solution is scaled down with respect to dt.
dt
C MaxCourant where C = V
------------- (4.28)
dx
V is flow velocity and dx the distance between two computational grid points.
Check of this limitation is carried out after the simulation of a time step. If the
limitation is violated the solution is scaled down with respect to dt.
Weir oscillations
If the storage volume in one of the nodes connecting a weir is small, weir
oscillations might occur for free flow conditions. This phenomenon results in a
continuous change in flow direction over the weir until the instability is damp-
ened. In order to avoid this situation, a criterion related to the change in water
levels between up- and downstream nodes around the weir is implemented.
The criterion relates to dt by:
n n+1 n
dt possible H + H = dt H – 0.02 (4.29)
where H is the difference in water level between the two nodes connected to
the weir and n corresponds to the time step level. The absolute allowed
change of 0.02 m is hard-coded in the program and cannot be controlled by
the user.
1 Q h
---- ------- + ------ = 0 (4.30)
w x t
where h is the water level (m) and w is the surface width (m).
1 Q
The term ---- ------- in the equation above can be expanded in a Taylor series as:
w x
Q ---
1--- ------- 1 Q n 1 n w Q n 1 n Q n + 1 Q n
- ------- – -----2- ------- ------- h + ---- ----------------- – ---------- (4.31)
w x w x w h x w x x
where represents the time centering of the numerical scheme and n and
n+1 refer to the simulation time steps.
75
Numerical Solution of the Flow Equations in MOUSE Link Networks
the cross-section database may vary in a very unpredictable way, the Taylor
expanded equation is only applied to standard pipes.
Further means of controlling the volume continuity balance for links with no or
little water are provided as user-controlled minimum water depth for links run-
ning dry or with very little flow. The default minimum water depth can be
modified in the DHIAPP.INI file. In this file two parameters can be changed:
5 Initial Conditions
The hydrodynamic computation is started from the flow conditions in the sys-
tems specified for time t = 0. MOUSE provides two different options for estab-
lishment of proper initial conditions.
If there are outlets in the system with initial water level specified higher than
the outlet bottom, a horizontal water surface is assumed extending inside the
system, until the point in the pipe system where the water level coincides with
the bottom level (see Figure 5.1).
77
Initial Conditions
The result file used as a HOTSTART file has to be complete, i.e. water levels
and flows at all computational points have to be saved.
6 Boundary Conditions
Unique solution of the flow equations requires appropriate set of boundary
conditions. Flow equations are solved for each conduit between two nodes,
and the boundary conditions are required at both end of the conduit, at each
time step throughout the computation.
With respect to the volume balance in the system, two groups of boundary
conditions can be distinguished:
At outlets:
79
Boundary Conditions
81
Boundary Conditions
7 Flow Resistance
Head losses caused by the resistance in free-surface flow links are intro-
duced as a friction slope term into the momentum equation (see section 3.2
Implementation of the Saint Venant Equations in MOUSE (p. 52)). The friction
slope If is equal to the slope of the energy grade line and is defined as:
I f = ----------- (7.1)
gR
where:
2
If = f Q (7.2)
n+ n n n+1
I fj = I fj + dI fj = 1 – I f + I f (7.3)
83
Flow Resistance
n+ n
If j = I f j + dI f j (7.4)
n n 2
= f j Q j + dI f j
n
n 2 df
= f j Q j + 2f j Q j + Q j ------- h j
n n 2 n n 2
dh j
The coefficient determines the time weighting of the scheme. For stability
reasons the coefficient should be above 0.5. The recommended (also default)
value is 1.0, i.e. a fully forward time weighting of the scheme.
MOUSE provides an optional choice between the explicit and implicit flow
resistance description through the DHIAPP.INI file (see relevant documenta-
tion). The explicit description is selected per default.
QQ
I f = ------------------------- (7.5)
2 2 43
M A R
1
f = ------------------------- (7.6)
2 2 43
M A R
where M is the Manning number, A the area, and R the hydraulic radius.
f f M f A 4 f R
------ = – 2 ----- -------- – 2 ---- ------- – --- ---- ------- (7.7)
h M h A h 3 R h
Per default, MOUSE assumes a constant Manning’s number over the link
section height. However, in real situations conduit wall roughness often
changes with water depth, because different parts of the link cross section
are exposed to quite different flow conditions during its lifetime. This intro-
duces difficulties in fitting the computed stage-discharge curve, based on a
single M value specified for a link, with the actual, measured stage-discharge
relation. This is usually related to old systems, where significant sediment
deposits and pipe-wall erosion are present.
y exp
M act = M bott + M top – M bott ---- (7.8)
D
where:
The formula is used for relative depths h/D in the interval 0.0 - 1.0. For rela-
tive depth > 1.0 the Manning number is set to the Manningtop value.
85
Flow Resistance
Figure 7.1 Relative variation of the Manning number with relative depth.
h/D Manning
Figure 7.2 Variation of the Manning M for Manningbot=60 and Manningtop=90 with
different values of the variation exponent.
The Manning number variation is specified through the ASCII file *.ADP. The
specified Manning numbers in the *.ADP file must follow the selected option
for the Manning number convention. Syntax of the format of the '*.ADP' files
must be as shown in the 'DHIAPP.INI and *.ADP Reference Manual'.
The lines of the '*ADP' file related to the Manning number variation may be
easily compiled by copy-and-paste operations from the MOUSE650.OUT file.
This ASCII file is generated by every computation with the MOUSE Pipe Flow
Model.
Before using the '*.ADP' file, the Manning number parameters for the
selected lines must be modified, i.e. values for bottom and top of pipe Man-
ning numbers and possibly the variation exponent must be adjusted for the
pipes or canals where varying Manning numbers are to be used.
2 cw 2 k
------- = cw 1 + cw 2 ln ---------3- ------- + cw 4 ---- (7.9)
f cw Re f cw R
where:
cw1 = 6.4
cw2 = -2.45
cw3 = 3.3
cw4 = 1.0
2
Q f cw
I f = f cw -----------------
2
- f = -----------------
- (7.10)
2
2gA R 2gA R
The Colebrook -White friction resistance can only be used if an implicit friction
formulation is activated.
87
Flow Resistance
0 63 0 54
Q = kCAR S (7.11)
where:
It is assumed that the water levels in the inlet conduit and in the manhole or
structure are the same. This assumption implies that the energy loss of the
flow entering and expanding in the node amounts to the difference of the
velocity heads in the inlet conduit i and the node m, respectively:
2 2
vi – vm
E i = ------------------
- (7.12)
2g
In a case of a free inlet of a sub-critical flow, i.e. when the water level in the
junction is lower than the critical depth level in the inlet link, the water level in
the link is assumed to be equal to the critical depth. For different cross sec-
tions, appropriate approximations are applied, e.g. for a circular pipe as fol-
lows:
Q
yc i = 0.32 --------i- (7.13)
Di
where:
Similarly, in a case of a low water level in the junction with supercritical flow
(steep inlet links), the downstream water level is set equal to normal depth in
the link.
All the individual losses in a node (except the inlet loss) calculated by the
model are added-up at the outlet, separately for each outlet link. The outlet
89
Flow Resistance
loss for the link j is assumed to be proportional to the velocity head in the out-
let link j:
2
v
E j = jk -----j- (7.14)
2g
k
where jk are individual head loss coefficients for link j, calculated on the
basis of geometrical set-up of the node and flow distribution among the links
attached to the node.
Based on the generalised notation, the calculation of the head loss coefficient
is performed individually for each outlet link as follows:
n 2
Q i ij
dir j = ----- -----------
Q j 90 2
(7.15)
i=1
where i stands for inlet links, and j stands for outlet links.
Figure 7.5 Manhole with a difference in elevation between inlet and outlet pipe
n
Qi Zj – Zi Zj + Dj – Zi – Di
level j = -----
Qj
--------------------------------------------------------------------
Di Dj
(7.16)
i=1
91
Flow Resistance
MOUSE calculates the outlet head loss coefficient according to the following:
Aj
contr j = K m 1 – --------------------------- (7.17)
Qj
A m -------------
n
-
Q i
i=1
where:
Theoretically, the total energy loss at the outlet from the node, expressed as a
function of the velocity head in the outlet pipe can be as high as the available
energy level in the node. The limiting case occurs e.g. with completely
clogged outlet (Km ->, with no flow in the outlet pipe.
The first limitation relates the maximum head loss to the depth in the outlet
pipe:
2 2
v v
h j = min h j , 1 + out -----j- – -----m- (7.18)
2g 2g
It also introduces the limitation on the total head loss coefficient as:
These limitations have caused that the computed head losses and the corre-
sponding flow conditions around nodes in some cases were inexact.
2
v
E j = min dir j + level j + contr j ,1 -----j- (7.20)
2g
The limitation of the total head loss coefficient to 1.0 is, however, still present.
An alternative solution is available which fully ignores the energy loss at the
inlet. For a flow-through manhole, this practically means that the energy level
in the manhole is set to be equal as at the downstream end of the inlet pipe.
For manholes with multiple inlets, the energy level is calculated as the
weighted average of the inlet flows (i.e. large flows contribute most to the
energy level).
Thus, in this formulation, the total loss at the manhole is concentrated compu-
tationally at the outlet, and can be fully controlled by the user.
Without doubt, this approach proves valuable for some specific situations,
particularly for the flow-through manholes with ‘normal’ flow conditions. How-
ever, due attention must be paid for cases with high inlet energy
levels, e.g. a small pipe with high-velocity flow entering a large basin. In such
a case, the energy level of otherwise still water in the basin would be calcu-
lated as equal to the energy level of the approaching flow, i.e. much higher
than realistic, with erroneous results as a consequence.
93
Flow Resistance
The head loss calculation for individual nodes can be controlled by selecting
one of the available options - there are default five options in MIKE URBAN.
You can always create your own option.
Computation Method
Three different methods are avialable:
The third option ignores all local losses. Regardless of the shape of the out-
lets, geometrical set-up of the junction and distribution of flows among inlet
and outlet conduits, water levels in the junction and the outlet conduit are set
equal, as if there is no change of geometry and the flow conditions between
the junction and outlet conduit. This literary means that this option should be
applied only where there is no change in cross section. If inappropriately
applied, inconsistent results may be generated.
On the contrary, this option can be recommended for use if an artificial node
is introduced somewhere on a straight section of a conduit, where actually
no losses occur.
Loss Coefficient
The available loss coefficient types distinguish three different interpretations
of the specified head loss coefficient.
Selection of "Km " (Type (a)) interprets the specified value as the outlet
'shape' coefficient Km (see Equation (7.17)).
Selection of "Contraction HLC" (Type (b)) interprets the specified value as the
outlet 'contraction' coefficient zcontr(j) (see Equation (7.17)). This means that
the model ignores the geometrical relations between the node and the outlet
links (outlet shape), and applies the specified value directly as the zcontr. The
contraction losses in the outlet links are then computed by multiplying the
velocity head in the respective link by the zcontr. The total head loss for an
outlet link is computed as a sum of the contraction, direction and elevation
loss.
Selection of "Total HLC" (Type c)) interprets the specified value as the total
outlet head loss. This means that the model completely ignores the geometry
of the node/links, and applies the specified value (Total HLC) directly as the
zout, the same for all outlet links at the node. The total head losses in the out-
let links are then computed by multiplying the velocity head in the respective
link by the specified zout.
Total wetted area: calculated as product of diameter and water depth for
manholes and red from the basin geometry table (Ac) for basins. Typically
results in overestimate of local loss in a node.
95
Flow Resistance
7.5.3 Example: Node Outlet Head Losses Variation as Function of Head Loss
Coefficient Mode
In this example a simple sewer system consisting of two pipes, two manholes
and one outlet is constructed. Tests for different head-loss types (a), (b) and
(c) have been performed with various modifications in flow direction or drop
height, or both. Table 7.1 shows a complete test matrix.
In the performed tests, the value of the HEADLOSS COEFFICIENT has been
set to 0.5 for all three types (a), (b) and (c). The head loss coefficients for
drop in the setup III) and IV) is 0.4 (inlet pipe is 0.6 m above the bottom in
manhole B). The head loss for direction in the setup II) and IV) is 0.25 (angle
between pipes are 45).
The example also includes calculation of the friction loss in the downstream
pipe.
The water level in the inlet pipe is assumed equal to the water level in the
manhole. This implies that the expansion loss at the inlet is automatically
assumed. All calculated energy losses are assumed to occur at the outlet
pipe, i.e.:
2 2 2
vm v out v out
- + y out + Z out + --------
------ + y m + Z m = -------- - (7.22)
2g 2g 2g
Data:
2 2
Q L 2.0 50.0
h f = ------------------------- = -----------------------------------------------------
- (7.23)
2 2 43 2 2 43
M A R 70 0.7854 0.25
2 2 2
v v out v out
H + -----m- = H out + h f + --------
- + --------- (7.24)
2g 2g 2g
97
Flow Resistance
v m = ------
Q
Q- = -------------- 2.0
- = ------------------------------------------------------------ = 0.94ms
–1
(7.25)
Am Dm ym 1.5 15.0 + 0.42 – 14.0
2
Q 2.0 –1 v out
v out = ---------- = ---------- = 2.55ms , --------
- = 0.33m (7.26)
A out 0.78 2g
2
vm
------ = 0.045 m (7.27)
2g
A out Q in Q in 2
= K m 1 – ----------
- -------- + ----------- --------
Q out A m Q out 90 2
2
0.78 45
= 1 – ---------------------- + -------2- = 0.567
1.5 1.42 90
H = 15.89 m (7.29)
The deviation between the MOUSE simulation and manual calculation result
is due to the fact that MOUSE calculates vout by using the following area in
the pipe:
2
D out
A out = -------------
- + Preismann slot area
4
The table shows which setups have been used for the calculation, and also
which head loss types are included. c0, c1, c2 are all head loss coefficients
due to contraction and correspond to the types (a) , (b) and (c).
Table 7.2
Contraction c
Test Setup Direction d Drop l (a) b)c1 (c)c0 Hcalc HM
c0
1 I) X 15.81 15.82
2 I) X 15.87 15.87
3 I) X 15.87 15.87
Table 7.2
Contraction c
Test Setup Direction d Drop l (a) b)c1 (c)c0 Hcalc HM
c0
4 II) X X 15.89 15.90
5 II) X X 15.95 15.94
6 II) X X 15.87 15.87
7 III) X X 15.94 15.94
8 III) X X 16.00 15.99
9 IV) X X X 16.02 16.02
10 IV) X X X 16.03 16.02
When applying the kinematic wave approximation, the head loss description
in nodes is based on the same equations as described above.
However, in order to reduce the computational time, the energy losses are
computed once for a number of different flow conditions and tabulated for use
during the simulation. In cases where there is more than one inlet link in a
manhole, the losses are calculated on the basis of the assumption that the
flow in each link (relative to the flow in the other inlet links) is proportional to
the corresponding full flow capacity. This assumption affects the energy
losses due to changes in elevation and direction only when these losses are
different for the different inlet links.
99
Flow Resistance
When the water level in the node increases and is above ground level, the fol-
lowing is assumed:
During a time step the surface area in the basin is calculated using the water
level from the start of the actual time step. A situation like this is shown in
Figure 8.1. If the water level passes through the transition region between the
actual manhole or structure and the artificial basin, this assumption leads to
generation of water. In Figure 8.1 the shaded area illustrates the generated
volume of water.
When the increase of the water level during a time step is relatively small,
then the generated water volume is negligible. If the water level is changing
rapidly, the generated volume of water is important and due to that an appro-
priate correction is built in the program to ensure no generation of water.
101
Some Special Techniques
surface. In this case, the pressure will rise without any water on the ground
surface. The following relations are valid:
where:
for H m H top + P :
32
Q spill = Relative Weir Coefficient 0.63 B 2g H m – H top + P
where:
The level (i.e. head) at which the spill starts can be controlled by optionally
specifying the 'Buffer Pressure Level' as a relative elevation above (or below)
the ground surface (default value = 0).
For circular manholes, the spill width B equals to 1.5 times the manhole diam-
eter for the water level Hm = Htop+P. With increasing water level, the spill
width B increases, following the same functional relation as used for the
"basin" area above surcharging nodes (i.e. increases exponentially to approx-
imately max. 1000 times the manhole diameter) - see paragraph 8.1. For
nodes defined as basins, the spill width B is set equal to the square root of
the basin surface area.
Q
------- = 0 (8.3)
x
and
Q
------- + gA y
------ = gA I 0 – I f (8.4)
t x
where
Q = discharge, [m3s-1]
A = flow area, [m2]
y = flow depth, [m]
g = acceleration of gravity, [ms-2]
x = distance in the flow direction, [m]
t = time, [s]
I0 = bottom slope
If = friction slope
All nodes within the pressure main networks are assumed to be sealed.
Pressure main networks must always converge down to one receiving man-
hole, which is called the tail node. The tail node is the point of transition
between domains where the hydraulic solution is based on the St. Venant
equation and the special pressure main model.
The computation of the special pressure main sub models uses the maximum
of the water level in the “St Venant” governed domain and the water level at
the tail nodes as downstream boundary conditions. As default it is assumed
103
Some Special Techniques
that the tail node water level is equal to the maximum of the up-vert level of all
pressure pipes attached to the tail node, but the user can change this default
value.
The “upstream” pressure main network must be linked with the St. Venant
controlled domain through pumps. The “pressure mains” feature can
handle an unlimited number of pumps attached to one pressure main net-
work, but the solution feature can only handle networks where the upstream
link to the St Venant domain is modeled by pumps.
Spilling is defined when water is running out of the system and "spilling rate"
is the volume of water per second running out of the system.
Flooding, floodrate, spilling, and spilling rate can all be reported in an .XRF-
file for MOUSE and in the .AddOut.res1d-file for MIKE 1D.
Note that floodrate can be both positive (water coming from below ground
level) and negative (water running into the ground level), while spilling rate
can only be positive.
Since both nodes and pipes can have Preismann slots that emulate pressur-
ized nodes or pipes, it often happens that there is flooding in the system but
NOT spilling. Thus, flooding does not necessarily mean that there is water
running out of the system onto the ground.
Water volume above ground level in nodes is calculated as total water vol-
ume on the node minus water volume below ground level. This means that
sealed nodes can also have some (small) amount of flooding due to the slot
which extends above ground level.
Spilling nodes have two input parameters - buffer pressure and spilling coeffi-
cient. The buffer pressure represents the water depth above ground needed
before water is lost from the system. Hence, if you set the buffer pressure to
e.g. 10 cm then water will not spill before the water level is more than 10 cm
above ground level. In this case you will also see flooding because water is
between ground level and ground level + 10 cm, but it is not lost from the sys-
tem. Hence when the water level is reduced this volume of water is going
back into the network again. Hence some water is flooding and going back to
the network again while another volume is spilled and lost to the system.
The buffer pressure is used to model the effect of two physical processes: 1)
a cover that requires a certain pressure before it lifts and water is lost (in this
case the water level above ground is really a pressure and hence no real
water is on the ground), and 2) a sewer grate that is located in a small
depression in the road and it is not until the water level is above 10 cm that
water starts running down the street and is lost to the system (in this case
there actually is water on the ground even though it is not lost.)
When the buffer pressure is zero, the spilling coefficient is still used. Spilling
is calculated as water spilling over a weir. The weir coefficient is equal to the
spilling coefficient and the weir width is calculated from the circumference of
the manhole. In some cases the spilling weir becomes a restriction on the
flow and then the water level will build up behind the weir (i.e. in the manhole
itself) and the water level will become higher than the ground. Also this is
reported as flooding, because the water level is above ground level.
105
Some Special Techniques
9 Nomenclature
a,b,c,..,zquasi-constants in a modified continuity equation around a
node
avertical distance from the point where the jet intercepts the
manhole to the centreline of the inlet
b vertical distance from the point where the side of the outlet
enters the manhole to the centreline of the inlet
107
Nomenclature
CrCourant number
CdCoefficient of discharge
FrFroude's number
Hmin,
Hstart,
Hup,Hdown or
Qdischarge, (m3s-1)
109
Nomenclature
ttime, (s)
w0gate opening
ydepth, (m)
111
Nomenclature
10 References
/1/MOUSE User Manual and Tutorial, DHI 1999
/3/ Pedersen, F.B., Mark, O.: Head Losses in Storm Sewer Man-
holes: Submerged Jet Theory, Journal of Hydraulic Engineering,
Vol. 116, No. 11, November 1990.
113
References