A new moving boundary shallow water wave equation numerical model

Similar documents
Volterra integral equations solved in Fredholm form using Walsh functions

PAPER 333 FLUID DYNAMICS OF CLIMATE

Two dimensional particle solution of the extended Hamilton Jacobi equation

The Potential of Tidal Power from the Bay of Fundy

Natural convection adjacent to a sidewall with three fins in a differentially heated cavity

NUMERICAL SIMULATION OF LONG WAVE RUNUP ON A SLOPING BEACH*

2 A: The Shallow Water Equations

GENERAL SOLUTIONS FOR THE INITIAL RUN-UP OF A BREAKING TSUNAMI FRONT

THREE-DIMENSIONAL FINITE DIFFERENCE MODEL FOR TRANSPORT OF CONSERVATIVE POLLUTANTS

A Multiphysics Strategy for Free Surface Flows

GFD 2013 Lecture 4: Shallow Water Theory

B O S Z. - Boussinesq Ocean & Surf Zone model - International Research Institute of Disaster Science (IRIDeS), Tohoku University, JAPAN

A triangular grid finite-difference model for wind-induced circulation in shallow lakes

A finite difference Poisson solver for irregular geometries

2017 年環境流體力學短期講座 Short Course on Environmental Flows

Truncation Error Analysis of Shallow Water Models Based on the Generalized Wave Continuity Equation

Lecture 18: Wave-Mean Flow Interaction, Part I

Modelling a wool scour bowl

SMAST Technical Report The Performance of a Coupled 1-D Circulation and Bottom Boundary Layer Model with Surface Wave Forcing

Interactive comment on The open boundary equation by D. Diederen et al.

New variables in spherical geometry. David G. Dritschel. Mathematical Institute University of St Andrews.

Before you begin read these instructions carefully.

HEAT TRANSFER AND TEMPERATURE DISTRIBUTION OF DIFFERENT FIN GEOMETRY USING NUMERICAL METHOD

Comparison of Average Energy Slope Estimation Formulas for One-dimensional Steady Gradually Varied Flow

Continuous, discontinuous and coupled discontinuous continuous Galerkin nite element methods for the shallow water equations

Chapter One Introduction to Oscillations

(JONSMOD 2008 Paper) An intercomparison of tidal solutions computed. with a range of unstructured grid models of the. Irish and Celtic Sea Regions

Introduction to Fluid Dynamics

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top

t = g = 10 m/s 2 = 2 s T = 2π g

Vectors and Scalars. Scalar: A quantity specified by its magnitude only Vector: A quantity specified both by its magnitude and direction.

Hydrokinetic turbine location analysis by a local collocation method with Radial Basis Functions for two-dimensional Shallow Water equations

The effect of disturbances on the flows under a sluice gate and past an inclined plate

meters, we can re-arrange this expression to give

Lecture 9: Tidal Rectification, Stratification and Mixing

Numerical dispersion and Linearized Saint-Venant Equations

Periodic wave solution of a second order nonlinear ordinary differential equation by Homotopy analysis method

Fronts & Frontogenesis

Introduction to structural dynamics

Well-balanced shock-capturing hybrid finite volume-finite difference schemes for Boussinesq-type models

Fluvial Dynamics. M. I. Bursik ublearns.buffalo.edu October 26, Home Page. Title Page. Contents. Page 1 of 18. Go Back. Full Screen. Close.

Lecture 2 - Force Analysis

Technische Universiteit Delft Faculteit Elektrotechniek, Wiskunde en Informatica Delft Institute of Applied Mathematics

Abstract. 1 Introduction

13.42 READING 6: SPECTRUM OF A RANDOM PROCESS 1. STATIONARY AND ERGODIC RANDOM PROCESSES

Post-processing of solutions of incompressible Navier Stokes equations on rotating spheres

An implicit time-marching algorithm for 2-D GWC shallow water models

ETNA Kent State University

Chapter 3. Finite Difference Methods for Hyperbolic Equations Introduction Linear convection 1-D wave equation

The lens of freshwater in a tropical island: the two interface case

10 Shallow Water Models

Modeling the North West European Shelf using Delft3D Flexible Mesh

This note presents an infinite-dimensional family of exact solutions of the incompressible three-dimensional Euler equations

Problem Set 4 Issued: Wednesday, March 18, 2015 Due: Wednesday, April 8, 2015

Progress in embedding global tides into HYCOM simulations. Brian K. Arbic Institute for Geophysics The University of Texas at Austin

