Skip to main content
Log in

A shallow water equation based on displacement and pressure and its numerical solution

  • Original Article
  • Published:
Environmental Fluid Mechanics Aims and scope Submit manuscript

Abstract

The primary purpose of this paper is to develop an efficient numerical scheme for solving the shallow water wave problem with a sloping water bottom and wet-dry interface. For this purpose, the Lagrange method and the constrained Hamilton variational principle are used to solve the shallow water wave problem. According to the constrained Hamilton variational principle, a shallow water equation based on the displacement and pressure (SWE-DP) is derived. Based on the discretized constrained Hamilton variational principle, a numerical scheme is developed for solving the SWE-DP. The proposed scheme combines the finite element method for spatial discretization and the simplectic Zu-class method for time integration. The correctness of the SWE-DP and the effectiveness of the proposed scheme are verified by three classical numerical examples. Numerical examples show that the proposed method performs well in the simulation of the shallow water problem with a sloping water bottom and wet-dry interface.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

Abbreviations

\(x,\;z\) :

Spatial coordinates

\(t\) :

Time

\(u,\;w\) :

Displacements in x and y-axises

\(d\) :

Water depth at time t

\(d_{0}\) :

Water depth at the initial time

\(T,\;U\) :

Kinetic and potential energies

\(S\) :

Action functional

\(g\) :

Acceleration of gravity

\(n,\;k\) :

Indexes

\(\eta\) :

Vertical displacement at the surface

\(\varphi\) :

Vertical displacement at the bottom

\((\xi ,\;\zeta )\) :

Location of the particle at time t

\(\rho\) :

Mass density

\(\beta\) :

Pressure at the bottom

\(\delta\) :

Variational operator

\(\Delta x_{n}\) :

Length of the nth element

\(\Delta t\) :

Time step

