# Numerical simulation of tidal flow in Danang Bay Based on non-hydrostatic shallow water equations

- Thi Thai Le
^{1}Email authorView ORCID ID profile, - Dang Hieu Phung
^{2}and - Van Cuc Tran
^{3}

**8**:1

https://doi.org/10.1186/s40736-015-0020-6

© Le et al. 2016

**Received: **11 February 2015

**Accepted: **28 December 2015

**Published: **10 March 2016

## Abstract

This paper presents a numerical simulation of the tidal flow in Danang Bay (Vietnam) based on the non-hydrostatic shallow water equations. First, to test the simulation capability of the non-hydrostatic model, we have made a test simulation comparing it with the experiment by *Beji and Battjes 1993, Coastal Engineering 23, 1–16*. Simulation results for this case are compared with both the experimental data and calculations obtained from the traditional hydrostatic model. It is shown that the non-hydrostatic model is better than the hydrostatic model when the seabed topography variation is complex. The usefulness of the non-hydrostatic model is father shown by successfully simulating the tidal flow of Danang Bay.

### Keywords

Non-hydrostatic shallow water equations Tidal flow Numerical method## Introduction

The effect of non-hydrostatic pressure on the shallow-water model has been a topic of interest for the shallow-water to simulate long waves such as tides, storm surges, and tsunamis. The finite difference method is widely used in the solution schemes of the depth-integrated governing equations. Researchers have made an effort for improving numerical schemes and boundary treatments to model long-wave propagation, transformation, and run-up.

Stelling and Duinmeijer [14] provided a numerical technique that in essence is based upon the classical staggered grids and implicit numerical integration schemes, but that can be applied to problems that include rapidly varied flows as well. They imposed energy conservation to strong flow contractions and momentum conservation to mild flow contractions and expansions. Their approach approximates flow discontinuities as bores or hydraulic jumps as in a finite volume model, using a Riemann solver [4, 5, 22]. Horrillo et al. [6] showed some of the implications of dispersion effects in tsunami propagation and run-up through the processes as follow: first, a brief description of the model formulation and their numerical schemes is presented. Therefore, several numerical experiments are described with initial conditions for free surface deformations. Then, model results are compared against each other. Finally, observations and model results are analyzed to draw conclusion on the spatial and temporal distributions of the free surface.

Stelling and Zijlema [15] employed the Keller-box method that takes into account the effect of non-hydrostatic pressure of free-surface flows with a very small number of vertical grid points to approximate the vertical gradient of the pressure arising in the Reynolds-averaged NavierStokes equations. In both the depth-integrated and multi-layer formulations, they decompose the pressure into hydrostatic and non-hydrostatic components following Casulli [2] and apply the Keller-box scheme [7] to the vertical gradient approximation of the non-hydrostatic pressure. Then they proposed a semi-implicit finite difference scheme, which accounts for dispersion through a non-hydrostatic pressure term. Walters [18] adapted this non-hydrostatic approach to a finite element method. His numerical results showed that both depth-integrated models estimate the dispersive waves slightly better than the classical Boussinesq equations by Peregrine [13]. Zijlema and Stelling [23] recently extended their multi-layer model without using of empirical relations to energy dissipation by using a compact finite difference scheme. Their accurate computation of frequency dispersion saves vertical resolution and hence is capable of predicting the onset of wave breaking. A novel wet-dry algorithm is applied for a proper handling of moving shoreline. Mass and momentum are strictly conserved at discrete level while the method allow for energy dissipation only in the case of wave breaking and provide comparable results with those of extended Boussinesq models [3, 10, 12]. Mader [11] proposed a unique upwind scheme that extrapolates the surface elevation instead of the flow depth to determine explicitly the flux in the continuity equation of a nonlinear shallow-water model. Kowalik et al. [8] implemented this upwind flux approximation and showed remarkable stability in simulating global tsunami propagation and run-up. It exhibits high-order accuracy for the spatial derivatives. The boundary condition at the shore line is controlled by the total depth and can be set either to runup or to the zero normal velocity. Yamazaki et al. [19] have proposed a depth-integrated non-hydrostatic model which is capable of handling flow discontinuities associated with wave breaking and hydraulic jumps. Their model builds on an explicit scheme of the nonlinear shallow-water equations and makes possible a direct implementation of the upwind flux approximation of Kowalik et al. [8] in order to improve model stability for discontinuous flow. The improved model includes an empirical coefficient *α*(*α*≥0). In their treatment, the empirical coefficient *α* related to the depth-integrated non-hydrostatic pressure is approximated by 0.5.

