Artemis User v8p4
Artemis User v8p4
UserManual
Version v8p4
December 1, 2022
Contents
1 Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1 Situation of A R TEMIS within the TELEMAC modelling system 8
3.2 User programming 9
4 Theoretical Aspects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1 Main symbols and units 11
4.2 Generals about waves 11
4.2.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.2.2 Statistical approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2.3 Spectral Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3 Theoretical modelling 15
4.3.1 Concept’s background. Basic assumptions . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.3.2 Development of Berkhoff’s equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.3.3 Amended mild-slope equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.4 Formulation of the dissipation coefficient 22
4.4.1 Surf-breaking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.4.2 Bottom friction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.5 Boundary conditions 26
4.5.1 Solid boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.5.2 Liquid boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.6 Treatment of random mono/multi directional waves 29
4.7 Radiation stresses; Wave-driven forcing terms 33
4.8 Digital solution through the finite element method 34
4.8.1 System of equations to be solved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.8.2 Variational formulation of the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.8.3 Digital solution algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.8.4 Matrix in the case of rapidly varying topography . . . . . . . . . . . . . . . . . . . . . 38
5 Inputs and outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.1 Preliminary remarks 40
5.2 The files 40
5.2.1 The steering file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.2.2 The geometry file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.2.3 The boundary conditions file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5.2.4 The results file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5.2.5 The printout listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5.2.6 The Fortran user file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
5.2.7 The ancillary files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
5.2.8 The dictionary file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
5.2.9 The libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6 Initial conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1 Setting using key words 47
6.2 Setting using the subroutine CONDIH 47
7 Boundary conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.1 Description of different types of condition 49
7.2 The boundary conditions file 50
7.3 Processing of solid boundaries (LIHBOR=KLOG) 51
7.4 Processing of liquid 52
7.4.1 Incident wave (LIHBOR=KINC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
7.4.2 Incident potential (LIHBOR=KPOT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.4.3 Free exit (LIHBOR=KSORT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.4.4 Modifications of « incident wave » boundary condition from V6P2 . . . . . . . 53
8 Physical parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
8.1 Monochromatic waves 55
8.2 Random waves 55
8.3 Period scanning. Resonance 56
8.4 Bathymetric breaking 56
8.5 Bottom friction 57
8.5.1 Determination of friction factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
8.5.2 Determination of dissipation coefficient . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9 General parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
10 Numerical parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
10.1 Solver 61
10.2 Accuracy 62
10.3 Preconditioning 62
10.4 Handling of cases with energy dissipation 62
12 Other . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
12.1 Running an ARTEMIS computation 65
12.2 List of subroutines most frequently modified by users 67
12.3 Example of a steering file 67
12.4 Example of a user Fortran Fortran file 68
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
1. Foreword
The computational items (variable names, file names, etc.) are written in courier font.
The keywords are written in ITALIC BOLD CHARACTERS
The literature references are given between brackets [ ].
3. Introduction
The A RTEMIS code (Agitation and Refraction with TELEMAC on a MIld Slope) solves the
Elliptic mild slope equation [4] using finite element techniques inside the TELEMAC modelling
system structure. This equation is obtained from the Navier-Stokes equations according a set of
hypothesis (low value of wave steepness, low value of bottom slope). The main results at each
node of the computational mesh are the height, the phase and the direction of the wave. The
main application of A RTEMIS concerns the wave agitation in harbours or small bays. ARTEMIS
is able to take into account the following phenomena :
• Regular wave,
• Bottom friction,
• Bathymetric breaking.
However, the actual version of the software is unable to take into account the following phe-
nomena:
The application domains of the software are various. In particular, it offers the possibility to
study wave agitation in harbour or bay, to appreciate the impact of harbour equipment (pier,
dike), to evaluate the wave agitation behind a breach, the wave decay behind an island or flat,
seiching in a channel, etc.
8 Chapter 3. Introduction
A RTEMIS was developed by the National Hydraulics and Environnement Laboratory (Labora-
toire National d’Hydraulique et d’Environnement - LNHE) of the Research and Studies Direc-
torate of the French Electricity Board (EDF-R&D). The program complies with EDF-DER’s
Quality Assurance procedures for scientific and technical programs [10]. This sets out rules for
developing and checking product quality at all stages. In particular, a program covered by Qual-
ity Assurance procedures is accompanied by a Validation File that describes a set of test cases
(see reference [26]). This document can be used to determine the performance and limitations
of the software and define its field of application. The test cases are also used for developing
the software and are checked each time new versions are produced. Description sheets for each
test case have been updated for the version 6.2 of the code.
• The MATISSE software designed, using the bathymetric and/or topographic data, to gen-
erate a mesh consisting of triangular elements,
• The S TBTEL software designed to retrieve the file from a mesh generator, possibly in-
terpolate a bathymetry, and generate a geometry file in the SELAFIN format that can be
read by the simulation modules as well as the RUBENS software. S TBTEL also conducts
a number of mesh coherence checks,
• The TELEMAC-3D software itself, designed to carry out the hydrodynamic simulations
of flows in three space dimensions. Besides, TELEMAC-3D can simulate the transport
of tracers. The SEDI-3D library contains of the relevant subroutines for the simulation of
non-cohesive sediment transport. The implementation of the TELEMAC-3D software is
the subject matter of this document,
• The SISYPHE software designed to carry out the simulation the transport of sediment
through bed load traction and suspension.
• The A RTEMIS software designed to simulate the changes in the features of wave agitation
either in a coastal water body or a harbour,
• The TOMAWAC software designed to simulate, through a spectral method, the sea state
in permanent or transitory conditions,
• The ESTEL-2D software designed to simulate the underground flows in two vertical
space dimensions,
• The ESTEL-3D software designed to simulate the underground flows in three dimensions,
• The POSTEL-3D software designed to prepare the 2D cross sections in the 3D result file,
for a processing by the RUBENS graphics software,
3.2 User programming 9
• The RUBENS software designed to graphically process the results of the various simula-
tion modes,
As a complement to the TELEMAC chain, the FUDAA-PREPRO software (as developed from
the FUDAA platform by the CETMEF’s, Informatics and Modelling Research Department)
covers all the preprocessing tasks involved by the achievement of a digital hydraulic study.
• Recovering the standard version of the user subroutine(s) as supplied in the distribution
and copying it into the current directory.
• Concatenating the whole set of subroutines into a single Fortran file which will be com-
piled during the A RTEMIS launching process.
During that programming stage, the user can gain access to the various variables of the software
through the Fortran 90 structures.
All the data structures are gathered within Fortran files, which are known as modules. For
ARTEMIS, the file name is DECLARATION_ARTEMIS. To gain access to the ARTEMIS data,
just insert the command USE DECLARATIONS_ARTEMIS into the beginning of the subrou-
tine. Adding the command USE BIEF may also be necessary in order to reach the structure in
the BIEF library.
4. Theoretical Aspects
This report is the theoretical note of the scientific software A RTEMIS, version 3.0. ARTEMIS
deals with the modelling of wave propagation towards the coast and wave agitation in harbours.
This software is integrated in the TELEMAC system, and is developed following the Quality
Assurance procedures in effect in the Research Division of Electricité de France.
After a few words about the statistical and spectral approaches of the wave description, we
present the theoretical model of monochromatic waves as used by A RTEMIS, which is based
on the Berkhoff’s or mild slope equation verified by the velocity potential. Then, we describe
how non-linear dissipative processes have been included in the initial linear model. The vari-
ous formulations implemented in the software to quantify the wave energy dissipation through
surf-breaking and bottom friction are explained. The treatment of liquid and solid boundaries
is realized through Neumann conditions, and enables to model incident waves (radiation condi-
tion), free wave-output, full or partial reflectionsreflection. A specific methodology, presented
in the report, has been developed in A RTEMIS to take into account directional spreading and
frequency distribution of the wave energy (random waves). Finally, we describe the numer-
ical algorithm implemented to solve the mathematical model, as expressed through the finite
element formulation, using functions developed in the BIEF library of the TELEMAC system.
4.1 Main symbols and units 11
deformation signal ζ (x,y,t) as a function of horizontal position (x,y) and time t, following two
kinds of approaches, namely statistical and spectral approaches.
1 N
H= ∑ Hi
N i=1
That integral can easily be computed: its value is b2 . The Rayleigh’s law is then finally written
as follows:
2H −( HH )2
p(H) = 2
e rms (4.4)
Hrms
The following relations are given by that wave height distribution law:
H1/10 = 1.27H1/3
H1/3 = 1.60H = 1.416Hrms
4.2 Generals about waves 13
Note:
These results are obtained by computing the H1/n heights as follows: let H* be such that
Prob (H◦ >H*) = 1/n. Immediately, we have:
p
H∗ = ln(n)Hrms
1
Z ∞
H = H p (H) dH
n 1/n H∗
This integral is expressed as a function of Hrms and leads to the above mentioned relations.
That distribution can be highly modified in shallow water under the influence of dissipation
processes (primarily breaking). A truncated model of probability density incorporating the
concept of maximum boundary height can be adopted (cf. 4.4.1 below).
Other sea state parameters can also be set either through the statistical analysis or from each
individual wave. For further information, please refer to [1].
wherein:
k is a function of f through a so-called "dispersion" relation that will be identified hereinafter
θ denotes a propagation direction with a positive counterclockwise orientation with respect to
an axis Ox
Ãx,y ( f , θ ) et ψ̃x,y ( f , θ ) are obtained through a generalized Fourier transform applied to the
three-dimension case [15], ,which is actually reduced to two dimensions because of the dis-
persion relation between two dimensions. In addition, Ãx,y (− f , θ ) is the conjugate complex of
Ãx,y ( f , θ ). Ã is expressed in meters.
ζ0 (x, y) is the average level of the free surface, with an assumed zero value all over the domain
being investigated.
The directional spectrum E(f,θ ) of wave energy at every point (x,y) in the domain is related to
Ãx,y ( f , θ ) by the following formal relation :
1 02
E( f , θ )d f dθ = ρgÃx,y ( f,θ) (4.6)
2
wherein ’x,y (f,θ ) = 2 x,y (f,θ )
The directional spectrum S(f,θ ) of wave action, as expressed in m2 .Hz−1 , is usually defined by
S( f , θ ) = E( f , θ )/(ρg) (4.7)
1
m0 = He2
8
Thus, He is related to Hm0 by :
Hm0
He = √
2
Hm0 = H1/3
He = Hrms
These two approaches are not necessarily equivalent to each other in shallow waters where the
dissipation processes (mainly surf-breaking) and the non-linear transfers between frequencies
affect the distribution of wave heights (see in [15]).
• the flow is assumed to be irrotational. Thus, one can introduce such a potential Φ as
∇Φ = → −
u , wherein →
−
u is the fluid particle velocity vector
∇2 Φ = 0 (4.8)
∂Φ 1 2 p
∇ + (∇Φ) + + gz = 0 (4.9)
∂t 2 ρ
using the conventional notations, namely p for pressure, ρ for water density and g for gravity.
Equation 4.8 expresses the conservation of mass and Equation 4.9 expresses the conservation
of momentum (as written in the form of the Bernoulli’s equation). Pressure p is not hydrostatic
due to the wave action.
These two equations are associated to the boundary conditions both at the free surface (z = ζ )
and the bottom (z = -h); the boundary conditions are written as follows:
∂Φ ∂ζ ∂Φ ∂ζ ∂Φ ∂ζ
= + . + . (4.10)
∂z z=ζ (x,y,t) ∂t ∂x ∂x ∂y ∂y
∂Φ ∂Φ ∂h ∂Φ ∂h
=− . − . (4.11)
∂z z=−h(x,y) ∂x ∂x ∂y ∂y
Equation 4.10 expresses the free surface imperviousness and equationr 4.11 expresses the bot-
tom imperviousness.
In spite of their seemingly simple form, these two sets of equations, however, are still difficult
to solve, since they include non-linear terms :
(∇Φ)2 in eq 4.9, and ∂∂Φx . ∂∂ζx + ∂∂Φy . ∂∂ζy in eq (4.10).
Through assumptions about the wave and bottom characteristics, these equations will be lin-
earized and will then be solved more easily.
Linearization
That linearization is conducted under the following assumptions :
The solution Φ0 = 0 and ζ0 = 0 (i.e. rest) is a particular solution to the problem. Further solutions
disturbing that particular solution will be searched for. The following linear system is achieved
through a series development of the potential, only keeping 1-order terms in ε1 :
∇2 Φ = 0 (4.12)
∂Φ
en z = 0 + gζ = 0 (4.13)
∂t
4.3 Theoretical modelling 17
∂Φ ∂Φ
en z = 0 = (4.14)
∂z ∂t
∂Φ ∂Φ ∂h ∂Φ ∂h
en z = -h(x,y) =− . +− . (4.15)
∂z ∂x ∂x ∂y ∂y
In order to derive Equation 4.13, the Bernoulli’s equation at the surface (Equation 4.9) was
written. Pressure is then the air pressure, i.e. a constant pressure. Thus, it disappears from the
equation, since its gradient is null
We have at the surface (i.e. in z = 0, since the free surface distortions are ignored to 0-order in
the series development in ε1 ):
∂Φ
∇( + gζ ) = 0
∂t
Or also:
∂Φ
+ gζ = λ (t)
∂t
wherein λ function is only time-dependent. That function can be introduced into the time
derivative of the potential. This is because the physical quantity herein is velocity, which re-
mains unchanged when a term that is only time-dependent is added to the potential.
By deleting ζ between equations 4.13 and 4.14, one finally comes to:
∇2 Φ = 0 (4.16)
∂ 2Φ ∂Φ
en z = 0 +g =0 (4.17)
∂ 2z ∂z
∂Φ ∂Φ ∂h ∂Φ ∂h
en z = -h(x,y) =− . +− . (4.18)
∂z ∂x ∂x ∂y ∂y
The linear theory is derived from equations (4.16), (4.17) and (4.18), by separating t and z
variables as well as x and y variables.
Considering the problem to be solved, the vertical component z probably does not play the same
part as components x and y. Furthermore, since the equations are linear, every potential can be
broken down into a time Fourier series. One may only study the complex potential functions in
e−iωt . Φ will then be searched for as follows:
A complex notation is used for computing the unknown functions. The return to physical quan-
tities takes place by taking the real part of the complex variables. It is noteworthy that if h is not
constant, f, like φ , depends on z, as well as of x and y through h.
ω2
= th(kh) (4.21)
gk
Note: so-called evanescent modes, which can play a significant part near the obstacles, are
solutions in the form cos[pn (z + h)](An e pn x + Bn e−pn x ) , which can be added to that general-
purpose solution. Parameters pn are then solutions to the following transcendent equation:
∆h/h
ε3 = << 1
h/L
Wherein ∆h denotes the bottom depth variation over a horizontal distance such as h (refer to the
diagram below).
It can be assumed from that inequality that the bottom slope tan α1 remains lower by an order
of magnitude than the slope as defined by the h/L = tan α2 ratio (refer to the diagram below):
Through that additional assumption, Berkhoff [4], develops the solution of equations by looking
for such a solution as:
ch(k(z + h)
Φ(x, y, z,t) = φ (x, y)e−iωt (4.23)
ch(kh)
This is a product of three terms. The first one is related to function f ((refer to Equation (4.20).
It is the same as the solution achieved for a horizontal flat bottom, which is suitable in that case
since bottom changes slowly. The second term φ is looked for as independent from z to the first
4.3 Theoretical modelling 19
order in ε3 and is called a reduced potential. The third term means that time-periodic solutions
are being searched for.
On completion of computations, Berkhoff obtains a general-purpose equation as confirmed by
the reduced potential φ :
The unknown φ is an a priori complex number. Velocities are expressed from the theory as
achieved for the case of a horizontal bottom:
ω
C= (4.25)
k
1 2kh
Cg = 1+ C (4.26)
2 sh(2kh)
The mild-slope equation is a two-dimension model making to possible to take into account the
effects of refraction by bathymetry which is assumed to exhibit slow variations in space, as
well as the effects of diffraction by both above-water and under-water obstacles. The total or
partial reflection processes are taken into account in the imposed boundary conditions. Energy
should also be supplied to the flow domain, since there is no source term in Equation (4.24).
The boundary conditions make it possible to satisfy that requirement, as well as to freely release
the wave energy. That model represents the propagation of steady waves, what means that the
whole wave energy is contained in only one frequency. The way that mild-slope model of
monochromatic wave can be used for describing a random wave behaviour will be discussed
in 4.6.
{sinh(x) − x · cosh(x)}
E2 (kh) =
4n · cosh2 (x/2) · (x + sinh(x))
1 x
n= 2 1 + sinh(x)
x = 2kh
Return to physical quantities
Once the complex reduced potential φ (x,y) = φr + i.φi is computed from Equation (4.24), it
becomes possible to return to total potential Φ(x,y,z,t) and to derive all the wave characteristics
from it :
Wave height
Wave height is proportional to the φ module and is given by:
2ω
H= |φ | (4.27)
g
Wave phase
Wave phase ψ, define in ] − ∞; ∞] interval , is the argument in φ .It is obtained first by computing
the variable ψ∗:
∗ φi
Ψ arctan
φr
if φi < 0
Ψ = ψ∗ − π
if φr < 0
if φi > 0
Ψ = ψ∗ + π
if φr < 0
otherwise Ψ = Ψ∗
Free surface elevation
Free surface elevation is expressed by:
φ e−iωt
1
ζ = − Re ∂ (
g ∂t (4.28)
ω
= − (φi cos ωt − φr sin ωt)
g
Surface velocity
Surface velocity is expressed as the total gradient of the potential function, i.e.:
u
→
−
V = v = Re(∇(φ . f .e−iωt ))
w
then:
∂ φr ∂ φi
u= cos ωt + sin ωt (4.29)
∂x ∂x
∂ φr ∂ φi
v= cos ωt + sin ωt (4.30)
∂y ∂y
ω2
w= (φr cos ωt + φi sin ωt) (4.31)
g
4.3 Theoretical modelling 21
Wave incidence
The hodograph of horizontal surface velocity at each point is in the form of a centered ellipse.
Comparing with the major axis, the minor axis is negligible in a rectilinear propagation area;
the ellipse is then nearly rectilinear. On the other hand, as soon as cross waves are observed, no
main propagation direction can be really distinguished any longer and the minor axis-to-major
axis ratio is no longer close to zero. It was decided in ARTEMIS to define the wave incidence
from the direction of the ellipse’s major axis, in the direction in which the free surface elevation
is positive.
A simple transformation is made in order to achieve a reduction to:
u = A cos(ωt − ϕ1 )
u = B cos(ωt − ϕ2 )
Two different cases are then considered:
• otherwise, polarization is elliptical. Through a change in time origin made by setting the
equations can be written in the form :
u = A cos(t 0 )
u = B cos(t 0 − ϕ)
The direction of major axis is obtained by maximizing the square of velocity module. After
computing the derivative for determining the extrema, it can be found that the minimum and
→
−
maximum velocity module V (t 0 = t00 ) s obtained for phase t’0 verifying:
B2 sin 2ϕ
tan 2t00 =
A2 + B2 cos 2ϕ
That equation defines four possible phases t’0 corresponding in pairs to the major axis and the
minor axis, respectively. Only one solution per axis is kept with the relation:
B2 sin 2ϕ
0 1 π
t0 = arctan + n with n ∈ {0, 1}
2 A2 + B2 cos 2ϕ 2
and the square of velocity module is computed for these values of t’0 to clear up the uncertainty
about n by selecting the value for which there is a maximum velocity. Lastly, the incidence
direction is selected by prescribing a positive free surface elevation at time t corresponding to
phase t’0 .
Wave energy
Wave energy per unit horizontal free surface is expressed by the following formula:
1 1 ρω 2 |φ |2
E = ρgH 2 = (4.32)
8 2 g
One half of it consists of potential energy, whereas the other half comprises kinetic energy.
The mild-slope model is a linear model, since if φ0 is a solution to Equation (4.24), then A.φ0 is
also a solution ∀A ∈ R. This is an important feature that evidences the limitations of that model
when the bottoms have a small depth. This is because, if the bottoms come up, the shoaling
process will "swell" the wave heightwave height to such an extent that it will become inconsis-
tent with the variable water depth. In order to improve the domain validity and to broaden the
22 Chapter 4. Theoretical Aspects
range of applications of A RTEMIS, we have amended the initial mild-slope equation in order
to take into account the prevailing dissipative processes in shallow water, namely bathymetric
breaking and bottom friction.
∇.(CCg ∇A)
(∇β )2 = k2 + (4.34)
CCg A
and to a balance equation between the energy flow and the dissipation, in the following form :
2 ∇β
div A Cg = −µCg A2 (4.35)
|∇β |
It is an energy flow balance equation to within the "ρg/2" term. Coefficient µ is a dissipation
coefficient expressed in m−1 . The rate D of energy dissipation is expressed by the following
relation:
1
D = ρgA2 µCg (4.36)
2
Several models are provided in Section 4.4 for computing the dissipation coefficient µ, depend-
ing on whether wave energy is dissipated through breaking and/or bottom friction.
0.88 γs
Hm = th kh (4.37)
k 0.88
A critical wave height Hm is related to each water depthwater depth h. Coefficient γs takes the
bottom slope m into account. The following dependence can be suggested [15] :
a = 43.75(1 − e−19m )
b
γs = with : (4.38)
1 + a gTh 2 b = 1.56(1 + e−19.5m )
• The former, as proposed by Dally et al. [9], is obtained from surf-breaking along a
sloping beach and subsequent wave propagation over a flat, horizontal bottom. It consists
in assuming that the divergence of wave energy flow can be assessed through :
h
ls =
K
For a given water depth h, the more sloping is the bottom, the higher is K, and thus the
lower is ls . Then the authors suggest the following approximations:
(Cg )s ≈ Cg
(H)s ≈ Γ.h
In that case, dissipation D can be assessed:
" 2 #
1 2K γh
D = ρgCg FH 1− (4.40)
8 H H
Dally et al. [9] recommend the following values for K and Γ according to the bottom
slope
bottom slope K γ
1/80 0.100 0.350
1/65 0.115 0.355
1/30 0.275 0.475
• The latter approach, as proposed by Battjes & Janssen [2], is based upon the analogy
between the surf-breaking area and the hydraulic jump.
The head loss related to the opposite
schematic jump is:
(h1 − h2 )3
∆h = (4.42)
4h1 h2
The power dissipation is then:
ε = ρg(∆h)Q
Wherein ∆h = h1 − h2
24 Chapter 4. Theoretical Aspects
Q is the flow rate through the jump per unit width of channel. From the jump conjugation
relation, we have: r
gh1 h2 (h1 + h2 )
Q= (4.43)
2
Assuming that h1 ≈ h2 ≈ h, and writing H = h1 − h2 , we finally have:
r
1 g
ε ≈ ρgH 3 (4.44)
4 h
When these results are applied to waves with a height H, a frequency f and a length L, the
power dissipation per unit area is:
ε 1 H3
D= ≈ ρg f (4.45)
L 4 h
thus:
H
µ = 2f (4.46)
hCg
Both models as described in this section are incorporated into A RTEMIS software.
1 − Qb Hrms
=
ln Qs Hm
The rate of breaking Qb Qb is implicitly computed in A RTEMIS through an iterative procedure.
Peak frequency f p is chosen as the spectrum representative frequency. In addition, it is assumed
that Hm Hm ≈ h. Dissipation is then expressed as:
α
D= Qb f p ρgHm2 (4.47)
4
and the dissipation coefficient as :
4.4 Formulation of the dissipation coefficient 25
2
2αα p Qb Hm
µ= (4.48)
Cg Hrms
The value of coefficient α to be selected is one or so. It is set in A RTEMIS.
→
− 1 →
− → −
τ b = fw ρ| U b | U b (4.49)
2
wherein fw is a friction coefficient which depends on the nature of bottoms, is the instantaneous
orbital velocity just above the bottom boundary layer. The mean energy dissipation over a wave
period related to that stress is:
Z T
1 →
− →
−
D= τ b U b dt (4.50)
T 0
• For computing that integral, Kostense et alKostense et al. [20] linearised the expression
of bottom friction by introducing the dissipation coefficient µ, the water depth h and the
→
−
surface orbital velocity U b :
→
− →
−
τ b = ρ µCg h U (4.51)
1 fw
µ= Ue (4.52)
2 Cg cos2 (kh)
wherein Ue is an effective velocity representing the flow and being given by the following ration:
RT →−
| U |3
Ue = R0T →
− 2 (4.53)
0 |U |
• Putnam & Johnson [25] simplified the computation of dissipation by assuming that the
near-bottom orbital velocity Ub was suitably described by the results of Stokes’ waves
on a flat bottom (see in Section 4.3.2). An expression is easily derived for dissipation
coefficient µ :
26 Chapter 4. Theoretical Aspects
2 fw Hω 3
µ= (4.55)
3π gCg sinh3 (kh)
(3.55)
Both above formulations are incorporated into A RTEMIS; the user chooses either formulation.
The friction coefficient fw fw is still to be determined. In the case of sandy bottoms, a number
of authors proposed assessment methods for the computation of fw fw . We have adopted for
A RTEMIS the Van Rijn’s approach [28] which consists in determining fw as a function of a
Reynolds number which is computed both from the excursion of a fluid particle over the bottom
and a relative roughness, which takes into account the grain (or skin) roughness, the shape
roughness if ripples appear, as well as from the excursion of fluid particles over the bottom.
When the bottoms are not sandy or if the user does not want to apply the above procedure,
the value of fw over the computational domain can be specified, whether a space-uniform or
space-variable value is chosen.
The typical values of fw are : 10−3 or so for a smooth concrete bottom ; 10−2 for a gravel bottom
; 10−1 for stones, rocks.
Note:
• Both for breaking and bottom friction, coefficient µ depends on height H, and then on
potential φ which is a priori unknown. That dependence cannot be implicitly solved
through a matrix system. We have therefore incorporated a new algorithm of such a
kind as the "firing procedure" algorithm provided for solving the potential when some
dissipation occurs. That algorithm is discussed in Section 4.8.
• either solid boundaries fully or partly reflecting the waves (breakwaters, quays, beaches. . . );
• or openings facing the open sea or an inner dock (liquid boundaries) through which waves
flow in or out.
In front of that wall, incident waves and reflected waves, corresponding to potentials φinc and
φre f are superposed on each other. The reflection process is modelled through a relationship
between potentials φinc and φre f . Let the wall reflection coefficient, which is a priori complex,
be called Rei . Then it expresses not merely a loss of amplitude upon the reflection from the wall
(coefficient R), but also a wall-induced time lag (coefficient α).
At the wall, velocities and elevations of free surface incident and reflected waves are related by:
→
−
u re f .→
−
n = −Reiα →
−
u inc .→
−
n (4.56)
∂ φre f →
− →
− →
− − →
−
(car k inc .→
n = − k re f .→
−
∂ φinc
= −Reiα ei( k re f − k inc ) n) (4.58)
∂n ∂n
→
− →
−
φre f = Reiα ei( k re f − k inc ) φinc (4.59)
∂φ 1 − Reiα
−i k. cos θ p = 0 (4.60)
∂n 1 + Reiα
Thus, three data, namely R, αandθ p are required for applying condition 4.60, which couples
the real and imaginary components, respectively φr and φi and prevents the equation from being
differently solved inφr and φi . If R is equal to 1 and α is equal to 2nπ(n being an integer), it can
be found that θ p has no action. The values of the coefficient R and - more hardly - of α can be
specified according to the kind of wall being investigated from references [6].
The angle θ p is a priori unknown. In some simple cases, however, it may be specified by the
user. An iterative procedure based upon a “prediction-correction” method could provide a more
accurate assessment of θ p . That option, however, was not adopted in A RTEMIS because of the
heavy computational cost involved by that technique. Thus, the user has either to specify that
angle of incidence "in the best possible way" in the available suitable sub-routine, or to make
iterations himself in order to define the values of θ p to be specified
28 Chapter 4. Theoretical Aspects
∂φ ∂γ
− ik cos θ p φ = − ik cos θ p γ (4.61)
∂n ∂n
∂φ
does express thatφ = γ + φ p as long as ∂ np − ik cos θ p φ p = 0, i.e. as long as those waves making
up φ p are waves which travel out of the domain while making an angle θ p with the normal to
the boundary.
The potential γ is user-specified by means of keywords and programming in the BORH sub-
routine through the incident wave height and direction of propagation. In case of a random
wave computation, the incident wave height to be specified is the significant height. On the
other hand, the monochromatic wave height values obtained using ARTEMIS are to be com-
pared, as required, with such data as energy height (He ) or rms height (Hrms ) from random wave
experiments. Angle θ p is to be specified as much as possible. In most cases θ p is a priori un-
known. It is then recommended either to set θ p = 0, or to make iterations for assessing its value,
as suggested in the previous paragraph. It would also be possible to compute the difference
φ − γ after an initial computation giving a solution for φ , and to derive the wave outflow angle
corresponding to that difference φ − γ.
Free outflow
In that case, γ = 0 and the boundary conditions is written as:
∂φ
− ik cos θ p φ = 0 (4.62)
∂n
4.6 Treatment of random mono/multi directional waves 29
Once again, the angle θ p is to be specified as best as possible, if the wave outflow direction is
known a priori (refer to the following Figure 5) If no proper angle θ p is specified, stray reflec-
tions contaminating the computational domain from the boundary will predictably be noticed.
S( f , θ ) = J( f ).G(θ ) (4.63)
The frequency dependency J(f) is expressed by:
f / f p −1 2
" 4 #
fp exp −0.5
J( f ) = δ Hs2 f p4 exp −1.25
α
γ (4.64)
f
wherein:
0.0624
δ= 0.185
0.230 + 0.0336γ − 1.9+γ
The trend of J(f) versus f/f p is given in Fig 4.6 for various values of γ.
The directional distribution G(θ ) is often chosen in the following for (refer to [14]):
• s is a positive real exponent of some tens (the higher s is, the less spread the directional
spectrum is).
4.6 Treatment of random mono/multi directional waves 31
• θmin et θmax indicate the boundary propagation directions of the waves being studied.
The trend of function G for various values of the coefficient "s" is described in Fig. 4.7.
For each pair (fi , θ j ), the model provides a significant wave heightwave height Hm0,k (1 < k <
imax jmax ) at each node of the grid. Wave defined by (fi, θ j) at a node of the grid contributes to
the total energy up to 81 ρgHe,k 2 = 1 ρgH 2 , wherein H
4 m0 ,k e,k and Hm0 ,k denote the spectral energy
height and significant height, respectively, as computed for waves defined by (fi, θ j).
The total incident energy is 81 ρgHe,inc2 wherein He,inc is the is the energy height of incident
waves. Since each computation is made with the same energy (the bands cutting the spectrum
axes define the same volume), He,inc is identical for all the computations. The total energy at a
point in the domain is:
1 1 2
He,k (4.66)
8 imax . jmax ∑
ρg
k
The resulting energy height He is derived there from at each node of the grid:
s
1 2
He = He,k (4.67)
imax . jmax ∑
k
The significant wave height Hm0 can be derived from the energy height He through the relation
mentioned in Section 4.2.3:
√
Hm0 = 2He
That quantity is retrieved by A RTEMIS in the case of random wavesrandom waves. Assuming
that the distribution of wave heights follows a Rayleigh’s law, the spectral and statistical coef-
ficients, i.e (Hm0 ; He ) on the one hand and (H1/3 ; Hrms ) on the other hand, respectively, are
equivalent to one another.
with:
In regular mode (monochromatic wave), the energetic wave height He is the wave height di-
rectly given by A RTEMIS. In random
√ mode, this wave height He is roughly proportional to the
significant wave height:He ≈ Hs / 2. Other parameters involved in the previous general equa-
tion correspond to the mean values defined in the table given above: mean wave number, mean
celerities. . .
We can deduce from these radiation stresses the associated forcing Fx and Fy to be introduced in
a current model (for instance TELEMAC-2D), which will be able to compute the wave-driven
currents. These forcing terms are expressed as follows:
1 ∂ Sxx ∂ Sxy
Fx = − +
h ∂x ∂y
4.8 Digital solution through the finite element method 33
1 ∂ Sxy ∂ Syy
Fy = − +
h ∂x ∂y
with: h the water depth at rest
Remark 1: Simulation of the wave-driven currents with the TELEMAC-2D software is per-
formed through an external coupling between A RTEMIS and TELEMAC-2D.
Remark 2: in the monochromatic mode, oscillations are often observed on the wave heights
results. They may be generated by (i) real reflections against solid obstacles which propagate
within the computational domain, or by (ii) undesired reflections due to boundary conditions
problems. These undesired reflections may greatly alter the computation of the wave forc-
ing terms. To avoid this problem, it is possible in release 6, for the monochromatic mode, to
impose an automatic smoothing of the wave heights field, in order to filter these oscillations,
whose characteristic « wave » length is half the « wave » length of the waves. To achieve this
smoothing, one has to activate the new key-word:
WAVE HEIGHTS SMOOTHING
whose mnemonic is LISHOU (default value : NO).
However, it is preferable to use A RTEMIS in random mode to get satisfactory estimation
of the wave forcing terms
φr and φi being real functions depending on x and y, which are the real and imaginary compo-
nents of φ , respectively. That function φ will hereinafter be termed the potential by misuse of
language, though multiplying it by f (z)e−ωt is required for getting the total potential Φ.
The differential system to be solved is then as follows:
Z Z Z
∂φ
ΨCCg dΓ − CCg ∇Ψ.∇φ dΩ + CCg (k2 + ikµ)Ψφ dΩ = 0 (4.71)
Γ ∂n Ω Ω
The normal derivative of the potential at the boundary Γ of the domain will then come out. It
can be replaced by its expression as given by the boundary conditions, which is in the following
form:
∂φ
= (Aφi + Bφr ) + i(−Aφr + Bφi ) − E − iF (4.72)
∂n
wherein A, B, E and F are real numbers determined by the kinds of boundary conditions as
specified in all the parts of Γ.
The following system can be achieved by separating the real and imaginary parts:
R R
Γ ΨCCg (Bφr + Aφi )dΓ − Ω CCgR∇Ψ.∇φr dΩ
+ Ω CCg Ψ(k2 φr − kµφi )dΩ
R
= Γ ΨCCg EdΓ
R R (4.73)
ΨCC
Γ R g (−Aφ r + Bφi )dΓ − Ω CCRg
∇Ψ.∇φi dΩ
2
+ Ω CCg Ψ(k φi − kµφr )dΩ = Γ ΨCCg FdΓ
NPOIN is the total number of points in the grid. The ψ ej functions are linear at each element
with an e index and are null everywhere else.
By incorporating these expressions into the previously described set of equations, a matrix
system can be obtained in the following form:
AM BM φr CV1
. = (4.75)
−BM AM φi CV2
In order to obtain a positive diagonal along AM (the reason for it will be explained later), the
couple of previous equations have multiplied by -1. AM is a matrix provided with NPOIN x
NPOIN dimensions and having as a general term:
Z Z Z
AM jk = − Ψ j ΨkCCg BdΓ + CCg ∇Ψ j .∇Ψk dΩ + CCg k2 Ψ j Ψk dΩ (4.76)
Γ Ω Ω
If the diagonal term in the AM matrix is positive, a suitable preconditioning will become appli-
cable to the system, what will make the resolution much faster. Regardless of the edge term,
AM jk has approximately the sign of 1/(∆x)2 − k2 (∆x denoting the mean size of the meshes).
As long as 1/(∆x) > k, i.e. as long as ∆x < L/2π, the diagonal term remains positive. Due to
that condition, the selected mesh size shall be smaller than L/7. It seems that at least 7 grid
nodes per wavelength are required.
In simple examples, however, we have tested coarser grids having 4-5 nodes per wavelength.
The results for these computational conditions remain satisfactory even though, in such a case,
no preconditioning is applied to the matrix system. With less than 4 nodes per wavelength, the
spatial resolution is too low and the information is deteriorated.
ω2
= th(kh) (4.79)
gk
Taking x = kh and y = , the dispersion relation becomes y = xth(x). A precise, explicit form of
it is used at 0.5 10−3 :
21
p1 = 0.6522
2 = 0.4622
p
√ 1
x = y y+ avec p3 = 0. (4.80)
5
1+ Σ pj yj p = 0.0864
4
j=1
p5 = 0.0675
• Either using an iterative method: conjugate gradient, conjugate gradient on normal equa-
tion, GMRES solver. . . [17];
in order to assist the convergence of the method. That relaxation coefficient is specified by the
user..
The overall solution algorithm is summarised in the diagram below:
It seems that the most suitable iterative resolver for the linear system being considered is the
direct solveur. That resolver is taken by default by the model. The matrix may previously be
diagonally preconditioned. The user, however, may freely choose any other resolver and any
other preconditioning as proposed through keywords in BIEF (see A RTEMIS reference manual).
As regards random waves, the previously described algorithm will be followed as many times
as necessary because of the energy spectrum discretization (i.e. imax *jmax times). In order to
improve the wave computation time corresponding to the pairs (fi+1 , θ j ), (fi , θ j+1 ), and (fi+1 ,
θ j+1 ), however, those values which were previously computed for the pair (fi , θ j ) are used for
initializing the unknowns and the dissipation coefficient.
Practically, it appears that the number of iterations implied by the resolver convergence is sub-
stantially the same as the number of nodes in the NPOIN grid. Since the required time for an
iteration (consisting in a product of a matrix by a vector) is proportional to the number of nodes,
the time for a computation by A RTEMIS is globally proportional to the square of the number of
nodes. The proportionality coefficient depends, among others, on the king of computational do-
main boundaries, on bathymetry and on the computing machine. The more numerous the liquid
boundaries are, the smaller it is. The greater the depths are, the higher it is. This is because, as
it is well known, a diffusion matrix can more hardly be inverted than a mass matrix. Now, the
greater the depth is, the higher the phase and group velocities are. The diffusion matrix then
4.8 Digital solution through the finite element method 37
becomes increasingly prevailing in relation to the mass matrix. The required number of sub-
iterations for providing the convergence of the computation of the dissipation terms is usually
4 or 5.
∂φ
= (Aφi + Bφr ) + i · (−Aφr + Bφi ) − E − iF
∂n
Separating imaginary and real parts (f is real) :
Z Z Z Z
2
ψ ·CCg ·(Bφr + Aφi )·dΓ− CCg ·∇φr ·∇ψ ·dΩ+ CCg k · (1 + f ) · φr − kµ · φi ·ψ ·dΩ = ψ ·CCg ·E ·dΓ
Γ Ω Ω Γ
Z Z Z Z
CCg k2 · (1 + f ) · φi − kµ · φr ·ψ ·dΩ = ψ ·CCg ·F ·dΓ
ψ ·CCg ·(−Aφr + Bφi )·dΓ− CCg ·∇φi ·∇ψ ·dΩ+
Γ Ω Ω Γ
Matrix
Matrix AM, expressed in 4.76 is modified. BM doesn’t change and the second member (CV1
and CV2) is unchanged too.
Z Z Z
AM jk = ψ j ψk ·CCg · B · dΓ − CCg · ∇ψ j · ∇ψk · dΩ + CCg · k2 · (1 + f ) · ψ j · ψk · dΩ
Γ Ω Ω
This value is red in the BERKHO routine. Is the value is different from 0 routine PENTCO is
called. In PENTCO we compute the term « f » in the whole domain. Depending on the user’s
choice, Matrix AM is modified in BERKHO.
To get the value of « f », PENTCO calls to functions:
38 Chapter 4. Theoretical Aspects
With x = 2kh
If x is too small (lower à 10-3), the value of the function is simply:
E1 (kh) = −1/6
E2 (kh)
= 2h · Ẽ2 (kh)
k0
f = E1 (kh) · (∇h)2
f = 2h · Ẽ2 (kh) · ∆h
the computation will stop with an error message. For example, the command "wave period=10."
enables the user to specify that the wave period is 10 seconds.
A RTEMIS reads the steering file at the beginning of the computation.
The dictionary file and steering file are read by a utility called DAMOCLES, which is included
in A RTEMIS. Because of this, when the steering file is being created, it is necessary to comply
with the rules of syntax used in DAMOCLES (this is done automatically if the file is created
with FUDAA-PREPRO). They are briefly described below and an example is given in Appendix
8.
The rules of syntax are the following:
• Each line is limited to 72 characters. However, it is possible to pass from one line to the
next as often as required, provided that the name of the keyword is not split between two
lines.
• The signs ":" or "=" can be used indiscriminately as separator for the name of a keyword
and its value. They may be preceded or followed by any number of spaces. The value
itself may appear on the next line. For example:
• Characters between two "/" on a line are considered as comments. Similarly, characters
between a "/" and the end of line are also considered as comments. For example:
• A line beginning with "/" is considered to be all comment, even if there is another "/" in
the line. For example:
• A line beginning with "/" is considered to be all comment, even if there is another "/" in
the line. For example:
• When writing integers, do not exceed the maximum size permitted by the computer (for
a computer with 32-bit architecture, the extreme values are -2 147 483 647 to + 2 147
483 648. Do not leave any space between the sign (optional for the +) and number. A full
stop is allowed at the end of a number.
• When writing real numbers, the full stop and comma are accepted as decimal points, as
are E and D formats of FORTRAN. ( 1.E-3 0.001 0,001 1.D-3 represent the same value).
• When writing logical values, the following are acceptable: 1 OUI YES .TRUE. TRUE
VRAI and 0 NON NO .FALSE. FALSE FAUX.
5.2 The files 41
• Character strings including spaces or reserved symbols ("/",":", "=", "&") must be placed
between apostrophes (’). The value of a character keyword can contain up to 144 charac-
ters. As in FORTRAN, apostrophes in a string must be doubled. A string cannot begin or
end with a space. For example :
TITLE = ´ ’CAS DE L’ ´’
´EPI’ ´
In addition to keywords, a number of instructions or meta-commands interpreted during se-
quential reading of the steering file can also be used:
• Command &FIN indicates the end of the file (even if the file is not finished). This means
that certain keywords can be deactivated simply by placing them behind this command in
order to reactivate them easily later on. However, the computation continues.
• Command &ETA prints the list of keywords and the value that is assigned to them when
DAMOCLES encounters the command. This will be displayed at the beginning of the
printout listing (see Section 5.2.5).
• Command &LIS prints the list of keywords. This will be displayed at the beginning of
the printout listing (see Section 5.2.5).
• Command &IND prints a detailed list of keywords. This will be displayed at the beginning
of the printout listing (see Section 5.2.5).
• GRAPHIC PRINTOUT PERIOD: fixes the period for outputs when using computation
over multiple periods (for example, case of period scanning to search resonance period).
• VARIABLES FOR GRAPHIC PRINTOUTS : this is used to specify the list of variables
to be stored in the results file. Each variable is identified by an identifier (string with up
to 8 characters); these are listed in Appendix 4 with the description of this keyword.
The name of this file is given with the keyword: RESULTS FILE
• LISTING PRINTOUT PERIOD : this fixes the period between two periods output when
calculating several wave periods (period scanning). The given value is the number of
periods. For example, the following sequence:
• LISTING PRINTOUT: this cancels the listing printout if the value is NO (the listing print-
out then only contains the program heading and normal end indication). However, this is
not advisable in any circumstances.
• VARIABLES TO BE PRINTED : this is used to specify the list of variables for which
all values will be printed at each mesh point. This is a debugging option offered by
ARTEMIS that should be handled with caution so as to avoid creating an excessively
large listing printout.
• INFORMATION ABOUT SOLVER: if this is required, at each printed period the user will
have the number of iterations necessary to achieve the accuracy required during the mild
slope equation calculation, or by default that reached at the end of the maximum number
of iterations authorised. In addition, the user will obtain the number of sub-iterations
necessary to take into account the dissipation phenomena.
5.2 The files 43
The name of this file is managed directly by the A RTEMIS start-up procedure. In general, it has
the name of the steering file associated with the suffix ".sortie". A short example of a listing
printout is given in Appendix 10.
• One or two binary data files, specified by the keywords BINARY DATA FILE 1 and BI-
NARY DATA FILE 2. These files can be used to provide data to the program, data reading
being of course managed by the user within the Fortran program. The logical units af-
fected to this two files are respectively 24 and 25.
• One or two formatted data files, specified by the keywords FORMATTED DATA FILE 1
and FORMATTED DATA FILE 2. These files can be used to provide data to the program,
data reading being of course managed by the user within the Fortran program. The logical
units affected to this two files are respectively 26 and 27.
• A binary results file specified by the keyword BINARY RESULTS FILE. This file can be
used to store additional results. Write operations on the file are managed by the user in
the Fortran program. The logical units affected to this file is 28.
• A formatted results file specified by the keyword FORMATTED RESULTS FILE. This
file can be used to store additional results. Write operations on the file are managed by
the user in the Fortran program. The logical units affected to this file is 29.
Read and write operations on these files must be managed completely by the user. Management
can be done from any point accessible to the user. For example, using a file to provide the
initial conditions will mean managing it with the subroutine CONDIH. Similarly, using a file
to introduce boundary conditions can be done in the BORH subroutine.
• Library A RTEMIS: this library contains the subroutines that are specific to the ARTEMIS
computation code.
44 Chapter 5. Inputs and outputs
• Library bief: this library contains all the computation modules concerning operations of
the finite-element type (operations on matrices and vectors). It is common to all the simu-
lation codes developed by the Laboratoire National d’Hydraulique within the TELEMAC
structure (“bief” stands for “BIbliothèque d’Eléments Finis” - Finite Elements Library).
• Library damo: this library contains the subroutines that manage the reading of key words
stored in the steering file.
• Library special: this library contains the subroutines that manage the clean interrupt of
the computation by the user during a simulation.
• Library parallel: this library contains the subroutines that manage exchanges between
sub-models during parallel computation. All the calls to MPI functions are located in this
library
• Library paravoid: this library contains the same subroutines as library parallel but these
subroutines are empty in order to allow a scalar computation
In either case, the default value specified in the dictionary file is ‘STD’ (default binary of the
computer that is being used).
• Either directly in the geometry file by a bathymetry value associated with each mesh node.
In this case, the bathymetric data are processed when the S TBTEL module is run before
ARTEMIS is started. STBTEL reads the information in one or more bottom topography
files (5 at most) and interpolates at each point in the domain.
• Or in the form of a cluster of points with elevations that have no relation with the mesh
nodes, during the ARTEMIS computation. ARTEMIS then makes the interpolation di-
rectly with the same algorithm as STBTEL. The file name is provided by the keyword
BOTTOM TOPOGRAPHY FILEBOTTOM TOPOGRAPHY FILE. In contrast to S TBTEL,
ARTEMIS only manages one bottom topography file. This may be in SINUSX format or
more simply a file consisting of three columns X,Y,Z.
5.4 Bathymetric data 45
• Or directly in the Fortran file using the CORFON subroutine. This way is in particular
used when building schematic test cases
In all cases, ARTEMIS offers the possibility of smoothing the bottom topography in order
to obtain a more regular geometry. The smoothing algorithm can be iterated several times
depending on the degree of smoothing required. The keyword BOTTOM SMOOTHING then
defines the number of iterations carried out in the subroutine CORFON. The default value of
this keyword is 0 (see also programming of the user subroutine CORFON in § 10.1).
6. Initial conditions
The purpose of the initial conditions is to define the state of the model at the time the simulation
begins. The initial state must be defined by the user. This is done by using key words in simple
cases, or by programming in more complex ones.
• "ZERO ELEVATION": Initialises the elevation of the free surface at 0. The initial depths
of water are therefore calculated from the bottom elevation.
• ‘CONSTANT ELEVATION’: Initialises the elevation of the free surface at the value sup-
plied by the key word INITIAL ELEVATION. The initial depths of water are therefore
calculated by taking the difference between the free surface elevation and the bottom
elevation.
• ‘CONSTANT DEPTH’: Initialises depths of water at the value supplied by the key word
INITIAL DEPTH.
• ‘PARTICULAR’: The initial conditions are defined by the subroutine CONDIH (see §
5.2). This solution must be used whenever the initial conditions of the model do not
correspond to one of the three cases above.
It is important to stress that the initial state must not contain any dry area in the computational
domain. If this is the case, A RTEMIS displays an error message on the control printout.
By default, the standard version of the subroutine CONDIH causes the calculation to stop if
the key word INITIAL CONDITIONS is set at “PARTICULAR” without the subroutine actually
being modified.
The user is free to fill in this subroutine as he wishes. For example, he may reread information
from a formatted or binary file, using the key words FORMATTED DATA FILE or BINARY
DATA FILE offered by A RTEMIS.
7. Boundary conditions
The prescribed wave type boundary is in fact of very limited use, such as for example in the case
of a wave generator that receives no reflected waves. Thus, this option is no longer available in
ARTEMIS.
In most cases, it is possible to fix the type of boundary in the mesh generator, by setting a colour
code. Each colour code corresponds to a particular type of boundary (wall, liquid boundary with
prescribed waves, etc.).
This file is normally supplied by MATISSE, S TBTEL or FUDAA-PREPRO, but it can be cre-
ated and modified with a text editor. Each line of the file is devoted to one point of the mesh
boundary. The edge points are numbered in the same way as the lines of the file. The contour
of the domain is first numbered trigonometrically and then the islands in the opposite direction.
The following values are given for each point:
LIHBOR, LIUBOR, LIVBOR, HBOR, UBOR, VBOR, AUBOR, LITBOR, TBOR, ATBOR,
BTOR, N, K
LIHBOR is the code for the type of boundary. It is described in § 6.1.
N represents the general number of the edge point.
K represents the point number in the edge point numbering system.
The other values are not taken into account in ARTEMIS, and are ignored during the calculation.
The Fig 7.1 and tab 7.1 below shows a file of boundary conditions for a schematic case.
Table 7.1: Example of boundary conditions file for the schematic case
• TETAP : Angle of incident wave attack in relation to the outward normal, expressed in
degrees in the clockwise direction. It should be noted that the sign of this value is of no
importance, since it only appears in the calculation in cosine form.
• ALFAP : Value of the phase shift produced by the wall (positive if the reflected wave is
delayed in relation to the incident wave), expressed in degrees. If ALFAP=0, the coef-
ficient RP corresponds exactly to the definition of the reflection coefficient, i.e. Htotale =
Hincidente (1 + RP).
7.4 Processing of liquid 51
In the absence of any special programming in BORH, solid walls are all considered as being
perfectly reflecting and do not produce any phase shift (RP=1, TETAP=ALFAP=0).
The following example shows a definition of two solid boundaries. The first is a wall with pure
reflection, and the second one that is partially reflecting, generating a delay of 45◦ when the
incident wave has an angle of 30◦ .
DO 10 I =1 ,20
RP ( I ) = 1 . D0
10 CONTINUE
DO 20 I =32 ,40
RP ( I ) = 0 . 5 D0
TETAP ( I ) = 3 0 . D0
ALPHAALFAP( I ) = 4 5 . D0
20 CONTINUE
The user may consult [12] for an estimate of the various parameters.
• HB: Wave height (monochromatic wave, see § 7.1) or significant wave height (random
wave, see § 7.2)
• ALFAP: Phase of the wave at the considered node, in degreessteering file. The user has to
choose a reference point where the phase is zero. If the full boundary is perpendicular to
the propagation direction, then ALFAP will be zero for the whole boundary nodes. A way
to specify ALFAP can be found in some test cases (BTWI,CREOCEAN,ILE_PARA) or
in section 6.4.4.
52 Chapter 7. Boundary conditions
• TETAP: Output direction of waves reflected inside the domain (a priori unknown). TETAP
defines the non-oriented angle between the forecast output direction of the wave and the
boundary normal. This value is between 0 and π/2 and must be given in degres.
• TETAP : Output direction of waves reflected inside the domain (a priori unknown).
TETAP defines the non-oriented angle between the forecast output direction of the wave
and the boundary normal. This value is between 0 and π/2 and must be given in degrees.
Note that this option has been validated in regular waves only. Considering the actual configu-
ration of ARTEMIS, It should work in non-regular waves also, but no test has been performed
yet.
• From a physical point of view, the automatic phase calculation is not satisfying. In par-
ticular when the wave number and the water depth are variable in space.
• From a computing point of view, the automatic calculation in not really compatible with
parallel computation.
7.4 Processing of liquid 53
Thus, the user has to give the phase in the ALFAP table, for each point of « incident wave» type
(LIHBOR%I=KINC). Users will find bellow some examples of how to calculate the phase.
Example 1: incident wave normal to the boundary
I−1
ϕI = ∑ k(P) · cos θ · (xP+1 − xP ) + k(P) · sin θ · (yP+1 − yP )
P=A
Another option is to choose a characteristic water depth of the boundary, then to calculate a
characteristic wave number kre f and to use the formula (see parallel version of test BTWI):
• Incident wave condition applied near a solid boundary in the interest area, or in a corner,
can generate local effects on the results. The interest area has to be far from those local
effects.
8. Physical parameters
Physical parameters are introduced essentially to characterise the type of calculation that is to
be performed (regular waves, random waves, period scanning) and the dissipation phenomena
taken into account (breaking, bottom friction).
The detailed list of keywords used by A RTEMIS, and classified by alphabetical order, is supplied
in Appendix 4.
The random character of the waves is taken into account by activating the key words MONODI-
RECTIONAL RANDOM WAVE and MULTIDIRECTIONAL RANDOM WAVE, as the case may
be.
In order to discretize the energy spectrum, it is necessary on the one hand to fix the energy
spectrum peak period (given by the key word PEAK PERIOD, and the number of bands of equal
energy that the user wishes to use (given by the key word NUMBER OF PERIODS, which has
a default value of 5). Moreover, the two key words MINIMUM SPECTRAL PERIOD (default
value 0.02) and MAXIMUM SPECTRAL PERIOD (default value 200) are used to specify the
limits of the spectrum. The key word GAMMA is used to specify the value of the coefficient γ
involved in Goda’s formula (cf. § 3.6). This key word can have values of between 1 and 7. The
value 1 corresponds to a spectrum of the Pierson-Moskowitz type, and 3.3 (default value) to a
mean Jonswap spectrum.
In the case of a multi-directional waves, the user must provide the boundaries of the direction
spectrum (using the key words MINIMUM ANGLE OF PROPAGATION and MAXIMUM AN-
GLE OF PROPAGATION ), together with the number of bands using the key word NUMBER
OF DIRECTIONS (default value 5). The maximum value of the exponent s involved in the
expression giving the directional distribution of the wave energy (cf. § 3.6) is specified with the
key word S EXPONENT (default value 20).
In a calculation that takes into account breaking, the mnemonic QB is added in the list of the
key word VARIABLES FOR GRAPHIC PRINTOUTS in order to obtain the rate of breaking cal-
culated by the software. This rate, which is between 0 and 1, represents the percentage of waves
that break in the case of a random wave simulation. With monochromatic wave simulations, the
breaking rate is 1 or 0.
• 1 : laminar regime
• 4 : transient regime
Depending on the hydraulic regime, the friction factor is calculated by means of various formu-
lae, in which the various parameters must be supplied using key words (see § 3.4.2).
In the case of a rough turbulent regime, the friction factor depends on the skin roughness, which
is connected with the size of the sediment particles, and on the shape roughness, which is
connected with the appearance of undulations on the ground referred to as ripples. ARTEMIS
enables the user to ignore shape roughness by activating the logic key word SKIN ROUGHNESS
ONLY (default value NO). In this case, the roughness value is taken to be equal to three times
the value supplied by the key word DIAMETER90 described below.
The other key words used to supply the physical parameters needed for ARTEMIS to take into
account friction on a sandy bed are the following:
• The key word FLUID KINEMATIC VISCOSITY (default value 10−6 m2 /s) provides the
viscosity of the water.
8.5 Bottom friction 57
• Key words FLUID SPECIFIC MASS (default value 1000 kg/m3 ) and SEDIMENT SPE-
CIFIC WEIGHT (default value 2650 kg/m3 ) are used to supply the water and sand den-
sities for rough turbulent or transient hydraulic regimes.
The size of the sediment particles involved in determining the bottom friction factor is indicated
with the following key words:
• Key word DIAMETER50 (default value 0.1x10−3 ) indicates the maximum size of 50% of
the volume of sediment. The values generally used are:
• Key word DIAMETER90 (default value 0.15x10−3 ) indicates the maximum size of 90%
of the volume of sediment. The values generally used are:
• Key word RIPPLES COEFFICIENT (default value 0.7) indicates the value of the ripple
coefficient when shape roughness is taken into account. This key word can have the
following values:
Defaut value: 0.
The general parameters for the calculation are indicated only in the parameters file (see Ap-
pendix 4).
The title of the calculation is specified with the key word TITLE.
If a vector computer is being used, it is necessary to specify the vector length with the key word
VECTOR LENGTH. The default value of this key word (1) corresponds to a scalar computer
(i.e. the case with workstations).
When generating an executable, the libraries used to edit the links and the version of the libraries
are specified with the key words LIBRARIES and RELEASE. When the software is installed on
a workstation, the default value of these key words is often sufficient.
10. Numerical parameters
A number of key words enable the user to configure an ARTEMIS calculation from the numer-
ical standpoint (see Appendix 4).
10.1 Solver
Firstly, the integer key word SOLVER is used to choose the solver for the system of equations
processed by A RTEMIS. The possible values are:
• 1: Conjugated gradient,
• 2: Conjugated residual,
• 4: Minimum error,
• 7: GMRES
• 8: Direct solver
• in the present state of development of ARTEMIS, the solver GMRES (option 7) does not
appear to give satisfactory results;
• The number of iteration require by the iterative solver to obtain a solution for the linear
system is often high. By consequence, using such method is less interesting than a formal
matrix inversion like with the direct solver;
• When you use the direct solver for large mesh sizes, you may need to increase the param-
eter MEMFACTOR in the new subroutine SD_SOLVE_1.f.
10.2 Accuracy 61
10.2 Accuracy
When the linear system is solved by an iterative method. It is therefore necessary to define
the accuracy that one wishes to obtain during the calculation, and the maximum permissible
number of iterations, so as to avoid looping if the required level of precision is not attained.
The level of accuracy is specified with the key word SOLVER ACCURACY (default value 10−4 ).
The maximum number of iterations is specified with the key word MAXIMUM NUMBER OF
ITERATIONS FOR SOLVER (default value 60000).
The user may obtain information on the solver by activating the key word INFORMATION
ABOUT SOLVERINFORMATION ABOUT SOLVER (default value YES). This information is
supplied in the printout, and may be of two types:
• Either the process has converged before reaching the maximum permitted number of
iterations, and in this case ARTEMIS indicates the number of iterations actually run,
together with the precision attained.
• Or the process has not converged sufficiently quickly, the ARTEMIS then displays the
message “MAXIMUM NUMBER OF ITERATIONS REACHED” and indicates the pre-
cision actually attained.
10.3 Preconditioning
When the system of equations is solved by a conjugated gradient method, convergence may
often be speeded up by preconditioning.
ARTEMIS offers several preconditioning options. The key word PRECONDITIONING is used
to choose the type required:
• 0 : no preconditioning,
Certain types of preconditioning can be cumulated, such as the diagonals with the others. The
basic values are prime numbers, so that two types of preconditioning can be cumulated by as-
signing to the key word the product of the corresponding two prime numbers, e.g. 6 corresponds
to types 2 and 3.
As with the general solver, ARTEMIS provides information concerning this process in the con-
trol printout if the key word INFORMATION ABOUT SOLVER is activated (default value YES).
In particular, A RTEMIS provides the maximum difference between each sub-iteration and the
previous one (expressed as a percentage).
Lastly, a relaxation coefficient is introduced at each iteration, when the dissipation coefficient
is calculated, in order to avoid oscillations in solver convergence. This coefficient is specified
by means of the key word DISSIPATION RELAXATION (default value 0.5). It is introduced in
the form:
MU2 = MU1 + RELAX*(MU2-MU1)
where
The user may need to reduce the value of the relaxation coefficient, particularly in the case of
regular waves.
11. Programming of complex cases
• -s: When using in interactiv mode, generates a copy of the output listing on disk (by
default, the output listing is only displayed on screen)
• -t: The temporarily directory is not erased at the end of the computation
• -d: Compilation and execution in deferred batch mode (start at the specified time).
• Execution of DAMOCLES software in order to determine the name of the work files,
12.1 Running an ARTEMIS computation 65
• Allocation of files,
A detailed description of this procedure may be obtained by using the command A RTEMIS -H.
66 Chapter 12. Other
• SD_SOLVE1 Direct solver (to modify the MEMFACTOR parameter if it should be in-
crease)
BREAKING =YES
DIRECTION OF WAVE PROPAGATION =0.
MAXIMUM SPECTRAL PERIOD =8.
PEAK PERIOD =1.887
MONODIRECTIONAL RANDOM WAVE =YES
MINIMUM SPECTRAL PERIOD =0.75
GAMMA =3.3
C ***************
SUBROUTINE BORH
C ***************
C
C***********************************************************************
C
C ARTEMIS VERSION 6.2 07/12
C LINKED TO BIEF VERS. 6.2 J-M HERVOUET (LNH) 01 30 87 80 18
C
C***********************************************************************
C
C FONCTION: PREND EN COMPTE LES CONDITIONS AUX LIMITES
C DE L’UTILISATEUR
C ELLES SONT DONNEES PAR SEGMENT.
C
C CE SOUS-PROGRAMME PEUT ETRE COMPLETE PAR L’UTILISATEUR
C
C-----------------------------------------------------------------------
C ARGUMENTS
C .________________.____.______________________________________________.
C | NOM |MODE| ROLE
|
C |________________|____|______________________________________________|
C | RP |<-- | COEFFICIENTS DE REFLEXION DES PAROIS
|
C | TETAP |<-- | ANGLE D’ATTAQUE DE LA HOULE SUR LES LIMITES |
C | | | PAS SEULEMENT LES PAROIS, MAIS AUSSI LES
|
C | | | LES FRONTIERES LIQUIDES
|
C | | | (COMPTE PAR RAPPORT A LA NORMALE EXTERIEURE |
C | | | DANS LE SENS DIRECT)
|
C | ALFAP |<-- | DEPHASAGE INDUIT PAR LA PAROI ENTRE L’ONDE
|
C | | | REFLECHIE ET L’ONDE INCIDENTE (SI ALFAP EST |
C | | | POSITIF, L’ONDE REFLECHIE EST EN RETARD)
|
C | HB |<-- | HAUTEUR DE LA HOULE AUX FRONTIERES OUVERTES |
C | TETAB |<-- | ANGLE D’ATTAQUE DE LA HOULE (FRONT. OUV.)
|
C | | | (COMPTE PAR RAPPORT A L’AXE DES X DANS LE
|
C | | | SENS DIRECT)
|
68 Chapter 12. Other
USE BIEF
USE DECLARATIONS_TELEMAC
USE DECLARATIONS_ARTEMIS
C
IMPLICIT NONE
INTEGER LNG,LU
COMMON/INFO/LNG,LU
C
INTEGER I,JB
C
DOUBLE PRECISION PI,BID
PARAMETER( PI = 3.1415926535897932384626433D0)
C
INTRINSIC COS,SIN
C
C-----------------------------------------------------------------------
C
C CONDITIONS AUX LIMITES
C UN SEGMENT EST SOLIDE SI IL EST DE TYPE KLOG.
C UN SEGMENT EST ONDE INCIDENTE SI IL EST DE TYPE KINC.
C UN SEGMENT EST UNE ENTREE SI IL EST DE TYPE KENT.
C UN SEGMENT EST UNE SORTIE SI IL EST DE TYPE KSORT.
C
C TOUS LES ANGLES SONT EN DEGRES
C ------
C ---------------------------------------
C INITIALISATION DES VARIABLES PAR DEFAUT
C ---------------------------------------
TETAB\%R(:) = TETAH
TETAP\%R(:) = 0.D0
ALFAP\%R(:) = 0.D0
RP\%R(:) = 0.D0
HB\%R(:) = 1.D0
C
DO I=1,NPTFR
JB=BOUNDARY_COLOUR\%I(I)
C -----------------------------
C EXEMPLE DE CONDITIONS LIMITES :
C
C
C PAROIS SOLIDES
IF(JB.GE.2.AND.JB.LE.139)THEN
LIHBOR\%I(I) = KLOG
RP\%R(I) = 1.D0
TETAP\%R(I) = 90.D0
ALFAP\%R(I) = 0.D0
ENDIF
IF(JB.GE.146.AND.JB.LE.283)THEN
LIHBOR\%I(I) = KLOG
RP\%R(I) = 1.D0
TETAP\%R(I) = 90.D0
ALFAP\%R(I) = 0.D0
ENDIF
C
C
70 Chapter 12. Other
IF(JB.EQ.1)THEN
LIHBOR\%I(I) = KINC
HB\%R(I) = 0.202D0
TETAB\%R(I) = 0.D0
TETAP\%R(I) = 0.D0
ALFAP\%R(I) = 0.D0
ENDIF
ENDDO
C
C POUR UN CALCUL EN HOULE ALEATOIRE MULTIDIRECTIONNELLE, LE CODE
C CALCULE LES DIRECTIONS DE PROPAGATION A PARTIR DES DONNEES DU FICHIER
C DES MOTS CLES.
C
C
C-----------------------------------------------------------------------
C
C
RETURN
END
C *****************
SUBROUTINE CORFON
C *****************
C
C***********************************************************************
C PROGICIEL : TELEMAC 5.0 01/03/90 J-M HERVOUET
C***********************************************************************
C
C USER SUBROUTINE CORFON
C
C FUNCTION : MODIFICATION OF THE BOTTOM TOPOGRAPHY
C
C
C-----------------------------------------------------------------------
C .________________.____.______________________________________________
C | NOM |MODE| ROLE
C |________________|____|_______________________________________________
C | ZF |<-->| FOND A MODIFIER.
12.4 Example of a user Fortran Fortran file 71
IF (X(I).GE.9.4) THEN
ZF\%R(I) = -0.226D0 + 0.05*(X(I) - 9.4)
ENDIF
IF (ZF\%R(I).GT.-0.04D0) THEN
ZF\%R(I) = -0.04D0
ENDIF
20 CONTINUE
C
C-----------------------------------------------------------------------
C
RETURN
END
12.4 Example of a user Fortran Fortran file 73
***********************************************************
A LA LIGNE 2 LE MOT CLE SUIVANT : FORTRAN FILE EST INCONNU
***********************************************************
************************
* ARRET DE DAMOCLES *
************************
-----------------------------------------
- ERREUR DANS LE FICHIER DES PARAMETRES -
-----------------------------------------
PRECONDITIONING
MOTINT( 10)= 2
DISCRETIZATION IN SPACE
MOTINT( 15)= 1
GEOMETRY FILE STANDARD
MOTINT( 13)= 3
RESULTS FILE STANDARD
MOTINT( 14)= 3
SOLVER
MOTINT( 11)= 8
BOTTOM TOPOGRAPHY SMOOTHING
MOTINT( 9)= 0
NUMBER OF PERIODS
MOTINT( 8)= 5
NUMBER OF DIRECTIONS
MOTINT( 16)= 5
BREAKING LAW
MOTINT( 17)= 1
MAXIMUM OF SUB-ITERATIONS
MOTINT( 18)= 15
HYDRAULIC REGIME TYPE
MOTINT( 19)= 1
BOTTOM FRICTION LAW
MOTINT( 20)= 1
SOLVER OPTION
MOTINT( 12)= 3
VECTOR LENGTH
MOTINT( 1)= 1
LAW OF BOTTOM FRICTION
MOTINT( 2)= 0
MATRIX STORAGE
MOTINT( 3)= 3
MATRIX-VECTOR PRODUCT
MOTINT( 4)= 1
ORIGINAL DATE OF TIME
MOTINT( 21)= 0
ORIGINAL DATE OF TIME
MOTINT( 22)= 0
ORIGINAL DATE OF TIME
MOTINT( 23)= 0
ORIGINAL HOUR OF TIME
MOTINT( 24)= 0
ORIGINAL HOUR OF TIME
MOTINT( 25)= 0
ORIGINAL HOUR OF TIME
MOTINT( 26)= 0
NUMBER OF PRIVATE VARIABLES
MOTINT( 27)= 4
PARALLEL PROCESSORS
12.4 Example of a user Fortran Fortran file 75
MOTINT( 28)= 0
ORIGIN COORDINATES
MOTINT( 29)= 0
ORIGIN COORDINATES
MOTINT( 30)= 0
RAPIDLY VARYING TOPOGRAPHY
MOTINT( 31)= 0
WAVE PERIOD
MOTREA( 7)= 10.00000
DIRECTION OF WAVE PROPAGATION
MOTREA( 10)= 0.000000
GRAVITY ACCELERATION
MOTREA( 8)= 9.810000
ZERO
MOTREA( 11)= 0.1000000E-11
SOLVER ACCURACY
MOTREA( 4)= 0.1000000E-03
MINIMUM VALUE FOR H
MOTREA( 5)= 0.1000000E-06
INITIAL WATER LEVEL
MOTREA( 1)= 0.000000
INITIAL DEPTH
MOTREA( 6)= 0.000000
BEGINNING PERIOD FOR PERIOD SCANNING
MOTREA( 12)= 0.000000
ENDING PERIOD FOR PERIOD SCANNING
MOTREA( 13)= 0.000000
STEP FOR PERIOD SCANNING
MOTREA( 14)= 0.000000
PEAK PERIOD
MOTREA( 2)= 1.887000
GAMMA
MOTREA( 3)= 3.300000
MINIMUM ANGLE OF PROPAGATION
MOTREA( 15)= -180.0000
MAXIMUM ANGLE OF PROPAGATION
MOTREA( 16)= 180.0000
S EXPONENT
MOTREA( 17)= 20.00000
RELAXATION COEFFICIENT
MOTREA( 9)= 1.400000
SUB-ITERATIONS ACCURACY
MOTREA( 18)= 0.1000000E-01
DISSIPATION RELAXATION
MOTREA( 20)= 0.5000000
ALPHA
MOTREA( 21)= 1.000000
GAMMAS
MOTREA( 22)= 0.8800000
76 Chapter 12. Other
KDALLY
MOTREA( 19)= 0.1000000
GDALLY
MOTREA( 23)= 0.4000000
FLUID KINEMATIC VISCOSITY
MOTREA( 24)= 0.1000000E-05
DIAMETER90
MOTREA( 25)= 0.1500000E-03
DIAMETER50
MOTREA( 26)= 0.1000000E-03
SEDIMENT SPECIFIC WEIGHT
MOTREA( 27)= 2650.000
FLUID SPECIFIC MASS
MOTREA( 28)= 1000.000
FRICTION FACTOR
MOTREA( 29)= 0.000000
RIPPLES COEFFICIENT
MOTREA( 31)= 0.7000000
FRICTION COEFFICIENT
MOTREA( 30)= 0.000000
MINIMUM SPECTRAL PERIOD
MOTREA( 32)= 0.7500000
MAXIMUM SPECTRAL PERIOD
MOTREA( 33)= 8.000000
LISTING PRINTOUT
MOTLOG( 4)= T
INFORMATIONS ABOUT SOLVER
MOTLOG( 5)= T
PERIOD SCANNING
MOTLOG( 3)= F
MONODIRECTIONAL RANDOM WAVE
MOTLOG( 1)= T
MULTIDIRECTIONAL RANDOM WAVE
MOTLOG( 2)= F
BREAKING
MOTLOG( 6)= T
FRICTION
MOTLOG( 7)= F
FRICTION FACTOR IMPOSED
MOTLOG( 12)= F
HYDRAULIC REGIME IMPOSED
MOTLOG( 8)= F
SKIN ROUGHNESS ONLY
MOTLOG( 9)= F
WAVE HEIGHTS SMOOTHING
MOTLOG( 10)= F
VALIDATION
MOTLOG( 11)= T
TITLE
12.4 Example of a user Fortran Fortran file 77
MOTCAR( 3)= ARTEMIS VALIDATION - TEST Battjes & Janssen 1978, RUN 15
VARIABLES FOR GRAPHIC PRINTOUTS
MOTCAR( 6)= HS,ZF,QB,SXX,SXY,SYY,FX,FY,T01,T02,TM,INC,K,C,CG
VARIABLES TO BE PRINTED
MOTCAR( 7)=
USER CRAY
MOTCAR( 4)=
PASSWORD
MOTCAR( 13)=
GEOMETRY FILE
MOTCAR( 1) = NGEO-READ-01;ARTGEO;OBLIG;BIN;LIT;SELAFIN-GEOM ; geo_bj78.slf
FORTRAN FILE
MOTCAR( 8) = INUTILE;artfort.f;FACUL;ASC;LIT;FORTRAN ; art_bj78-princi.f
STEERING FILE
MOTCAR( 9) = INUTILE;ARTCAS;OBLIG;ASC;LIT;CAS ;
BOUNDARY CONDITIONS FILE
MOTCAR( 10) = NLIM-READ-07;ARTCLI;OBLIG;ASC;LIT;CONLIM ; geo_bj78.cli
RESULTS FILE
MOTCAR( 11) = NRES-READWRITE-08;ARTRES;OBLIG;BIN;ECR;SELAFIN ; art_bj78-sca
RELEASE
MOTCAR( 12)= V6P2
LIBRARIES
MOTCAR( 14)= artemis,telemac,util,damo,bief,hp
CPU TIME
MOTCAR( 15)= 10
MEMORY SPACE
MOTCAR( 16)= 1500000W
BOTTOM TOPOGRAPHY FILE
MOTCAR( 17) = NFON-READ-23;ARTFON;FACUL;ASC;LIT;PARAL ;
BINARY DATA FILE 1
MOTCAR( 18) = NBI1-READ-24;ARTBI1;FACUL;BIN;LIT;SCAL ;
BINARY DATA FILE 2
MOTCAR( 19) = NBI2-READ-25;ARTBI2;FACUL;BIN;LIT;SCAL ;
FORMATTED DATA FILE 1
MOTCAR( 20) = NFO1-READ-26;ARTFO1;FACUL;ASC;LIT;SCAL ;
FORMATTED DATA FILE 2
MOTCAR( 21) = NFO2-READ-27;ARTFO2;FACUL;ASC;LIT;SCAL ;
BINARY RESULTS FILE
MOTCAR( 22) = NRBI-READWRITE-28;ARTRBI;FACUL;BIN;ECR;SCAL ;
FORMATTED RESULTS FILE
MOTCAR( 23) = NRBI-READWRITE-29;ARTRFO;FACUL;ASC;ECR;SCAL ;
PRIORITY
MOTCAR( 24)= JOUR
BIDON STRING
MOTCAR( 25)=
INITIAL CONDITIONS
MOTCAR( 5)= CONSTANT ELEVATION
GEOMETRY FILE BINARY
MOTCAR( 26)= STD
78 Chapter 12. Other
**********************************************
* LECDON: *
* AFTER CALLING DAMOCLES *
* CHECKING OF DATA READ *
* IN THE STEERING FILE *
**********************************************
NAME OF THE STUDY : ARTEMIS VALIDATION - TEST Battjes \& Janssen 1978, RUN 15
*****************************
* MEMORY ORGANIZATION *
*****************************
READGEO1: TITLE=
*************************************
* END OF MEMORY ORGANIZATION: *
*************************************
ON SORT DE LECLIM
INBIEF (BIEF): NOT A VECTOR MACHINE (ACCORDING TO YOUR DATA)
BOUNDARY 1 :
BEGINS AT BOUNDARY POINT: 1 , WITH GLOBAL NUMBER: 1
AND COORDINATES: -7.000000 0.3469447E-17
ENDS AT BOUNDARY POINT: 1 , WITH GLOBAL NUMBER: 1
AND COORDINATES: -7.000000 0.3469447E-17
==============================================================
PERIOD 1/ 5 : 1.1915 SECONDS
SUB-ITERATION NUMBER : 1
-----------------------------------------------
SUB-ITERATION NUMBER : 2
-----------------------------------------------
SUB-ITERATION NUMBER : 3
-----------------------------------------------
SUB-ITERATION NUMBER : 4
-----------------------------------------------
SUB-ITERATION NUMBER : 5
-----------------------------------------------
SUB-ITERATION NUMBER : 6
-----------------------------------------------
SUB-ITERATION NUMBER : 7
-----------------------------------------------
SUB-ITERATION NUMBER : 8
-----------------------------------------------
SUB-ITERATION NUMBER : 9
-----------------------------------------------
==============================================================
PERIOD 2/ 5 : 1.5961 SECONDS
SUB-ITERATION NUMBER : 1
-----------------------------------------------
SUB-ITERATION NUMBER : 2
-----------------------------------------------
SUB-ITERATION NUMBER : 3
-----------------------------------------------
SUB-ITERATION NUMBER : 4
-----------------------------------------------
SUB-ITERATION NUMBER : 5
-----------------------------------------------
SUB-ITERATION NUMBER : 6
-----------------------------------------------
SUB-ITERATION NUMBER : 7
-----------------------------------------------
SUB-ITERATION NUMBER : 8
-----------------------------------------------
==============================================================
PERIOD 3/ 5 : 1.7929 SECONDS
SUB-ITERATION NUMBER : 1
-----------------------------------------------
SUB-ITERATION NUMBER : 2
-----------------------------------------------
SUB-ITERATION NUMBER : 3
-----------------------------------------------
SUB-ITERATION NUMBER : 4
-----------------------------------------------
SUB-ITERATION NUMBER : 5
-----------------------------------------------
==============================================================
PERIOD 4/ 5 : 1.9148 SECONDS
SUB-ITERATION NUMBER : 1
-----------------------------------------------
SUB-ITERATION NUMBER : 2
-----------------------------------------------
SUB-ITERATION NUMBER : 3
-----------------------------------------------
SUB-ITERATION NUMBER : 4
-----------------------------------------------
==============================================================
PERIOD 5/ 5 : 2.1220 SECONDS
SUB-ITERATION NUMBER : 1
-----------------------------------------------
SUB-ITERATION NUMBER : 2
-----------------------------------------------
SUB-ITERATION NUMBER : 3
-----------------------------------------------
SUB-ITERATION NUMBER : 4
-----------------------------------------------
==============================================================
VALIDATION PROCEDURE
-------------------------------------------------------------
VARIABLE : BOTTOM M
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : T01 S
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : T02 S
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : TM S
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : QB
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : BOTTOM M
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : T01 S
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : T02 S
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : TM S
IS IN THE FILE BUT WILL NOT BE READ
VARIABLE : QB
IS IN THE FILE BUT WILL NOT BE READ
3) COMPARISON:
--------------
-------------------------------------------------------------
END OF VALIDATION REPORT
==============================================================
[18]
[1] AIRH AIPCN. Paramètres des états de mer. Supplément au bulletin, 52 (Janvier).
[2] J.A. BATTJES and J.P.F.M. JANSSEN. Energy loss and set-up due to breaking of random
waves. In Proc. 16th Int. Conf. Coastal Eng., pages 569–587., 1978.
[4] J.C.W. Berkhoff. Mathematical models for simple harmonic linear water waves. Wave
diffraction and refraction. s.l. : Delft Hydraulics Lab Publication. 163., 1976.
[5] N. Booij. Gravity waves on water with non-uniform depth and current. Delft (Netherlands)
: PhD thesis Technical University of Delft, 1981.
[6] C.E.R.C. Shore protection manual. volumes i and ii, 4th ed. s.l. : US Army Corps of
Engineers, 1984.
[7] P.G. Chamberlain and D. Porter. The modified mild-slope equation. 1995. pp. 393-407.
Vol. 291.
[8] C.N. Chandrasekera and K.F. Cheung. Extended linear refraction-diffraction model. Jour-
nal of Waterway, Port, Coastal and ocean engineering, 123:280–286, 1997.
[9] Dean R.G. Dally, W.R. and R.A. Dalrymple. A model for breaker decay on beaches. s.l. :
Engineering, 19th International Conference on Coastal, 1984.
[10] Groupe Qualité de Coordination Génie Logiciel. Manuel assurance qualité de la der
pour les logiciels scientifiques et techniques. s.l. : EDF Rapport HB-01/93/41/A. HB-
01/93/41/A.
[11] Kostense J.K. De Girolamo, P. and M.W. Dingemans. Inclusion of wave breaking in a
mild-slope model. Venise : International Conference on Computer Modelling in Ocean
Engineering, 1988.
[12] Kadiri M. Dhellemmes, F. and J. Rabeau. Prise en compte des facteurs de réflexion des
ouvrages dans les codes de calcul d’agitation dans les ports. s.l. : EDF Rapport HE-
42/89.03.
[13] Radder Dingemans and De. Vriend. Computation of driving forces of wave-induced cur-
rents. 1987. pp. 539-563.
92 Bibliography
[14] Y. Goda. Random seas and design of maritime structures. s.l. : Univ. Tokyo Press, 2000.
[16] K. Hasselman. Measurements of wind-wave growth and swell decay during the joint north
sea wave project (jonswap). pp. 7-95. Vol. A8.
[17] J.-M. Hervouet. Guide to programming in the telemac system version 5.4. s.l. : EDF
report HP-75/04/006/A.
[18] J-M. HERVOUET. Hydrodynamics of free surface flows. Modelling with the finite element
method. John Wiley & Sons, Ltd, Paris, 2007.
[19] I.G. Jonsson. Wave boundary layer and friction factors. s.l. : 10th International Confer-
ence on Coastal Engineering, 1966.
[20] J.K Kostense and et. al. Wave energy dissipation in arbitrarily shaped harbours of variable
depth. Taïpei : 20th International Conference on Coastal Engineering, 1986.
[21] Massel. Extended refraction-diffraction equation for surface waves. Coastal Eng., 19:
97–126, 1993.
[22] S.R. Massel. Ocean surface waves : their physics and prediction. 1996.
[23] C.C. MEI. The applied dynamics of ocean surface waves., page 740. John Wiley & Sons,
New-York, 1983.
[25] J.A. Putnam and J.W. Johnson. The dissipation of wave energy by bottom friction. 1949.
pp. 67-74.
[26] Aelbrecht D. Sauvaget, P. and P. Lang. Logiciel artemis - version 3.0 - dossier de valida-
tion. s.l. : EDF-LNH Rapport HE-42/97/003. HE-42/97/003.
[27] Lee C. Suh, K.D. and W.S. Park. Time-dependent equations for wave propagation on
rapidlyvarying topography. 1997. pp. 91-117. Vol. 32.
[28] L.C. Van Rijn. Principles of sediment transport in rivers, estuaries and coastal seas. s.l. :
Aqua Publications, 1993.