Documente Academic
Documente Profesional
Documente Cultură
1 Introduction
1
modelling of absorbent BCs is of paramount importance when we study the
ampli…cation problems of harbours in conditions close to a resonant mode,
as they provide the main dissipation mechanism, preventing the amplitude
being in…nity.
The Chapter is structured as follows:
(i) We will describe the 2nd order scalar wave equation, showing how
this type of equation model some systems of interest in engineering, such
as elastic waves in bars and the response of soil layers to seismic loading.
Concerning waves in coastal regions, we will consider the simple linear long
wave models, and the Berkho¤ model for mild slope bottoms, of which the
former is a particular case.
(ii) Next, we will study suitable loaded and absorbing boundary condi-
tions in 1D, and how can they be generalized to 2D problems.
(iii) From the mathematical problem which has been cast in the time
domain, will be obtain the formulation in the frequency domain, where we
will make the assumption that waves have a single frequency. We will study
the boundary conditions in the frequency domain, and how the problem can
be discretized using …nite element techniques.
(iv) Once the reader is familiar with the mathematical model, we will
present some examples where the theory can be applied to solve real coastal
and harbour engineering problems, such as ampli…cation of long waves in
harbours.
(v) Finally, we will describe a …nite element model (LWAVE), which can
be used to model this type of problems, proposing a series of examples,
exercises and projects which can be used for the interested reader.
@2u 2
2@ u
= c (1)
@t2 @x2
where c is the velocity of propagation and u the …eld variable selected.
2
If we seek elementary solutions of wave type, u = u0 exp(i x): exp( i!t),
after substituting in the PDE, we obtain
! 2 u0 = c 2 2
u0
from where we obtain the dispersion relation linking the wave number k ,
the wave speed c <and the angular frequency !
!= c (2)
3
dx
∂
σ A+
∂x
(σ A)dx
σA
@ @2u
A+ A+ ( A) dz = A dz 2 (5)
@z @t
where is the shear stress,
@ @2u
( A) = A 2
@z @t
The constitutive equation relating the shear stress and the shear de-
formation is
@u
=G =G (6)
@z
4
∂
τ A+ (τ A) dz
∂z
τA
z x
Sometimes, this simple equation has been used to approximate the re-
sponse of earth structures such as earth dams (…g.3)
5
dz
A (z)
variations, the tsunamis, and some special cases appearing in coastal regions
which cause oscillations and currents in harbours.
We will obtain here a simple version of the linear case, making a series of
simplifying assumptions.
We will consider the column of water sketched in Fig.4, where we have
chosen a reference system OXYZ where the plane OXY is that of the sea
medium water level (MWL) and choosing the Z axis as shown in the picture.
We will denote by H(x; y) to the water depth measured from the MWL to
the bottom, and (x; y) to the value of the free surface position, assuming
that the horizontal variations of both are small, being also small the ratio
=H.
We will write the balance of mass equation as:
@ @ @
(uh) (vh) = (9)
@x @y @t
where u and v are the depth averaged values of the velocities along X and
Y. We have obtained this equation assuming that the net balance of water
6
Z
Y
η
X
Hh
along X is
@ @
qx = u h dy u h dy + (uh) dx dy = (uh) dx dy
@x @x
and along Y
@ @
qy = vh dx v h dx + (vh) dx dy = (vh) dx dy
@y @y
Taking into account that the amount of water stored per unit time inside the
control volume shown in the …gure is
@
dx dy
@t
and making it equal to qx + qy , we obtain 9.
7
The balance of linear momentum equations along X and Y are:
@u @p
=
@t @x
@v @p
=
@t @y
where we have assumed that: (i) the convective terms are small, (ii) There
are not friction forces on the bottom, nor wind or atmospheric forces on the
free surface, and (iii) viscosity and turbulence e¤ects are negligible.
The pressure variation along depth is only caused by the slope of the free
surface:
@p @
= g
@x @x
@p @
= g
@y @y
Taking all these relations into account, we arrive to:
@u @
= g (10)
@t @x
@v @
= g
@t @y
@ @ @ @ @2
hg + hg = (11)
@x @x @y @y @t2
which can be written in a more compact manner as
@2
rT (hgr ) =
@t2
8
or
@2
div (hg grad ) = 2 (12)
@t
which is the p
2D linear long wave equation. We can see that the velocity of
the waves is gh:
One interesting case is that of channels of varying width b; where the 1D
equation is obtained as:
g @ @ @2
bh = (13)
b @x @x @t2
@2u 2
2@ u
= c
@t2 @x2
which has the characteristic lines 1;2 given by:
dx
= c (14)
dt
along which, the PDE can be written as:
@u @u
d cd =0
@t @x
or
@u @u
d c =0
@t @x
From here, we arrive to
@u @u
c = r1;2
@t @x
where we have introduced the magnitudes r1;2 which are constant along the
characteristics. These magnitudes are referred to as Riemann invariants. It
can be easily veri…ed that r1 = @u
@t
+ c @u
@x
corresponds to a wave propagating
9
along the OX; while r2 = @u @t
c @u
@x
describes a wave propagating along
+OX
Therefore, if we consider the 1D domain [0; L] ; a wave inciding from
outside the domain in the end x = L; is characterized by:
@u @u
r1 = +c
@t @x
while at the boundary x = 0 is
@u @u
r2 = c
@t @x
Consequently, if one wishes to express the condition that a boundary is ab-
sorbent, it must leave to cross it a wave travelling outwards. The conditions
to be applied at left and right boundaries, are respectively: r1 = 0 and r2 = 0
. If we introduce the unit normal vector pointing outwards n both conditions
can be written as:
@u @u
+c =0 (15)
@t @n
In the case we know the wave inciding in the domain, the condition will
be:
@u @u
+c = rI (16)
@t @n
where rI is the Riemann invariant characterizing the incident wave.
We will present next some examples which will help to clarify these con-
cepts.
Example 1
X=0 x=L
rI = 2! u0 sin( x !t)
11
A linear long wave of period T incides in the entrance of a rectangular
estuary of constant depth Hand length L;being re‡ected at its end. Assuming
the problem to be 1D, obtain the BCs to be applied at both ends. Verify
that the analytical solution u(x; t) = 2 u0 cos ( x) cos (!t) satis…es the BCs
.(Fig.3.1)
X O
Solution
We will choose the coordinate system shown in …g 3.1, with the origin at
the end of the estuary. The stationary wave is obtained by adding up the
incident and the re‡ected waves:
(x; t) = inc + ref l = 0 cos ( x + !t)+ 0 cos ( x !t) = 2 0 cos ( x) cos (!t)
13
n
P m
14
This equation can be transformed using a Fourier transform, into an elliptic
problem which does not depend of the variable time. We can obtain the same
result in a much simpler way assuming that both the forcing terms and the
response are harmonic functions of frequency !:
In this way, we will assume that is given by
rT c2 r + !2 = 0 (21)
x 2
=0 (22)
ic @ 1
+ = Rinc (28)
! cos @n i!
which can be written as
@ ! cos
i cos = Rinc (29)
@n c c
where
1 inc inc
R =2 (30)
i!
In above equation, inc is the complex amplitude of the incident wave.
From here, we arrive …nally to:
@ ! ! inc
i cos + 2i cos =0 (31)
@n c c
4.2 Discretization
The problem described by ( 21) with the BCs ( 22), ( 23), ( 27) and ( 31),
can be discretized using the Galerkin method. We will denote by b (x) the
…nite element approximation to (x) :
X
(x) b (x) = Ni (x) b i (32)
16
where Ni (x) are the shape functions and b i the approximated value at node
i:
We will denote by R ; R u ; R q ; R abs y R inc the residuals corresponding
to the PDE and its boundary conditions. The weighted residual equation is:
Z Z Z
Ni R d + " u Ni R u d + " q Ni R q d
u q
Z Z
+ "abs Ni R abs
d + "inc Ni R inc
d =0 (33)
abs inc
where "u ; "q ; "abs and "inc are scalar parameters which to be chosen later.
We will introduce the notation:
Z Z h i
I1 = Ni R d = Ni r T c 2 r b + ! 2 b d
Z Z
I2 = " u Ni R u d = " u Ni b d
u u
Z Z
@U
I3 = " q Ni R q d = " q Ni d
q q
@n
Z Z !
@b i! b
I4 = "abs Ni R abs
d = "abs Ni d
abs abs
@n c
Z Z !
c b + 2i c cos inc @b
I5 = "inc Ni R inc
d = "inc i cos Ni d
inc inc
! ! @n
We will apply the Gauss theorem to the term I1 in which results on:
Z Z Z
T 2 b 2b @b
I1 = (rNi ) c r d + Ni ! d + Ni c 2 d
u + q + abs + inc
@n
Boundary u
Z Z
b @b
" u Ni U d + Ni c 2 d
u u
@n
17
where we can neglect the …rst term, as nodal values coincide with the
prescribed values on it. It results:
Z
@b
Ni c 2 d
u
@n
Boundary q
Z Z
@b @b
" q Ni d + Ni c 2 d
q
@n q
@n
2
If we choose for "q the value c ; both terms cancel out (Natural BCs)
Boundary abs
Z ! Z
@b i! b @b
"abs Ni d + Ni c 2 d
abs
@n c abs @n
Boundary inc
Z ! Z
@b ! b + 2i ! cos inc @b
"inc i cos Ni d + Ni c 2 d
inc
@n c c inc @n
Z b Z
2@
Ni c d + i! c Ni b d
@n
Z u abs
Z
inc
i! c cos Ni b d 2i! c cos Ni d
inc inc
= 0
18
or, after rearranging:,
Z Z
(rNi )T c2 r b d Ni ! 2 b d
Z Z
i !c Ni b d i ! c cos Ni b d
abs inc
Z Z
@b inc
= Ni c 2 d 2i! c cos Ni d
u
@n inc
P
Substituting b = Nj (x) j we arrive to the discretized set of equations
where Z
Kij = (rNi )T c2 rNj d
Z
Mij = N i Nj d
Z Z
Rij = c N i Nj d + c cos Ni Nj d
abs inc
Z
inc
fi = 2i! c Ni cos d
inc
Z
@b
qi = Ni c 2 d
u
@n
Analyzing these equations, we can make the following remarks:
The equation is similar -if not equal- to that obtained for discrete mech-
anical systems having internal elastic forces characterized by K ,
with inertial terms ! 2 M, the system being excited by i! f + q and
presenting a viscous damping i!R:
19
In the case of the long waves modelled here, where no internal damping
has been considered, the damping term which appears in the equations
comes from the radiation of energy (waves) to the exterior of the do-
main trough both incidentR wave and absorbing
R boundaries. Indeed, the
damping term is Rij = abs c Ni Nj d + inc c Ni Nj d
It is important to see the di¤erence between boundaries where we
assume known the wave amplitude, where we will not introduce any
damping, and those where radiation creates the damping.
The mechanical system (harbours, inlets or other semi closed basins),
are excited by either incident waves or by prescribing the wave amp-
litude at them.
In case no incident wave nor absorbing wave conditions are present, the
response of the system will be in phase with the excitation, which can
prove wrong if the boundaries have sizes larger than the incident wave
length. A possibility is to take into account in the prescribed wave
height its phase.
20
(J)T (I)T
If we pre-multiply by to the …rst equality, and by to the second,
taking into account the symmetry of K and M, we arrive to:
(J)T (I) (I)T (J) (J)T (I)
K K = 0 = ! 2i ! 2j M
If the frequencies are di¤erent, the eigenvalues will be orthogonal with respect
to M
(J)T (I)
M =0
Taking into account that
(I)T (J) (I)T (J)
0= K = ! 2j M
we arrive to:
(I)T (J)
K =0
i.e., the eigenvalues will be orthogonal with respect to K too.
The theory we have presented here can be applied to other similar prob-
lems, as we will illustrate in the following example.
Example
A soil layer of depth H = 20 m:. lies on a rock base, along which the
shear wave generated by an earthquake propagates. The problem is governed
by the PDE
@2u G @2u
=
@t2 @z 2
and it will be discretized using two linear 1D …nite elements of length 10m:
Obtain:
(i) the mass matrix and the sti¤ness matrix
(ii) The modal shapes and the natural frequencies.
The soil will be assumed elastic, with a shear modulus G = 8:107 N=m2
and a density 2:103 Kg=m3 :
Solution p
The wave speed is c = G= = 200 m=sg; and the mass and sti¤ness
matrices are given by
Z Z
T 2 dNi dNj
Kij = (rNi ) c rNj d = c2 d
dz dz
Z
Mij = N i Nj d
21
3
e1 l = 10 m
H = 20 m
2
e2
from where
c2 1 1
K(1) =
L 1 1
and
L 2 1
M(1) =
6 1 2
The element matrices of element 2 are the same,
K(2) = K(1)
M(2) = M(1)
22
and, after assembling, we arrive to:
0 1
2 1 1 0
c @
K = 1 2 1 A
L
0 1 1
0 1
2 1 0
L@
M = 1 4 1 A
6
0 1 2
Eigenvalues (modal frequencies) and eigenvalues (modes) are obtained by
solving the following eigenvalue problem:
8 0 1 0 19
< c2 1 1 0
L
2 1 0 =
@ 1 2 1 A !2 @ 1 4 1 A U ^ =0
:L 6 ;
0 1 1 0 1 2
where we have to impose the condition that the relative movement of node
1 is zero, which results on:
c2 1 1 L 2 1 ^ =0
!2 U
L 1 2 6 1 4
Another alternative is to modify the term (3,3) of the mass matrix, making
it equal to a large value, for instance 106 .
The computed modal frequencies and mode shapes are:
! 1 = 16:114 U(1) = (0:8165; 0:5774; 0)T
! 2 = 56:294 U(2) = (0:7071; 0; 0:7071)T
To be compared against the analytical values:
! 1 = 15:71 U(1) = (0:8165; 0:5774; 0)T
! 2 = 47:12 U(2) = (0:7071; 0; 0:7071)T
K i!C ! 2 M ^
=F (36)
23
In the case of an undamped system, its response is
1
= K !2M ^
F
When the excitation frequency coincides with a modal frequency, the de-
terminant of K ! 2 M becomes zero, and the response amplitude is in…nity.
The system is said to be in resonance, with displacements proportional to
the modal shape.
The function
1(K)
H K (!) = K i!C ! 2 M
is referred to as the transfer function of the K th degree of freedom of the
system. It is used to relate the spectra of excitation Sexc (!) and of response
(K)
Sout (!); : whichcharacterize how the energy is distributed in the frequency
domain.
(K)
Sout (!) = H K (!):Sexc (!)
Therefore, it is possible to obtain the transfer function obtaining the
results for a su¢ cient number of frequencies.
Example 1
The soil layer sketched in …g.6 with H = 20 m:lies on a rock base, along
which shear seismic waves propagate. Obtain the propagation of the shear
waves along the soil layer in the case they are harmonic, with an amplitude at
the base of 1 mm, and a frequency f 1 Hz. As before, assume that the shear
modulus is G = 8:107 N=m2 and the density 2:103 Kg=m3 : The problem will
be discretized using two 1D …nite elements of equal length, L = H=2.
Solution p
The wave speed is c = G= = 200 m=sg:The discrete system is s
K !2M U = q
or
A:U = q
where the mass and sti¤ness matrices have been obtained in the preceding
Section. The force term is
Z
@ U^ @ U^
qi = Ni c 2 d = Ni c 2 jz=0
u
@n @n
24
The contribution of element (1) to the coe¢ cients matrix is:
c2 1 1 L 2 1
A(1) = !2
L 1 1 6 1 2
A(2) = A(1)
25
to be compared to the analytical values,
U1 = 10 3
3
U2 = 1:1756 10
3
U3 = 1:2361 10
U1 = 0:0
3
U2 = 0:1739 10
3
U3 = 0:2338 10
We leave to the reader the following examples:
Example 2
Repeat example 1, assuming now that the surface is of absorbing type
Example 3
Repeat example 1, assuming this time that what is known in the rock
base is the amplitude of the incident wave, which is 1 mm.
26
5 Berkho¤ (mild slope) equation
We will present here the mild slope theory, of which the Linear Long Wave
equation is a particular case when the assumption of shallow water applies,
i.e., when the product of the wave number and the undisturbed water depth
is small kH << 1:
The equation was proposed by Berkho¤ in 1972 [1], and further re…ned
by him in 1976 [2]. The interested reader can …nd in the text by Mei [16] a
detailed account of the theory.
Mild slope theory applies to situations whre the depth gradients are small:
The theory is linear, and, therefore, the amplitude of the wave A relative to
its wavelength should be small:
A= < 1 (38)
27
where:
is a potential function de…ned in the complex …eld
c is the velocity of propagation, c = !=k
cg is the group velocity, de…ned as
1 2kH
cg = c 1+ (40)
2 sinh 2kH
@2 c @ @
ccg (42)
@t2 cg @x @x
@ p @
d ccg d =0
@t @x
or
@ p @
d ccg =0
@t @x
28
From here, we arrive to
@ p @
ccg = r1;2
@t @x
where the magnitudes r1;2 ;referred to as Riemann invariants are constant
along the characteristics. As explained before for the linear long waves case,
p
r1 = @u
@t
+ ccg @u corresponds to a wave propagating along the OX; while
@u p @x @u
r2 = @t ccg @x describes a wave propagating along +OX
From here, we obtain the absorbing and incident wave boundary condi-
tions as:
@ p @
+ ccg =0 (44)
@t @x
and
@ p @
+ ccg = rI (45)
@t @x
The extension to 2D problems is immediate, as shown above, and results
on:
@ p @
+ ccg = rI (46)
@t @
and
@ p 1 @
+ ccg = rI (47)
@t cos @n
Coming back to the frequaency domain, we obtain the following BCs:
(a) Prescribed wave height (Dirichlet) in u
=0 (48)
@ i!
=0 (50)
@n cg
@ ! ! cg inc
i cos + ip 1+ cos =0 (51)
@n cg ccg c
29
5.2 Discretization
The problem described by the PDE 39 and the boundary conditions 48,
49, 50 and 51 can be discretized using standard Galerkin Finite Element
Techniques, as shown for the case of Linear Long Waves. As before, we will
denote by b (x) the …nite element approximation to (x) :
X
(x) b (x) = Ni (x) b i (52)
where Ni (x) are the shape functions and b i the approximated value at node
i:
The result has exactly the same structure than before,
K i! R ! 2 M b =f +q (53)
with:
Stifness matrix Z
Kij = (rNi )T ccg rNj d (54)
Mass matrix Z
cg
Mij = N i Nj d
c
Forcing vector
Z
cg p inc
fi = i! 1+ ccg Ni cos d
inc
c
Z
@b
qi = Ni ccg d
u
@n
30
References
[1] Berkho¤, J. C. W. (1972). Computation of Combined Refraction –Dif-
fraction, Proc. 13th International Coastal Engineering Conference, 741-
790.
[4] Dalrymple, R. A., Kirby, J. T., and Hwang, P. A. (1984). Wave Di¤rac-
tion due to areas of high energy dissipation, J. Waterway, Port, Coastal
and Ocean Eng., 110, 67-79.
[8] Forel, F. A, 1873, "Étude sur les seiches du lac Léman", Bull. Soc.
Vaudoise Se. nat. XII, p. 213 sq.
[9] Forel, F. A, 1875 : "Les Seiches - Vagues d’oscillation …xe des lacs",
Verhandlungen der Naturforschenden Gesellschaft, vol. 58, p.
157-168
[10] F.A.Forel, Notes on the “Seiches” of the Swiss Lakes: To the editors
of the Philosophical Magazine and Journal, Philosophical Magazine
Series 5, Volume 2, Issue 13, 1876
31
[11] A.T.Ippen, Estuary and coastline hydrodynamics, McGraw Hill
(1966).
[12] Ippen, A. T., & Goda, Y. (1963). Wave induced oscillations in harbors:
The solution for a rectangular harbor connected to the open-sea (No.
R63 36). MASSACHUSETTS INST OF TECH CAMBRIDGE HYDRO-
DYNAMICS LAB.
[16] Mei, Chiang C. (1994), The applied dynamics of ocean surface waves,
Advanced Series on Ocean Engineering 1, World Scienti…c, ISBN 9971-
5-0789-7, 740 pages.
32
Engineering , Barcelona, O.C.Zienkiewicz, B.Schre‡er, A.S.Arcilla and
M.Pastor (Eds.) , pp 139-148 Balkema (Rotterdam) 1991
33