Abstract
We present a new high-resolution, non-oscillatory semi-discrete central scheme for one-dimensional two-layer shallow-water flows along channels with non-uniform rectangular cross sections and bottom topography. The scheme extends existing central semi-discrete schemes for hyperbolic conservation laws and it enjoys two properties crucial for the accurate simulation of shallow-water flows: it preserves the positivity of the water height, and it is well balanced, i.e., the source terms arising from the geometry of the channel are discretized so as to balance the non-linear hyperbolic flux gradients. Along with a detailed description of the scheme and proofs of these two properties, we present several numerical experiments that demonstrate the robustness of the numerical algorithm.
Similar content being viewed by others
References
Abgrall, R., Karni, S.: Two-layer shallow water system: a relaxation approach. SIAM J. Sci. Comput. 31(3), 1603–1627 (2009). doi:10.1137/06067167X
Armi, L.: The hydraulics of two flowing layers with different densities. J. Fluid Mech. 163, 27–60 (1986)
Armi, L., Farmer, D.: Maximal two-layer exchange through a contraction with barotropic net flow. J. Fluid Mech. 186, 27–51 (1986)
Balbás, J., Karni, S.: A central scheme for shallow water flows along channels with irregular geometry. Modél. Math. Anal. Numér. 43(2), 333–351 (2009). doi:10.1051/m2an:2008050
Balbas, J., Tadmor, E.: Nonoscillatory central schemes for one- and two-dimensional magnetohydrodynamics equations. ii: High-order semidiscrete schemes. SIAM J. Sci. Comput. 28(2), 533–560 (2006). doi:10.1137/040610246. http://link.aip.org/link/?SCE/28/533/1
Balbás, J., Tadmor, E., Wu, C.C.: Non-oscillatory central schemes for one- and two-dimensional MHD equations. I. J. Comput. Phys. 201(1), 261–285 (2004)
Castro, M.J., García-Rodríguez, J.A., González-Vida, J.M., Macías, J., Parés, C., Vázquez-Cendón, M.E.: Numerical simulation of two-layer shallow water flows through channels with irregular geometry. J. Comput. Phys. 195(1), 202–235 (2004)
Farmer, D., Armi, L.: Maximal two-layer exchange over a sill and through the combination of a sill and contraction with barotropic flow. J. Fluid Mech. 164, 53–76 (1986)
Gottlieb, S., Shu, C.W., Tadmor, E.: Strong stability-preserving high-order time discretization methods. SIAM Rev. 43(1), 89–112 (2001) (electronic)
Harten, A.: High resolution schemes for hyperbolic conservation laws. J. Comput. Phys. 49, 357–393 (1983)
Jiang, G.S., Levy, D., Lin, C.T., Osher, S., Tadmor, E.: High-resolution nonoscillatory central schemes with nonstaggered grids for hyperbolic conservation laws. SIAM J. Numer. Anal. 35(6), 2147–2168 (1998) (electronic)
Kurganov, A., Levy, D.: A third-order semidiscrete central scheme for conservation laws and convection-diffusion equations. SIAM J. Sci. Comput. 22(4), 1461–1488 (2000) (electronic)
Kurganov, A., Levy, D.: Central-upwind schemes for the Saint-Venant system. Modél. Math. Anal. Numér. 36(3), 397–425 (2002)
Kurganov, A., Noelle, S., Petrova, G.: Semidiscrete central-upwind schemes for hyperbolic conservation laws and Hamilton-Jacobi equations. SIAM J. Sci. Comput. 23(3), 707–740 (2001) (electronic)
Kurganov, A., Petrova, G.: A second-order well-balanced positivity preserving central-upwind scheme for the Saint-Venant system. Commun. Math. Sci. 5(1), 133–160 (2007)
Kurganov, A., Petrova, G.: Central-upwind schemes for two-layer shallow water equations. SIAM J. Sci. Comput. 31(3), 1742–1773 (2009). doi:10.1137/080719091
Kurganov, A., Tadmor, E.: New high-resolution central schemes for nonlinear conservation laws and convection-diffusion equations. J. Comput. Phys. 160(1), 241–282 (2000)
Lax, P.D.: Weak solutions of nonlinear hyperbolic equations and their numerical computation. Commun. Pure Appl. Math. 7, 159–193 (1954)
van Leer, B.: Towards the ultimate conservative difference scheme. V. A second-order sequel to Godunov’s method. J. Comput. Phys. 135(2), 227–248 (1997). J. Comput. Phys. 32(1), 101–136 (1979)
Levy, D., Puppo, G., Russo, G.: A third order central WENO scheme for 2D conservation laws. Appl. Numer. Math. 33(1–4), 415–421 (2000)
Mabe, N.: Steady-state solutions to shallow-water flows along channels with varying geometry. Master’s thesis, California State University, Northridge, US (2010)
Nessyahu, H., Tadmor, E.: Nonoscillatory central differencing for hyperbolic conservation laws. J. Comput. Phys. 87(2), 408–463 (1990)
Roe, P.L.: Approximate Riemann solvers, parameter vectors, and difference schemes. J. Comput. Phys. 43(2), 357–372 (1981)
Russo, G.: Central schemes for balance laws. In: Hyperbolic problems: theory, numerics, applications, vols. I, II, Magdeburg, 2000. Internat. Ser. Numer. Math., vols. 140, 141, pp. 821–829. Birkhäuser, Basel (2001)
Shu, C.W., Osher, S.: Efficient implementation of essentially nonoscillatory shock-capturing schemes. II. J. Comput. Phys. 83(1), 32–78 (1989)
Vázquez-Cendón, M.E.: Improved treatment of source terms in upwind schemes for the shallow water equations in channels with irregular geometry. J. Comput. Phys. 148(2), 497–526 (1999)
Wetzel, A.: Properties of steady-state solutions for shallow water flows. Tech. Rep., University of Michigan, Ann Arbor, Department of Mathematics (2007)
Wetzel, A.: Properties of steady-state solutions for critical two-layer shallow water flows. Tech. Rep., University of Michigan, Ann Arbor, Department of Mathematics (2008)
Acknowledgements
This work was partially supported by NSF award DMS # 0609766
Author information
Authors and Affiliations
Corresponding author
Appendices
Appendix A: Proof of Theorem 1
Proof
(i) Starting with the initial conditions u i (x)=0 (i=1,2), w 1(x)=W 1 and h 2(x)=H 2 for all x, we fix a space scale Δx and the corresponding partition of the solution domain, \(\{ I_{j} \} := \{ [x_{j - \frac{1}{2}}, x_{j + \frac{1}{2}}] \} \). We then define the cell averages of the conserved quantities in the modified shallow-water model, (15a)–(15d), as
and
The reconstructed point values of w 1 and h 2, clearly satisfy \(w_{1, j \pm\frac{1}{2}}^{\pm} = W_{1}\), \(h_{2,j\pm\frac {1}{2}} = H_{2}\), and those of Q i , \(Q_{j \pm\frac{1}{2}}^{\pm} = 0\) (i=1,2), thus the values of the water heights (38) (and the corresponding values of h 2 recovered via the minmod reconstruction), and those of the bottom topography at the cell interfaces, \(B_{j \pm \frac{1}{2}}^{\mp}\), satisfy
In view of this, the first and third components of the numerical fluxes \(H_{j + \frac{1}{2}}\) in (22) read
That is,
which allows us to recover \(\overline{w}_{1,j} (t + \Delta t)= W_{1}\) and h 2,j (t+Δt)=H 2 exactly from (86).
Noting that, according to (38), \(h_{1,j+\frac{1}{2}}^{+} = h_{1,j+\frac{1}{2}}^{-} =: h_{1,j+\frac{1}{2}}\) and that the minmod reconstruction guarantees \(h_{2,j+\frac{1}{2}}^{+} = h_{2,j+\frac {1}{2}}^{-} =: h_{2,j+\frac{1}{2}}\), the second and fourth components of the numerical flux amount, respectively, to (40) and (41), and since (88) hold, they are balanced by (48)–(51), therefore
and u i,j (t+Δt)≡0 (i=1,2) are also recovered exactly.
(ii) We begin by writing explicitly the cell average \(A^{T}_{1,j}(t + \Delta t)\) when the system (22) is evolved with forward Euler’s ODE solver,
where λ=Δt/Δx. This amounts to
(where all the terms on the right hand side are understood to be evaluated at time t). Using \(Q_{1,j \pm\frac{1}{2}}^{\pm} = \sigma_{j \pm\frac{1}{2}}^{\pm} h_{1,j \pm\frac{1}{2}}^{\pm} u_{1,j \pm \frac{1}{2}}^{\pm }\), we write
The terms involving \(\sigma_{j \pm\frac{1}{2}} B_{j \pm\frac {1}{2}}^{\pm}\) and \(\sigma_{j \pm\frac{1}{2}} B_{j \pm\frac{1}{2}}^{\mp}\) on the right hand side cancel, and since \(a_{j \pm\frac{1}{2}}\sigma_{j \pm\frac {1}{2}} \geq |u_{1,j \pm\frac{1}{2}}^{\pm}| \sigma_{j \pm\frac{1}{2}}^{\pm }\), (58), and \(h_{1,j \pm\frac{1}{2}}^{\mp} \geq0\), the CFL restriction (63) allows us to write
from where (64) follows. □
Appendix B: On the Semi-Discrete Central Formulation for Hyperbolic Systems with Source Terms
The numerical scheme that we have presented in this work is based on the high-order semi-discrete central formulation for hyperbolic conservation laws first introduced in [17]. Here we outline the derivation of the equivalent semi-discrete formulation for hyperbolic systems with source terms,
Before we proceed, we should clarify that this derivation consists of three steps: staggered evolution of cell averages, reprojection onto the original non-staggered grid, and the evaluation of the limit as Δt→0 of the finite difference \((\overline {v}^{n+1}_{j} - \overline{v}^{n}_{j}) /\Delta t\). A process that requires the formulation of several intermediate solutions presented below, however, for the actual implementation of the semi-discrete scheme one doesn’t need to calculate these solutions; the intermediate solutions are only introduced formally so as to form the finite difference and take the limit.
Starting with the cell averages \(\{ \overline{v}^{n}_{j} \}_{j}\) over the partition \(\{ I_{j} \}_{j} = \{ [x_{j -\frac{1}{2}}, x_{j + \frac{1}{2}}] \}_{j}\) at time t=t n, we use the estimates of the maximum speed of propagation, \(a_{j + \frac{1}{2}}^{n}\), to define
and with these values we repartition the computational domain into two sets of cells: the first set,
contains the neighborhood of the interfaces \(x_{j \pm\frac{1}{2}}\) within which discontinuous solutions propagate, the second set,
contains the portion of the original cells where the solution remains smooth over the interval [t n,t n+1] (consult Fig. 12). We then formulate two sets of staggered cell averages following the recipe in [11] (a non-staggered extension of the original NT scheme proposed in [22]) including, in our case, the contribution from the source term. These two sets of solutions read:
where \(\lambda= \frac{\Delta t}{\Delta x}\). The midpoint values \(v^{n + \frac{1}{2}}(x)\) are approximated using Taylor’s theorem and the balance law (96),
the numerical derivatives \((u_{x})_{j}^{n}\) via a minmod limiter,
and the flux derivatives can be calculated as f(v n(x)) x =A(v)v x , where \(A(v) = \frac{df}{dv}\) is the Jacobian matrix of f, or component by component as
A well-balance discretization of the integrals on the right hand side of (98) can be found in [24].
From these staggered averages, we form the interpolant
where the derivatives \((v_{x})_{j \pm\frac{1}{2}}^{n + 1}\) are also approximated with a minmod limiter
This interpolant is then reprojected onto the original (non-staggered) grid, obtaining the updated, non-staggered cell averages
In order to arrive at the semi-discrete formulation from (105), we consider the limit
To evaluate it, we write explicitly the finite difference using (105),
and expand it making use of (98) and (99)
In the limit Δt→0, the midpoint interface values approach
with \(H_{j \pm\frac{1}{2}}\) given by (19) as desired.
Rights and permissions
About this article
Cite this article
Balbás, J., Karni, S. A Non-oscillatory Central Scheme for One-Dimensional Two-Layer Shallow Water Flows along Channels with Varying Width. J Sci Comput 55, 499–528 (2013). https://doi.org/10.1007/s10915-012-9642-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10915-012-9642-3