Numerical investigation for water flow in an irregular channel using Saint-Venant equations
⁎Corresponding author at: Faculty of Mathematics and Natural Sciences, Bandung Institute of Technology, West Java, Indonesia. ikha.magdalena@itb.ac.id (I. Magdalena)
-
Received: ,
Accepted: ,
This article was originally published by Elsevier and was migrated to Scientific Scholar after the change of Publisher.
Abstract
Given recent flood events in Indonesia, understanding the hydraulic dynamics in open channels, mirroring real-world drainage and river scenarios, has become paramount. To address this, our research employs a numerical model to simulate water flow in both regular and irregular open channels. Specifically, we utilize the Saint-Venant Equations to explore fluid flow evolution in irregular channels. This model is solved numerically using a staggered finite volume method. We complement our research with laboratory experiments and validate our numerical model against the data collected. Furthermore, we cross-reference our numerical results with those from HEC-RAS to examine the robustness and accuracy of our model in predicting water levels and velocities under varying conditions. To deepen our understanding, we conduct sensitivity analyses that offer valuable insights into the core factors influencing water levels and velocity. This knowledge provides a foundation for practitioners to normalize rivers.
Keywords
Saint-Venant equations
Finite volume on staggered grid
Water flow simulation
Regular channel
Irregular channel
Nomenclature
-
-
Area of water
-
-
Cross-section width
-
-
Gravity
-
-
Height of water
-
-
Manning coefficient
-
-
Wet perimeter
-
-
Water discharge
-
-
Hydraulic radius
-
-
Friction slope
-
-
Time
-
-
Water velocity
-
-
Position
-
-
Distance to bottom channel
-
-
Cross-section slope
1 Introduction
Flooding remains a persistent and widespread issue in numerous countries, stemming from a range of factors such as heavy rainfall, blockages in drainage systems, river impediments, and dam failures, as extensively documented in the works of Chang et al. (2011) and Khan et al. (2022). Additionally, floods may arise from an excessive volume of water exceeding a channel’s capacity, as pointed out by Natasha et al. (2019). As such, gaining insights into the variability of a channel’s physical and hydraulic characteristics is pivotal in the effective planning of flood management strategies, as underscored by Dubey et al. (2021).
In flood management studies, it is customary to employ hydrological system simulations to comprehend the dynamics of water levels, discharge, and flow velocity. Various researchers, including Zhang and Bao (2012), Gharbi et al. (2016), Kane et al. (2017), Retsinis et al. (2018), Dasallas et al. (2019), Beyaztas et al. (2021), and Kay et al. (2021), have delved into this endeavor. One-dimensional (1D) hydraulic models represent one approach capable of solving equations to yield flow velocity and depth for each section in the model, as explained by Wang et al. (2022). However, 1D models are primarily suitable for uniform and regular channel sections like rectangles, half pipes, or trapezoids, failing to capture the complexity of natural rivers with their irregular shapes. Hence, this research is inspired by the need to develop a mathematical model that can faithfully simulate water flow in rivers with irregular channels.
There exist various mathematical models for studying fluid phenomena, such as Boussinesq Type Equations (BTE), Potential Theory, and Navier–Stokes Equations. The initial set of extended BTE, often referred to as the Standard Boussinesq Equations, were derived by Peregrine (1967). These equations were developed under the assumptions of weak non-linearity and frequency dispersion, primarily applicable to relatively shallow waters due to the weak dispersion assumption. Subsequent efforts to extend the validity and applicability of these Standard Boussinesq Equations have greatly improved their properties and usability, as seen in the works of Madsen and Sørensen (1992) and Nwogu (1993). These equations have been widely employed by researchers to investigate fluid phenomena, as demonstrated by Kazolea and Delis (2018), Forbes et al. (2022), Jing et al. (2015), and Magdalena et al. (2023a). However, working with Boussinesq Equations poses a challenge in handling higher-order terms. Potential Theory is not suitable for numerical studies of these phenomena, primarily because they involve numerous equations. On the other hand, Navier–Stokes Equations, as employed in Darrigol (2002), Wilcox (2008), Menter (2009), Durbin (2018), and Sheng (2020), offer a comprehensive model but come with a high computational cost, resulting in slower calculations. Therefore, in this research, we propose a model based on the Saint-Venant Equations. These equations provide relatively straightforward solutions, both analytically and numerically, as described by Magdalena et al. (2020), Magdalena et al. (2021c), Magdalena and Jonathan (2022), Magdalena et al. (2023b). Moreover, working with Saint-Venant Equations allows us the flexibility to modify channel configurations, cross-sections, and surface roughness. This flexibility proves to be highly advantageous, especially in the context of river management.
Research in the field of open channel flow using numerical methods has predominantly concentrated on regular channels. Various researchers have adopted distinct numerical techniques, with examples including smoothed particle hydrodynamics employed by Chang et al. (2011) and Chang et al. (2014), WENO schemes utilized by Crnjaric-Zic et al. (2004), Xing (2016), and Wang et al. (2019), lattice Boltzmann methods applied by Yang et al. (2017), and Q-schemes explored by Castro et al. (2004) and Zhang and Bao (2012). Additionally, some researchers have employed the finite difference method, as seen in the works of Retsinis et al. (2018) and Natasha et al. (2019). However, there is a limited body of literature that addresses the specific challenges of handling irregular channels that accommodate asymmetrical scenarios. In this study, we employ a Staggered Finite Volume Method to numerically solve the model. Additionally, we introduce the Riemann Sum Method for approximating the area of irregular channels and integrate the upwind scheme into our numerical framework. This innovative integration is a key feature of our research, enabling us to effectively simulate flow in irregular channels. Moreover, tackling the issue of absorbing boundary conditions, as discussed by Agoshkov et al. (1993) and Paz et al. (2009), necessitates expanding the spatial domain to achieve viable solutions.
This paper is structured into five chapters for clarity and coherence. The first chapter lays the foundation by introducing the background, objectives, methodology, and relevant literature. In the second chapter, the focus shifts to an in-depth discussion of the Saint-Venant Equations employed in the model. The third chapter delves into the intricacies of the numerical scheme adopted for solving these equations. Chapter four undertakes comparisons of the results produced by our model against the HEC-RAS application and experimental data. Finally, the fifth chapter synthesizes the discussions within the study, offering recommendations for future research.
2 Mathematical model
To analyze the water flow in an open channel, the Saint-Venant Equations, which consist of mass conservation and momentum balance equations, will be employed (Diaz et al., 2008; Litrico and Fromion, 2009). Eq. (1) represents mass conservation, which tells us that the rate of fluid mass alteration within a given volume is directly proportional to the net flow rate of fluid entering and exiting the cross-sections located at points
In Fig. 1, the variable