1 Wave propagation in arteries

Salmon: Introduction to ocean waves

Chapter 4. Motion in Two Dimensions. With modifications by Pinkney

A simple model of topographic Rossby waves in the ocean

2 MATERIALS AND METHODS

Linking the river to the estuary: influence of river discharge on tidal damping

Symmetries 2 - Rotations in Space

Consider a volume Ω enclosing a mass M and bounded by a surface δω. d dt. q n ds. The Work done by the body on the surroundings is.

Injection of Clear Water

Finite volume method for CFD

Time and Spatial Series and Transforms

ENGI Multiple Integration Page 8-01

A Gauss Lobatto quadrature method for solving optimal control problems

3.4 Application-Spring Mass Systems (Unforced and frictionless systems)

Linear Analysis of Coupled Equations for Sediment Transport

Lattice Boltzmann Method for Moving Boundaries

Chapter 7: Natural Convection

Chapter 4. Motion in Two Dimensions

Practice Problems For Test 3

The Shallow Water Equations

MODELLING THE INTERACTION BETWEEN WATER WAVES AND THE OSCILLATING WATER COLUMN WAVE ENERGY DEVICE. Utku Şentürk, Aydoğan Özdamar

An Optimal Dimension of Submerged Parallel Bars as a Wave Reflector

The effect of a background shear current on large amplitude internal solitary waves

Fundamentals of the Discrete Fourier Transform

ENGIN 211, Engineering Math. Fourier Series and Transform

Automatic Eddy Viscosity Assignment for 2-D Hydrodynamic Model of Szczecin Bay

Lecture 12: Transcritical flow over an obstacle

APPENDIX: TRANSMISSION LINE MODELLING AND PORT-BASED CIRCUITS

THE PRESSURE FIELD IN THE GAS-LUBRICATED STEP SLIDER BEARING

OPEN CHANNEL FLOW. One-dimensional - neglect vertical and lateral variations in velocity. In other words, Q v = (1) A. Figure 1. One-dimensional Flow

7 EQUATIONS OF MOTION FOR AN INVISCID FLUID

Chapter 4. Motion in Two Dimensions

Fluid Mechanics Prof. S.K. Som Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Tsunami Load Determination for On-Shore Structures. Harry Yeh Oregon State University

Practice Problems For Test 3

Transformation of Long Waves in a Canal of Variable Section

1. SINGULARITY FUNCTIONS

Creating and Analyzing Chaotic Attractors Using Mathematica Presented at the 2013 MAA MathFest

Mathematical Concepts & Notation

A modified quarter point element for fracture analysis of cracks

Equatorial Superrotation on Tidally Locked Exoplanets

Numerical Hydraulics

Seakeeping Models in the Frequency Domain

Empirical versus Direct sensitivity computation

Physics 5A Final Review Solutions

Transcription:

ANZIAM J. 48 (CTAC2006) pp.c605 C617, 2007 C605 A new moving boundary shallow water wave equation numerical model Joe Sampson 1 Alan Easton 2 Manmohan Singh 3 (Received 10 August 2006; revised 28 November 2007) Abstract A new moving boundary shallow water wave equation numerical model is presented. The model is adapted from the Selective Lumped Mass (slm) numerical model. The wetting and drying scheme used is different to that in the slm model. The slm model is finite element in space, using fixed triangular elements, finite difference in time and is explicit. The numerical model has been tested against an analytical solution with good agreement between the numerical and analytical solutions. The numerical model proposed is useful for comparing against analytical moving boundary solutions. The analytical solution is presented for the first time, being for the case of frictionless one dimensional moving boundary nonlinear shallow water wave flow with cosine forcing in a bed with quadratically varying depth. The analytical solution, which is explicit, is useful for testing numerical models. See http://anziamj.austms.org.au/ojs/index.php/anziamj/article/view/78 for this article, c Austral. Mathematical Soc. 2007. Published December 18, 2007. ISSN 1446-8735

Contents C606 Contents 1 Introduction C606 2 A new moving boundary numerical model C608 3 The numerical model versus an analytical model C610 4 Conclusions C612 A A new analytical moving boundary solution References C613 C616 1 Introduction A moving boundary shallow water wave equation numerical model has been developed. The model is adapted from the Selective Lumped Mass (slm) numerical scheme of Kawahara, Hirano and Tsubota [2]. The slm scheme is finite element in space, using fixed triangular elements, finite difference in time and is explicit. The wetting and drying scheme used here is different to that in the slm model. The two dimensional, depth averaged shallow water wave equations that Kawahara, Hirano and Tsubota [2] solve are a set of nonlinear partial differential equations, consisting of the conservation of momentum equation in the East direction U t + U U x + V U y + τu + g ζ x the conservation of momentum equation in the North direction V t + U V x + V V y + τv + g ζ y = 0, (1) = 0, (2)