Wei and Jia [21] provided a two-dimensional finite element method based on the FEM platform of CCHE2D for simulating dynamic propagation of weakly dispersive waves. A physically bounded upwind scheme for discretizing the advection term is developed, and the quasi second-order differential operators of this scheme result in no oscillation and little numerical diffusion.

The purpose of this paper is to present a formulation of a new general non-hydrostatic shallow-water equations with disposable parameter related to integration of the pressure in the depth. Section 2 provides the equations augmented with parameter *α*(*α*≥0) by applying the Leibniz rule for the non-hydrostatic pressure component together with the boundary conditions. The parameter *α* is determined by the vertical average of *f*(*z*) with *α*=0 corresponding to the hydrostatic approximation. The numerical model is also presented in Section 2 through three main steps as follows: The first is an explicit method for hydrostatic component of the pressure, and the second is a formulation of the Poisson equation for implicitly solving the non-hydrostatic pressure. Then the third is their combination. Section 3 presents the results of the application of our non-hydrostatic model to simulate tidal flow. Section 3 makes a comparison between the non-hydrostatic model and the traditional hydrostatic model for laboratory experiment of sinusoidal wave propagation over a submerged barrier in a wave channel. In particular, our model is applied to simulate actual tidal flows in Danang Bay (Vietnam), successfully obtaining good agreement with measured data. Section 4 presents discussion in a wider viewpoint and proposes further development with other conditions to simulation in various other problems, such as: tides, storm surges and tsunamis, etc.

## Derivation of the model for shallow water flow with non-hydrostatic pressure

### 2.1 The governing equations

where (*u, v, w*) are the velocity components in the horizontal (x and y-) directions and in the vertical (z-) direction, respectively. *t* is time, *ρ* is the density of water, *ν* is the kinetic viscosity coefficient; *P* is the pressure, and g is the gravitational acceleration.

where, \(\hat q\left ({x,y,z,t} \right)\) is defined as the non-hydrostatic pressure.

*z*=−

*h*) to the surface (

*z*=

*ζ*). We introduce the definition of the vertical average of any quantity

*f*as

*ζ*is the surface elevation height,

*h*is the still-water depth and

*D*=

*ζ*+

*h*is the total water depth from the bottom to the surface. We obtain

The term \(\int \limits _{- h}^{\zeta } {{\mathrm {w}}\frac {{\partial u}}{{\partial z}}dz}\) is very small and can be neglected. For wave motion, we assume that the fluid velocity is small, so the viscosity term \(\nu \int \limits _{- h}^{\zeta } {\left ({\frac {{{\partial ^{2}}u}}{{\partial {x^{2}}}} + \frac {{{\partial ^{2}}u}}{{\partial {y^{2}}}}} \right)dz}\) is small relative to the advection term and can therefore be neglected too.

*f*

_{−h }=

*f*(−

*h*)=1. Then, by applying the Leibniz rule, we have

*α*by \(\alpha = \frac {1}{D}\int \limits _{- h}^{\zeta } {fdz}\). We see that

*α*is an empirical coefficient related to the depth-integrated non-hydrostatic pressure and can be expressed as the vertical average of

*f*(

*z*). Equation (12) then become

*f*(

*z*) is taken to be a linear function, the value of

*α*is 1/2. The non-hydrostatic pressure at the bottom has been written simply as

*q*now.

where *U* and *V* are the vertical averages of *u* and *v* and the last term originates from the friction force at the bottom. Here, *C*
_{
z
} is a constant called the Chezy coefficient.

*y*direction gives

