9
HAL Id: hal-01664481 https://hal.archives-ouvertes.fr/hal-01664481 Submitted on 14 Dec 2017 HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés. Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene, M.-O. Bristeau, E. Godlewski, A. Mangeney, C Parés, J. Sainte-Marie To cite this version: N. Aissiouene, M.-O. Bristeau, E. Godlewski, A. Mangeney, C Parés, et al.. Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem. FVCA 8, Jun 2017, Lille, France. pp.219-226. hal-01664481

Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

  • Upload
    others

  • View
    43

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

HAL Id: hal-01664481https://hal.archives-ouvertes.fr/hal-01664481

Submitted on 14 Dec 2017

HAL is a multi-disciplinary open accessarchive for the deposit and dissemination of sci-entific research documents, whether they are pub-lished or not. The documents may come fromteaching and research institutions in France orabroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, estdestinée au dépôt et à la diffusion de documentsscientifiques de niveau recherche, publiés ou non,émanant des établissements d’enseignement et derecherche français ou étrangers, des laboratoirespublics ou privés.

Application of a combined finite element -finite volumemethod to a 2D non-hydrostatic shallow water problem

N. Aissiouene, M.-O. Bristeau, E. Godlewski, A. Mangeney, C Parés, J.Sainte-Marie

To cite this version:N. Aissiouene, M.-O. Bristeau, E. Godlewski, A. Mangeney, C Parés, et al.. Application of a combinedfinite element -finite volume method to a 2D non-hydrostatic shallow water problem. FVCA 8, Jun2017, Lille, France. pp.219-226. hal-01664481

Page 2: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

Application of a combined finite element - finitevolume method to a 2D non-hydrostatic shallow

water problem

N. Aıssiouene, M-O. Bristeau, E. Godlewski,A. Mangeney, C. Pares and J. Sainte-Marie

June 2017

Abstract

We propose a numerical method for a two-dimensional non-hydrostatic shal-low water system with topography [6]. We use a prediction-correction scheme ini-tially introduced by Chorin-Temam [13], and which has been applied previously tothe one dimensional problem in [1]. The prediction part leads to solving a shallowwater system for which we use finite volume methods [3], while the correctionpart leads to solving a mixed problem in velocity/pressure using a finite elementmethod. We present an application of the method with a comparison between ahydrostatic and a non-hydrostatic model.

1 IntroductionMathematical models for free surface flows are widely studied, however one stillneeds to improve the existing models as well as develop robust numerical meth-ods. The most common way to represent the physical behavior of the free surfaceis to compute the solutions of the Shallow Water equations. These equations arebased on a shallowness assumption and lead to assuming the pressure is hydro-static. Therefore, they are used for many geophysical flows on rivers, lakes, oceanswhere the characteristic horizontal length is much greater than the depth.However, when the hydrostatic assumption is no longer valid, what we call disper-sive effects appear, then more complex models have to be used to represent theseeffects. Many free surface models are available to take into consideration this dis-persive effect, see [11] for the classical Green-Naghdi (GN) model and [5, 7, 9, 6]for other kinds of non hydrostatic models with bathymetry.In this approach, we propose a new method dealing with a formulation withouthigh order terms, we treat the depth-averaged Euler system developed in [6] wherethe non-hydrostatic pressure is an unknown of the system. The aim is to provide arobust numerical method for the two-dimensional model on an unstructured grid.The objective is to have a stable method to simulate real cases where the topogra-phy can be complex and needs an irregular mesh. Moreover, it gives the possibilityto perform adaptive meshes if one wants to refine the mesh in the areas where thedispersive effects are expected. For instance, the dispersive contribution can have

1

Page 3: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

x

y

ΩΓin Γout

Γs

Γs

(a) View from above.

z

n

u(x,y,z, t)≈ u(x,y, t)

Γin Γout

Bottom

η(x,y, t)

zb(x,y)

H(x,y, t)

x

(b) Vertical cross section.

Figure 1: Model domain and notations.

a significant impact in the water depth for the propagation of tsunamis [10],[4].The paper is organized as follows. In the next section, we recall the depth-averagedEuler system. The Section 2 is devoted to the Chorin-Temam approach (prediction-correction scheme) applied for the model problem, while in Section 4, we give ageophysical application where we compare the results using a hydrostatic modelvs a non-hydrostatic model.