1 Introduction C607 and the continuity (conservation of mass) equation ζ t + HU x + HV y = 0, (3) where ζ(x, y,t) is the height of the water surface above a horizontal datum, z = h(x, y) is the bottom surface, H(x, y,t) = h(x, y) + ζ(x, y,t) is the total depth of the fluid, U(x, y,t) is the depth averaged velocity component of the water current to the East, V (x, y,t) is the depth averaged velocity component of the water current to the North, τ is the water bed friction parameter, and t is the time. The friction parameter, τ, is either given the value zero for frictionless flow, a constant positive value for linear friction, or for quadratic friction τ = n2 g U 2 + V 2 H 4/3, (4) where n is Manning s coefficient of bottom roughness. In the wetting and drying scheme of Kawahara, Hirano and Tsubota [2], at each node i of a finite element that is in the domain of computation the water elevation, ζ i, and velocity components, U i and V i, are calculated at the end of each half time step. There are three possible outcomes: 1. for each node in an element the total depth, H i > 0; 2. at least one value of H i is H i > 0 and the rest of H i have H i 0; 3. all values of H i are H i 0. In case 1, the element is taken to be under water. In case 2, at any nodal point at which H i > 0, the water elevation, ζ i, and the current velocity are computed and at nodal points at which H i 0 the water elevation is computed but the current velocity is treated as zero. In case 3 the element is on the exposed sea bed and is omitted from the computation.

2 A new moving boundary numerical model C608 In the scheme of Kawahara, Hirano and Tsubota [2], a node which has a negative total water depth can sometimes be retained in the calculation. As a negative total water depth is physically unrealistic, in this article if a node is found to have a total water depth H i 0 then the node is regarded as dry. Kawahara, Hirano and Tsubota [2] do not discuss certain aspects of their calculations: 1. Whether all the nodes at t = 0 are subject to a cold start (that is, they have ζ i, u i and v i set to zero); 2. how they decide when a previously dry element becomes wet plus what height the water becomes at a previously dry node that has become wetted; 3. how they deal with the problem that the quadratic friction (which appears in the momentum equations), which is inversely proportional to H i, becomes infinite at the shoreline, where H i equals zero. Section 2 deals with these aspects. 2 A new moving boundary numerical model In the new model, a decision on whether a node is dry or wet is made at the end of each time step t. Some nodes are initially made wet while others are initially made dry. Some nodes change from dry to wet or wet to dry at the end of a time step, while some nodes remain wet or remain dry. There are wet and dry elements, with an element being wet if all the nodes are wet and dry if at least one node is dry. At any time step or half time step the slm calculations are made only for elements that were wet at the end of the last time step. If the total water depth is calculated as less than or equal

2 A new moving boundary numerical model C609 to zero at the end of a time step it is reset to zero and the node is regarded as inactive (dry) and the velocity set to zero and the triangle that it is in is removed from calculations. As ζ plus h equals H, which equals zero at a dry node, hence ζ is set to h at a node which changes from wet to dry. If the total water depth at a previously wet node is calculated as less than or equal to zero at the end of a half time step ζ is set to h and the velocity is set to zero, but the node is still deemed wet. As described in the Introduction, Kawahara, Hirano and Tsubota [2] do not discuss certain aspects of their calculations. Aspect 1 is dealt with in this article as follows. If the initial values of ζ i, u i and v i are not known then nodes not on the open sea boundary and with positive or zero values of h i at time t have their water surface height ζ and velocity set to zero; this is known as a cold start. Nodes that are above mean sea level (with h i < 0) are not given a cold start, because as H i = h i + ζ i, a cold start for nodes above mean sea level would imply that H i < 0, which is unrealistic. Nodes that are at or above mean sea level are regarded as dry at time t = 0; other nodes are regarded as wet. On the other hand, if the initial values of ζ i, U i and V i are known, then they are used in the numerical model, with a node initially wet only if H i is positive. Aspect 2 is dealt with in this article as follows. At the end of each time step each element that contains only one inactive (dry) node is tested to determine whether conditions are favourable for wetting that node. We developed a formula for calculating ζ at the previously dry node at time t+δt. The formula is based on the approximation ζ ζ ζ x+ y and x y the momentum equations (with the assumption that the advective terms are negligible): ζ t+δt i = ζ t+δt i 1 δx g δy g ( U t+δt i 1 Ut i 1 δt ( V t+δt i 1 + τ i 1 U t+δt i 1 Vi 1 t + τ i 1 V t+δt i 1 δt ) ), (5)

