We briefly describe the numerical discretization of system (1)–(4) assuming a constant split of the layers . Here, we follow the procedure described in [5]. The numerical scheme is based on a two-step projection-correction method, similar to the standard Chorin’s projection method for Navier-Stokes equations ([4]). That is a standard procedure when dealing with dispersive systems (see [9, 5, 12, 15] and references therein).
First, we shall solve the non-conservative hydrostatic underlying system (1)–(3) given by the compact equation
|
| (8) |
where the following compact notation has been used:
and is a matrix such contains the non-conservative products related to the mass transfer across interfaces appearing at the momentum equations.
Then, in a second step, the non-hydrostatic terms from the right-hand side of equations (2)-(3) collected by the pressure vector
as well as the divergence constraints at each layer given in (4) will be taken into account. Concerning the constraints, we will equivalently impose
so that the divergence impositions read as follows
System (8) is discretized using a second-order finite volume PVM positive-preserving well-balanced path-conservative method [2]. As usual, we consider a set of finite volume cells with constant lengths and define
the cell average of the function on cell at time Concerning non-hydrostatic terms, we consider mid-points of each cell and denote the point values of the function at time by
Non-hydrostatic terms will be approximated by second-order compact finite differences.
Let us detail the time stepping procedure followed. Assume given time steps and denote To obtain second-order accuracy in time, the two-stage second-order TVD Runge-Kutta scheme is adopted. At the th stage, the two-step projection-correction method is given by
where is at the time level , is an intermediate value in the two-step projection-correction method that contains the numerical solution of the hyperbolic system (8) at the corresponding th stage of the Runge-Kutta, and is the th stage estimate. After that, a final value of the solution at the time level is obtained:
Observe that equations (10-11) require, at each stage of the calculation respectively, to solve a Poisson-like equation for each one of the variables contained in The resulting linear system is solved using an iterative Jacobi method combined with a scheduled relaxation (see [5, 9]). Note that the usual CFL restriction must be imposed for the computation of the time step
When friction with the bottom (5), viscous shear stress (6), and the breaking model (7) are considered, they will be computed semi-implicitly at the end of the second step of the projection-correction method at each th stage of the TVD Runge-Kutta method as it is done in [6]. Note that the resolution of a straightforward tridiagonal system on the vertical for each volume is exclusively required for the viscosity model. In contrast, the friction and breaking models can be considered by solving conventional algebraic problems, as is commonly the practice for friction models.
The resulting numerical scheme is well-balanced for the water at rest solution and is linearly -stable under the usual CFL condition related to the hydrostatic system. It is also worth mentioning that the numerical scheme is positive preserving and can deal with emerging topographies.