2 The averaged Euler systemWe consider a two-dimensional domain Ω ⊂ R2 delimited by the boundary Γ =Γin ∪Γout ∪Γs as described in Figure 1a. We denote by H(x,y, t) the water depth,zb(x,y) the topography, u(x,y, t) the averaged velocity of the fluid u = (u,v,w)t

and p the non hydrostatic pressure (see Figure 1b).The two-dimensional depth-averaged Euler system described in [6] reads:

∂H∂ t

+∇0 · (Hu) = 0, (1)

∂Hu∂ t

+∇0 · (Hu⊗u)+∇0(g2

H2)+∇sw (p) = −gH∇0(zb), (2)

divsw (u) = 0, (3)

where we define the operators ∇0 and div0 by

∇0 f =

∂ f∂x∂ f∂y0

, div0v =∂v1

∂x+

∂v2

∂y. (4)

Also, we give an interpretation of the non-hydrostatic contribution by defining ashallow water version of the pressure gradient ∇sw and the divergence operator

2

Page 4: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

divsw . Assuming that f and v = (v1,v2,v3)T are smooth enough:

∇sw f =

H ∂ f∂x + f ∂ (H+2zb)

∂xH ∂ f

∂y + f ∂ (H+2zb)∂y

−2 f

, (5)

divsw (v) =∂Hv1

∂x+

∂Hv2

∂y− v1

∂ (H +2zb)

∂x− v2

∂ (H +2zb)

∂y+2v3. (6)

Under the assumptions done for the derivation of the non-hydrostatic model, theoperator ∇sw (resp. divsw ) is the average of the classical operator ∇ (resp. div)in the sens that it corresponds to the gradient averaged in the vertical directionbetween zb and η . An important property is that the operators divsw and ∇swsatisfy the duality relation∫

Ω

∇sw ( f ) ·v =−∫

Ω

divsw (v) f +∫

Γ

H f v ·n, (7)

