MIKE21 HD Module
MIKE21 HD Module
MIKE21 HD Module
Hydrodynamic Module
User Guide
2
Please Note
Copyright
This document refers to proprietary computer software which is protected
by copyright. All rights are reserved. Copying or other reproduction of
this manual or the related programs is prohibited without prior written
consent of DHI Water & Environment (DHI). For details please refer to
your 'DHI Software Licence Agreement'.
Limited Liability
The liability of DHI is limited as specified in Section III of your 'DHI
Software Licence Agreement':
'IN NO EVENT SHALL DHI OR ITS REPRESENTATIVES (AGENTS
AND SUPPLIERS) BE LIABLE FOR ANY DAMAGES WHATSO-
EVER INCLUDING, WITHOUT LIMITATION, SPECIAL, INDIRECT,
INCIDENTAL OR CONSEQUENTIAL DAMAGES OR DAMAGES
FOR LOSS OF BUSINESS PROFITS OR SAVINGS, BUSINESS
INTERRUPTION, LOSS OF BUSINESS INFORMATION OR OTHER
PECUNIARY LOSS ARISING OUT OF THE USE OF OR THE INA-
BILITY TO USE THIS DHI SOFTWARE PRODUCT, EVEN IF DHI
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
THIS LIMITATION SHALL APPLY TO CLAIMS OF PERSONAL
INJURY TO THE EXTENT PERMITTED BY LAW. SOME COUN-
TRIES OR STATES DO NOT ALLOW THE EXCLUSION OR LIMITA-
TION OF LIABILITY FOR CONSEQUENTIAL, SPECIAL, INDIRECT,
INCIDENTAL DAMAGES AND, ACCORDINGLY, SOME PORTIONS
OF THESE LIMITATIONS MAY NOT APPLY TO YOU. BY YOUR
OPENING OF THIS SEALED PACKAGE OR INSTALLING OR
USING THE SOFTWARE, YOU HAVE ACCEPTED THAT THE
ABOVE LIMITATIONS OR THE MAXIMUM LEGALLY APPLICA-
BLE SUBSET OF THESE LIMITATIONS APPLY TO YOUR PUR-
CHASE OF THIS SOFTWARE.'
Printing History
June 2004
August 2005
November 2006
3
4 MIKE 21 HD
CONTENTS
5
1 ABOUT THIS GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.1 Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2 Assumed User Background . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1.1 Application Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 EXAMPLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 Wind set-up in a rectangular lake . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.1 Defining the Model . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.2 Extracting Data for Plotting . . . . . . . . . . . . . . . . . . . . . . 16
3.2.3 Evaluating the Results . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3 Donegal Bay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.1 Purpose of the Study . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.2 Defining the Hydrodynamic Model . . . . . . . . . . . . . . . . . 18
3.3.3 Collecting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.4 Setting Up the Model . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.5 Calibrating and Verifying the Model . . . . . . . . . . . . . . . . . 20
3.3.6 Running the Production Simulations . . . . . . . . . . . . . . . . 21
3.3.7 Presenting the Results . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3.8 List of Data and Specification Files . . . . . . . . . . . . . . . . . 22
3.4 Turtle Bay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.4.1 General Remarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.4.2 About the Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.4.3 Data and Specification Files Supplied with This Example . . . . 25
4 BASIC PARAMETERS DIALOG OVERVIEW . . . . . . . . . . . . . . . . . . . 27
4.1 Module Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.1.1 HD Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.2 Bathymetry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.3 Simulation Period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.4 Boundary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.5 Source and Sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.6 Mass Budget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.7 Flood and Dry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5 DIALOG OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.1 Initial Surface Elevation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2 Boundary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.3 Source and Sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.3.1 Evaporation and precipitation . . . . . . . . . . . . . . . . . . . . 35
6 MIKE 21 HD
5.4 Eddy Viscosity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.5 Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.6 Wave Radiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.7 Wind Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.8 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6 REFERENCE MANUAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1 Bathymetry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1.2 Selecting the Model Area . . . . . . . . . . . . . . . . . . . . . . . 39
6.1.3 Selecting the Grid Spacing . . . . . . . . . . . . . . . . . . . . . . 42
6.1.4 Selecting the Reference Level . . . . . . . . . . . . . . . . . . . . 44
6.1.5 Specifying the Bathymetry . . . . . . . . . . . . . . . . . . . . . . 44
6.1.6 Sign convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.1.7 Additional Area Description . . . . . . . . . . . . . . . . . . . . . . 45
6.1.8 Landslide option . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.2 Bed Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.2.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.2.2 Specifying the Bed Resistance . . . . . . . . . . . . . . . . . . . 48
6.2.3 Recommended values . . . . . . . . . . . . . . . . . . . . . . . . 49
6.2.4 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.3 Blow-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.4 Boundary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.4.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.4.2 Specifying the Boundary Conditions . . . . . . . . . . . . . . . . 50
6.4.3 User specified boundaries . . . . . . . . . . . . . . . . . . . . . . 53
6.4.4 Recommended selections and values . . . . . . . . . . . . . . . 55
6.4.5 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.5 Chezy Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.6 Courant Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.6.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.6.2 Recommended value . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.7 CPU Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.7.1 Factors Influencing the CPU Time . . . . . . . . . . . . . . . . . . 58
6.8 Disk Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.8.1 Small Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.8.2 Large Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.8.3 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.9 Eddy Viscosity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.9.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.9.2 Specifying the Eddy Viscosity . . . . . . . . . . . . . . . . . . . . 62
6.9.3 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7
6.10 Evaporation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.11 Flooding and Drying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.11.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.11.2 Specifying Flooding and Drying . . . . . . . . . . . . . . . . . . . 64
6.11.3 Recommended values . . . . . . . . . . . . . . . . . . . . . . . . 64
6.11.4 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.12 Friction Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.13 Hot Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.13.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.13.2 Specifying the Hot Data . . . . . . . . . . . . . . . . . . . . . . . 65
6.14 Initial Surface Elevation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.15 Inundation statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.16 Manning Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.17 Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.18 Output Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.18.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.18.2 Specification of Output Files . . . . . . . . . . . . . . . . . . . . . 67
6.18.3 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.19 Pier Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.19.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.19.2 Specifying the Pier Resistance . . . . . . . . . . . . . . . . . . . 68
6.20 Precipitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6.21 Simulation Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.21.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.21.2 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.22 Smagorinsky Formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.23 Soft Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.23.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.23.2 Specifying Soft Start . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.23.3 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.24 Source and Sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.24.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.24.2 Specifying Sources and Sinks . . . . . . . . . . . . . . . . . . . . 73
6.24.3 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6.25 Standard vs. nested HD module . . . . . . . . . . . . . . . . . . . . . . . 74
6.25.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6.25.2 Nested Bathymetries . . . . . . . . . . . . . . . . . . . . . . . . . 76
6.25.3 Nested Model Specifications . . . . . . . . . . . . . . . . . . . . . 78
6.25.4 Pre- and Post-Processing Tools . . . . . . . . . . . . . . . . . . . 80
6.26 Time Step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6.26.1 Selecting the Time Step . . . . . . . . . . . . . . . . . . . . . . . 80
8 MIKE 21 HD
6.27 Wave Radiation Stresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.27.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.27.2 Specifying the Wave Radiation Stresses. . . . . . . . . . . . . . 82
6.27.3 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 82
6.28 Wind Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
6.28.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . 84
6.28.2 Specifying the Wind Conditions . . . . . . . . . . . . . . . . . . . 84
6.28.3 Specifying the Wind Friction . . . . . . . . . . . . . . . . . . . . . 86
6.28.4 Remarks and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.29 List of References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
9
10 MIKE 21 HD
Purpose
1.1 Purpose
The main purpose of this User Guide is to get you started in the use of
MIKE 21 Flow Model, Hydrodynamic Module (HD), for applications of
hydraulic phenomena in lakes, estuaries, bays, coastal areas and seas. It
may be applied wherever stratification can be neglected.
11
About This Guide
12 MIKE 21 HD
General Description
2 INTRODUCTION
13
Introduction
14 MIKE 21 HD
General
3 EXAMPLES
3.1 General
One of the best ways of learning how to use a modelling system like the
MIKE 21 Flow Model is through practice. Therefore examples are
included which you can go through yourself and which you can modify, if
you like, in order to see what happens if one or other parameter is
changed.
The specification files for the examples are included with the installation
of MIKEZero. A directory is provided for each example. The directory
names are as follows (these may have been changed at your installation;
please ask your system administrator if you cannot find the directories):
c:\Program Files\DHI\MIKEZero\Manuals\MIKE_21\Flow-
model\HD\MIKE21_HD_Step_by_Step.pdf.
15
Examples
z The grid spacing, which on the basis of the size of the lake is selected
to be 100 meters.
z The time step, which on the basis of the grid spacing and the water
depth is selected as 20 seconds (corresponding to a Courant Number of
2).
The time series of the resulting water depth extracted in point (49, 10) is
plotted in Figure 3.2.
16 MIKE 21 HD
Donegal Bay
The purpose of .... the study now required is to establish that the
proposals for the disposal of the sewage and industrial effluents
17
Examples
The study was carried out by MCS International, Galway, Ireland with the
assistance of DHI. MCS International has kindly made the hydrodynamic
model, which was set up for this study, available for inclusion in this man-
ual. It should be noted that only part of the work, which was carried out, is
described here.
The purpose of the water circulation study was to predict the current and
water level variations within the estuary for later calculation of the advec-
tion and dispersion of the discharged effluents and calculation of their
effects on the water quality.
z The model is turned 50 degrees relative to true north so that the y-axis
lies parallel to the flow in the main channel running from Donegal
towards the bay. This rotation of the model also reduces the number of
grid points in the model and makes the main flow direction at the
boundary perpendicular to it.
z The boundary is situated not too close to the mouth of the estuary. This
ensures a uniform flow pattern at the boundary. Furthermore, the
boundary can not be situated in the mouth of the estuary itself, as
flooding and drying are not allowed on an open boundary.
18 MIKE 21 HD
Donegal Bay
Figure 3.3 The northern part of Donegal Bay and the model area for the hydro-
dynamic model
A grid spacing of 150 meters was chosen as this was the maximum size,
which could be used to define the tidal channels in the estuary.
19
Examples
Other measurements showed that the spring tide range is 3.5 m and the
neap tide range 1.5 m.
The discharge from the river is normally not very large. For the time of
year when the calibration data were collected, a discharge of 7.15 m3/s is
normal.
20 MIKE 21 HD
Donegal Bay
For the whole model a Manning number of 25 m1/3/s and a constant eddy
viscosity of 3 m2/s was used.
A simulation period of two tidal cycles was selected as this allowed the
model to warm up during the first cycle, while the second could then be
used for comparisons.
21
Examples
Figure 3.6 Simulated water depths during the verification period at Donegal
Bay
Name: bathy
Description: Donegal Bay bathymetry
The following specification files were used together with the specified
tasks for running the simulations:
22 MIKE 21 HD
Turtle Bay
File: vermhd.m21
Task: m21hd (Hydrodynamic Models: Standard Hydrodynamics)
Description: Verification simulation
File: sprmhd.m21
Task: m21hd (Hydrodynamic Models: Standard Hydrodynamics)
Description: Spring tide simulation
File: neapmhd.m21
Task: m21hd (Hydrodynamic Models: Standard Hydrodynamics)
Description: Neap tide simulation
In case you have a license for the nested hydrodynamic module but not for
the nested advection-dispersion module and want to run the corresponding
HD model without the AD, then you may use the sample set-up provided
in the HD-directory of the MIKE 21 Flow Model examples.
23
Examples
Time step: The time step has been chosen to be 5 sec yielding a maximum
Courant number of approx. 2.1 in the fine grid area.
Boundary conditions: Transfer data has been obtained from a tidal simula-
tion by a regional model covering the above show area by use of the
Transfer Boundary tool in the Hydrodynamics part of the MIKE 21 Tool-
box. The resulting type 1 data files are supplied with this example. The
hydrodynamic model is set-up with these data applying fluxes as primary
boundary variation for the north and east model boundaries and levels as
primary boundary variation on the south model boundary.
24 MIKE 21 HD
Turtle Bay
Name: m21_c1
Description: Turtle Bay bathymetry, coarse grid
Name: m21_f1
Description: Turtle Bay bathymetry, fine grid
Name: nbnd120lwx
Description: north model boundary
Name: ebnd120lwx
Description: east model boundary
Name: sbnd120lwx
Description: south model boundary
For the AD boundary conditions, the data files of the applied time series
and line series are:
Name: bndts
Description: AD time series boundary data
Name: bndls
Description: AD line series boundary data
The following specification files were used together with the specified
tasks for running the simulations:
File: turtle.m21
Task: m21hd (Hydrodynamic Models: Nested Standard Hydrodynamics)
Description: Simulation using nested bathymetry
25
Examples
26 MIKE 21 HD
Module Selection
Selections made here determine the structure of the rest of the model setup
editor, ie the required entries for the hydrodynamic module and possible
add-on modules. The tree-view and the number of available dialogues will
expand according to the selections made for the basic parameters.
4.1.1 HD Calculations
The default numerical scheme in MIKE 21 Flow Model, HD uses single
precision with a rounding error on the 6th digit of the single precision rep-
resentation. Model domains at high altitudes may produce model results
with an order of accuracy insufficient to describe the flow behavior in the
study area.
27
Basic Parameters Dialog Overview
4.2 Bathymetry
The MIKE 21 Flow Model requires information about the number of
dynamically nested grids to be applied in the simulation. The maximum
number of nested areas is 9. The first area, area number 1, is referred to as
the "main area".
z as a cold start
z as a hot start
For a cold start the velocity field is initialized to zero. When choosing this
option you have to specify a type 2 data file for each area, containing the
area bathymetry. Except for the main area you should also specify the ori-
gin of each nested (embedded) area. This is done in terms of the grid coor-
dinates referring to the (sub-) area in which it is embedded (also to be
specified).
For modelling the hydraulic effects of a time varying bathymetry you have
to include the landslide option. When choosing this option you have to
specify a type 2 data file containing the time varying bathymetry. Please
note hot files cannot be used with this option. The landslide option can be
used in nested mode, but you have to ensure that the bathymetries satisfy
the rules for nesting at every time step. It is recommended to include the
landslide within one nested grid.
28 MIKE 21 HD
Simulation Period
The hot start facility requires a hot file for each area. These must originate
from a previous simulation. The hot start files contain all necessary infor-
mation to continue a simulation. In this way simulation time can be
reduced if for instance a number of scenarios are to be compared, all based
on the same (hot start) initial conditions.
If you are on the southern hemisphere, you should use a negative value for
the latitude.
z Time step range is the number of time steps the simulation should
cover.
z The time step interval is the amount time is incremented between each
time step (equal for all areas). In case of a hot-started simulation, the
time step is taken from the hot file and cannot be changed.
z The simulation start date is the historical date and time corresponding
to time step zero. In case of a hot-started simulation, the simulation
start date is read from the hot file and cannot be changed.
z The warm-up period is a number of time steps over which the forcing
functions are gradually increased from zero to 100% of their true
value.
Before you leave this dialog, the system will calculate and show the maxi-
mum Courant Number (p. 58) in the model (max. of all nested areas). You
29
Basic Parameters Dialog Overview
should consider reducing the time step if this Courant number exceeds
(say) 8 to 10.
4.4 Boundary
The MIKE 21 Flow Model requires you to specify either the surface ele-
vation or the flux at all open boundary points.
When a bathymetry or a 'hot start' file for the main area has been specified
under 'Bathymetry' it is scanned for locating the open boundaries, i.e. they
are "program detected".
In most cases these boundary positions can be used "as is"; but in some
cases the user might want to define the positions himself. This may be due
to borders (internal boundaries), a boundary stretching over a series of
small islands, etc.
For such "user specified" boundaries, you have to specify the number of
open boundaries as well as their locations in terms of first and last (end)
points. A maximum of 14 open boundaries is allowed.
The source and sink positions are specified by their horizontal grid coordi-
nates, in their respective model area. The model area so specified should
30 MIKE 21 HD
Mass Budget
be the one with the finest grid resolution covering the geographical posi-
tion of the source/sink.
You can set the minimum water depth allowed in a point before it is taken
out of calculation (drying depth), and also the water depth at which the
point will be reentered into the calculation (flooding depth).
31
Basic Parameters Dialog Overview
32 MIKE 21 HD
Initial Surface Elevation
5 DIALOG OVERVIEW
Often the initial surface level can be set to a constant value to be applied
over the whole model area. This means that the simulation will start out
with the surface level raised accordingly.
You should specify values that agree with your boundary conditions, i.e. if
you start a simulation at high water with a boundary value of 0.5 m you
should also specify the initial surface elevation to 0.5 m.
For hot-starts, all initial conditions - including the surface elevations - are
read from the hot-file.
5.2 Boundary
The MIKE 21 hydrodynamic model requires you to specify either the sur-
face elevation or flux at all open boundary points specified on Boundary
(p. 30).
The choice of variation at an open boundary can be either level or flux (the
flux is the total amount of discharge passing the open boundary). Actual
values, level or flux, at each boundary can be specified in one of five dif-
ferent formats:
z a constant value
z a sine series
z a time series
z a line series
z transfer data
33
Dialog Overview
In the first case, you specify the constant value (constant both in space and
time) to be applied along the whole boundary.
For sinusoidal variation, you must specify the reference level, range,
period and phase of the sine series.
When selecting time series boundary variation, you must specify the name
of a type 0 data file. The temporal variation given in this file is applied
along the whole boundary.
For line series, the temporal variation along the boundary is obtained from
the specified type 1 data file.
In the case of transfer data, boundary values are obtained from the results
of another simulation, i.e. from a transfer data file generated by the
"Transfer boundary tool", M21trn, in the MIKE 21 Toolbox.
The FAB type selects the strategy for calculating the fluxes along the open
boundary. See the manual for a description and discussion of available
options.
34 MIKE 21 HD
Eddy Viscosity
by which the water is discharged into the ambient water must be specified
while for each sink only
Please note that when including rainfall, the user assumes 100% runoff,
which may or may not be appropriate if significant infiltration and storage
can occur in the soil or ground material.
35
Dialog Overview
The user may also choose between velocity or flux based eddy viscosity
formulations.
5.5 Resistance
The bottom friction can be specified in one of two ways:
The values can be specified as Chezy or Manning numbers; the same type
of number for all areas throughout the model. Manning numbers are con-
verted to Chezy numbers on the basis of the calculated water depth.
For each area, you specify the constant value or the file name of the type 2
data.
Pier resistance can be used to model the effect of pillars or piers on the
flow field. The pier position and its geometrical layout should be defined
in a type 1 data file. See Pier Resistance (p. 67) in the reference manual for
a description of such a pier file.
If included in the computations, a type 2 data file with the the three stress
components (Sxx, Syy and Sxy) must be specified.
36 MIKE 21 HD
Wind Conditions
In case of time varying wind forcing, you may choose to include air pres-
sure corrections of the levels at the open boundaries of your model. This
can be useful if your boundary data does not take into account the air pres-
sure variations.
5.8 Results
Two main types of output data can be obtained from a hydrodynamic sim-
ulation:
1 'Output file', a type 0 (point series), 1 (line series) or 2 (area series) data
file, which contains results from the hydrodynamic simulation.
Because the amount of model output tends to be very large - huge - it is
often not possible to save all output items in all computational areas
and in all grid points at all time steps. Accordingly sub-areas and sub-
sets of output for selected items must be specified for one or more of
the nested computational areas.
37
Dialog Overview
38 MIKE 21 HD
Bathymetry
6 REFERENCE MANUAL
6.1 Bathymetry
6.1.1 General Description
Describing the water depths in your model area for the hydrodynamic
model is without doubt the most important task in the modelling process.
A few hours less spent in setting up the model bathymetry might later on
mean extra days spent in the calibration process.
Giving exhaustive guidelines for how you should specify the bathymetry
in order to avoid any problems later on is, however, nearly impossible.
You can avoid many problems in the modelling process by adhering to the
directions given below, but the experience you build up through practise is
valuable.
39
Reference Manual
40 MIKE 21 HD
Bathymetry
Figure 6.2 Sudden expansion and contraction of the flow close to an open
boundary
Figure 6.3 Special case of sudden contraction, permitted for level boundaries
z You should especially avoid a situation like the one in Figure 6.3.
However, MIKE 21 will accept it if levels (not fluxes) are prescribed at
the open boundary in order to permit flooding and drying just inside
the boundary.
z Although MIKE 21 can handle flooding and drying just inside a level
boundary, you should normally not place the open level or flux bound-
aries too close to shallow areas which might dry out. Points at the open
boundaries should never dry out.
z If possible rotate your model so that the main flow direction inside the
model is more or less parallel to one of the coordinate axes.
z Try to place the origin of your model (which is normally the lower left
corner) in a well defined set of coordinates in the surrounding coordi-
nate system (which will often be the UTM coordinate system or geo-
graphical longitude and latitude ). This, together with a "nice"
orientation of your model relative to north, will facilitate the transfor-
mation of model grid coordinates into the surrounding coordinate sys-
tem.
41
Reference Manual
z First of all your grid should resolve all the variations in the bathymetry
which are important for the flow you wish to simulate.
z MIKE 21 will probably not become unstable if you have an isolated
bump or hole in your bathymetry (provided that it is not close to a
boundary), see Figure 6.4. However, a series of bumps and holes along
a grid line might lead to instabilities if the flow direction is parallel to
this grid line and the Courant number is greater than 1, see Figure 6.5.
Figure 6.5 Unstable bathymetric resolution for Courant numbers greater than 1
42 MIKE 21 HD
Bathymetry
43
Reference Manual
Areas that are subject to flooding and drying should not be made com-
pletely level but given a gentle slope towards the nearest area with deep
water. This will ensure that a series of one point ponds is not left in the
otherwise dry areas when the water withdraws.
The depths on sea charts are, however, normally given relative to the low-
est astronomical tide (LAT) and the bathymetry will therefore normally be
entered (digitised) relative to this datum. You can add the difference
between MSL and LAT to all grid points in the bathymetry data file using
the Grid Editor facility for editing.
You will have to make sure that all the sea charts you are using to prepare
the bathymetry are relative to the same datum. If this is not the case, you
must choose a common datum and then convert all depths to this datum.
In the same way, all the water level recordings you will use must also be
converted to the same datum.
44 MIKE 21 HD
Bathymetry
In all cases please note that the depth given to a grid point represents not
only the depth right at that point, but the area surrounding the grid point,
see Figure 6.9.
45
Reference Manual
z The initial surface elevation in the area. Because the model initialises
the fluxes or current velocities to zero, you must specify an initial sur-
face elevation that is in agreement with these conditions. In practice
this means that you should specify a value that matches the boundary
conditions at the first time step. If the model area is large and the sur-
face levels at the open boundaries differ substantially, you should cre-
ate a data file with an initial surface elevation at each grid point.
However, in most cases you can just use the average surface elevation
at the open boundaries.
z The latitude and longitude at the lower left corner of the model should
be provided through the bathymetry data file. In dfs2 data files there is
a possibility to store information about the applied projection zone
(e.g. UTM-32), and this information is used as the default projection
zone. In dt2 data files there is no information about the applied projec-
tion zone, and therefore the default projection zone is calculated as the
UTM zone in which the origin is located. The user may choose to over-
write the default projection zone. If no geographical information is
available through the bathymetry data file or if the projection zone
“NON-UTM” is chosen, then Coriolis forcing is not applied.
z The orientation of your model (also provided in the bathymetry data
file). This is defined as the angle between true north and the y-axis of
the model measured clockwise. A mnemonic way of remembering this
definition is by thinking of NYC, which normally means New York
City, but which for our purpose means "from North to the Y-axis
Clockwise", see Figure 6.10.
46 MIKE 21 HD
Bathymetry
Please note: Bathymetry data files must contain a custom block called
M21_Misc which consists of 7 elements of type float:
The main task in preparing the input data for the model is to generate a
time varying bathymetry. Most often a number of maps (covering bathy-
metric and orografic information) are digitised and interpolated on a user-
defined spatial grid. Subsequently the maps are copied into a time varying
bathymetry. The bathymetry may also be created by external programs
and imported as an ASCII file using the MIKE Zero Grid Series Editor.
http://www.dhisoft-
ware.com/uc2001/Abstracts_Proceedigs/Papers01/036/036.htm.
This paper also includes a detailed description of a case where the hydrau-
lic effects of various sub-aerial landslide scenarios were evaluated.
Please note that the time step in connection with sub-aerial landslides (i.e.
cases with a moving land/water boundary) might be considerable
restricted compared to more common hydrodynamic simulations. For such
kind of simulations it is necessary to use the flooding and drying facility.
The usual data file concept with a static bathymetry stored as a prefix item
does not hold when applying the landslide option. Thus, you have to be
aware that some tools used on MIKE 21 Flow Model data files cannot be
used on result data from a landslide simulation. As a work-around, the
47
Reference Manual
result data files from a landslide simulation is a type 2 data file (dfs2-file)
with Data Type = 4 and containing the following 7 dynamic items:
1 Actual bathymetry
2 Water depth or surface elevation as specified by you
3 P-flux if selected otherwise a dummy item containing delete values
4 Q-flux if selected otherwise a dummy item containing delete values
5 Surface elevation
6 Dummy item containing delete values
7 Dummy item containing delete values.
g⋅u⋅ u
--------------------
2
(6.1)
C
1⁄6
C = M⋅h (6.2)
where M is the Manning number and h is the water depth. The units of
Chezy numbers and Manning numbers are respectively m1/2/s and m1/3/s.
Please note that the Manning number used in MIKE 21 is the reciprocal
value of the Manning number described in some textbooks.
48 MIKE 21 HD
Blow-up
When carrying out a tidal calibration you can use the bed resistance to
increase or decrease the tidal amplitude. The tidal phase is adjusted by
changing the water depth. When the depths have been read from a sea
chart, increasing the depth is all the more justifiable as these charts often
give the minimum depths, which are more important to shipping than the
maximum depths.
Because h1/6 is calculated for each grid point and at each time step when
the Manning formulation is selected rather than the Chezy formulation,
the computational time is increased. Please see CPU Time (p. 58) for an
estimate of the additional CPU time required.
6.3 Blow-up
Please inspect carefully the log file.
49
Reference Manual
The MIKE 21 Flow Model solves the partial differential equations that
govern nearly-horizontal flow and, like all other differential equations,
these need boundary conditions. As the unknown variables are surface ele-
vation and flux densities in the x-direction and y-direction you must, in
principle, specify two of these three variables in all grid points along the
open boundary at each time step. However, in most applications you only
know the surface elevation and possibly the general flow direction or you
know the total flow through your boundary and its general direction. The
input to the hydrodynamic module of the MIKE 21 Flow Model has there-
fore been structured accordingly.
The total flow can be constant in time, have a sinusoidal variation or vary
as specified in a type 0 data file. The distribution of the total flow in the
individual grid points along the boundary is calculated by MIKE 21 rela-
tive to the depth.
The direction should be given in the same way as for level boundaries.
50 MIKE 21 HD
Boundary Conditions
The model may detect the open boundaries by searching for lines of adja-
cent water points placed along the four sides of the bathymetry. Note, the
actual locations of the open boundaries were defined when you digitised
the bathymetry.
In most cases the detected boundaries will correspond to those you have
planned. If this is not so, you should select "User specified" boundaries
and then further specify the number of open boundaries and their position
in the model, see the section "User specified" boundaries.
In the Boundary dialog under "HD parameters" you specify the type of
boundary data, how these vary in time and space, and finally you can enter
a number of options:
First you must specify the boundary type (a "level" or a "flux" boundary)
from the combo-box selector. For a flux boundary please note that the sign
on the fluxes determine the flow direction relative to the model coordinate
system: inflow is positive on the left and bottom side, while it is negative
on the top and right side, and vice versa for outflow.
Then you specify the variation of the water levels or fluxes in time and
space.
z A constant value used at all grid points along the boundary and
throughout the whole of the simulation. This is most useful if a station-
ary flow field is required.
z A sinusoidal variation during the simulation period, for example, a
tidal variation can be specified. The variation is calculated as follows:
1 N ⋅ ∆t – Phase
Value = Reference Level + --- ⋅ Range ⋅ sin 2π ⋅ --------------------------------- (6.3)
2 Period
The same value is used at all grid points along the boundary.
z A variation as given in a type 0 data file. The data file gives the same
value to all grid points along the boundary. If the time step in the data
file differs from the time step in the model simulation then a cubic
interpolation is used.
51
Reference Manual
z A variation as give in a type 1 data file. The data file defines the varia-
tion in time for each grid point along the open boundary. The data file
must have exactly as many points as there are grid points along the
axis. If the time step differs from the time step in the model simulation
then a linear interpolation is used.
This possibility allows you to introduce variations in the boundary con-
ditions along the open boundary.
NOTE: In all cases must the reference level of the boundary data equal
the reference level of the bathymetry data.
Finally you can through three options control how the boundary data
should be applied:
z What strategy to use when calculating the Flux Along the Boundary
(FAB). There are the following possibilities:
0: The flow is assumed perpendicular to the open boundary, i.e. the
FAB is zero.
Using either 2 or 12, the third option (default flow directions) can be used
to define the actual direction of the flow at the boundary.
52 MIKE 21 HD
Boundary Conditions
To activate the tilt facility, make your tilting method selection from the
combo-box, you will then be prompted for which point to tilt around.
z What direction does the flow have at the boundary? The default flow
direction is perpendicular to the boundary. If the flow in your model is
not perpendicular to the boundary, you should create a type 1 data file
with flow directions for each individual grid point along the boundary.
The directions should be given in degrees from true north and meas-
ured positive clockwise.
The data file with the directions should only have one time step, i.e. the
flow directions will be constant during the whole of the simulation.
However, the directions are only used during inflow. During outflow
the directions are extrapolated from the flow inside the model.
It will be very unusual that you yourself have to specify the locations of
the open boundaries. It is only relevant in the following two situations:
z You have a long open boundary broken by, say, two small islands. The
menu will show you this boundary as three smaller boundaries. If the
boundary conditions are either the same for all three boundaries or it is
most conveniently to keep the boundary data for the whole boundary in
the same type 1 data file, or transfer file, you can define the three
boundaries as one boundary.
You will then have to specify the start point as the first water point on
the first line and the last point as the last water point on the third line.
The boundary line will then contain a few land points; but this is not an
error.
53
Reference Manual
internal boundary
NOTE: All water points on the model sides must be included in an open
boundary definition.
54 MIKE 21 HD
Boundary Conditions
z If, for example, you are carrying out a tidal study and have a tidal sta-
tion at each end of the open boundary, a linear variation along the
boundary (or parts of it) should be specified. You do that by having a
type 1 data file with the boundary conditions. The data file can be cre-
ated with Profile Editor under MIKE Zero.
55
Reference Manual
z linear tilting
z non-linear tilting.
With a selection of linear tilting MIKE 21 assumes the water level to fol-
low a straight line which can be rotated around the tilting point. This
approach has the advantage of smoothing the effects originating from a
very jaggered seabed.
56 MIKE 21 HD
Chezy Number
The difficulty in using the tilt facility lies in the specification of the tilt
point. A good choice to begin with is the deepest point along the bound-
ary. However, you might have to find the best point through trial and error.
If you have two adjacent boundaries you should also be careful not to cre-
ate a conflicting situation in the corner.
If you specify the total flow through your boundary and select that it
should be distributed relative to the depth, it will be distributed as it would
have been in a uniform flow field with the Manning resistance law
applied, i.e. is relative to h5/3, where h is the depth. This distribution is, in
most cases, the best one that can be applied.
57
Reference Manual
∆t
C R = c ------ (6.4)
∆x
where c is the celerity, ∆t the time step and ∆x the grid spacing. For a tidal
wave the celerity is
c = gh (6.5)
z If you are modelling an estuary with tidal channels you should adhere
to the rules given under Bathymetry (p. 39). Alternatively you can use
a maximum Courant number of 1, in which case you should have no
problems in resolving the flow in the channels. The CPU time require-
ments might, however, become very high.
z The MIKE 21 Flow Model is designed for Courant numbers up to
about 20. You should, however, only allow these very high numbers in
areas where the bathymetry is very smooth.
58 MIKE 21 HD
Disk Space
z The CPU time varies linearly with the number of water points (or com-
putational points) in the model.
z The CPU time also varies linearly with the number of time steps, if
flooding and drying is not selected. If this feature is selected the varia-
tion as a function of the number of time steps is only approximately
linear.
z The CPU time is increased by the factors listed below if the corre-
sponding features are selected. The factor is relative to a simulation
where no results are saved on disk and where none of the features are
selected.
Factor.
1.25: Saving the results in all grids for each time step.
If you wish to calculate the CPU time required by a simulation (in real
CPU seconds, not elapsed seconds) the following formula can be used:
59
Reference Manual
z The specification file (also known as the pfs file, Parameter File Stand-
ard) containing the simulation specifications. This file will be placed in
your present working directory and have a file extension of m21. It
will only take up approximately 2 Kbytes.
z The log file describing the model set-up, the statistics of the files used
and created during the simulation and a message for each time step
completed. The file extension of this file, which will also be placed in
your present working directory, is log and it will only take up to 200
Kbytes on the disk.
z A file for the continuation of a simulation, the hot file. This file only
takes up disk space equivalent to 9 times the space taken up by the
bathymetry file. This mean that the hot file will not take up more space
than 100 - 200 Kbytes.
If you wish to calculate the disk space required for a single output data file
the following formula can be used. The result is in bytes:
N last − N first J −J +1
4 ⋅ 3 ⋅ + 1 ⋅ last first
N J frequency
frequency
K last − K first + 1
⋅ + 1052
K frequency
60 MIKE 21 HD
Eddy Viscosity
The formulation of the eddy viscosity in the equations has been imple-
mented in two ways:
∂ ∂P ∂ ∂P
E + E (x- momentum)
∂x ∂x ∂y ∂y
where P is the flux in the x-direction and E is the eddy viscosity coeffi-
cient.
∂ ∂u ∂ ∂u
h⋅E + h ⋅ E
∂x ∂x ∂y ∂y
61
Reference Manual
E ⋅ ∆t 1
≤
∆x 2
2
∂U 2 1 ∂U ∂V ∂V
E = C s2 ∆ 2 ------- + --- ------- + ------ + ------
∂x 2 ∂y ∂x ∂y
∂ ∂U ∂ 1 ∂U ∂V
hE + hE +
∂x ∂x ∂y 2 ∂y ∂x
which is in agreement with Rodi (1980) and Wang (1990). For more
details on this formulation, the reader is referred to Smagorinsky (1963),
Lilly (1967), Leonard (1974), Aupoix (1984), and Horiuti (1987).
If you choose the Smagorinsky formulation you must specify the Sma-
gorinsky factor CS.
62 MIKE 21 HD
Evaporation
When you use the Smagorinsky formulation of the turbulence the CPU
time for a simulation is increased. Please see CPU Time (p. 58) for an esti-
mate of the additional time required.
6.10 Evaporation
In applications where the evaporation is important, you can include evapo-
ration in your simulation.
This is done either as a constant value or as a time series (type 0 data file),
which then is applied to the entire model area, or as a time series of maps
(type 2 data file) in which case each grid point is assigned its own value.
The evaporation rate is specified in mm/day.
z If your simulation does not include any density variations you can
include evaporation by specifying the evaporation rate in the Source
and Sink dialog.
z You can also use the precipitation facility to include evaporation in
your simulation. This is simply done by selecting the "included as net-
precipitation" option and specifying a negative precipitation. See the
Precipitation (p. 71) description for more details.
z If your simulation on the other hand include density variations (or
more precisely, temperature variations) you should select "AD feed-
back on HD" option and the heat exchange option on the AD dialogs
(see AD Feed Back on HD (p. 95) and Heat Exchange (p. 107)). This
implies that the evaporation rate can be calculated as a function of the
latent heat flux.
Continuity is fully preserved during the flooding and drying process as the
water depths at the points which are dried out are saved and then reused
when the point becomes flooded again.
63
Reference Manual
You should use this facility whenever points in your model might be
flooded or dried out.
In order to avoid drying and flooding following rapidly after each other
(which will lead to instabilities in the computations) a point is not dried
out if the water depths at the four grid points immediately below, above, to
the right and to the left all are larger than the flooding depth. However, if
the depth at the point in question is nearly zero, it is always dried out.
A point is flooded if the water level at one of the four grid points immedi-
ately below, above, to the right or to the left is more than the value you
have specified as the minimum flooding depth.
If you have instabilities in your model, you might be able to avoid them by
first of all checking for flooding and drying after each time step. If the
problems persist, you can increase the drying and flooding depths and, in
particular, the difference between the two.
64 MIKE 21 HD
Hot Data
z Model dimensions and grid spacings, time step and time at end of sim-
ulation, information on flooding and drying, the latitude of the model
and its orientation (relative to true north), and the value above which a
point is always considered to be land
z Bathymetry
z Initial surface elevation (i.e. the surface elevation at the last time step
in the previous simulation)
z Fluxes in the x-direction at the last time step
z Fluxes in the y-direction at the last time step
z Fluxes in the x-direction a full time step before the last one
z Fluxes in the y-direction a full time step before the last one
z Water depth in dried out points (if you had chosen the flooding and
drying facility).
Thus, if you use a hot start, you need not (and cannot) specify the data
listed above.
65
Reference Manual
These are all initialized as delete values and subsequently updated accord-
ing to the specified update frequency (wet points only).
Water depths grid cell centered values. For flux magnitude, however, the
off centered values sqrt( p(j,k)2 + q(j,k)2 ) are used.
Please note that the 8 characters "Aaa.dfs2", are added to the user speci-
fied file name automatically. Here "Aaa" is an area number identification
where the uppercase "A" is fixed and "aa" is replaced by the respective
area number (e.g. "A01" for the main area, area number 1, and "A02" for
area number 2, etc).
6.17 Orientation
See Additional Area Description (p. 45).
66 MIKE 21 HD
Pier Resistance
z Specify the output files type: 1 (point series), 2 (line series) or 2 (area
series).
z Specify the number of the computational area to be included in the out-
put file.
z Specify the spatial and temporal sub-set of the data. This is best done
using the pop-up dialogs, which is activated with the buttons in the col-
umn after the 'Time' column. Grid line series (type 1 data files) is spec-
ified by choosing identical 'First Point' and 'Last Point' in either 'J
direction' or 'K direction'. For points series (type 0 data files) you can
choose the number of points in each file.
z Specify the data file (name) and title of the output file.
z Finally select the desired output items. Note, that selection of the first
item (Water level) or first three items (Water level, P flux and Q flux)
correspond to the standard 'level' (data type = -1) or 'level and flux' out-
put files (data type = 1), respectively. When storing e.g. velocities
and/or shear stresses in the two directions the data type is 0.
The MIKE 21 solution method involves the use of a finite difference grid
with a selected grid mesh size. A typical choice of say 100-1000 metres
implies that bridge piers with a typical horizontal dimension of say 5-10
metres are not directly resolvable in the computational grid. Therefore, the
presence of piers must be modelled by a subgrid scaling technique.
67
Reference Manual
The resistance to the flow due to the piers is modelled by calculating the
current induced drag force on each individual pier and equate this force
with a shear stress contribution compatible with the MIKE 21 momentum
formulation.
Thus
τ p ⋅ ∆x ⋅ ∆y = n ⋅ F
where
F: drag force on one pier (the sign of F is such that τp acts against the
current direction)
The resulting shear stress at the bottom is then implemented as the sum of
τp and the bottom shear stress, τo.
ρ: density of water
v: current speed
68 MIKE 21 HD
Pier Resistance
the number of piers, i.e. the time axis in the data file is not a true time axis.
In the same way, the spatial axis is not a true spatial axis, but merely a col-
lection of data describing the pier.
The pier data file has the layout depicted in Figure 6.14.
The data file is created with the Profile Editor tool. In the following the
parameters of the file are described:
69
Reference Manual
0: circular
1: rectangular
2: elliptical
See Figure 6.15 and Figure 6.16 below for a definition sketch.
For a circular pier section please note: Both width and length should be
equal to the diameter of the pier section and the parameter “Radius of
rounded corners” is not used but should be assigned a value e.g. 0 or 1.
70 MIKE 21 HD
Precipitation
6.20 Precipitation
In applications where the rainfall is important for the flow, you can
include precipitation in your simulation. This is done either as a constant
value or as a time series (type 0 data file), which then is applied to the
entire model area, or as a time series of maps (type 2 data file) in which
case each grid point is assigned its own value. The precipitation rate is
specified in mm/day. You can use the Time Series Editor or the Grid
Editor tool to create your precipitation data.
You can also use the precipitation facility to include evaporation in your
simulation. This is simply done by selecting the "included as net-precipi-
tation" option and specifying a negative precipitation.
The precipitation rate is specified in the Source and Sink (p. 34) dialog.
If you have selected the Heat Exchange (p. 107) option and you choose to
include precipitation as net-precipitation, then evaporation obtained
through the latent heat flux is not considered.
71
Reference Manual
z From scratch, also called a "cold start", which means that you have to
specify the model bathymetry as well as all other model parameters.
z As the continuation of a previous simulation, also called a "hot start",
in which case you must prepare "hot data" when doing the previous
simulation. This is done by requesting that a file containing "hot data"
be prepared in the Results dialog.
When your simulation is a continuation of a previous one, the bathymetry
together with the additional area description from the previous simulation,
is reused and cannot be changed. The rest of the model parameters you
specify as for a "cold start".
72 MIKE 21 HD
Source and Sink
z radiation stresses.
It is very important to have a long soft start period when including radia-
tion stresses in the simulation, see Wave Radiation Stresses (p. 81).
Q / (∆x ⋅ ∆y )
z If, for sources, you specify a speed of V m/s in direction θ, then the
additional term on the right hand side of the momentum equations are
73
Reference Manual
For the above specifications, the only requirement is that the source data
be specified for the complete simulation period.
The advantage of applying the nested grid facility compared to the stand-
ard approach of using only one grid is mainly the reduced CPU require-
ments. Typical applications of the hydrodynamic module have a limited
74 MIKE 21 HD
Standard vs. nested HD module
physical area of main interest, which covers only a smaller part of the total
modelling area. To obtain a satisfactory spatial resolution of the model
within this area of interest, the standard hydrodynamic module can be
used. But this will often result in a very large number of computational
grid points, many of which are often wasted in areas of only limited inter-
est for the application, and accordingly this approach will require much
computer time and memory. Applying the nested module, the spatial reso-
lution can be optimised to save computer time. See Figure 6.17 for an
example.
75
Reference Manual
z The ratio between the horizontal spatial resolution at one level to the
next level must be 3, i.e.
∆xCOARSE = 3∆xFINE
The factor of 3, which is fixed, has been found appropriate for a wide
range of applications.
z Model areas at the same level must not overlap. The distance between
model areas at the same level should be at least three times
∆xCOARSE
76 MIKE 21 HD
Standard vs. nested HD module
77
Reference Manual
Figure 6.19 Principle of water depths and land-water boundary along a border
line
z Finally, all interior common points should have equal water depth in
the coarse grid and in the fine grid. As the nested model does not per-
form any coarse grid calculations in the area covered by the fine grid,
this rule is only included in order to ease pre- and post-processing. Fine
grid solutions of any model quantity are always copied to the coarse
grid.
z For a "cold start", you first of all specify how many areas you want to
include. Then you select the main area and all sub-areas supplied with
origin in enclosing grid coordinates (integers). Notice that the model
orientation and origin in geographical coordinates should be supplied
with the type 2 data file for the main area bathymetry.
78 MIKE 21 HD
Standard vs. nested HD module
z For a "hot start", you select your hot data files, one for each area. The
other information mentioned above is contained in the hot data files
and cannot be changed.
z Specifications given for the simulation period are common to all areas.
z You enter your choice of turbulence formulation which is common to
all areas. Parameters for constant eddy viscosity and for the Smagorin-
sky should be specified for each area.
z Bed resistance parameters (constants or maps) should also be specified
for each area. The selected bed resistance formulation (Manning or
Chezy) will be common for all areas.
z Wave radiation stresses can be included in one or more areas.
z Open boundary conditions in the nested MIKE 21 Flow Model are
specified exactly as for the standard MIKE 21 Flow Model. Remember
that open boundaries must be in the main area, see Nested
Bathymetries (p. 76).
z Initial surface elevation should be specified for each area. Flooding
and drying depths are common to all areas.
z Source/sink specifications are the same as for the standard MIKE 21
model, except that you also specify the number of the area in which the
source/sink is located. This area number must correspond to the finest
grid covering the source location. Evaporation and precipitation rates
are common to all areas.
z The wind specifications are identical to those in the standard MIKE 21.
A possible type 2 data file is specified for the main area only and the
wind field is interpolated automatically by MIKE 21 NHD to match the
finer grids.
z You specify bridge piers in MIKE 21 NHD as in the standard MIKE 21
and, in addition, you supply the area number for the location(s) of the
pier(s). Bridge piers must be embedded within one area only, i.e.
within the finest grid covering the pier locations, and the line of piers
should not intersect with area borders.
z In the output specifications, each output area must be related to an
associated model area. For hot files, one file for each area must be
specified
Time Step
The time step (which is the same in all areas) to be used in a MIKE 21
Nested Flow Model simulation is determined in the same way as in the
standard MIKE 21 Flow Model. In the nested version, though, it is neces-
79
Reference Manual
sary to calculate the Courant number within each model area based on the
respective grid spacing and maximum water depth as well as the time step.
CPU Time
The CPU time for a MIKE 21 NHD simulation is proportional to the
number of computational water points in all areas (neglecting the 'hidden'
water points due to nesting). The computational speed (points per second)
of MIKE 21 NHD is roughly speaking 10% lower than for the standard
MIKE 21 HD due to an overhead for handling of the nesting.
Disk Space
The disk space requirements of a MIKE 21 NHD simulation can be deter-
mined in the same way as for a standard MIKE 21 HD simulation, see
Disk Space (p. 59). The system-generated files are the two ASCII files of
extension m21 and log.
80 MIKE 21 HD
Wave Radiation Stresses
z First you determine the grid spacing, ∆x, as described under 6.25.2.
z Secondly you decide on the maximum allowed Courant number, Cr, as
described under Courant Number (p. 58).
z Then you can determine the maximum time step, ∆tmax, which can be
used in the model from the definition of the Courant number:
Cr
∆ t max = ∆x
c
where c is the celerity (see Courant Number (p. 58) for a description).
The time step to be used in the model, ∆t, can then be chosen as a "con-
venient" number not greater than∆tmax.
z Finally you have to check that the Courant number based on the current
speed, (the transport courant number) Cr,U, instead of the wave celerity,
is less than 1 for the time step chosen. If not, you must reduce the cho-
sen time step. Cr,U is defined as
U V
Cr,U = ∆t ⋅ +
∆x ∆y
where U,V is the current speed in the x-direction and y-direction. For
all points within the model U and V must follow the above formula. As
you have not yet carried out the simulation you will have to make an
estimate and then check this after the simulation.
81
Reference Manual
By averaging the equations of motion over depth and time (the wave
period) wave radiation stress terms will be included in the momentum
equations.
x − momentum :
∂S xx ∂S xy
+
∂x ∂y
y − momentum :
∂S yy ∂S xy
+
∂y ∂x
where SXX, SXY and SYY are the three components of radiation stress.
The stresses are kept constant in time (steady state wave situation), but by
specifying a so-called soft start, the stresses will be linearly increased
from zero to the input values over the requested number of time steps.
The data file (type 2) containing the wave radiation stresses can be gener-
ated directly by the wave models MIKE 21 NSW or MIKE 21 PMS.
If the "Flood and Dry" facility is applied, the user should be sure that the
wave radiation stresses are well defined in all grid points which will be
flooded during the simulation.
82 MIKE 21 HD
Wave Radiation Stresses
z A type 2 data file containing the three wave radiation stress compo-
nents should be prepared. This file can be generated directly by MIKE
21 NSW or MIKE 21 PMS.
z Generate transfer boundary data (only contribution from wave radia-
tion stresses) for all open boundaries in the model area, using "Wave
Generated Current and Setup".
z Run the HD simulation to obtain the stationary flow field.
The last step is not necessary if for example tide and/or storm surge also
should be included, but it is still recommended for checking purposes
(besides it contributes to the understanding of the final combined flow
field).
z Generate transfer boundary data (only contribution from the tide) for
all open boundaries in the local model area using the data transfer tool
in the MIKE 21 Toolbox.
83
Reference Manual
ρ air 2
C w -------------- W (6.6)
ρ water
where CW is the wind friction coefficient, ρ is the density (the ratio equals
1/800) and W is the wind velocity in m/s 10 m above the sea surface.
Notice that the direction of the wind is given in degrees blowing from
(relative to true north (see Figure 6.20)).
84 MIKE 21 HD
Wind Conditions
z As a wind which is blowing from the same direction and with the same
magnitude over the whole model area for the whole simulation period.
z As a wind where the magnitude and direction varies during the simula-
tion period but is the same over the whole model area.
You have to prepare a data file (type 0) containing the wind speed and
direction before you set up the hydrodynamic simulation. This can be
done by entering the data in an ASCII file using your normal editor and
then reading this file into the standard data file format from the data
file editor.
The wind speed and wind direction must be given as two separate
items in the data file. The time step of the wind input data file does not,
however, have to be the same as the time step of the hydrodynamic
simulation. A cubic interpolation will be applied if the time steps dif-
fer. The only requirement is that the wind data be specified for the
complete simulation period.
In both cases you can specify a start up period during which the wind
speed is increased linearly from 0 to the specified wind speed in order to
avoid shock waves being generated in the model.
z As a wind where the magnitude and direction varies during the simula-
tion period and over the model area.
You have to prepare a data file (type 2) containing the wind speed com-
ponents and air pressure before you set up the hydrodynamic simula-
tion. This can be done by either using one of the two MIKE 21 wind
generating programs (cyclone generated wind and pressure, or wind
generated on the basis of digitised pressure fields). Or you can enter
the data in an ASCII file using your normal editor and then reading this
file into the standard data file format from the data file editor.
The wind speed and pressure must be given as three separate items in
the data file. The first item should be the pressure in hPa, the two next
ones should be the wind speed in the x-direction and y-direction,
respectively. The time step of the wind input data file does not, how-
ever, have to be the same as the time step of the hydrodynamic simula-
tion.
A linear interpolation will be applied if the time steps differ. The only
requirements are that the wind map matches the bathymetry map and
that the wind data covers the complete simulation period.
In addition to the name of the wind data file you have to specify a ref-
erence or neutral pressure level. It is the pressure at the start of the sim-
85
Reference Manual
ulation when it is assumed to be constant over the whole model and the
initial surface is horizontal.
If you specify a varying wind speed you might also need to specify a vary-
ing friction coefficient. Consequently, the possibility of varying the fric-
tion coefficient linearly as a function of the wind speed is included,
yielding
c0 ; W < W0
c thld – c 0
Cw = c 0 + --------------------- W ; W 0 ≤ W < W thld (6.7)
W thld
c thld ; W ≤ W thld
86 MIKE 21 HD
List of References
Lilly, D.K. On the Application of the Eddy Viscosity Concept in the Iner-
tial Subrange of Turbulence, NCAR Manuscript No. 123, National Center
for Atmospheric Research, Boulder, Colorado, 1966.
87
Reference Manual
88 MIKE 21 HD
INDEX
89
Index
E
Evaporation . . . . . . . . . . . . . 35, 63
H
High precision calculation . . . . . . . 28
I
Inundation statistics . . . . . . . . . . 66
P
Precipitation . . . . . . . . . . . . . 35, 71
90 MIKE 21 HD