3 The numerical model versus an analytical model C610 where ζ i is the water elevation of the previously dry node and ζ i 1 is the larger water elevation of the two previously wet nodes in the element. If ζ i is found to be greater than h i (which implies that the total depth H i is positive), then the node wets, otherwise it stays dry. If the node wets, then the velocity at node i is set equal to that at node i 1. Aspect 3 is dealt with as follows (following Bills and Noye [1]). In calculating the quadratic friction the total depth in the quadratic friction term, H, is replaced by H f = max(h, H m ) for some chosen minimum value H m (for example 1.0m). 3 The numerical model versus an analytical model The moving boundary numerical model, implemented using a program written in Visual C++, was tested against a moving boundary analytical solution, derived in Appendix A. For the numerical model the values chosen were h 0 = 10m, a = 3000m and B = 2m/s with the initial values of ζ and U set to those of the analytical model. The calculation was done over one period T = 1345.71s. Three different meshes were used in the numerical model, each covering a rectangular region of width 4320 m in the x-direction. The coordinates, node numbers and triangle numbers in each mesh were generated using a program written in Visual C++. The meshes were plotted using a Mathematica package. Each triangle in each mesh is an isosceles right angled triangle. The third and finest rectangular mesh used, mesh 3, contains 4913 nodes and 9216 elements. The rectangle is of height 240 metres. The finer the mesh overall the more accurate were the results at a number of nodes of varying x-values at different times for water height, ζ, U-velocity and V -velocity. The model was run both without advective terms and with the advective

3 The numerical model versus an analytical model C611 Ζ m 10 5 0 5 1 2 3 4 x km Figure 1: A comparison of the numerical (advective flow) and analytical values of the water surface at time t = T/2. The analytical solution is a continuous line whereas the numerical solution is a series of dots; the results for every fourth node are shown. terms; more accurate results overall were obtained using advective terms than were found without the advective terms. The best results for advective flow in mesh 3 were found for t = 0.195 s. The numerical values of the amplitudes and phases of the water level, ζ, velocity components, U and V, (obtained using a Fourier Transform package) were compared with the analytical values at three different nodes. The values were in reasonable agreement. The results for mesh 3 advective flow only are presented in the rest of this section. The values of water elevation and velocity discussed below are for nodes sitting on a line parallel to the base of the rectangular region and half way between the base and top of the region. A comparison of the numerical and analytical values of the level, ζ, at times t = T/2 and T, respectively for mesh 3 is shown in Figures 1 and 2. In each figure the analytical solution is a continuous line whereas the numerical solution is a series of dots. At both times there is good agreement.

4 Conclusions C612 Ζ m 10 5 0 5 1 2 3 4 x km Figure 2: A comparison of the numerical (advective flow) and analytical values of the water surface at time t = T. The analytical solution is a continuous line whereas the numerical solution is a series of dots; the results for every fourth node are shown. A plot of the numerical (with advection) and analytical values of the x- coordinate of the shoreline as a function of time over one period for mesh 3 is shown in Figure 3. The analytical solution is a continuous curve while the numerical solution is a series of dots. There is good agreement between the analytical and numerical values. Presumably a finer mesh would give even better results. 4 Conclusions A moving boundary shallow water wave numerical model has been proposed which is a modification of the Selective Lumped Mass model and is useful for comparing against analytical moving boundary solutions and for modelling tidal flow in bays which contain tidal flats, a region which is covered by tidal

A A new analytical moving boundary solution C613 x m 3400 3200 3000 2800 200 400 600 800 1000 1200 t s Figure 3: A plot of the numerical (advective flow) and analytical values of the x-coordinate of the shoreline as a function of time. The analytical solution is a continuous curve while the numerical solution is a number of dots. waters for part of the day and dry for part of the day. The model has been tested against an analytical solution that we developed, the solution being for the case of frictionless one dimensional moving boundary shallow water wave flow with cosine forcing in a quadratically varying bed. There was good agreement between the numerical and analytical solutions with better solutions the finer the mesh. The numerical model gave better results when the advective terms were included than when they were left out. Presumably, a finer mesh than the last one used would give a better result. A A new analytical moving boundary solution The analytical moving boundary nonlinear shallow water flow solution that we developed is a modification of Thacker s solution for unforced frictionless