where n is the outward unit normal vector to the boundary Γ. This property iscrucial for the algorithm presented in the following since we will consider a mixedproblem in velocity/pressure, which will lead, at the numerical level, to having anoperator for the pressure and its transpose for the velocity.The depth-averaged model (1)-(3) is derived in [6] and is based on the minimiza-tion of the energy (see [12], this property provides a consistency with the Eulersystem [6] in terms of energy.Notice that we consider the non-hydrostatic pressure p as an unknown of themodel, but we can write the total pressure ptot as:

ptot = gH2+ p, (8)

where we take into account the hydrostatic pressure g H2 .

3 Prediction - Correction schemeThe problem (1)-(3) is solved using a Chorin-Temam splitting scheme (see [13]).The prediction-correction method is widely used to approximate the Navier-Stokesequations and is based on a time-splitting scheme. For each time step, the problemis solved in two steps, in the first one, we use a finite-volume method to solve thehyperbolic part which is a Shallow Water system with topography (where the nonhydrostatic pressure p is not evaluated). This allows us to get a first predicted statewhich is not divergence free. In the second step, we update the predicted state withthe shallow water version of the gradient pressure evaluated in such a way that thevelocity satisfies the divergence free condition (3).Let us denote by X the vectors of unknowns and F(X) the matrix:

X =

HHuHvHw

, F(X) =

Hu Hv

Hu2 + g2 H2 Huv

Huv Hv2 + g2 H2

Huw Hvw

, (9)

3

Page 5: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

and set

S(X) =

0

−gH ∂ zb∂x

−gH ∂ zb∂y

0

and Rnh =

(0

∇sw (p)

). (10)

Then, the system (1)-(3) can be written

∂X∂ t

+div0F(X)+Rnh = S(X), (11)

divsw (u) = 0. (12)

We set t0 the initial time and tn+1 = tn +∆tn where ∆tn satisfies a stability condi-tion (CFL) and the state Xn will denote an approximation of X(tn). For each timestep, we consider an intermediate state which will be denoted with the superscriptn+1/2. The semi discretization in time can be summarized in the following steps:

Xn+1/2 = Xn−∆tndiv0F(Xn)+∆tS(Xn), (13)

Xn+1 +∆tnRn+1nh = Xn+1/2, (14)

divsw un+1 = 0. (15)

So the first step (13) leads to solving the hyperbolic system with source terms inorder to get the state Xn+1/2 = (Hn+1/2, (Hu)n+1/2, (Hv)n+1/2, (Hw)n+1/2)T .Equation (14) allows us to correct the predicted value Xn+1/2 in order to obtain astate which satisfies the divergence free condition (15).

The prediction part (13) is solved using a cell centered finite-volume method [3].For this system, our scheme is second order accurate in time and, if we use a recon-struction algorithm [3] in the hyperbolic step, it is formally second order accuratein space [3, 2] . In the application, we use a kinetic solver for its good mathemat-ical properties. The correction part (14) is solved using a finite element method.To do so, we consider the equations (14)-(15) as a mixed problem [2] and, startingwith an appropriate variational formulation of the problem, we apply the finite el-ement method to obtain the pressure pn+1 which is solution of an elliptic equationand the velocity un+1. The elliptic equation of the pressure can be written underthe form:

divsw

(∇sw pn+1

Hn+1

)=

1∆tn divsw

((Hu)n+1/2

Hn+1/2

). (16)

We consider a primal mesh which is the triangular mesh and a dual mesh corre-sponding to the centered finite volume cells. The approximation of the variablesis based on the triangular mesh for the finite element scheme and the dual meshfor the finite volume scheme. The finite volume cells are centered on the verticesand built by joining the centers of mass of the triangles surrounding each vertex.The variables H,Hu are estimated first as constant mean values on the cells by thefinite volume scheme, which gives the intermediate state Xn+1/2. For the finite el-ement scheme, the state Xn+1 is approximated at the vertices of the triangles. Thealgorithm uses an iterative method of Uzawa type to solve the elliptic equation inpressure involved in the problem. The details of the combined method and thetreatment of the boundary conditions will be detailed in a forthcoming paper.

4

Page 6: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

4 Numerical resultsIn this section we test the depth-averaged model (1)-(3) on a numerical application.We generate small amplitude waves at the inlet of a domain of dimensions [0,10]×[0,6] and we observe the propagation of the waves over an obstacle. The channel isalso ended by a slope of 40%. This simulation allows us to confront our method toa test case where we have a variable bottom with strong variations of the elevationand wet/dry interfaces. The dimensions of the case are described in Figure 2 andthe obstacle is defined by the topography function:

zb(x,y) = min(

zm,Ae−((a(x−x0)2)+b(y−y0)

2)), (17)

where we set zm = 0.5m, A = 2m, a = 3.3m, b = 1.51m and x0 = 3m, y0 = 3m.We set an initial free surface η0 = 0.6m and a sinusoidal wave given at the inletwith an amplitude of 0.02m. The test is performed over an unstructured mesh of45506 nodes for the fine mesh. The numerical solution is computed with a P1-iso-P2/P1 approximation (see [1] for more details on the choices of approximationspaces). We compare the solutions obtained using the Shallow Water model andusing the depth-averaged Euler model (1)-(3) in order to observe the effects ofthe dispersion on the propagation and the wave interactions. Figure 3 shows thesimulations at instant t1 = 4.54531s (3a and 3b) for the Shallow Water model(left) and the dispersive model (right). The figures represent the free surface η .We clearly observe the impact of the dispersive effects around the obstacle andon the forms of the waves. In Figure 4 we show the free surface over the timeat different points around the obstacle and compare the solution obtained for theShallow Water model and the depth averaged model. We can recover the samekind behavior in one dimensions for a very classical test case which is known asthe Dingemans experiment [8], these effects occur when we have a strong variationof the topography with a a strong gradient of the elevation.

5 ConclusionIn this paper, we have presented an application a the combined finite-volume/ fi-nite element method for a two dimensional dispersive shallow water model on anunstructured mesh. We solve a mixed problem using a finite element method toobtain the velocity and the non-hydrostatic pressure.

AcknowledgmentsThe authors acknowledge the Inria Project Lab Algae in Silicio for its financialsupport. The first author received a partial grant from the Fondation Ledoux. Thisresearch is also supported by the ANR MIMOSA project.

References[1] Aıssiouene, N.: Numerical analysis and discrete approximation of a disper-

sive shallow water model. Theses, Pierre et Marie Curie, Paris VI (2016).URL https://hal.archives-ouvertes.fr/tel-01418676

5

Page 7: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

Figure 2: Dimension of the test case

(a) Hydrostatic simulation at time t1 = 4.54531s (b) Non-hydrostatic simulation at time t1

Figure 3: Free surface obtained with a hydrostatic simulation and a non-hydrostaticsimulation

6

Page 8: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

0 2 4 6 8 10 12 14 16

0.54

0.56

0.58

0.6

0.62

0.64

0.66

0.68

0.7

(x,y)= ( 2.977 ,1.977 ).

time (s)

η (

m)

Shallow Water

DAE

(a) Point 1

0 2 4 6 8 10 12 14 16

0.55

0.6

0.65

0.7

(x,y)= ( 3.0259 ,2.0259 ).

time (s)

η (

m)

Shallow Water

DAE

(b) Point 2

0 2 4 6 8 10 12 14 16

0.54

0.56

0.58

0.6

0.62

0.64

0.66

(x,y)= ( 3.017 ,2.017 ).

time (s)

η (

m)

Shallow Water

DAE

(c) Point 3

Figure 4: Comparison of the free surface over the time for the selected points betweensolutions computed with a hydrostatic model (· · · ) and the depth-averaged model (—).

[2] Aıssiouene, N., Bristeau, M.O., Godlewski, E., Sainte-Marie, J.: A com-bined finite volume - finite element scheme for a dispersive shallow watersystem. Networks and Heterogeneous Media 11(1), 1–27 (2016). DOI10.3934/nhm.2016.11.1. URL https://hal.inria.fr/hal-01160718

[3] Audusse, E., Bristeau, M.O.: A well-balanced positivity preserving second-order scheme for Shallow Water flows on unstructured meshes. J. Comput.Phys. 206(1), 311–333 (2005)

[4] Behrens, J., Dias, F.: New computational methods in tsunami science. PhilosTrans A Math Phys Eng Sci. Oct 28(373), (2053) (2015)

[5] Bonneton, P., Barthelemy, E., Chazel, F., Cienfuegos, R., Lannes,D., Marche, F., Tissier, M.: Recent advances in Serre-GreenNaghdi modelling for wave transformation, breaking and runupprocesses. European Journal of Mechanics - B/Fluids 30(6), 589– 597 (2011). DOI 10.1016/j.euromechflu.2011.02.005. URLhttp://www.sciencedirect.com/science/article/pii/S0997754611000185.Special Issue: Nearshore Hydrodynamics

[6] Bristeau, M.O., Mangeney, A., Sainte-Marie, J., Seguin, N.: Anenergy-consistent depth-averaged Euler system: Derivation and prop-erties. Discrete and Continuous Dynamical Systems - Series B20(4), 961–988 (2015). DOI 10.3934/dcdsb.2015.20.961. URLhttp://aimsciences.org/journals/displayArticlesnew.jsp?paperID=10801

[7] Chazel, F., Lannes, D., Marche, F.: Numerical simulation of strongly non-linear and dispersive waves using a Green–Naghdi model. J. Sci. Com-put. 48(1-3), 105–116 (2011). DOI 10.1007/s10915-010-9395-9. URLhttp://dx.doi.org/10.1007/s10915-010-9395-9

[8] Dingemans, M.W.: Wave propagation over uneven bottoms. Advanced Serieson Ocean Engineering - World Scientific (1997)

[9] Duran, A., Marche, F.: Discontinuous-Galerkin discretization of a new classof Green-Naghdi equations. Communications in Computational Physics p.130 (2014). URL https://hal.archives-ouvertes.fr/hal-00980826

7

Page 9: Application of a combined finite element -finite volume ... · Application of a combined finite element -finite volume method to a 2D non-hydrostatic shallow water problem N. Aissiouene,

[10] Glimsdal, S., Pedersen, G.K., Harbitz, C.B., Løvholt, F.: Dispersion oftsunamis: does it really matter? Natural Hazards and Earth System Sci-ences 13(6), 1507–1526 (2013). DOI 10.5194/nhess-13-1507-2013. URLhttp://www.nat-hazards-earth-syst-sci.net/13/1507/2013/

[11] Green, A., Naghdi, P.: A derivation of equations for wave propagation inwater of variable depth. J. Fluid Mech. 78, 237–246 (1976)

[12] Levermore, C., Sammartino, M.: A shallow water model with eddy viscosityfor basins with varying bottom topography. Nonlinearity 14(6), 1493–1515(2001)

[13] Rannacher, R.: On Chorin’s projection method for the incompressibleNavier-Stokes equations. In: G. Heywood John, K. Masuda, R. Rautmann,A. Solonnikov Vsevolod (eds.) The Navier-Stokes Equations II — Theoryand Numerical Methods, Lecture Notes in Mathematics, vol. 1530, pp. 167–183. Springer Berlin Heidelberg (1992). DOI 10.1007/BFb0090341. URLhttp://dx.doi.org/10.1007/BFb0090341

8