Professional Documents
Culture Documents
This document corresponds to the third chapter of the Master Tesis THE EFFECT
OF CROSS-SHORE BEACH PROFILE ON RUNUP ELEVATION carried out by
Isabel Jaln Rojas and defended in June 2013 at the University of Cantabria.
Chapter 3
Model description
3.1
Introduction
The numerical model employed in this work is the open source model SWASH,
developed at the Delft University of Technology (Zijlema
et al.,
2011).
SWASH
is a time domain wave propagation model based on the non-linear shallow water
(NLSW) equations with non hydrostatic pressure. It simulates non-hydrostatic, free
surface and rotational ow in one and two dimensions.
computational algorithm allows a wide range of time and space scales of surface
waves and shallow water ows in complex and real environments.
The model predicts the transformation of surface waves from oshore to the beach
and reproduces: (1) the main features of surf and swash zone dynamics, such as
nonlinear shoaling, wave breaking, wave runup, wave-driven currents (2) the wave
propagation and agitation in ports and harbors; (3) the shallow water ows in coastal
waters.
The model has been validated with a series of analytical and laboratory test cases
(Zijlema
et al.,
et al.,
2011; Torres-Freyermuth
et al.,
2012; Rijnsdorp
et al.,
2012; Smit
is quite favorable, particularly considering that a wide range of wave conditions and
topographies were modeled. In this cahpter a brief description of the main features of
SWASH are presented. For more details about the numerical model, one can refer to
the papers of (Zijlema & Stelling, 2005; Zijlema
et al.,
3.2
Objective
The objective of this chapter is to give an overview of the numerical model SWASH,
describing its main features, advantages, limitations, mathematical description and
numerical scheme.
CHAPTER 3.
3.3
MODEL DESCRIPTION
Mathematical formulation
The model solves the two-dimensional depth-averaged non linear shallow water equations, derived from the incompressible Navier-Stockes equation, in non-conservative
form. However, for simplicity the one-dimensional governing equations, used in this
study, are presented here:
(h + )u
+
=0
t
x
u
u
1
+u
+g
+
t
x
x h +
(3.1)
u |u|
1
q
dz + cf
=
x
h+
h+
(h + )xx
x
(3.2)
t is the time, x the horizontal coordinate located at the sea water level, z the
vertical coordinate pointing upward, u the depth averaged velocity in x- direction,
is the free-surface elevation measured from still water level, h is the still water
depth, q is the non-hydrostatic pressure normalized by the density, g the gravitational
acceleration, cf the dimensionless bottom friction coecient and xx is the horizontal
where
turbulent stress term. The specity of this model is the addition of non-hydrostatic
term to the NSLW equations. The treatment of this term in Eq. 3.2 is presented
below.
Following Stelling & Zijlema (2003), the integral of the non-hydrostatic pressure
gradient in 3.2 can be expressed as
q
1
qb 1 ( h)
dz = (h + )
+ qb
x
2
x
2
x
(3.3)
h
where
qb is included,
is applied to improve the accuracy of the frequency dispersion for relatively short
waves, as demonstrated in (Stelling & Zijlema, 2003):
q|z= q|z=h
qb
1 q
1 q
=
=
+
h+
h+
2 z z= 2 z z=h
If
and
(3.4)
3.3, and neglecting the advective and diusive terms that are generally
s
2qb b
=
t
h
t
(3.5)
b = u
7
h
x
(3.6)
CHAPTER 3.
MODEL DESCRIPTION
u s b
+
=0
x
h+
(3.7)
On the other hand, the turbulent stresses are related to the horizontal eddy viscosity,
t (x, y, t)
xx = 2t
where the eddy viscosity
u
x
(3.8)
(h + )u
+
=0
t
x
u
1 qb 1 qb ( h)
u
u |u|
+u
+g
+
+
+ cf
=
t
x
x 2 x
2h
x
h+
1
u
(h + )t 2
h + x
x
b = u
3.4
The
h
x
(3.9)
(3.10)
(3.11)
s
2qb b
=
t
h
t
(3.12)
u s b
+
=0
x
h+
(3.13)
Main features
computational algorithm
(in space and time) nite dierence method for staggered grids that conserves both
mass and momentum. In the vertical, the computational domain can be divided into
a xed number of terrain-following layers. Zijlema & Stelling (2005) detail the space
discretization in the vertical direction, carried out by a nite volume. The second
order leapfrog scheme (Hansen, 1956) is used for time integration of continuity and
momentum equations, without altering the wave amplitude and getting a accurate
numerical dispersion.
Local mass continuity is enforced by solving a Poisson equation for the pressure
correction which steers the non-hydrostatic pressure towards a state at which all
mass residuals in the active grid cells become negligibly small, reecting that local
mass is conserved (Zijlema, 2012).
CHAPTER 3.
MODEL DESCRIPTION
applies: (1) a compact Keller-box dierence scheme for the approximation of vertical
gradients of the non-hydrostatic pressure, (2) the multi-layer mode described above.
For an accurate representation of the
for simulating swash motion, SWASH uses a simple and numerically stable wet-dry
approach (Stelling & Duinmeijer, 2003) which ensures non-negative water depths at
every time step by applying a rst order upwind scheme and the following condition
(for a one-dimensional case):
|u| 4t
1.
4x
3.5
(3.14)
Numerical scheme
xi+1/2 xi+1/2 = i4x, i = 0, ...I
4x
, h, qb, t, wb
and
ws
are located at i.
For the time integration an explicit leapfrog scheme in conjunction with a second
order explicit timestep for advection, a rst order explicit time step for the viscosity
term and a rst order implicit time step for the non-hydrostatic part, is used (Zijlema
et al., 2011).
The explicit time stepping is carried out by solving the discretization of the momentum (3.10) before discretization of mass continuity (3.13). Both discretizations
are presented below:
n+1/2
n1/2
n+1
n+1
n
qb,i+1
qb,i
i+1
in
+
+
4t
4x
24x
n+1
n+1/2 n1/2
n
n
qX
u
b,i+1/2
i+1 i hi+1 + hi
i+1/2 ui+1/2
X n
+ cf X n =
24x
hi+1/2
hi+1/2
n1/2
n1/2
n1/2
n1/2
t,i+1 hni+1 ui+3/2 ui+1/2 t,i hni ui+1/2 ui1/2
X n
hi+1/2 4x2
ui+1/2 ui+1/2
n1/2
n1/2
CHAPTER 3.
MODEL DESCRIPTION
n+1/2
n+1/2
n
n
h
in+1 in
i+1/2 ui+1/2 hi1/2 ui1/2
+
=0
4t
4x
where
and
i+1/2
h
i + min(di , di+1 ),
i+1 + min(di , di+1 ),
=
(3.15)
if ui+1/2 > 0
if ui+1/2 < 0
if ui+1/2 = 0
et al.
(3.16)
(2011).
4t
4x2
2t
(3.17)
smoothed by calculating the maximum of the eddy viscosity at each time step, as
4x2
t = min t ,
24t
3.6
.
(3.18)
Boundary conditions
The 1D model has two boundaries, one at the end of the ume and one at the start of
the ume. At the start of the ume, SWASH 1.10 allows to generate regular waves, by
means of Fourier series or time series, and rst order irregular waves by means of 1D
spectrum specifying a parametric shape (Pierson, Moskowitz, Jonswap or TMA). In
addition, SWASH allows to introduce regular and irregular waves externally created
by means of time series of free surface, as in the case of this work. A weakly reective
condition (Blayo & Debreu, 2005) is adopted to simulate entering waves without some
reection at this boundary:
r
ub =
where
ub
g
(2b )
h+
(3.19)
the incident wave, and the perpendicularity between incoming/outgoing waves and
the boundary is assumed.
At the end of the ume, we can consider two types of onshore conditions: (1) the
moving shoreline, in the case of ooding or runup computation; (2) an absorbing
condition, in the case where onshore boundary is located in the pre-breaking zone.
Usually, the Sommerfeld's radiation condition is employed
u p u
+ gh
=0
t
x
10
(3.20)
CHAPTER 3.
MODEL DESCRIPTION
which allows the (long) waves to cross the outow boundary without reections
(Zijlema
et al.,
layer technique.
3.7
Wave breaking
A simple treatment of wave braking, which does not require any additional calibration, is carried out by considering the similarity between breaking waves and bores.
A hydrostatic pressure distribution is imposed under the wave front (Smit
2013).
et al.,
In order to initiate the wave breaking process, steep bore-like wave fronts
need to be tracked. When the steepness exceeds a fraction of the speed of the wave
front, as follows,
> gh
t
(3.21)
the non-hydrostatic pressure is then neglected and remains so at the front of the
breaker. The parameter
of
A value
3.8
Bottom friction
Bottom friction may aect waves close to the shoreline when waves travel over a
relatively long distance, at an order of several kilometers.
specied in the model by reading from an input le or from a constant value. For
both depth-averaged calculations and multi-layer mode, bottom friction values are
given by constant, Chezy or Manning values. Zijlema
et al.
(2011) recommends a
cf =
n2 g
h1/3
n
(3.22)
due to the better representation of wave dynamics in the surf zone than other friction
formulations.
In some cases, some inaccuracies may occur in the vertical structure of the velocity.
Thus an alternative calculation of friction coecient, obtained integrating the log-law
velocity prole over depth, may be used:
cf =
where
= 0.4is
ln (h/z0 ) 1
11
2
z0 = ks /30
(3.23)
CHAPTER 3.
3.9
MODEL DESCRIPTION
Range of applicability
and ecient code to estimate wave and ow quantities to an appropriate level of
accuracy.
3.10
Conclusions
kh =3
waves The Courant number is the criterion to control and adjust dynamically the
time step and a stable wet-dry approach ensures non-negative water depths at every
time step. The wave breaking and the rate of energy dissipation are parametrized by
means of the maximum local surface steepness. The model allows to generate regular
and rst order irregular wave intrinsically or to introduce at the wave marker free
surface time series created externally.
12
Bibliography
Blayo, E., & Debreu, L. 2005.
the point of view.
Ocean Model,
9(231-252).
Hansen, W. 1956. Theorie zur Errechnung des Wasserstandes und der Strmingen in Randmeeren nebst.
Anwendungen,
8.
Cambridge
2012.
Non-
Coastal En-
Coastal Engineering,
76,
Stelling, Guus, & Zijlema, Marcel. 2003. An accurate and ecient nitedierence algorithm for non-hydrostatic free-surface ow with application to
wave propagation. Int. J. Numer. Meth. Fluids, 43, 123.
Natural
Coastal Engineering.
Zijlema, Marcel, & Stelling, Guus. 2005. Further experiences with computing non-hydrostatic.
Coastal Engineering,
48, 169197.
55, 780790.
SWASH: An
operational public domain code for simulating wave elds and rapidly. Coastal
Engineering, 58, 9921012.
10