References

  1. Vreugdenhil CB (1994) Numerical methods for shallow-water flow. Springer, Netherlands

    Book  Google Scholar 

  2. Winters AR, Gassner GJ (2015) A comparison of two entropy stable discontinuous Galerkin spectral element approximations for the shallow water equations with non-constant topography. J Comput Phys 301:357–376

    Article  Google Scholar 

  3. Khan AA, Lai WC (2014) Modeling shallow water flows using the discontinuous Galerkin method. CRC Press, New York

    Book  Google Scholar 

  4. Dehghan M, Salehi R (2012) A meshless based numerical technique for traveling solitary wave solution of Boussinesq equation. Appl Math Model 36(5):1939–1956

    Article  Google Scholar 

  5. Dumbser M, Facchini M (2016) A space-time discontinuous Galerkin method for Boussinesq-type equations. Appl Math Comput 272:336–346

    Google Scholar 

  6. Ortiz P (2012) Non-oscillatory continuous FEM for transport and shallow water flows. Comput Method Appl M 223–224:55–69

    Article  Google Scholar 

  7. Feng J, Cai L, Xie W (2006) CWENO-type central-upwind schemes for multidimensional Saint-Venant system of shallow water equations. Appl Numer Math 56(7):1001–1017

    Article  Google Scholar 

  8. Guo Y, Liu R, Duan Y et al (2009) A characteristic-based finite volume scheme for shallow water equations. J Hydrodyn 21(4):531–540

    Article  Google Scholar 

  9. Bo LH, Jin S (2009) Study on high resolutio scheme for shallow water equation with source terms. J Hydrodyn Ser A 24(01):22–28

    Google Scholar 

  10. Liang Q, Marche F (2009) Numerical resolution of well-balanced shallow water equations with complex source terms. Adv Water Resour 32(6):873–884

    Article  Google Scholar 

  11. Bermudez A, Ma EV (1994) Upwind methods for hyperbolic conservation laws with source terms. Comput Fluids 23(8):1049–1071

    Article  Google Scholar 

  12. Duran A, Liang Q, Marche F (2013) On the well-balanced numerical discretization of shallow water equations on unstructured meshes. J Comput Phys 235:565–586

    Article  Google Scholar 

  13. Zhao LH, Guo BW, Li TC et al (2014) A well-balanced explicit/semi-implicit finite element scheme for shallow water equations in drying-wetting areas. Int J Numer Meth Fl 75(12):815–834

    Article  Google Scholar 

  14. Amiri SM, Talebbeydokhti N, Baghlani A (2013) A two-dimensional well-balanced numerical model for shallow water equations. Sci Iran 20(1):97–107

    Google Scholar 

  15. Alemi Ardakani H, Bridges TJ, Turner MR (2016) Shallow-water sloshing in a moving vessel with variable cross-section and wetting–drying using an extension of George’s well-balanced finite volume solver. J Comput Phys 314:590–617

    Article  Google Scholar 

  16. Marche F, Bonneton P, Fabrie P et al (2007) Evaluation of well-balanced bore-capturing schemes for 2D wetting and drying processes. Int J Numer Meth Fl 53(5):867–894

    Article  Google Scholar 

  17. Brufau P, Garcia-Navarro P, Vázquez-Cendón ME (2004) Zero mass error using unsteady wetting–drying conditions in shallow flows over dry irregular topography. Int J Numer Method Fluids 45:1047–1082

    Article  Google Scholar 

  18. Chen Y, Hsu H (2009) A third-order asymptotic solution of nonlinear standing water waves in Lagrangian coordinates. Chinese Phys B 18(3):861–871

    Article  Google Scholar 

  19. Stoker JJ (1957) Water waves: the mathematical theory with applications. Interscience Publishers LTD, New York

    Google Scholar 

  20. Tao MD (1990) The Sudden starting of a floating body in deep water. Appl Math Mech 11(02):149–154 (English Edition)

    Article  Google Scholar 

  21. Tao MD, Shi XM (1993) Problem of hydrodynamic pressure on suddenly starting vessel. Appl Math Mech 14(02):151–158 (English Edition)

    Article  Google Scholar 

  22. Shi XM, Le JC, Ping AS (2002) Nonlinear wave induced by an accelerating cylindrical tank. J Hydrodyn Ser B 14(02):12–16 (English edition)

    Google Scholar 

  23. Morrison PJ, Lebovitz NR, Biello JA (2009) The Hamiltonian description of incompressible fluid ellipsoids. Ann Phys-New York 324(8):1747–1762

    Article  Google Scholar 

  24. Lu DQ, Dai SQ, Zhang BS (1999) Hamiltonian formulation of nonlinear water waves in a two-fluid system. Appl Math Mech-Engl 20(4):343–349

    Article  Google Scholar 

  25. Suzuki Y, Koshizuka S, Oka Y (2007) Hamiltonian moving-particle semi-implicit (HMPS) method for incompressible fluid flows. Comput Method Appl M 196(29–30):2876–2894

    Article  Google Scholar 

  26. Kheiri M, Païdoussis MP (2014) On the use of generalized Hamilton’s principle for the derivation of the equation of motion of a pipe conveying fluid. J Fluid Struct 50:18–24

    Article  Google Scholar 

  27. Wang Y, Deng ZC, Hu WP (2014) Symplectic exact solution for stokes flow in the thin film coating applications. Math Probl Eng 2014:1–12

    Google Scholar 

  28. Zienkiewicz OC, Taylor RL (2000) Finite element method. Butterworth-Heinemann, Oxford

    Google Scholar 

  29. Feng K, Qin MZ (2010) Symplectic geometric algorithms for hamiltonian systems. Springer, Berlin

    Book  Google Scholar 

  30. Tanaka N, Kitayama T (2004) Symplectic semi-Lagrangian schemes for computational fluid dynamics. Int J Comput Fluid D 18(4):303–308

    Article  Google Scholar 

  31. Wu F, Zhong WX (2016) Constrained Hamilton variational principle for shallow water problems and Zu-class symplectic algorithm. Appl Math Mech Engl 37(1):1–14

    Article  Google Scholar 

  32. Liu P, Li Z, Luo R (2012) Modified (2 + 1)-dimensional displacement shallow water wave system: symmetries and exact solutions. Appl Math Comput 219(4):2149–2157

    Google Scholar 

  33. Liu P, Fu PK (2011) Modified (2 + 1)-dimensional displacement shallow water wave system and its approximate similarity solutions. Chin Phys B 20(0902039):90203

    Article  Google Scholar 

  34. Liu P, Lou SY (2008) A (2 + 1)-dimensional displacement shallow water wave system. Chin Phys Lett 25(9):3311–3314

    Article  Google Scholar 

  35. Zhong WX (2006) Symplectic method in applied mechanics. High Education Press, Beijing

    Google Scholar 

  36. Zhong WX, Gao Q (2006) Integration of constrained dynamical system via analytical structural mechanics. J Dyn Control 4(03):193–200

    Google Scholar 

  37. Zhong WX, Gao Q, Peng HJ (2013) Classical mechanics—its symplectic description. Dalian University of Technology Press, Dalian

    Google Scholar 

  38. Wu F, Zhong WX (2015) The Zu-type method is symplectic. Chin J Comput Mech 32(4):447–450

    Google Scholar 

  39. Arnol'd VI (1997) Mathematical methods of classical mechanics. Springer, New York

    Google Scholar 

  40. Sampson J, Easton A, Singh M (2005) Moving boundary shallow water flow above parabolic bottom topography. Anziam J 47:373–387

    Article  Google Scholar 

  41. Murillo J, García-Navarro P (2012) Augmented versions of the HLL and HLLC Riemann solvers including source terms in one and two dimensions for shallow flow applications. J Comput Phys 231(20):6861–6906

    Article  Google Scholar 

  42. Izem N, Seaid M, Wakrim M (2016) A discontinuous Galerkin method for two-layer shallow water equations. Math Comput Simul 120:12–23

    Article  Google Scholar 

  43. Frei C (1993) Dynamics of a two-dimensional ribbon of shallow water on a f-plane. Tellus A 45(1):44–53

    Article  Google Scholar 

  44. Sch RC, Smolarkiewicz PK (1996) A synchronous and iterative flux-correction formalism for coupled transport equations. J Comput Phys 128(1):101–120

    Article  Google Scholar 

  45. Bo LH (2013) Study on the shallow water euqations of high resolution algorithm. Dissertation, Dalian University of Technology

  46. Jarecka D, Jaruga A, Smolarkiewicz PK (2015) A spreading drop of shallow water. J Comput Phys 289:53–61

    Article  Google Scholar 

