Telemac Artimis
Telemac Artimis
Introduction
1.Introduction
The ARTEMIS code (Agitation and Refraction with TElemac on a MIld Slope) solves the Elliptic mild
slope equation (1) 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 ARTEMIS
concerns the wave agitation in harbours or small bays. ARTEMIS is able to take into account the
following phenomena :
However, the actual version of the software is unable to take into account the following phenomena :
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.
ARTEMIS was developed by the National Hydraulics and Environnement Laboratory (Laboratoire
National d’Hydraulique et d'Environnement - LNHE) of the Research and Studies Directorate of the
French Electricity Board (EDF-R&D). The program complies with EDF-DER’s Quality Assurance
procedures for scientific and technical programs (2). This sets out rules for developing and checking
product quality at all stages. In particular, a program covered by Quality Assurance procedures is
accompanied by a Validation File that describes a set of test cases (see reference (3)). 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 ARTEMIS software is part of a complete set of computational software and their associated
preand post-processors, the TELEMAC system. This offers all the modules required for constructing a
model and using it to simulate 2D and 3D hydrodynamic phenomena (wave and current), water
● The MATISSE software designed, using the bathymetric and/or topographic data, to generate a mesh
consisting of triangular elements,
● The STBTEL software designed to retrieve the file from a mesh generator, possibly interpolate 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. STBTEL also conducts a number of mesh coherence
checks,
● The TELEMAC-2D software designed to perform the hydrodynamic simulation in two horizontal space
dimensions. In addition, TELEMAC-2D can simulate the transport of dissolved tracers,
● 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 ARTEMIS 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,
● The RUBENS software designed to graphically process the results of the various simulation modes,
● The SPARTACUS-2D software designed to simulate the two-dimensional laminar and turbulent flows
through the SPH method.
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.
When he uses a simulation module from the TELEMAC SYSTEM, the user may have to program
specific functions which are not provided in the code’s standard release. In particular, that is made
through a number of so-called « user » subroutines the sources of which are supplied within the
distribution. The procedure to be carried out in that case comprises the steps of :
● Recovering the standard version of the user subroutine(s) as supplied in the distribution and copying
it into the current directory.
● Amending the subroutine(s) according to the model to be constructed.
● Concatenating the whole set of subroutines into a single Fortran file which will be compiled during
the ARTEMIS 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 subroutine. Adding the command
USE BIEF may also be necessary in order to reach the structure in the BIEF library.
2. Theoretical Aspects
This report is the theoretical note of the scientific software ARTEMIS, 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 ARTEMIS, 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 various 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 condition), free wave-output, full or partial reflections. A
specific methodology, presented in the report, has been developed in ARTEMIS to take into account
directional spreading and frequency distribution of the wave energy (random waves). Finally, we
describe the numerical 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.
Waves deserve their name! Defining a “wave” does call for special care when its specific physical
variables are to be determined. A wave is defined by the deformation of the free surface between two
successive occurrences either of a zero up-crossing or a zero down-crossing including a crest and a
trough. Depending on which one of the above conventions is adopted, the distribution of wave heights,
as defined by the differences between the elevations of the wave crests and troughs, may be different.
The period of a wave can be defined using the symbol T.
The characteristics of the sea state (height, period…) can be known from the free surface deformation
signal z(x,y,t) as a function of horizontal position (x,y) and time t,, following two kinds of approaches,
namely statistical and spectral approaches.
Once symbols are chosen for defining the wave height and period, all the recorded heights Hi and
periods of N waves can be computed from signal z(x,y,t). The following parameters are then defined :
: height average in the upper (1/n)th percentile of the wave height population
It was found in deep water that the likeliness of a wave height H° exceeding a height H was properly
approximated by such a rule as:
That integral can easily be computed: its value is b2. The Rayleigh's law is then finally written as
follows:
The following relations are given by that wave height distribution law:
Note
These results are obtained by computing the heights as follows: let be such that Prob (
) = 1/n. Immediately, we have:
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. Other sea state parameters can also be set either through the
statistical analysis or from each individual wave.
The initial step is the signal of free surface deformation in time over the horizontal domain
being investigated. After submitting the signal to a generalized Fourier transform combining
time and space dependence of the free surface elevation, we can write, after Massel (5) :
denotes a propagation direction with a positive counterclockwise orientation with respect to an axis
Ox
is the average level of the free surface, with an assumed zero value all over the domain being
investigated.
The directional spectrum of wave energy at every point (x,y) in the domain is related to
by the following formal relation :
wherein
: especially for n = 0, the variance m0 of the free surface difference of level is defined
Thus, is related to by :
http://wiki.opentelemac.org/ Printed on 2020/04/02 08:45
2020/04/02 08:45 7/53 1.Introduction
: Mean wave number, computed from the dispersion relationship using the mean
pulsation
As in the statistical analysis, other parameters can be computed from the energy spectrum. If the
height distribution complies with a Rayleigh's law, then the statistical approach and the spectral
approach may correspond to each other:
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.
All the wave propagation theories rely on the Newtonian fluid dynamics model as described by the
Navier-Stokes' equations. These general equations can more or less be simplified according to the
extent of complexity as kept by the modelling hypothesis. We will consider how to set the Berkhoff's
model (1) or in other word the “mid slope equation”, describing the monochromatic wave refraction
and diffraction both by slowly spatially-changing bottoms and by obstacles. Such processes as partial
or total reflection, wave inflow or outflow, are governed by boundary conditions to be specified
hereinafter.
The fluid movement is located in an Oxyz Cartesian co-ordinate system whose axis z coincides with
the ascending vertical. The origin of axis Oz is taken at the free surface at rest. The free surface
elevation and the bottom depth are denoted z and -h, respectively (h being the positive or negative
water depth at rest). H is the wave height, L is its wavelength.
Once the above assumptions and definitions are available, the momentum conservation and
continuity equations can be simplified as follows :
using the conventional notations, namely p for pressure, for water density and g for gravity.
Equation (8.1) expresses the conservation of mass and Equation (8.2) 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 :
Equation (9.1) expresses the free surface imperviousness and equation (9.2) expresses the bottom
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 :
Through assumptions about the wave and bottom characteristics, these equations will be linearized
and will then be solved more easily.
2.2.2.2 Linearization
● Gentle steepness :
● Small wave height against depth :
The solution and (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 :
In order to derive Equation (10.2), the Bernoulli's equation at the surface (Equation (8.2)) 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 ) :
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 remains unchanged when
a term that is only time-dependent is added to the potential.
By deleting z between equations (10.2) and (10.3), one finally comes to:
The linear theory is derived from equations (11), 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 . will
then be searched for as follows:
A complex notation is used for computing the unknown functions. The return to physical quantities
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.
In case of an infinite, horizontal flat bottom, then f only depends on z and f only depends on x or y
(e.g. x). The solution to the problem is in the following form:
Note
so-called evanescent modes, which can play a significant part near the obstacles, are solutions in the
form :
which can be added to that generalpurpose solution. Parameters pn are then solutions to the
following transcendent equation:
In order to solve the problem resulting from linearized equations (11) in case of a spatially-varying
bottom, a further assumption will be made :
wherein 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 remains lower by an order of
magnitude than the slope as defined by the ratio (refer to the diagram below) :
Through that additional assumption, Berkhoff (1), develops the solution of equations by looking for
such a solution as:
This is a product of three terms. The first one is related to function f. 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 order in e3 and is called a reduced
potential. The third term means that time-periodic solutions are being searched for.
wherein:
● and denote the gradient and divergence operators, respectively, as restricted to the horizontal
co-ordinates
The unknown is an a priori complex number. Velocities are expressed from the theory as achieved
for the case of a horizontal bottom:
\tag{19}
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 (17). 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.
Since version 6.1, ARTEMIS can take into account effects of a rapidly varying topography in the
mildslope equation. Second order terms from gradient and curvature are integrated in the mild-slope
equation. The refraction-diffraction equation becomes:
The first term represents gradient effects and the second deals with curvature of the bottom. It is
possible for the user to only take into account gradient effects. One can also choose to take into
account only curvature effects.
Several expressions have been proposed for E1 and E2 functions, by different authors: Massel,
Chamberlain and Porter, Chandrasekera and Cheung, Suh Lee and Park.In ARTEMIS, Chamberlain and
Porter expressions have been considered.
Once the complex reduced potential .fi is computed from Equation (17), it becomes
possible to return to total potential and to derive all the wave characteristics from it :
● Wave height
● Wave phase
Wave phase , define in interval , is the argument in . It is obtained first by computing the
variable :
otherwise
● Surface velocity
Surface velocity is expressed as the total gradient of the potential function, i.e. :
● 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.
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 obtained for phase verifying:
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:
and the square of velocity module is computed for these values of 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 .
● Wave energy
Wave energy per unit horizontal free surface is expressed by the following formula:
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 is a solution to Equation (17), then A. is also a
solution . 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 height to such an extent that it will become inconsistent with the variable water depth. In
order to improve the domain validity and to broaden the range of applications of ARTEMIS, 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.
In order to take into account the dissipative effects resulting from bathymetric breaking and bottom
friction, Booij and De Girolamo et al. suggest modifying the mild-slope Equation by introducing an
additional complex term:
If the reduced potential is broken down in the form (A being the potential amplitude and
being the potential phase), the previous equation leads, through a distinction between real part and
imaginary part, to an eikonal equation that is verified by the phase :
and to a balance equation between the energy flow and the dissipation, in the following form :
Several models are provided for computing the dissipation coefficient m, depending on whether wave
energy is dissipated through breaking and/or bottom friction.
Surf-breaking occurs when the velocity of a water particle at the free surface exceeds the wave
propagation velocity. That criterion may result in the determination of a critical breaking height Hm
(Miche's criterion) :
A critical wave height is related to each water depth h. Coefficient takes the bottom slope m
into account. The following dependence can be suggested :
Two theoretical approaches are proposed and incorporated into ARTEMIS for assessing the
waveinduced dissipation of energy
● The former, as proposed by Dally et al., 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 :
wherein x denotes the energy propagation direction. Index “s” corresponds to a stable area at the
end of a length ls beyond the surf-breaking area. That length is a priori not known. The earlier authors
proposed to write:
For a given water depth h, the more sloping is the bottom, the higher is K, and thus the lower is .
Then the authors suggest the following approximations:
Dally et al. (15) recommend the following values for K and G according to the bottom slope
● The latter approach, as proposed by Battjes & Janssen, is based upon the analogy between the
surf-breaking area and the hydraulic jump.
Wherein
Q is the flow rate through the jump per unit width of channel. From the jump conjugation relation, we
have:
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 :
Both models as described in this section are incorporated into ARTEMIS software.
When steady waves are processed using ARTEMIS, either abovementioned formulation for expressing
the dissipation coefficient can be selected. That coefficient has to be incorporated into the mild-slope
equation.
In the case of random waves, the Battjes & Janssen's formulation alone can be applied. Due to
surfbreaking, the distribution of wave heights does no longer follow such a Rayleigh's probability
distribution as that described in §2.1.2. Battjes & Janssen (16) suggest that the Rayleigh's distribution
should be truncated from critical height . The probability that the wave height should be equal
to critical height is given by the following implicit relation:
The rate of breaking is implicitly computed in ARTEMIS through an iterative procedure. Peak
frequency is chosen as the spectrum representative frequency. In addition, it is assumed that
. Dissipation is then expressed as:
Waves exert on the bottom a shear stress that can be expressed in accordance with the following
quadratic law (Jonsson) :
wherein 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:
● For computing that integral, Kostense et al. linearised the expression of bottom friction
by introducing the dissipation coefficient m, the water depth h and the surface orbital velocity :
From these two expressions of , they derived a formulation of the dissipation coefficient for friction
:
wherein Ue is an effective velocity representing the flow and being given by the following ration :
Accurately computing the value of is a heavy task. We have incorporated an approximate, quick
● Putnam & Johnson simplified the computation of dissipation by assuming that the nearbottom
orbital velocity Ub was suitably described by the results of Stokes' waves on a flat bottom (see in §
2.2.2.3). An expression is easily derived for dissipation coefficient m :
Both above formulations are incorporated into ARTEMIS; the user chooses either formulation. The
friction coefficient is still to be determined. In the case of sandy bottoms, a number of authors
proposed assessment methods for the computation of . We have adopted for ARTEMIS the Van
Rijn's approach 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 over the computational domain can be
specified, whether a space-uniform or space-variable value is chosen.
The typical values of are : or so for a smooth concrete bottom ; for a gravel bottom ;
for stones, rocks.
Note
● Dissipation through bottom friction is low as compared with breaking-induced dissipation and is
exerted over long distances. Breaking-related dissipation is greater, but spatially localized.
● Both for breaking and bottom friction, coefficient m depends on height H, and then on potential f
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 § 2.7.
In order to be mathematically and physically well formulated, the problem to be solved should take
into account the prescribed conditions at the boundaries of the domain being investigated. Physically,
there can be two kinds of boundaries :
● 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 wavesflow in or
out.
These kinds of boundary conditions should mathematically be expressed in the computation unknown,
i.e. the reduced potential .
The instance when waves come against a wall and have a main direction of propagation which makes
In front of that wall, incident waves and reflected waves, corresponding to potentials and
are superposed on each other. The reflection process is modelled through a relationship between
potentials and . Let the wall reflection coefficient, which is a priori complex, be called .
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
or also, taking as the incident wave a traveling monodirectional wave in the form :
Thus, three data, namely R, and are required for applying condition (48), which couples the real
and imaginary components, respectively and and prevents the equation from being differently
solved in fr and . If R is equal to 1 and is equal to (n being an integer), it can be found that
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 .
The angle 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 . That option, however, was not adopted in ARTEMIS 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 to be specified
At the seaward-facing boundaries, the boundary condition should provide for the free outflow of
waves from the harbour and the inflow of waves from the open sea. At such a boundary, the potential
is obtained by superposing a known potential (resulting from the incident waves and the waves
reflected by the shore out of the computational domain) on an unknown potential (caused by the
waves coming from the harbour): .
The potential is user-specified by means of keywords and programming in the BORH subroutine
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 compared, as required, with
such data as energy height ( ) or rms height ( ) from random wave experiments. Angle is to
be specified as much as possible. In most cases is a priori unknown. It is then recommended either
to set = 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 .
Once again, the angle 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 is specified, stray reflections
contaminating the computational domain from the boundary will predictably be noticed.
An actual wave exhibits a random feature when its energy is determined neither by a single wave
period or frequency nor by a single direction of propagation (see in § 2.1). It may be interpreted as the
superposition of several monodirectional waves with different periods and random lags in relation to
each other. The energy of an actual wave is the sum of monodirectional wave energies making it up.
The waves whose frequencies range from f to f+df and whose directions of propagation range from
et , contribute to the total energy (to within the term ) up to wherein
denotes the spectral density of variance as already introduced in § 2.1.3).
There are various formulations for expressing the spectral density of variance according to the wave
features. The most commonly used formulation was developed from the JONSWAP campaign in the
North sea. It assumes that the energy spectrum can be written in the form of the following product:
● is a real number usually ranging from 1 to 7. The spectrum is called a Pierson- Moskowitz
spectrum when the value is 1. Otherwise, it is called a JONSWAP spectrum. This parameter
determines the spectral frequency spreading.
● is a weight coefficient that depends on :
and indicate the boundary propagation directions of the waves being studied.
For ARTEMIS, a random mono/multi-directional wave computation will consist in discretizing the axes
of the incident wave energy spectrum into a sequence of values for frequencies and for
directions (1 ≤ i ≤ imax and 1 ≤ j ≤ imax), then making a steady wave computation for each of these
pairs by solving the mild-slope equation associated with the prescribed boundary conditions, and
lastly recombining the results for providing the random wave features.
We have adopted a frequency and direction discretization of spectra which divides each of the spectra
into equal energy bands. Thus, and are constant for any i and j. The maximum
values of i and j, i.e. imax and jmax, are set by the user through keywords. The various steady wave
computations are then made with the same incident energy, the amount of which is
. It is noteworthy that the constants being used in the expressions of J and G (
, , …) are purposeless for computing and .
Frequency denotes the i band in the J(f) spectrum. It is computed so that divides the i band into a
couple of bands also of the same area. Practically, when it is desired to cut the spectrum into imax
bands of the same area, it is actually cut into 2imax bands while systematically recording the
frequencies at the limits of these bands. The values are obtained taking the 2nd, 4th… recorded
frequencies. The same procedure is applied to the directional spectrum .
For each pair (fi, qj), the model provides a significant wave height (1 ≤ k ≤ imax jmax) at each
node of the grid. Wave defined by at a node of the grid contributes to the total energy up to
wherein , k and denote the spectral energy height and significant height, respectively, as
computed for waves defined by .
The total incident energy si , wherein 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), is identical for all the computations. The total energy at a point in the
domain is:
The resulting energy height He is derived there from at each node of the grid:
The significant wave height can be derived from the energy height through the relation
mentioned in § 2.1.3:
That quantity is retrieved by ARTEMIS in the case of random waves. Assuming that the distribution of
wave heights follows a Rayleigh’s law, the spectral and statistical coefficients, i.e on the
one hand and on the other hand, respectively, are equivalent to one another.
Both in monochromatic and random modes, ARTEMIS enables to compute the radiation stresses Sxx,
Sxy and Syy
In regular mode (monochromatic wave), the energetic wave height He is the wave height directly
given by ARTEMIS. In random mode, this wave height He is roughly proportional to the significant
wave height: . Other parameters involved in the previous general equation 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:
Remark 1: Simulation of the wave-driven currents with the TELEMAC-2D software is performed
through an external coupling between ARTEMIS 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
http://wiki.opentelemac.org/ Printed on 2020/04/02 08:45
2020/04/02 08:45 27/53 1.Introduction
computational domain, or by (ii) undesired reflections due to boundary conditions problems. These
undesired reflections may greatly alter the computation of the wave forcing 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
keyword:
The differential system to be solved, the unknown of which is the reduced potential , comprises the
amended mild-slope equation as well as equations expressing the boundary conditions at each
boundary of the computational domain.
and being real functions depending on x and y, which are the real and imaginary components of
, respectively. That function f will hereinafter be termed the potential by misuse of language, though
multiplying it by is required for getting the total potential .
The mild-slope equation is elliptical and can only be solved through the finite element method. The
differential system (57) to be solved is then transformed through a variational formulation of the
problem.
if is the computational domain, its boundary and if denotes a basic function of class C1 on W,
the variational formulation of the mild-slope equation is expressed as :
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:
wherein A, B, E and F are real numbers determined by the kinds of boundary conditions as specified in
all the parts of .
Linear basic functions are chosen on triangular elements. These functions are really Y functions of
class . and are resolved on these basic functions .
NPOIN is the total number of points in the grid. The 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:
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:
and are a couple of NPOIN-dimensioned vectors comprising and components. CV1 and CV2
are a couple of vectors that are null everywhere but at the edge of the grid. The NPTFRdimensioned
edge vectors have the following general terms:
If the diagonal term in the AM matrix is positive, a suitable preconditioning will become applicable to
the system, what will make the resolution much faster. Regardless of the edge term, has
approximately the sign of ( denoting the mean size of the meshes). As long as
, i.e. as long as , 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.
The AM and BM matrices as well as the CV1 and CV2 members are computed by the subroutines of
the finite element library BIEF. These matrices are computed for one element at a time. Only their
diagonals are put together. For assisting computations, we have taken the product CCg with P1
discretization on each of the triangles. The coefficients A, B, E and F are taken as constants on each of
the edge segments (P0 discretization).
C and Cg are computed from the wave number k as obtained through the Airy’s dispersion relation:
The dissipation process is taken into account by a new term in the BM matrix. That term is related to
a dissipation coefficient which is explained in § 2.3 depending on whether either or both of breaking
and bottom friction are considered. The difficulty lies in that always depends on H, i.e. on the
unknown quantity in the problem. Thus, the linear system cannot be solved directly. The solution
that was adopted is a prediction-correction scheme. A first assessment of the coefficient m is made
throughout the computational domain. The linear system is then solved though one of the methods as
proposed in the BIEF library of the TELEMAC system
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 in § 8).
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 , , and ,
however, those values which were previously computed for the pair are used for initializing
the unknowns and the dissipation coefficient.
Practically, it appears that the number of iterations implied by the resolver convergence is
substantially 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 ARTEMIS is globally proportional to the square of the number of nodes. The
proportionality coefficient depends, among others, on the king of computational domain 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 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.
With the same idea, the variational formulation becomes for a basic function (C1):
2.7.4.2 Matrix
Matrix AM, expressed in 2.7.3.1 is modified. BM doesn't change and the second member (CV1 and
CV2) is unchanged too.
The user include the keyword «RAPIDLY VARYING TOPOGRAPHY » in the case file. This keyword can
take the value 0, 1, 2 or 3.Default value is 0.
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: FCTE1.f, for gradient terms:
We note that
The dictionary file and steering file are read by a utility called DAMOCLES,
which is included in ARTEMIS. 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
FUDAAPREPRO). They are briefly described below and an example is given in
Appendix 8. The rules of syntax are the following:
● When writing logical values, the following are acceptable: 1 OUI YES .TRUE.
TRUE VRAI and 0 NON NO .FALSE. FALSE FAUX.
● Character strings including spaces or reserved symbols (”/”,”:”, ”=”, ”&”)
must be placed between apostrophes ('). The value of a character keyword
can contain up to 144 characters. 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'
● 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 § 3.2.5).
● Command &LIS prints the list of keywords. This will be displayed at the
beginning of the printout listing (see § 3.2.5).
● Command &IND prints a detailed list of keywords. This will be displayed at
the beginning of the printout listing (see § 3.2.5).
● Command &STO stops the program and the computation is interrupted.
● The name of this file is given by using the keyword: STEERING FILE.
3.2.2
This file contains all the information concerning the mesh, i.e. the number of
mesh points (NPOIN variable), the number of elements (NELEM variable), the
number of nodes per element (NDP variable), arrays X and Y containing the
coordinates of all the nodes and array IKLE containing the table of
connectivities.
This file can also contain bottom topography information at each mesh point,
if such bottom topography has been interpolated during the running of
module STBTEL (for more information, see the User’s Manual for this
software).
ARTEMIS stores information on the geometry at the start of the results file.
Because of this, the computation results file can be used as a geometry file
if a new simulation is to be run on the same mesh.
The name of this file is given with the keyword: GEOMETRY FILE In order to
reach a good accuracy, it is necessary to build a mesh using at least 3 points
by wave length. In addition, during the numerical treatments, a mesh with 7
points by wave length leads to matrices with non zero diagonals that allows
the use of preconditioning in order to improve the computation speed.
When using random waves, a good method is to build a mesh using 7 points
by wave length for the peak period. When considering the lowest period, the
preconditioning will be probably not usable, but the refinement of the mesh
will not be under the criteria of 3 points by wave length.
The file name is given with the keyword: BOUNDARY CONDITIONS FILE.
This is the file in which ARTEMIS stores information during the computation.
It is normally in Selafin format. It contains first of all information on the mesh
geometry, then the names of the stored variables. It then contains the
period for each computed period and the values of the different variables for
all mesh points.
● 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
3.2.5
● 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 PERIOD = 2
● LISTING PRINTOUT: this cancels the listing printout if the value is NO (the
listing printout 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.
The name of this file is managed directly by the ARTEMIS start-up procedure.
In general, it has the name of the steering file associated with the suffix
.sortie.
The FORTRAN file contains all the ARTEMIS subroutines modified by the user
and those that have been specially developed for the computation.
This file is compiled and linked so as to generate the executable program for
the simulation.
The name of this file is given with the keyword: FORTRAN FILE.
● One or two binary data files, specified by the keywords BINARY DATA FILE
1 and BINARY 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
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.
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.
This file contains all information on the keywords (name in French, name in
English, default values, type, documentation on keyword, information
required by FUDAA-PREPRO). This file can be consulted by the user but must
under no circumstances be modified.
● Library artemis: this library contains the subroutines that are specific to
the ARTEMIS computation code .
● 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 simulation 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
The binary of a file is the method used by the computer for storing the
information physically on the disk (in contrast to storage in ASCII form, which
is used by the formatted files). The file binary parameters may be defined
using a number of keywords. ARTEMIS recognises three types of binary: the
standard binary of the computer on which the user is working, the IBM
binary enabling a file created on an IBM computer to be re-read, and the
IEEE binary that can be used, for example, to generate a file on a Cray
computer that can be read by a workstation (provided that the appropriate
subroutines are included when ARTEMIS is installed on the computer). The
following keywords can be used:
In either case, the default value specified in the dictionary file is ‘STD’
(default binary of the computer that is being used).
4. 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.
In all cases, the nature of the initial conditions is fixed by the key word
INITIAL CONDITIONS. This may have any of the following four values:
It is important to stress that the initial state must not contain any dry area in
the computational domain. If this is the case, ARTEMIS displays an error
message on the control printout.
The subroutine CONDIH initialises successively the depth of water, the wave
number, the phase velocity and the group velocity. The part of the
subroutine concerning depth initialisation is divided into two zones, the first
corresponding to “simple” initial conditions (defined by key word) and the
second to “particular” conditions.
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 ARTEMIS.
5. Boundary conditions
Like all modules of the TELEMAC system, ARTEMIS uses a local numbering
system for boundary points. This is done as follows: starting from the lower
left boundary point of the model (X + Y minimum), the entire outer boundary
is numbered trigonometrically, and then the islands are numbered clockwise.
The boundary conditions (wall, liquid boundary, etc.) apply to segments, but
the user assigns the type of condition to boundary points. To apply a
condition to a segment, it is necessary to configure the point at the start of
the segment. It should be noted that this convention is valid for all the
simulation modules of the TELEMAC system (see also the example given in §
6.2).
The type of boundary condition (solid or liquid boundary) is read from the
boundary conditions file. In contrast, the type of waves that are to be
processed (for example, mono-directional or multidirectional) and the
possible assigned values (if there is one, e.g. the height of the incident
waves) can be given in the file of parameters or in the Fortran file
(programming of the subroutine BORH for example).
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.
The other values are not taken into account in ARTEMIS, and are ignored
during the calculation.
The example below shows a file of boundary conditions for a schematic case.
It must be stressed that in the case of a solid, the user must estimate
beforehand and as well as possible the angle of incident wave (or of main
incident wave constituent), even if this value is calculated by ARTEMIS.
All the characteristics of the wall are determined in the subroutine BORH.
The values of the following parameters are specified for each solid boundary
(identified by the number of the boundary nodes):
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 I = 1,20
RP(I) = 1.D0
ENDDO
DO I = 32,40
RP(I) = 0.5D0
TETAP(I) = 30.D0
ALFAP(I) = 45.D0
ENDDO
5.4 Processing of liquid
An incident wave type boundary allows waves arriving from offshore to enter
and waves from inside the domain to exit freely. From the theoretical
standpoint, the potential at such a boundary is a known potential (incident
waves) superimposed on an unknown potential (exiting waves).
From the point of view of the user, it is therefore necessary to provide the
characteristics of the incident wave and the value of the angle TETAP.
The characteristics of the incident wave are performed through the variables
http://wiki.opentelemac.org/ Printed on 2020/04/02 08:45
2020/04/02 08:45 43/53 1.Introduction
From the point of view of the user, it is therefore necessary to provide the
characteristics of the incident wave and the value of the angle TETAP.
Note that this option has been validated in regular waves only. Considering
the actual configuration of ARTEMIS, It should work in non-regular waves
also, but no test has been performed yet.
This type of boundary allows waves to leave freely. However, this type of
exit is only free in ARTEMIS in the case of waves attacking the boundary at
an angle TETAP. It is therefore necessary for the user to estimate the angle
of attack of exiting waves beforehand.
From version V6P2 of ARTEMIS, the user needs to define the phase of the
incident wave by himself. This operation was done automatically by the code
until V6P1. The reasons for changing are the following:
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.
In that case, the phase at point I can be calculated using the following
formula (users need to choose a reference point A):
6. Physical Parameters
If the user only wishes to specify a single incident wave direction (or when
there is only one incident wave boundary), the data can be supplied more
easily with the key word DIRECTION OF WAVE PROPAGATION In this case,
this value is assigned to all the boundaries concerned. It should also be
noted that the wave height is fixed by default at 1m for all boundaries.
The random character of the waves is taken into account by activating the
key words MONODIRECTIONAL 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 g
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.
This option is activated with the logical key word PERIOD SCANNING. The
user must also provide the boundaries of the scanning range using the real
key words BEGINNING PERIOD FOR PERIOD SCANNING and ENDING PERIOD
FOR PERIOD SCANNING. The scanning step is specified with the key word
STEP FOR PERIOD SCANNING. All these values are fixed at zero by default.
In this case, ARTEMIS performs a calculation for each of the periods specified.
The results are stored in the results file (with period sampling if the key word
GRAPHIC PRINTOUT PERIOD is used).
ARTEMIS offers two formulations for regular wave breaking: that of Battjes
and Janssen, and that of Dally. Only the first is available for random waves.
This phenomenon is taken into account by activating the logical key word
BREAKING (default value NO). The formulation to be used (cf. § 3.4.1) is then
specified with the key word BREAKING LAW, which may have the value 1
(Battjes and Janssen) or 2 (Dally) (default value 1). Lastly, the value of the
coefficient gs in the breaking height criterion (cf. § 3.4.1.1) is given with the
key word GAMMAS (default value 0.88), which is not to be confused with the
key word GAMMA in the energy spectrum formula (cf. § 3.6).
In the case of Dally’s formula, the coefficients G and K are provided with the
key words GDALLY (default value 0.4) and KDALLY (default value 0.1). In the
case of Battjes and Janssen’s formula, the coefficient a is provided with the
key word ALPHA (cf. § 3.4.1.2).
The key word FRICTION (default value NO) is used to take this into account
in the calculation.
● 1 : laminar regime
● 2 : smooth turbulent regime
● 3 : rough turbulent regime
● 4 : transient regime
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
http://wiki.opentelemac.org/ Printed on 2020/04/02 08:45
2020/04/02 08:45 49/53 1.Introduction
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.
● Key words FLUID SPECIFIC MASS (default value 1000 kg/m3) and
SEDIMENT SPECIFIC WEIGHT (default value 2650 kg/m3) are used to supply
the water and sand densities for rough turbulent or transient hydraulic
regimes.
Once the friction factor has been determined, it is possible to calculate the
value of the dissipation term associated with the bottom friction.
ARTEMIS can calculate the dissipation term by one of two different formulae,
that of Kostense, Meijer and Dingemans, or that of Putnam and Johnson.
The formula is chosen (cf. § 3.4.2) with the key word BOTTOM FRICTION LAW,
which can have the following values:
Since version 6.1, user can take into account second order bottom effects.
To use this option, the keyword « RAPIDLY VARYING TOPOGRAPHY » must
appear in the case file.
The equation solved and the model choice is given in 1.3.1.3. The reader can
find in 1.4.1 des informations détaillées sur l'implémentation et l'utilisation
de cette option.
The keyword « RAPIDLY VARYING TOPOGRAPHY » can take the values 0,1,2
or 3.
Defaut value : 0.
The key word GRAVITY ACCELERATION (default value 9.81) is used to specify
the acceleration due to gravity in .
7. Other parameters
The general parameters for the calculation are indicated only in the
parameters file (see Appendix 4).
The title of the calculation is specified with the key word TITLE.
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.
8. Numerical parameters
8.1 Solver
Firstly, the integer key word SOLVER is used to choose the solver for the
system of equations processed by ARTEMIS. The possible values are:
● 1 : Conjugated gradient,
● 2 : Conjugated residual,
● 3 : Conjugated gradient on normal equation,
● 4 : Minimum error,
● 6 : Conjugated gradient of CGSTAB type,
● 7 : GMRES
● 8 : Direct solver
When option 7 is used, the size of the Krylov space is specified with the key
word SOLVER OPTION.
8.2 Accuracy
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 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 precision actually attained.
8.3 Preconditioning
● 0 : no preconditioning,
● 2 : diagonal preconditioning (default value),
● 3 : diagonal preconditioning with condensed matrix,
● 5 : diagonal preconditioning in absolute values,
● 7 : Crout’s preconditioning per element.
where
The user may need to reduce the value of the relaxation coefficient,
particularly in the case of regular waves.
ARTEMIS offers the possibility of modifying the bottom at the start of the
calculation, using the subroutine CORFON. This subroutine is used to modify
the value of the variable ZF at each mesh point. To do so, the user can
change a number of variables, such as, for example, the point coordinates (X
and Y), the area of the elements, the table of connectivities, etc.
ARTEMIS also offers the possibility of modifying the coordinates of the mesh
points. In this way it is possible to change, for example, the scale (transition
from a scale model to real size), make a rotation or lateral displacement, etc.
This is done by using the subroutine CORRXY, which is called up at the start
of the calculation. By default, this subroutine is empty and shows an
example of programming concerning a change of scale and origin, in the
form of comment lines.
ARTEMIS allows the user to create new variables. The names of these new
variables must be declared in the subroutine NOMVAR in the form of a
mnemonic of no more than 8 characters.
Secondly, the user must calculate the value of these new variables in the
subroutine UTIMP. To do this, he can use the tables PRIVE (dimension
(number of points, NPRIV)) to transmit information between the various
user-accessible subroutines. When these tables are being used, it is
necessary to give their number (NPRIV value) in the main program.
From:
http://wiki.opentelemac.org/ - open TELEMAC-MASCARET
Permanent link:
http://wiki.opentelemac.org/doku.php?id=user_manual_artemis