Abstract
A new lattice Boltzmann method to simulate open channel flows with complex geometry described by a conservative form of Saint-Venant equations is developed. The Saint-Venant equations include an original treatment of the momentum equation source term. Concrete hydrostatic pressure thrust expressions are provided for rectangular, trapezoidal and irregular cross-section shapes. A D1Q3 lattice arrangement is adopted. External forces, such as bed friction and the static term, are discretized with a centred scheme. Bounce back and imposed boundary conditions are considered. To verify the proposed model, four cases are carried out: tidal flow over a regular bed in a rectangular cross-section, steady flow in a channel with horizontal and vertical contractions, steady flow over a bump in a trapezoidal channel and steady flow in a non-prismatic channel with friction. Results indicate that the proposed scheme is simple and can provide accurate predictions for open channel flows.
Keywords: lattice Boltzmann method, D1Q3 lattice arrangement, open channel flows, Saint-Venant equations
1. Introduction
Numerical modelling of one-dimensional (1D) open channel flows described by a conservative form of Saint-Venant equations [1–4] is a central topic in hydraulic and hydrologic research. Conventional computational schemes mainly focus on the discretization of partial differential equations. For instance, Moussa & Bocquillon [5] investigated the parameter ranges of the finite difference method. Liang & Marche [6] proposed a well-balanced numerical scheme to simulate shallow frictional flows involving wetting and drying by using a Godunov-type scheme. Chang et al. [7] presented a mesh-less numerical model based on smoothed particle hydrodynamics to simulate 1D open channel flows. Murillo & García-Navarro [8] solved Saint-Venant equations by applying the energy balanced property.
The lattice Boltzmann (LB) method is a relatively new discrete numerical approach that has elicited increasing attention recently. The method is characterized by simple calculation, parallel process and easy implementation of boundary conditions, and is very efficient and flexible to simulate different flows within complex/varying geometries. It is these features that make the LB method a very promising computational method in different areas. In the area of simulating the open channel flows described by Saint-Venant equations, the LB method is suitable for subcritical flows, which are the most common scenarios in coastal areas, estuaries and rivers. It suffers from a numerical instability when the LB method is used to solve the supercritical flows. The LB method involves streaming and collision steps. The advantages of the LB method, such as simplicity, efficiency and easy treatment of boundary conditions, in simulating fluid flows have been demonstrated [9,10]. Unlike conventional numerical methods, the LB method describes macroscopic fluid flows from the microscopic flow behaviour through particle distribution functions. The LB method was first derived based on the lattice gas automata [11]. The Bhatnagar–Gross–Krook (BGK) scheme has made the LB method simple and efficient [12]. Salmon [13] and Zhou [10] developed LB method theories for modelling shallow water flows. Mayer et al. [14] carried out the simulations of a subchannel of a rod bundle with triangular rod arrangement using the LB method. Rasin et al. [15] and Peng et al. [16] solved the advection–diffusion equation with a multi-relaxation lattice kinetic method. Fernandino et al. [17] proposed an LB method in conjunction with the Smagorinsky subgrid scale (SGS) model to simulate the turbulent open duct flow. Van Thang et al. [18] discussed the accuracy and stability of the LB method on a D1Q3 lattice and applied the method to a canal network with various hydraulic interconnection structures. Considering the vegetation elements as solid boundaries in flows, Gac [19] presented a 3D lattice model and computed the vertical velocity profile in an open channel flow. Liu et al. [20] proposed an LB model to solve the 1D non-conservative form of Saint-Venant equations under the assumption that the width change of river cross-sections is inconspicuous along the stream-wise direction.
An LB model with a D1Q3 lattice arrangement was developed in this study to solve a conservative form of Saint-Venant equations (LBCSVE). Compared with the former LB models to solve the Saint-Venant equations [19,20], the LBCSVE applied the conservative form of Saint-Venant equations for the first time and the Gauss–Legendre numerical integration method was used to solve the hydrostatic pressure thrust in the LB model first. The model was verified in four cases: tidal flow over a regular bed in a rectangular cross-section, steady flow in a channel with horizontal and vertical contractions, steady flow over a bump in a trapezoidal channel and steady flow in a non-prismatic channel with friction.
The rest of this paper is organized as follows. Section 2 presents the governing equations and computing methods of the hydrostatic pressure thrust term for regular and irregular cross-section shapes, and the constructed LB model. Section 3 presents an evaluation of the scheme's performance in four cases. Section 4 provides the conclusions.
2. Material and methods
2.1. Governing equations
The conservative form of 1D Saint-Venant equations describes shallow water flows in natural rivers and channels. That is
| 2.1 |
| 2.2 |
| 2.3 |
where t is time; x is the stream-wise coordinate; A is the wetted cross-sectional area; Q is discharge; g is gravitational acceleration; is a constant water level [21]; b(x, hi) is the channel width on the water surface, zi = zb + hi (figure 1); I1 is the hydrostatic pressure thrust resulting from longitudinal width variation; and Sf is a friction term modelled by Manning's formula and is expressed as
| 2.4 |
where n is the roughness coefficient, R is the hydraulic radius and P is the wetted perimeter.
Figure 1.
Cross-section shape and variable definition.
2.2. Calculation of the integral I1
I1 represents hydrostatic pressure thrust through integration on the wetted cross-section in consideration of the distance of each infinitesimal area element with respect to the water surface. Table 1 shows the calculation formulae of I1 for channels with rectangular and trapezoidal cross-section shapes and natural rivers with irregular cross-section shapes. The Gauss–Legendre numerical integration method is applied for irregular cross-section shapes (see appendix A).
Table 1.
Calculation formulae of the hydrostatic pressure thrust I1.
| cross-section shape | I1 |
|---|---|
| rectangular cross-section | |
| trapezoidal cross-section | |
| irregular cross-section |
2.3. Lattice Boltzmann model
We considered the LB method to solve the conservative form of 1D Saint-Venant equations on a D1Q3 lattice arrangement (shown in figure 2). The discrete velocities [18,20] are
| 2.5 |
where is the link in a lattice; denotes the velocity along a lattice link, with being the lattice and being the time step. In D1Q3 lattice arrangement, each lattice has two links ( and ) to its neighbours. indicates that the particle stays at its original lattice without movement.
Figure 2.
D1Q3 lattice arrangement.
The LB method involves two steps: streaming and collision. In the streaming step, the particles move to the neighbouring lattice points in their directions and at their velocities governed by
| 2.6 |
where denotes the distribution function of particles, is the value before the streaming step, is a constant and equal to , F is the external force and represents the weight factor determined by the pattern of the lattice, which is
| 2.7 |
In the collision step, is expressed as
| 2.8 |
where is the collision operator. The BGK model is used due to its simplicity and efficiency
| 2.9 |
where is the single relaxation time and denotes the local equilibrium distribution function.
Equations (2.6), (2.8) and (2.9) are combined to obtain the evolution equation with single-relaxation time as follows:
| 2.10 |
The local equilibrium distribution plays an essential role in the LB method. It decides what flow equations are to be solved. must satisfy the following three conditions, namely, mass, momentum conservation and momentum tensor in equations (2.1) and (2.2)
| 2.11 |
| 2.12 |
| 2.13 |
For the D1Q3 lattice arrangement, the local equilibrium distributions can be expressed as (see appendix B)
| 2.14 |
| 2.15 |
| 2.16 |
The macroscopic variables are defined as
| 2.17 |
External force F in equation (2.6) is the source term in the momentum equation in equations (2.1)–(2.2) and is expressed as
| 2.18 |
The centred scheme proposed by Zhou [10] was applied in this study. The scheme has second order in space and time. The external force term was evaluated at the mid-point between the lattice point and its neighbouring lattice point as
| 2.19 |
Substitution of equation (2.18) into equation (2.19) leads to
| 2.20 |
| 2.21 |
| 2.22 |
| 2.23 |
| 2.24 |
2.3.1. Boundary conditions
As shown in figure 3, f2 and f0, at the inlet boundary can be obtained after the streaming step. Unknown distribution function f1 (shown as a dashed line) cannot be determined from the internal lattice nodes. Also, at the outlet boundary, f2 (shown as a dashed line) is unknown. Proper boundary conditions are necessary to determine the unknown distribution functions.
Figure 3.
Distribution function at the inlet and outlet boundaries.
Bounce-back boundary condition. The basic idea of the bounce-back condition is that an incoming particle towards the boundary bounces back into the fluid. At the inlet boundary, incoming unknown distribution function f1 is equal to f2. Similarly, unknown distribution function f2 is equal to f1 at the outlet boundary.
Imposed boundary condition. Specific variable values are commonly applied at boundaries. For example, constant discharge Qin and fixed water level zout are imposed at inlet and outlet boundaries, respectively. For the inlet boundary, the treatment involves three steps. In the first step, a zero-gradient condition for water level z is set, and wetted area A (2.1) is calculated
| 2.25 |
Second, the velocity is calculated as
| 2.26 |
Third, the distribution function f1 is calculated as
| 2.27 |
is computed based on the macroscopic variables obtained in the first and second steps.
Unknown distribution function f2 at the outlet boundary can be calculated through the same steps. First, a zero-gradient condition for discharge Q is set
| 2.28 |
Second, wetted area A(N) is calculated with fixed water level zout. The velocity is
| 2.29 |
Third, f2 is determined as
| 2.30 |
2.3.2. Stability conditions
The magnitude of the resultant velocity is smaller than velocity v along a lattice link and celerity [10]
| 2.31 |
and
| 2.32 |
The essential procedures of the LBCSVE model are summarized in figure 4.
Figure 4.
Flowchart showing the basic steps of the LBCSVE model.
3. Numerical tests
The LBCSVE model was validated through four benchmark tests.
3.1. Tidal flow over a regular bed
We considered the test proposed by Bermudez & Vazquez [22] used to verify an upwind discretization of bed slope source terms. Bed elevation is defined as (figure 5a)
| 3.1 |
where L = 14 000 m is the channel length. The initial condition is
| 3.2 |
and the inlet and outlet boundary conditions are
| 3.3 |
Figure 5.
Tidal wave flow in an open channel at t = 9, 117.5 s and comparison of the analytical solution and numerical results. (a) Water level, (b) velocity and (c) the absolute errors of water level and velocity.
In the computations, the rectangular and frictionless channel width is 1.0 m, with = 17.8 m and = 0.3 s. The relaxation time = 0.6. Figure 5 presents a comparison of the numerical results and the asymptotic analytical solution at t = 9, 117.5 s. Good agreements were observed.
3.2. Steady flow in a channel with horizontal and vertical contractions
For this case [23], the channel is frictionless and 3 m long. Simulation was undertaken to reproduce steady flows with varying breadth and topography. Channel breadth (shown in figure 6) and topography are provided by
| 3.4 |
and
| 3.5 |
Figure 6.
Channel with vertical contractions in §3.2: top view.
A unit discharge of q = 1.566 m2 s−1 was imposed at the inflow, and a depth of 1 m was fixed for the outflow. In the computation, the number of lattice nodes was 100, and the lattice speed was = 6 m s−1. The relaxation time = 0.9. A steady-state solution was obtained (shown in figure 7). The predicted surface profile in figure 7a matches the analytical one perfectly. The value of discharge predicted with the proposed LBCSVE model is equal to exactly 1.566 m2 s−1. Figure 7b shows that the LBCSVE model offers a better solution than the model proposed by Alias et al. [23] based on the finite-volume Godunov-type framework with a slight oscillatory behaviour near the bump.
Figure 7.
Steady flow in a channel with horizontal and vertical contractions and comparison of the analytical solution and numerical results: (a) water level and (b) discharge.
3.3. Steady flow over a bump in a trapezoidal channel
The steady flow over a bump is a classical test problem used as a benchmark test case for numerical methods by many researchers [24–26]. The channel is 25 m long, and topography is defined as
| 3.6 |
The trapezoidal cross-section (shown in figure 8) was adopted in this test case. The channel width d(x) was 1.0 m. The relaxation time = 1.0. Several values of the slope coefficient (m = 0.1, 0.5, 1) were selected. The cell size of Δx = 0.1 m was used for both LBCSVE and Godunov-type models with = 10 m s−1. A comparison of the results of the finite-volume Godunov-type framework with Harten, Lax and van Leer approximate Riemann solvers [6,27,28] is plotted in figure 9. Good agreement was observed. The quantitative comparison indicates that the maximum relative error for water level is smaller than 0.34% for the three slope coefficients.
Figure 8.
Trapezoidal cross-section and variable definition.
Figure 9.
Steady flow over a bump in a trapezoidal channel and comparison of the LBCSVE model and the Godunov-type model: (a) water level and (b) velocity.
3.4. Steady flow in a non-prismatic channel with friction
This test case was developed by MacDonald [29]. The analytical solution of steady flows in a non-prismatic channel with friction exists when channel width and water depth are given. The Manning coefficient, n, is 0.03 m s−1/3. The channel length is 400 m with a trapezoidal cross-section. The slope coefficient, m, is equal to 2. At the inlet, the discharge is 20 m3 s−1, and a fixed downstream depth of 0.904094 m is provided. The channel width is (shown in figure 10)
| 3.7 |
Figure 10.
Steady flow in a non-prismatic channel with friction in §3.4: top view.
Figure 11 shows the bed slope defined by bed width b, Manning coefficient n, slope coefficient m, discharge Q and water depth h
| 3.8 |
where grid size Δx is 2 m and time step Δt is 0.1 s. The relaxation time = 0.6. Figure 12 proves that the LBCSVE model can predict the water level and velocity accurately.
Figure 11.
Steady flow in a non-prismatic channel with friction: bed slope.
Figure 12.
Steady flow in a non-prismatic channel with friction and comparison of the analytical solution and the numerical results: water level and velocity.
4. Conclusion
In this study, a new LB model with a D1Q3 lattice (LBCSVE) was developed to solve a conservative form of Saint-Venant equations. The LBCSVE model can provide accurate predictions for 1D frictional open channel flows with various cross-section shapes.
The general mathematical formulation proposed in this paper encourages the application to other case studies.
Supplementary Material
Appendix A
No exact expression of I1 is available for natural rivers with irregular cross-section shapes. The Gauss–Legendre numerical integration method is thus presented. The Legendre polynomial Ln(x) is expressed as
| A 1 |
The Gauss–Legendre integration formula is presented as
| A 2 |
and
| A 3 |
where nl is the number of integration points and Cl is the integration coefficient.
For I1, we define
| A 4 |
and
| A 5 |
By applying equations (A 4) and (A 5), I1 becomes
| A 6 |
Appendix B
The local equilibrium distribution plays an essential role in the LB method. It decides what flow equations are to be solved. For the D1Q3 lattice arrangement, is assumed to be a polynomial [31], that is
| B 1 |
Where , and are the coefficients to calculate and u is macroscopic velocity equal to Q/A. Given that the local equilibrium distribution has the same symmetry as the lattice (figure 2), we have
| B 2 |
must satisfy the following three conditions, namely, mass, momentum conservation and momentum tensor in equations (2.1) and (2.2)
| B 3 |
| B 4 |
| B 5 |
Substitution of equation (B 1) into equations (B 3)–(B 5) results in
| B 6 |
| B 7 |
| B 8 |
From equation (B 7), we obtain
| B 9 |
After evaluating the terms in equations (B 6) and (B 7) and equating the coefficients of A and u2, respectively, we have
| B 10 |
| B 11 |
| B 12 |
| B 13 |
The solutions of equations (B 10)–(B 13) result in
| B 14 |
| B 15 |
| B 16 |
| B 17 |
Substitutions of equations (B 9) and (B 14)–(B 17) into equation (B 1) lead to the local equilibrium distribution
| B 18 |
| B 19 |
| B 20 |
Data accessibility
The data and Fortran source code have been uploaded to the Dryad Digital Repository: https://dx.doi.org/10.5061/dryad.dj5g9v3 [30].
Authors' contributions
F.B. conceived the research; Z.Y. performed the research; F.B. and K.X. contributed to model development; Z.Y. and F.B. interpreted the results. All authors gave final approval for publication.
Competing interests
The authors declare no conflict of interest.
Funding
F.B. was funded by the National Key Research and Development Program of China (grant no. 2016YFC0402207); Z.Y. and K.X. was funded by the National Natural Science Foundation of China (grant nos 51679170, 51879199 and 51439007).
References
- 1.Cunge JA, Holly FM, Verwey A. 1980. Practical aspects of computational river hydraulics. London, UK: Pitman Publishing Ltd. [Google Scholar]
- 2.Ying XY, Wang SSY. 2008. Improved implementation of the HLL approximate Riemann solver for one-dimensional open channel flows. J. Hydraul. Res. 46, 21–34. ( 10.1080/00221686.2008.9521840) [DOI] [Google Scholar]
- 3.Wu WM, Wang SSY. 2007. One-dimensional modeling of dam-break flow over movable beds. J. Hydraul. Eng. 133, 48–58. ( 10.1061/(ASCE)0733-9429(2007)133:1(48)) [DOI] [Google Scholar]
- 4.Franzini F, Soares-Frazão S. 2016. Efficiency and accuracy of lateralized HLL, HLLS and augmented Roe's scheme with energy balance for river flows in irregular channels. Appl. Math. Model. 40, 7427–7446. ( 10.1016/j.apm.2016.02.007) [DOI] [Google Scholar]
- 5.Moussa R, Bocquillon C. 1996. Criteria for the choice of flood-routing methods in natural channels. J. Hydrol. 186, 1–30. ( 10.1016/S0022-1694(96)03045-4) [DOI] [Google Scholar]
- 6.Liang Q, Marche F. 2009. Numerical resolution of well-balanced shallow water equations with complex source terms. Adv. Water Resour. 32, 873–884. ( 10.1016/j.advwatres.2009.02.010) [DOI] [Google Scholar]
- 7.Chang TJ, Kao HM, Chang KH. 2011. Numerical simulation of shallow-water dam break flows in open channels using smoothed particle hydrodynamics. J. Hydrol. 408, 78–90. ( 10.1016/j.jhydrol.2011.07.023) [DOI] [Google Scholar]
- 8.Murillo J, García-Navarro P. 2014. Accurate numerical modeling of 1D flow in channels with arbitrary shape: application of the energy balanced property. J. Comput. Phys. 260, 222–248. ( 10.1016/j.jcp.2013.12.040) [DOI] [Google Scholar]
- 9.Li Y, Huang P. 2008. A coupled lattice Boltzmann model for advection and anisotropic dispersion problem in shallow water. Adv. Water Resour. 31, 1719–1730. ( 10.1016/j.advwatres.2008.08.008) [DOI] [Google Scholar]
- 10.Zhou JG. 2004. Lattice Boltzmann methods for shallow water flows. Berlin, Germany: Springer. [Google Scholar]
- 11.Benzi R, Succi S, Vergassola M. 1992. The lattice Boltzmann equation: theory and applications. Phys. Rep. 222, 145–197. ( 10.1016/0370-1573(92)90090-M) [DOI] [Google Scholar]
- 12.Qian YH, d'Humières D, Lallemand P. 1992. Lattice BGK models for Navier-Stokes equation. Europhys. Lett. 17, 479 ( 10.1209/0295-5075/17/6/001/meta) [DOI] [Google Scholar]
- 13.Salmon R. 1999. The lattice Boltzmann method as a basis for ocean circulation modeling. J. Mar. Res. 57, 503–535. ( 10.1357/002224099764805174) [DOI] [Google Scholar]
- 14.Mayer G, Páles J, Házi G. 2007. Large eddy simulation of subchannels using the lattice Boltzmann method. Ann. Nucl. Energy 34, 140–149. ( 10.1016/j.anucene.2006.10.002) [DOI] [Google Scholar]
- 15.Rasin I, Succi S, Miller W. 2005. A multi-relaxation lattice kinetic method for passive scalar diffusion. J. Comput. Phys. 206, 453–462. ( 10.1016/j.jcp.2004.12.010) [DOI] [Google Scholar]
- 16.Peng Y, Zhou JG, Burrows R. 2011. Modelling solute transport in shallow water with the lattice Boltzmann method. Comput. Fluids 50, 181–188. ( 10.1016/j.compfluid.2011.07.008) [DOI] [Google Scholar]
- 17.Fernandino M, Beronov K, Ytrehus T. 2009. Large eddy simulation of turbulent open duct flow using a lattice Boltzmann approach. Math. Comput. Simulat. 79, 1520–1526. ( 10.1016/j.matco-m.2008.07.001) [DOI] [Google Scholar]
- 18.Van Thang P, Chopard B, Lefèvre L. 2010. Study of the 1D lattice Boltzmann shallow water equation and its coupling to build a canal network. J. Comput. Phys. 229, 7373–7400. ( 10.1016/j.jcp.2010.06.022) [DOI] [Google Scholar]
- 19.Gac JM. 2014. A large eddy based lattice-Boltzmann simulation of velocity distribution in an open channel flow with rigid and flexible vegetation. Acta Geophys. 62, 180–198. ( 10.2478/s11600-013-0178-1) [DOI] [Google Scholar]
- 20.Liu H, Wang H, Liu S. 2015. Lattice Boltzmann method for the Saint–Venant equations. J. Hydrol. 524, 411–416. ( 10.1016/j.jhydrol.2015.03.002) [DOI] [Google Scholar]
- 21.Schippa L, Pavan S. 2009. Bed evolution numerical model for rapidly varying flow in natural streams. Comput. Geosci. 35, 390–402. ( 10.1016/j.cageo.2008.08.004) [DOI] [Google Scholar]
- 22.Bermudez A, Vazquez EM. 1994. Upwind methods for hyperbolic conservation laws with source terms. Comput. Fluids 23, 1049–1071. ( 10.1016/0045-7930(94)90004-3) [DOI] [Google Scholar]
- 23.Alias NA, Liang Q, Kesserwani G. 2011. A Godunov-type scheme for modelling 1D channel flow with varying width and topography. Comput. Fluids 46, 88–93. ( 10.1016/j.com-pfluid.2010.12.009) [DOI] [Google Scholar]
- 24.Zhou JG, Causon DM, Mingham CG. 2001. The surface gradient method for the treatment of source terms in the shallow-water equations. J. Comput. Phys. 168, 1–25. ( 10.1006/jcph.2000.6670) [DOI] [Google Scholar]
- 25.Wang Y, Liang Q, Kesserwani G. 2011. A 2D shallow flow model for practical dam-break simulations. J. Hydraul. Res. 49, 307–316. ( 10.1080/00221686.2012.727873) [DOI] [Google Scholar]
- 26.Liang Q, Borthwick AG.L. 2009. Adaptive quadtree simulation of shallow flows with wet–dry fronts over complex topography. Comput. Fluids. 38, 221–234. ( 10.1016/j.compfluid.2008.02.008) [DOI] [Google Scholar]
- 27.Gouta N, Maurel F. 2002. A finite volume solver for 1D shallow-water equations applied to an actual river. Int. J. Numbr. Methods Fluids 38, 1–19. ( 10.1002/fld.201) [DOI] [Google Scholar]
- 28.Zhang S, Duan JG. 2011. 1D finite volume model of unsteady flow over mobile bed. J. Hydrol. 405, 57–68. ( 10.1016/j.jhydrol.2011.05.010) [DOI] [Google Scholar]
- 29.MacDonald I. 1996. Analysis and computation of steady open channel flow. Arch. Dis. Child. 76, 163–164. [Google Scholar]
- 30.Yang Z, Bai F, Xiang K. 2019. Data from: A lattice Boltzmann model for the open channel flows described by the Saint-Venant equations Dryad Digital Repository. ( 10.5061/dryad.d5g9v3) [DOI] [PMC free article] [PubMed]
- 31.Rothman D, Zaleski S. 1997. Lattice-gas cellular automata. Cambridge, UK: Cambridge University Press. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Citations
- Yang Z, Bai F, Xiang K. 2019. Data from: A lattice Boltzmann model for the open channel flows described by the Saint-Venant equations Dryad Digital Repository. ( 10.5061/dryad.d5g9v3) [DOI] [PMC free article] [PubMed]
Supplementary Materials
Data Availability Statement
The data and Fortran source code have been uploaded to the Dryad Digital Repository: https://dx.doi.org/10.5061/dryad.dj5g9v3 [30].