A A new analytical moving boundary solution C614 flow in a parabolic canal [3]. Our analytical solution is for shallow water frictionless flow with cosine forcing above a bed with quadratically varying depth, that is, the motion is governed by equations (1), (2) and (3), τ = 0, (6) ( ) h = h 0 1 x2, x 0, (7) a 2 ζ(0, t) = P cos(ωt). (8) We assume that the motion is one dimensional and the velocity is a function of time only, that is, Equations (1), (2), (6) (7), (9) and (10) imply that ζ(x, t) = ζ 0 (t) x g It is shown below how ζ 0 (t) is determined. U = u 0 (t), (9) V = 0. (10) du 0 (t) dt Substituting (7), (9), (10) and (11) in (3) gives dζ 0 (t) dt x g d 2 u 0 (t) dt 2 Equating the coefficients of x gives The general solution of (14) is 2u 0(t)h 0 x a 2 dζ 0 (t) u 0(t) dt g d 2 u 0 (t) dt 2. (11) u 0(t) du 0 (t) g dt du 0 (t) dt = 0. (12) = 0, (13) + 2gh 0u 0 (t) a 2 = 0. (14) u 0 (t) = A cos ψt + B sin ψt, (15)

A A new analytical moving boundary solution C615 where Substituting (15) in (13) gives ψ = 2gh0. (16) a ζ 0 t = B 2 ) sin 2ψt ψab cos 2ψt ψ(a2 +. (17) 2g g Integrating (17) with respect to t gives where C is a constant. ζ 0 (x, t) = (A2 B 2 ) cos 2ψt 4g Substituting (15) and (18) into (11) gives ζ(x, t) = (A2 B 2 ) cos 2ψt 4g AB sin 2ψt 2g + AB sin 2ψt 2g + C, (18) + +C 1 ( ψa sin ψt+ψb cos ψt)x. g (19) Equation (19) implies that the boundary condition given in (8) is satisfied if 8gh0 ω = 2ψ =, a 2 (20) C = 0, (21) AB = 0, (22) P = A2 B 2. 4g (23) It follows from (22) that either A = 0 or B = 0. If A = 0 then ζ(x, t) = B2 cos 2ψt (ψb cos ψt)x, 4g g (24) U = B sin ψt, (25)

References C616 and the forcing function is ( ) ζ(0, t) = B2 2 4g cos 2gh0 t. (26) a At the shoreline, the total depth h + ζ = 0. (27) Consider the shoreline for A = 0. Substituting equations (7) and (24) into (27) gives ) 2 ) (x Ba2 ( ψ cos ψt) = a (1 2 + B2. (28) 2gh 0 4gh 0 Hence, the x coordinate of the shoreline is x = a 1 + B2 4gh 0 Ba 2gh0 t cos. (29) 2gh0 a References [1] Bills, P. J. and Noye, B. J. Model of a Coastal Sea with Tidal Flats, Computational Techniques and Applications: CTAC-91, 1992. C610 [2] Kawahara M., Hirano, H. and Tsubota K. Selective Lumping Finite Element Method for Shallow Water Flow. International Journal for Numerical Methods in Fluids, 2, 89 112, 1982. C606, C607, C608, C609 [3] Thacker, W. C. Some exact solutions to the nonlinear shallow-water wave equations, J. Fluid. Mech., 107, 1981, 499 508. C614

References C617 Author addresses 1. Joe Sampson, Mathematics Discipline, Faculty of Engineering and Industrial Sciences, Swinburne University of Technology, Melbourne, Australia. mailto:jsampson@swin.edu.au 2. Alan Easton, Mathematics, Statistics and Computer Science Discipline, School of Natural and Physical Sciences, University of Papua New Guinea, Port Moresby, Papua New Guinea; Mathematics Discipline, Faculty of Engineering and Industrial Sciences, Swinburne University of Technology, Melbourne, Australia. mailto:alan.easton@upng.ac.pg 3. Manmohan Singh, Mathematics Discipline, Faculty of Engineering and Industrial Sciences, Swinburne University of Technology, Melbourne, Australia. mailto:msingh@swin.edu.au