Download references

Acknowledgements

The authors are grateful for the financial support of the Natural Science Foundation of China (Nos. 11472076, 51609034) and the China Postdoctoral Science Foundation (No. 2016M590219).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Feng Wu.

Appendix: Relation with the SWEs in the Euler description

Appendix: Relation with the SWEs in the Euler description

Let the flow velocity in the Euler description be denoted by \(V\left( {\xi ,\;t} \right)\). In terms of Eq. (1), we have

$$\frac{\partial }{\partial x} = \left( {1 + u_{x} } \right)\frac{\partial }{\partial \xi }$$
(79)

and

$$\begin{aligned} \bar{d}\left( {\xi ,t} \right) = \bar{d}\left( {x + u\left( {x,t} \right),t} \right) = d\left( {x,t} \right) \hfill \\ \bar{u}\left( {\xi ,t} \right) = \bar{u}\left( {x + u\left( {x,t} \right),t} \right) = u\left( {x,t} \right), \hfill \\ \end{aligned}$$
(80)

where \(\bar{\# }\left( \xi \right)\) denotes the variable in the Euler description. The Lagrangian acceleration can be expressed as

$$\ddot{u}\left( x \right) = \frac{{\partial V\left( {\xi ,t} \right)}}{\partial t} + V\frac{{\partial V\left( {\xi ,t} \right)}}{\partial \xi }.$$
(81)

In terms of Eqs. (1) and (16), we have

$$\bar{h}_{x} = \left. {\frac{\partial h\left( a \right)}{\partial a}} \right|_{a = x + u} = \frac{\partial h\left( \xi \right)}{\partial \xi }.$$
(82)

Substituting Eqs. (81) and (82) into the first equation of Eq. (37) and noting Eq. (79), we have

$$\rho d_{0} \left( {\frac{{\partial V\left( {\xi ,t} \right)}}{\partial t} + V\frac{{\partial V\left( {\xi ,t} \right)}}{\partial \xi }} \right) - \rho gd_{0} \frac{\partial h\left( \xi \right)}{\partial \xi } + \frac{1}{2}\frac{{\partial \left( {\beta d} \right)}}{\partial x} = 0.$$
(83)

In terms of the second and third equations of Eq. (37), we can obtain the following equations

$$\frac{\partial \xi }{\partial x} = u_{x} + 1 = \frac{{d_{0} }}{{d\left( {x,t} \right)}} = \frac{{d_{0} }}{{\bar{d}\left( {\xi ,t} \right)}},$$
(84)

and

$$\beta = \rho g\frac{{d_{0} }}{{\left( {1 + u_{x} } \right)}} = \rho g\bar{d}\left( {\xi ,t} \right).$$
(85)

Substituting Eqs. (84) and (85) into Eq. (83) yields

$$\frac{{\partial V\left( {\xi ,t} \right)}}{\partial t} + V\frac{{\partial V\left( {\xi ,t} \right)}}{\partial \xi } + g\frac{{\partial \bar{d}}}{\partial \xi } = g\frac{\partial h\left( \xi \right)}{\partial \xi }.$$
(86)

Meanwhile, the derivative of (84) with respect to time is

$$\dot{u}_{x} d\left( {x,t} \right) + \left( {1 + u_{x} } \right)\dot{d}\left( {x,t} \right) = 0.$$
(87)

Noting that

$$\dot{u}_{x} = \frac{{\partial \dot{u}\left( x \right)}}{\partial x} = \frac{\partial V\left( \xi \right)}{\partial x} = \frac{\partial V}{\partial \xi }\left( {1 + u_{x} } \right),$$
(88)

and

$$\frac{\partial d}{\partial t} = \frac{{\partial \bar{d}}}{\partial t} + \frac{{\partial \bar{d}}}{\partial \xi }V,$$
(89)

Equation (87) can be further rewritten as

$$\frac{{\partial \bar{d}}}{\partial t} + \frac{{\partial \left( {V\bar{d}} \right)}}{\partial \xi } = 0.$$
(90)

Eqs. (86) and (90) constitute the SVE in the Euler description,

$$\left\{ \begin{aligned} \frac{{\partial V\left( {\xi ,t} \right)}}{\partial t} + V\frac{{\partial V\left( {\xi ,t} \right)}}{\partial \xi } + g\frac{{\partial \bar{d}}}{\partial \xi } = g\frac{\partial h\left( \xi \right)}{\partial \xi } \\ \frac{{\partial \bar{d}}}{\partial t} + \frac{{\partial \left( {V\bar{d}} \right)}}{\partial \xi } = 0. \\ \end{aligned} \right.$$
(91)

The above analysis means that the proposed SWE-DP is mathematically equivalent to the SVE when the effect of the vertical velocity is ignored.

Equation (37) can also be expressed in the conservative form. Introduce the two variables:

$$p_{u} = \rho d_{0} \dot{u},\;\;\gamma = {{d_{0} } \mathord{\left/ {\vphantom {{d_{0} } d}} \right. \kern-0pt} d}$$
(92)

where \(p_{u}\) is the moment in the x-direction, and \(\gamma\) is a dimensionless parameter, that is the ratio of the water depths at times 0 and \(t\). Using Eqs. (38) and (92), the first equation in Eq. (37) can be rewritten as

$$\frac{{\partial p_{u} }}{\partial t} + \frac{\partial }{\partial x}\left( {\frac{{\rho gd_{0}^{2} }}{{2\gamma^{2} }}} \right) = \rho gd_{0} \bar{h}_{x} .$$
(93)

In terms of Eq. (92), the incompressible equation, i.e., the third equation in Eq. (37), can be rewritten as

$$\gamma = 1 + u_{x}$$
(94)

Noting from Eq. (92) that \(\dot{u} = {{p_{u} } \mathord{\left/ {\vphantom {{p_{u} } {\left( {\rho d_{0} } \right)}}} \right. \kern-0pt} {\left( {\rho d_{0} } \right)}}\), the partial derivative of Eq. (94) with respect to \(t\) yields

$$\frac{\partial \gamma }{\partial t} = \frac{{\partial u_{x} }}{\partial t} = \frac{{\partial \left( {u_{t} } \right)}}{\partial x} = \frac{\partial }{\partial x}\left( {\frac{{p_{u} }}{{\rho d_{0} }}} \right)$$
(95)

Hence, Eq. (37) can be expressed as the following conservative form

$$\left\{ \begin{aligned} \frac{{\partial p_{u} }}{\partial t} + \frac{\partial }{\partial x}\left( {\frac{{\rho gd_{0}^{2} }}{{2\gamma^{2} }}} \right) = \rho gd_{0} \bar{h}_{x} \\ \frac{\partial \gamma }{\partial t} + \frac{\partial }{\partial x}\left( {\frac{{ - p_{u} }}{{\rho d_{0} }}} \right) = 0 \\ \end{aligned} \right.$$
(96)

The first equation in Eq. (96) represents the momentum conservation equation, and the second one represents the mass conservation equation. However, it can be observed by comparison with Eq. (91) that there is no so-called convection term in Eq. (96).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wu, F., Zhong, WX. A shallow water equation based on displacement and pressure and its numerical solution. Environ Fluid Mech 17, 1099–1126 (2017). https://doi.org/10.1007/s10652-017-9538-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10652-017-9538-8

Keywords

Navigation