There are generalization of Yamazaki et al. (2008) to introduce a disposal parameter *α*.

For propagation of long wave of large scale, the viscous term is negligible and so the terms \(\nu \int \limits _{- h}^{\zeta } {\left ({\frac {{{\partial ^{2}}{\mathrm {w}}}}{{\partial {x^{2}}}} + \frac {{{\partial ^{2}}{\mathrm {w}}}}{{\partial {y^{2}}}} + \frac {{{\partial ^{2}}{\mathrm {w}}}}{{\partial {z^{2}}}}} \right)dz}\) is neglected.

*q*is again the non-hydrostatic pressure at the bottom as in the momentum equations in the horizontal directions

*x*and

*y*has a link with \(\hat q\) through (10). We recall that \(\hat q{|_{z = \zeta }} = 0\) since the total pressure vanishes at the free surface. The third momentum equation, in the

*z*direction, after integrating results in

*z*, become

### 2.2 Boundary conditions

**i.**Free surface: The wind stress and the surface tension are not considered. Only the atmospheric pressure is imposed on the free surface level.

**ii.**Bottom: The vertical velocity at the bottom is calculated from the kinematic boundary condition (21).

**iii.**We consider source waves in the form

**iv.**Neuman condition is imposed at the end of a river where the flow enters the sea.

**v.**The impermeable boundary enforces

along the coast or at the wall.

### 2.3 Numerical model

*U*

_{0},

*V*

_{0},W

_{0},

*ζ*

_{0},

*q*

_{0}, physical constants and relative conditions. The outputs are the horizontal velocity components

*U*and

*V*, the vertical velocity

*W*, the surface elevation

*ζ*, and the non-hydrostatic pressure component

*q*, where the water depth

*h*is defined. Figure 1 shows the spatial grid for computation.

*m*denotes the time, subsript

*p*and

*n*describe a positive flow and a negative flow respectively, and \(\bar V_{{x_{p}}}^{m}, \bar V_{{x_{n}}}^{m}, \bar U_{{y_{p}}}^{m},\) and \(\bar U_{{y_{n}}}^{m}\) which were defined in the model of Yamazaki et al. [19] are advective speeds in the respective

*y*- and

*x*- momentum equations. The value of the depth-averaged velocity components

*U*and

*V*used in the momentum equations in the x and y directions are respectively defined by [19]

In the second step, we will present a formulation where the Poisson equation is implicitly solved for the non-hydrostatic pressure. The final velocity is updated with the non-hydrostatic pressure.

## Results of the application of the non-hydrostatic model to simulate flow

### 3.1 Wave propagation over a submerged barrier in a wave channel.

*37.7 m*long,

*0.8 m*wide and

*0.75 m*high; the still water height

*H*is

*0.4 m*, a

*0.3 m*high trapezoidal barrier with an offshore slope of

*1:20*and a shoreward slope of

*1:10*is set between

*6.0*and

*17.0 m*in the flume and a

*1:25*plane beach with coarse material. At the left side is an open-flow area modeled by imposing a radiation boundary condition [17]. The incident sinusoidal waves of wave number

*k*have an amplitude of

*1.0 m*and a wave period of

*2.02 s*, corresponding to the water depth parameter

*k*

*H*=0.67 and are generated at the left side, based on the linear wave theory. We use mesh sizes

*Δ*

*x*=

*Δ*

*y*=1.25

*c*

*m*, time interval

*Δ*

*t*=0.01

*s*and the Courant constant

*C*

*r*=0.5. Here, the Courant constant reflects the portion of a cell that a solute will traverse by advection in one time step and the stability of the numerical model is affected by the value of Courant parameter. When advection dominates dispersion, designing a model with a small Courant number will decrease oscillation, improve accuracy and decrease numerical dispersion. The value of Courant parameter changes with the method used to solve the discretised equation, especially depending on whether the finite-difference method for time derivative or the time advancement is explicit or implicit.

*G*

_{3}to

*G*

_{8}marked with the numbere in the above in Fig. 2. The secondary waves are generated due to the effects of the submerged barrier in the wave channel.