- Side view of the water channel.
Here, we modify Eqs. (1) and (2) by substituting

- Front view of the water channel.
Solving the Saint-Venant Equations explicitly is impractical, as it necessitates assumptions that do not accurately represent real-world scenarios, as noted in the work by Sleigh and Goodwill (2000). Consequently, the system of Eqs. (4) and (5) will be addressed through numerical methods. The chosen numerical approach for solving this system of equations is the Finite Volume on Staggered Grid Method.
3 Numerical scheme
The numerical schematic illustration is presented in Fig. 3. Supposing there is a channel of length

- Illustration of the finite volume on staggered grid method.
By using the Forward Time Centered Space (FTCS) method, Eqs. (4) and (5) can be approximated by
Notice that in Eq. (6), the value of
By substituting
By substituting the value of
The calculation of
3.1 Model for regular cross section
This research will scrutinize two distinct regular cross-sectional shapes: a rectangular channel and a trapezoidal channel. Table 1 delineates the method for computing the wet areas, wet perimeters, and hydraulic radius, for both rectangular and trapezoidal channel cross-section. Here,
We can calculate the value of the water level by considering the wet area in Table 1. For the case with a rectangular cross-section, the water level follows
Cross section | Wet area ( |
Wet perimeter ( |
Hydraulic radius ( |
---|---|---|---|
![]() |
|
|
|
![]() |
|
|
|
3.2 Model for irregular cross section
In the case of an irregular channel cross-section, it is not feasible to obtain the exact formulas for directly calculating
Suppose the objective is to solve the wet area of Fig. 4. The approximation of this area is the sum of the areas of all rectangular bands, which are symbolized by

- Illustration of the Riemann Sum Partitioning Method.
Next, to calculate the value of
The formulated numerical scheme is then converted into a program code developed in MATLAB to conduct several simulations. To validate the scheme’s accuracy and performance, the results of these simulations are then compared with both laboratory experiments and the HEC-RAS application.
4 Experiment and result
4.1 Comparisons against experimental data
The experiments were conducted at the Water Resources Engineering Laboratory, Bandung Institute of Technology, Bandung, Indonesia, using a rectangular flume of

- The rectangular wave flume used in the experiments.
4.1.1 The first simulation case
During the initial simulation, the wave pump was operated for
-
-
-
-
-
-
Upstream boundary condition:
(31) -
Downstream boundary condition:
(32)
4.1.2 The second simulation case
For the second simulation, the wave pump was operated continuously for
-
Upstream boundary condition:
(33) -
The downstream boundary condition for free flow is constructed by extending the spatial domain with a large value.
After we got the experimental data, we conducted numerical simulations in MATLAB with the same parameters as the experiment and compared both results. Fig. 6 illustrates that both the irregular and regular models yield highly satisfactory results, a finding that aligns well with the experimental data. The water levels generated by both the irregular and regular models exhibit a consistent and similar trend when compared to the water levels observed during the experiments. Moreover, the water level values in the irregular model consistently match those of the regular model. Consequently, it can be deduced that the irregular model has been effectively calibrated and can be deemed reliable for addressing analogous scenarios. In addition, based on the results of the experiments, it was observed that the model’s parameters cannot be excessively small. To address this issue, we converted all parameter units to the C.G.S. unit system in order to yield larger values. Additionally, our findings indicate a tendency for the time step (

- Comparisons between the simulation results and experimental data for the first (left) and second (right) case.
4.2 Comparisons against the results from HEC-RAS
In addition to the previous validation efforts, comparisons between the results of our model and those of HEC-RAS software have been carried out. The overarching simulation scheme encompasses water flowing from upstream to downstream with a specific discharge rate, covering a channel with a length of

- Front view of the assessed channels.
4.2.1 Trapezoidal channel
The configuration and dimensions of this cross-section are depicted in Fig. 7(a). The initial water level is set at 8.5 m. The upstream boundary condition is gradually increased from 300
4.2.2 First irregular channel
The shape and dimensions of the first irregular cross-section are visualized in Fig. 7(b). The initial water level stands at
4.2.3 Second irregular channel
The configuration and dimensions of the second irregular cross-section are shown in Fig. 7(c). The initial water level is set at
Fig. 8(a) demonstrates that both the regular and irregular models align closely with the results obtained from HEC-RAS in the case of the trapezoidal cross-section, although minor differences in water levels are apparent during the first hour. Furthermore, it is noteworthy that the irregular model consistently produces results matching those of the regular model, affirming the adequacy of the irregular model’s approximation for the trapezoidal cross-section.

- Comparisons between the results generated by the developed model and HEC-RAS in various types of channels.
Figs. 8(b) and 8(c) reveal that for the complex cross-sectional channels, the irregular model provides satisfactory results when compared to HEC-RAS, with only slight disparities in water levels between the irregular model and HEC-RAS. These observations collectively indicate that the irregular model is a dependable and credible tool for modeling water flow in irregular channels.

- The relationship of upstream water flow velocity with the average water level at the end of the simulation in various type of channels.
From these comparisons, we notice that the values of parameters
4.3 Sensitivity analysis of upstream water flow velocity to average water level at the end of simulation
In this section, we explore the relationship between a given constant, upstream water flow velocity, and the average water level at the end of the simulation. We conduct multiple simulations with different upstream boundary conditions, all the while maintaining the shape of the channel’s cross-section as discussed in Section 4.2. The general simulation scheme and parameters remain consistent with those outlined in Section 4.2 for each cross-section shape. The only varied parameters are the upstream boundary conditions, while the downstream boundary conditions are consistently set to
The upstream boundary condition in each case is varied within the range of
As depicted in Fig. 9, the relationship between the upstream water flow velocity and the average water level at the end of the simulation exhibits a linear pattern for a given slope. This linearity signifies that the increment in upstream water flow velocity corresponds directly to an increase in water level at the end of the simulation. Furthermore, it is evident that the channel’s geometry influences the rate at which water level rises; when the water channel area is smaller, the relationship between the increment in water level and the increase in upstream water flow velocity becomes steeper. In essence, the smaller the channel’s cross-sectional area, the more pronounced the effect of varying upstream water flow velocity on water level.
5 Conclusions
The numerical model we proposed based on the Saint-Venant Equations excels at replicating real-world conditions, showcasing its efficacy in comparison to experimental data. Furthermore, when evaluated against HEC-RAS software, our model consistently yields highly compatible outcomes, characterized by minimal discrepancies in water level. The unique advantage of the irregular model lies in its adaptability to a diverse array of cross-sectional geometries. When equipped with coordinate data for cross-sectional geometry, it readily accommodates the modeling of rivers or channels of virtually any shape. Additionally, our model is well-suited to investigate scenarios in which fluctuations in water discharge substantially affect watershed flooding, a dynamic that can be observed by manipulating water discharge values over the course of the simulations. Lastly, sensitivity analysis elucidates that a closed downstream area invariably results in a linear relationship between upstream water flow velocity and water level at the end of the simulation.
Our findings demonstrate that the water level in an open channel is influenced by several key factors, including water discharge, channel’s slope, friction, the initial water level, and the cross-sectional geometry of the channel. However, it is noteworthy that the primary factor affecting water level is water velocity, which is derived from the relationship between water discharge and wet area (
CRediT authorship contribution statement
I. Magdalena: Conceptualization, Data curation, Formal analysis, Funding acquisition, Methodology, Project administration, Resources, Software, Supervision, Writing – review & editing. Riswansyah Imawan: Data curation, Formal analysis, Investigation, Methodology, Validation, Visualization, Writing – original draft. M. Adecar Nugroho: Data curation, Formal analysis, Project administration, Resources, Supervision, Writing – review & editing.
Acknowledgment
We acknowledge the financial support from Program Penelitian, Pengabdian kepada Masyarakat dan Inovasi (P2MI) 2024, Institut Teknologi Bandung .
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
References
- Mathematical and numerical modelling of shallow water flow. Comput. Mech.. 1993;11:280-299.
- [Google Scholar]
- A functional autoregressive model based on exogenous hydrometeorological variables for river flow prediction. J. Hydrol.. 2021;598:126380
- [Google Scholar]
- HEC-RAS, River Analysis System Hydraulic Reference Manual. US Army Corps of Engineers Hydrologic Engineering Center (HEC); 2021.
- Numerical simulation of two-layer shallow water flows through channels with irregular geometry. J. Comput. Phys.. 2004;195:202-235.
- [Google Scholar]
- A new approach to model weakly nonhydrostatic shallow water flows in open channels with smoothed particle hydrodynamics. J. Hydrol.. 2014;519:1010-1019.
- [Google Scholar]
- Numerical simulation of shallow-water dam break flows in open channels using smoothed particle hydrodynamics. J. Hydrol.. 2011;408:78-90.
- [Google Scholar]
- Balanced finite volume WENO and central WENO schemes for the shallow water and the open-channel flow equations. J. Comput. Phys.. 2004;200:512-548.
- [Google Scholar]
- Between hydrodynamics and elasticity theory: The first five births of the Navier-Stokes equation. Arch. Hist. Exact Sci.. 2002;56(2):95-150.
- [Google Scholar]
- Case study of HEC-RAS 1D–2D coupling simulation: 2002 baeksan flood event in Korea. Water. 2019;11:2048.
- [Google Scholar]
- Sediment transport models in shallow water equations and numerical approach by high order finite volume methods. Comput. & Fluids. 2008;37:299-316.
- [Google Scholar]
- Flood modeling of a large transboundary river using WRF-Hydro and microwave remote sensing. J. Hydrol.. 2021;598:126391
- [Google Scholar]
- Some recent developments in turbulence closure modeling. Annu. Rev. Fluid Mech.. 2018;50:77-103.
- [Google Scholar]
- An extended Boussinesq theory for interfacial fluid mechanics. J. Engrg. Math.. 2022;133:10.
- [Google Scholar]
- Comparison of 1D and 2D hydraulic models for floods simulation on the Medjerda Riverin Tunisia. J. Mater. Environ. Sci.. 2016;7(8):3017-3026.
- [Google Scholar]
- An extended form of Boussinesq-type equations for nonlinear water waves. J. Hydrodynam. Ser. B. 2015;27(5):696-707.
- [Google Scholar]
- Modeling of unsteady flow through junction in rectangular channels: Impact of model junction in the downstream channel hydrograph. Sci. Res. Publ.. 2017;6:304-319.
- [Google Scholar]
- Grid-based simulation of river flows in Northern Ireland: Model performance and future flow changes. J. Hydrol.: Reg. Stud.. 2021;38:100967
- [Google Scholar]
- Irregular wave propagation with a 2DH Boussinesq-type model and an unstructured finite volume scheme. Eur. J. Mech. B Fluids. 2018;72:432-448.
- [Google Scholar]
- Channel responses to flooding of Ganga River, Bihar India, 2019 using SAR and optical remote sensing. Adv. Space Res.. 2022;69:1930-1947.
- [Google Scholar]
- Modeling and Control of Hydrosystems. Springer; 2009.
- A new form of the Boussinesq equations with improved linear dispersion characteristics. Part 2. A slowly-varying bathymetry. Coast. Eng.. 1992;18(3–4):183-204.
- [Google Scholar]
- Numerical approaches for Boussinesq type equations with its application in Kampar River, Indonesia. Math. Comput. Simulation 2023
- [Google Scholar]
- Numerical studies of dam break flow with an obstacle through different geometries. Results Appl. Math.. 2021;12:100193
- [Google Scholar]
- Water waves resonance and its interaction with submerged breakwater. Results Eng.. 2022;13:100343
- [Google Scholar]
- A mathematical model for investigating the resonance phenomenon in lakes. Wave Motion 2021
- [Google Scholar]
- Quantification of wave attenuation in mangroves in Manila Bay using nonlinear Shallow Water equations. Results Appl. Math.. 2021;12:100191
- [Google Scholar]
- Two layer shallow water equations for wave attenuation of a submerged porous breakwater. Appl. Math. Comput.. 2023;454:128096
- [Google Scholar]
- Analytical and numerical studies for Seiches in a closed basin with bottom friction. Theor. Appl. Mech. Lett.. 2020;10(6):429-437.
- [Google Scholar]
- Review of the shear-stress transport turbulence model experience from an industrial perspective. Int. J. Comput. Fluid Dynam.. 2009;23(4):305-316.
- [Google Scholar]
- Saint-venant model analysis of trapezoidal open channel water flow using finite difference method. Procedia Comput. Sci.. 2019;157:6-15.
- [Google Scholar]
- Alternative form of Boussinesq equations for nearshore wave propagation. J. Waterw. Port Coast. Ocean Eng.. 1993;119(6)
- [Google Scholar]
- Absorbing boundary condition for nonlinear hyperbolic partial differential equations with unknown Riemann invariants. Mecanica Comput.. 2009;28:1593-1620.
- [Google Scholar]
- Hydraulic and hydrologic analysis of unsteady flow in prismatic open channel. Proc. MDPI. 2018;2(11):571.
- [Google Scholar]
- The st venant equations. 2000. Leeds School of Civil Engineering University of Leeds England
- High order well-balanced finite difference WENO schemes for shallow water flows along channels with irregular geometry. Appl. Math. Comput.. 2019;363:124587
- [Google Scholar]
- Partition of one-dimensional river flood routing uncertainty due to boundary conditions and riverbed roughness. J. Hydrol.. 2022;608:127660
- [Google Scholar]
- High order finite volume WENO schemes for the shallow water flows through channels with irregular geometry. J. Comput. Appl. Math.. 2016;299:229-244.
- [Google Scholar]
- Modelling open-channel flow with rigid vegetation based on two-dimensional shallow water equations using the lattice Boltzmann method. Ecol. Eng.. 2017;106:75-81.
- [Google Scholar]
- Modified Saint-Venant equations for flow simulation in tidal rivers. Water Sci. Eng.. 2012;5(1):34-45.
- [Google Scholar]