### 3.2 Numerical simulation of tidal flow in Da Nang Bay, Vietnam

*E*, latitude 16.226°

*N*), Cua Vinh (longitude 108.217°

*E*, latitude 16.177°

*N*and Giua Vinh (longitude 108.18°

*E*, latitude 16.138°

*N*) as in Fig. 4. The coastal length of Danang Bay is 92 km and is discretized with

*Δ*

*x*=

*Δ*

*y*=150

*m*,

*Δ*

*t*=1

*h*, with the maximum Courant number

*C*

*r*=0.5, and a friction coefficient

*C*

_{ f }=0.002. The total calculation time is one month (from May 1, 2014 to May 31, 2014). And the tidal source term used is

where *A*
_{
i
} is the amplitude of the *i*−*t*
*h* wave, is its angular frequency and *g*
_{
i
} its phase. The tidal parameters are interpolated from the global parameter table.

## Conclusions

This paper has presented a formulation of a new general shallow-water equations augmented by non-hydrostatic pressure effect having parameter *α* related to the depth-integrated non-hydrostatic pressure. The total pressure is decomposed into the hydrostatic and the non-hydrostatic components. The resulting equations are integrated in several steps. In the numerical model, the explicit method is applied to the hydrostatic component of the pressure, and the formulation of the Poisson equation for implicitly solving the non-hydrostatic pressure. This paper has demonstrated the versatility and robustness of the effect of non-hydrostatic pressure for simulating tidal flow. The simulation results were compared with the experimental data for wave propagation in a flume. The tradional hydrostatic-pressure model and our non-hydrostatic pressure model were both compared with eight experimental data sets. The results of our non-hydrostatic model exhibits agreement with the experimental data and is better than the traditional hydrostatic model. A numerical model was derived and successfully applied to simulate the tidal flow in Danang Bay, Vietnam. The simulation results for this last case were also compared with measurement data to show the applicability to the tidal problem.

In the model of Yamazaki et al. [19], the non-hydrostatic component of the pressure has been incororated into the average value of the pressure component at the bottom and at the surface. In our model, this component has been represented by introducing some function (10) and the parameter *α*. This shew that the calculation results are better than the model of Yamazaki et al. and it is possible for application widely in other problems of the flow.

In the future, the effect of the rotation of the earth and the density variation of water with depth will tackled for simulating in propagation of the waves. The consideration of the effect of these components is necessary and is expected to improve the accurately in approximation. We also propose further development of other possible conditions applied to simulation in other problems, such as tides, storm surges and tsunamis, etc.

## Declarations

### Acknowledgements

This study was supported by Ministry of Natural Resources and Environment of the Socialist Republic of Vietnam under Grant TNMT.2016.05.11. We are grateful to Hanoi University of Natural Resources and Environment for supporting us during the implementation of this study.

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

## References

- Briggs, MJ, Synolakis, CE, Harkins, GS, Green, DR: Laboratory experiments of tsunami runup on a circular island. Pure Appl. Geophys. 144, 569–593 (1995).View ArticleGoogle Scholar
- Casulli, V: A semi-implicit finite difference method for non-hydrostatic free surface flows. Int. J. Numer. Methods Fluids. 30(4), 425–440 (1999).View ArticleMATHGoogle Scholar
- Chen, Q, Kirby, JT, Dalrymple, RA, Kennedy, AB, Chawla, A: Boussinesq modeling of wave transformation, breaking, and runup. II: 2D. J. Waterw. Port Coast. Ocean Eng. 126(1), 48–56 (2000).Google Scholar
- Dodd, N: Numerical model of wave run-up, overtopping, and regeneration. J. Waterw. Port Coast. Ocean Eng. 124(2), 73–81 (1998).View ArticleGoogle Scholar
- Horrillo, J, Kowalik, Z, Shigihara, Y: Wave Dispersion Study in the Indian Ocean-Tsunami of December 26, 2004. Marine Geodesy. 29(1), 149–166 (2006).View ArticleGoogle Scholar
- Imamura, F: Review of tsunami simulation with a finite difference method. In: Yeh, H, Liu, P, Synolakis C (eds.)
*Long-wave Runup Models*, pp. 25–42. World Scientific, Singapore (1996).Google Scholar - Keller, HB: A new difference scheme for parabolic problems. In: Hubbard, B (ed.)
*Numerical Solutions of Partial Differential Equations, II*, pp. 327–350. Academic Press, New York (1971).Google Scholar - Kowalik, Z, Knight, W, Logan, T, Whitmore, P: Numerical modeling of the global tsunami: Indonesian tsunami of 26 December 2004. Sci. Tsunami Hazards. 23(1), 40–56 (2005).Google Scholar
- Kowalik, Z, Murty, TS: Numerical Modeling of Ocean Dynamics. World Scientific, Singapore (1993).View ArticleGoogle Scholar
- Lynett, PJ, Wu, TR, Liu, PLF: Modeling wave runup with depth-integrated equations. Coast. Eng. 46(2), 89–107 (2002).View ArticleGoogle Scholar
- Mader, CL: Numerical Modeling of Water Waves. CRC Press, New York (1993).Google Scholar
- Madsen, PA, Srensen, OR, Schaffer, HA: Surf zone dynamics simulated by a Boussinesq type model. Part I. Model description and cross-shore motion of regular waves. Coast. Eng. 32(4), 255–287 (1997).View ArticleGoogle Scholar
- Peregrine, DH: Long waves on a beach. J. Fluid Mech. 27(4), 815–827 (1967).MathSciNetView ArticleMATHGoogle Scholar
- Stelling, GS, Duinmeijer, SPA: A staggered conservative scheme for every Froude number in rapidly varied shallow water flows. Int. J. Numer. Methods Fluids. 43(12), 1329–1354 (2003).MathSciNetView ArticleMATHGoogle Scholar
- Stelling, GS, Zijlema, M: An accurate and efficient finite-difference algorithm for non-hydrostatic free-surface flow with application to wave propagation. Int. J. Numer. Methods Fluids. 43(1), 1–23 (2003).MathSciNetView ArticleMATHGoogle Scholar
- Synolakis, CE: The runup of solitary waves. J. Fluid Mech. 185, 523–545 (1987).MathSciNetView ArticleMATHGoogle Scholar
- Van der, Vorst, HA: Bi-CGSTAB: a fast and smoothly converging variant of Bi-CG for the solution of nonsymmetric linear systems. SIAM J. Sci. Stat. Comput. 13(2), 631–644 (1992).Google Scholar
- Walters, RA: A semi-implicit finite element model for non-hydrostatic (dispersive) surface waves. Int. J. Numer. Methods Fluids. 49(7), 721–737 (2005).MathSciNetView ArticleMATHGoogle Scholar
- Yamazaki, Y, Kowalik, Z, Cheung, KF: Depth-integrated, non-hydrostatic model for wave breaking and run-up. Int. J. Numer. Methods Fluids. 61(5), 473–497 (2008).MathSciNetView ArticleMATHGoogle Scholar
- Yamazaki, Y, Wei, Y, Cheung, KF, Curtis, GD: Forecast of tsunamis generated at the JapanKurilKamchatka source region. Nat. Hazards. 38(3), 411–435 (2006).View ArticleGoogle Scholar
- Zangping, Wei, Yafei, Jia: A depth-integrated non-hydrostatic finite element model for wave propagation. Int. J. Numer. Model. Fluids. 73, 976–1000 (2013).MathSciNetView ArticleGoogle Scholar
- Zhou, JG, Causon, DM, Mingham, CG, Ingram, DM: The surface gradient method for the treatment of source terms in the shallow-water equations. J. Comput. Phys. 168(1), 1–25 (2001).MathSciNetView ArticleMATHGoogle Scholar
- Zijlema, M, Stelling, GS: Efficient computation of surf zone waves using the nonlinear shallow water equations with non-hydrostatic pressure. Coast. Eng. 55(10), 780–790 (2008).View ArticleGoogle Scholar