Next Article in Journal
Multidisciplinary Analysis of Dripping and Leakage Problems in Kitchenware: Design, Material, and Ergonomic Approaches to the Teapot Effect
Previous Article in Journal
A Vorticity-Enhanced Physics-Informed Neural Network with Logarithmic Reynolds Embedding
Previous Article in Special Issue
Analytical Modelling of Water Pipeline Start-Up Processes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Evaluating Alternatives for Combined Modeling of Gas Cavities and Unsteady Friction in Closed-Pipe Transients

by
Stephanie Iris G. Pinto
1,
Jose G. Vasconcelos
2 and
Alexandre K. Soares
1,*
1
Graduate Program in Environmental Technology and Water Resources, Faculty of Technology, Campus Darcy Ribeiro, University of Brasilia, Asa Norte, Brasilia 70910-900, DF, Brazil
2
Department of Civil and Environmental Engineering, Auburn University, 238 Harbert Engineering Center, Auburn, AL 36849, USA
*
Author to whom correspondence should be addressed.
Fluids 2026, 11(4), 94; https://doi.org/10.3390/fluids11040094
Submission received: 14 January 2026 / Revised: 30 March 2026 / Accepted: 1 April 2026 / Published: 3 April 2026
(This article belongs to the Special Issue Fluid Mechanics in Water Distribution Systems)

Abstract

Hydraulic transients in pressurized pipe systems are significantly influenced by the presence of entrapped air, which alters wave propagation through increased compressibility and energy dissipation. Traditional discrete cavity models, such as the Discrete Gas Cavity Model (DGCM), often assume a constant wave celerity, which limits their accuracy under high gas content conditions. This study evaluated different approaches for representing the effects of gas cavities and unsteady friction in closed pipe transients. The work introduces the Adjustable-celerity Gas Cavity Model (AGCM), a formulation that explicitly couples local air volume and pressure to dynamically adjusted celerity values. Two variants are considered, a non-iterative (AGCM.v1) and an iterative approach (AGCM.v2), the latter ensuring consistency between pressure head and celerity at each time step. The models were evaluated through numerical simulations using both experimental datasets and a hypothetical test case with increasing air fractions. Results show that the AGCM was able to represent celerity magnitudes in unsteady flows with large fractions of air. Also, while constant-celerity models perform well under low-air conditions, variable-celerity formulations offer superior consistency in predicting wave amplitudes and celerity dynamics as gas content increases. These findings underscore the importance of dynamic celerity coupling in transient flow modeling and validate the AGCM as a useful approach for transient modeling in conditions with higher air phase fractions.

1. Introduction

Hydraulic transients, commonly referred to as water hammer, are pressure waves generated in pressurized pipe systems due to abrupt changes in flow velocity, typically caused by the sudden closure of valves or pump shutdowns. These events can trigger rapid and intense pressure fluctuations, potentially leading to structural damage such as pipe ruptures or equipment failure. When free air is present in the system, whether due to air entrainment, release of dissolved gases, or the compression of trapped air pockets, the transient response is fundamentally altered. In such conditions, the compressibility of the gas phase introduces additional storage mechanisms that strongly influence wave propagation speed, pressure amplitudes, and energy dissipation. Experimental and numerical investigations have demonstrated that air-pocket compressibility can significantly influence the transient response, surpassing both liquid compressibility and pipe-wall elasticity, resulting in pronounced pressure damping, phase shifts, and delayed pressure peaks [1,2,3,4,5]. These findings suggest that a clear and physically consistent representation of gas–liquid interactions is crucial for accurately describing the transient flows in air-influenced systems.
From a modeling perspective, the need to accurately represent gas–liquid interactions in transient flows motivated the development of several approaches. One class of approaches focuses on lumped air-pocket models, in which trapped air volumes are treated as discrete control volumes governed by thermodynamic relations, commonly assuming ideal gas behavior with isothermal or polytropic compression. These models have been widely applied to rapid filling scenarios and valve-induced transients, particularly to investigate peak pressure surges and pressure damping associated with air-pocket compression [5,6,7,8,9,10,11]. An alternative line of research adopts two-phase formulations, ranging from homogeneous mixture models, where the gas content evolves as a distributed variable, to higher-dimensional CFD-based approaches. While these models offer a detailed description of air-water interactions, their computational cost often limits their applicability in system-scale engineering analyses [10,12,13,14,15,16].
Within this broader landscape, modeling approaches using uniformly spaced gas cavities emerged as a pragmatic and computationally efficient compromise for simulating one-dimensional air-influenced transient flows. Over the past few decades, the Discrete Vapor Cavity Model (DVCM) and the Discrete Gas Cavity Model (DGCM) have been among the most widely used formulations in this class [6,8,17]. The classical DVCM represents liquid-vapor interactions through the formation of vapor cavities whenever the local pressure reaches the vapor pressure, maintaining a minimum pressure plateau until the cavities collapse. Despite its historical importance, this formulation is known to suffer from numerical instabilities and unrealistic pressure spikes in multicavity scenarios [10]. The DGCM was subsequently introduced as a refinement by replacing vapor cavities with small volumes of non-condensable gas located at computational sections. By allowing cavity behavior to be governed by gas compressibility rather than fixed vapor pressure, the DGCM smooths pressure pulses, improving agreement with experimental observations, particularly under mild to moderate cavitation conditions [3,9,18,19].
Recent developments within the discrete-cavity family modeling have followed multiple directions. Efforts have focused on improving numerical robustness and wall-shear representation, including Godunov-type DGCM formulations [19] and DGCM/DVCM models coupled with quasi-2D friction [20]. In parallel, alternative modeling approaches based on higher-fidelity descriptions have been proposed, including two-dimensional and distributed models that better resolve velocity profiles, shear stress, and phase interactions [15,21]. Other studies have extended transient cavitation analysis toward plastic and viscoelastic pipes [11], as well as toward gas-containing pipelines and leak-related applications [22]. These developments indicate that the field has expanded substantially beyond the classical DGCM framework; however, one-dimensional DGCM-based approaches remain particularly attractive for large engineering systems, where computational efficiency and modeling robustness are essential.
Despite the significant decrease in acoustic wave celerities created by gas fractions, most DGCM-based formulations retain the classical assumption of constant wave celerity throughout the pipeline. This assumption becomes increasingly questionable in systems with significant gas content, where local gas volumes evolve dynamically and directly influence wave propagation characteristics [4,10,11]. In this context, different interpretations of the DGCM formulation can be identified in the literature. On one hand, the classical approach assumes constant wave celerity, consistent with the original GCAV framework proposed by Wylie [17]. On the other hand, more recent studies have implicitly or explicitly adopted formulations in which wave celerity varies as a function of local gas conditions, effectively introducing a variable-celerity DGCM framework [22,23].
Although these studies incorporate variable wave celerity, the implications of this modification on the mathematical structure of the DGCM and its interaction with other physical mechanisms are not always well addressed. For instance, the coupling between gas cavity volume, wave celerity, and the governing hydraulic variables introduces an additional level of nonlinearity, as variations in cavity volume affect wave speed, which in turn influences pressure and discharge. This interdependency may impact the consistency and convergence of the numerical solution if not properly treated. A similar issue has been addressed in alternative cavitation formulations, such as that proposed by Vasconcelos and Marwell [24], where an iterative strategy was introduced to ensure consistency between cavity volume and the hydraulic state variables. However, such coupling mechanisms are not explicitly considered in DGCM-based formulations with variable wave celerity.
In this context, the present study introduces two modeling approaches that extend the existing DGCM formulations through the incorporation of variable wave celerity and interactive coupling strategies. The first formulation, referred to as the Adjustable-celerity Gas Cavity Model (AGCM.v1), retains the discrete representation of gas cavities at computational sections while allowing wave celerity to evolve dynamically as a function of local gas volume and pressure. This formulation is consistent with approaches non-interactively adopted in previous studies (e.g., [22,23]), and is herein formalized to provide a clear and unified interpretation. The second formulation, AGCM.v2, extends this framework by introducing an iterative coupling procedure at each time step and computational node. The iterations ensure continuous consistency between piezometric head, cavity volume evolution, and wave propagation characteristics. By explicitly enforcing this coupling, the model surpasses previous non-iterative or loosely coupled approaches, providing a more physically consistent representation of transient behavior under elevated air fractions.
To assess the implications of this formulation, the study evaluates four model configurations: (1) the classical DGCM/GCAV; (2) AGCM.v1A, which incorporates variable wave celerity with the unsteady friction model of Vitkovský et al. [25]; (3) AGCM.v1B, which adopts the unsteady friction formulation of Vardy and Hwang [26]; and (4) AGCM.v2, which includes the proposed iterative coupling strategy. The models are first validated against experimental data from Soares et al. [9] and Zhu et al. [23] and subsequently applied to a hypothetical case that enables a sensitivity analysis with increasing gas content. This structured comparison provides insight into the combined effects of discrete gas cavities, wave celerity variation, and unsteady friction interactions under different conditions. The following sections detail the model formulations, present the simulation results, and discuss the key findings, concluding with recommendations for future work.

2. Materials and Methods

2.1. Governing Equations of DGCM

The principles of mass and momentum conservation govern the transient flow in pressurized pipelines. Under one-dimensional assumptions, the governing equations for unsteady flow in a closed conduit are written as:
H t + a m 2 g A Q x + 2 a 2 g ε r t = 0
1 g A Q t + H x = f Q Q 2 D g A 2 h f u
where H is the piezometric pressure head, Q is the flow rate, A is the cross-sectional area of the pipe, D is the internal pipe diameter, a m is the wave pressure celerity, g is the gravitational acceleration, ε r is the retarded strain associated with viscoelastic pipe behavior, f is the friction factor, and h f u is the unsteady friction loss per unit length. These equations form the basis for a wide range of transient flow models.
In the present study, cavitation phenomena are considered through the Discrete Gas Cavity Model (DGCM), as presented by Wylie et al. [6] and implemented in their GCAV.FOR computational code. To solve Equations (1) and (2), the Method of Characteristics (MOC) is applied. The DGCM employs a diamond-shaped computational mesh, where each iteration step advances the solution by 2 t .
The DGCM simulates discrete cavitation, in which gas cavities are assumed to form at predefined computational nodes along the pipeline, as schematically illustrated in Figure 1. Importantly, the model assumes that a small amount of free gas is already present at each node from the beginning of the simulation, even under steady-state conditions. Between nodes, the pipe is filled with low-compressibility liquid.
After applying the MOC, the characteristic equations for each node i at the time level t + 2 t are:
C + :   Q P u   ( t + 2 t , i ) = C P H t + 2 t , i B P
C :   Q P   ( t + 2 t , i ) = H t + 2 t , i C M B M
In these Equations (3) and (4), Q P u represents the flow rate upstream of the gas volume within the pipeline section, Q P is the flow rate downstream of the gas volume, and the coefficients C P , B P , C M and B M are calculated according to Equations (5)–(8).
C P = H ( t , i 1 ) + a m A g Q P   ( t , i 1 ) + C P U F c 1 v i s c ( 1 + c 2 v i s c )
C M = H ( t , i + 1 ) a m A g Q P u   t , i + 1 + C M U F c 1 v i s c ( 1 + c 2 v i s c )
B P = a m A g + f x 2 g D A 2 Q P ( t , i 1 ) + B P U F ( 1 + c 2 v i s c )
B M = a m A g + f x 2 g D A 2 Q P u ( t , i + 1 ) + B M U F ( 1 + c 2 v i s c )
In the original DGCM, the wave celerity a m is constant in the solution domain and does not consider the effect of gas content. This simplification is based on the assumption that air is concentrated in discrete pockets at each node and in low fractions, rather than being uniformly distributed along the pipeline. The original DGCM configuration does not consider unsteady friction, and thus h f u ,   C P U F ,   C M U F ,   B P U F and B M U F are all zero. Furthermore, viscoelastic effects are not included, and therefore ε r / t , c 1 v i s c , and c 2 v i s c are equal to zero.
The piezometric head H at each computational node is implicitly determined based on the evolution of the local air cavity volume, using a gas law formulation under isothermal conditions. The DGCM, following the implementation by Wylie et al. [6], solves a nonlinear relationship between pressure head and air volume derived from the ideal gas law, assuming a constant mass of gas at each node. This formulation also accounts for the geometric and hydraulic characteristics of each node, including local elevation, gas volume, and the hydraulic grade line. Once the updated head H is computed, the upstream and downstream flow rates ( Q P u and Q P ) are evaluated using the MOC characteristic equations. The air cavity volume is then corrected based on the net flow into or out of the node over the time step.

2.2. Incorporation of Unsteady Friction Models

In rapid transients, particularly those involving vaporous or gaseous cavitation, the contribution of unsteady friction (UF) can become significant. In this study, two widely adopted UF formulations are incorporated into the DGCM framework:
  • The Vitkovský et al. model [25], which includes local acceleration and velocity gradient terms and depends on wave celerity;
  • The Vardy and Hwang model [26], which is based on convolution integrals and is independent of celerity, offering a more physically complete representation of wall shear development.
The implementation of each model results in modifications to the momentum equation and the characteristic equations of the MOC, as described below.

2.2.1. Unsteady Friction According to Vítkovský et al. [25]

The model proposed by Vitkovský et al. [25], based on the instantaneous acceleration formulation originally introduced by Brunone et al. [27], expresses unsteady friction losses through a corrective term h f u to the momentum equation:
h f u = k 3 g   A Q t + a m   S G N Q Q x
where k 3 is the unsteady friction coefficient, and S G N (   ) is a function that returns the sign (positive or negative) of the argument. This formulation introduces three correction terms into the MOC equations (Equations (5)–(8)):
C P U F = a m g   A k 3 Q P ( t , i ) S G N ( Q P ( t ,   i 1 ) ) Q P ( t ,     i + 1 ) Q P ( t ,   i 1 ) 2
C M U F = a m g   A k 3 Q P u ( t , i ) S G N ( Q P u ( t ,     i + 1 ) ) Q P u ( t ,   i + 1 ) Q P u ( t ,   i 1 ) 2
B P U F = B M U F = a m g   A k 3
These terms enable the transient model to account for frictional delay effects and internal resistance during transients. As this model depends directly on a m , it is affected by any variation in wave celerity introduced in subsequent model stages.

2.2.2. Unsteady Friction According to Vardy & Hwang [26]

The UF model developed by Vardy and Hwang [26] is based on a convolution approach originally proposed by Zielke [28], and the UF losses are expressed as:
h f u = 16 υ g   D 2 k = 1 N Y k
In the DGCM’s diamond mesh, the evolution of each weighting function Y k is computed recursively:
Y k   ( t + 2 t , i ) = Y k   ( t , i )   e 2 n k τ + m k Q P   t + 2 t , i Q P   t , i A
where υ is the kinematic viscosity of the fluid, m k and n k are exponential sum coefficients and τ is the dimensionless time increment, given by τ = 4 υ Δ t / D 2 . The number of terms N and the values of m k and n k were defined following the approximations proposed by Vitkovský et al. [29], ensuring a good balance between computational efficiency and accuracy.
The resulting MOC correction terms (for Equations (5)–(8)) are:
C P U F = a m g 16 υ t D 2 k = 1 N Y k
C M U F = C P U F
B P U F = B M U F = a m g   A 16 υ t D 2 k = 1 N m k
Unlike the formulation by Vitkovský et al. [13], this model is independent of wave celerity, making it especially robust in scenarios where celerity varies over time and space.

2.3. Incorporation of Viscoelasticity Model

In polymeric and flexible pipes, such as PVC and PE, transient flow behavior is significantly influenced by the viscoelastic response of the pipe wall. This effect introduces additional damping and dispersion of pressure waves, which cannot be captured by purely elastic formulations.
In this study, viscoelastic effects are incorporated into the DGCM framework following the formulation proposed by Covas et al. [30], which is based on a generalized Kelvin–Voigt model represented by a series of creep functions. The viscoelastic behavior is described through the retarded strain ε r , expressed as a sum of contributions from N k v Kelvin–Voigt elements, each characterized by a creep compliance J k and a retardation time τ k .
The inclusion of viscoelasticity introduces additional correction terms into the MOC equations. The resulting correction terms in the diamond grid (Equations (5)–(8)) are given by:
c 1 v i s c = 2 a 2 t g k = 1 N k v J k τ k e 2 Δ t / τ k F t , i + J k C 0 2 Δ t e 2 Δ t / τ k 1 H t , i e 2 Δ t / τ k τ k ε ~ r k t , i
c 2 v i s c = 2 a 2 t g k = 1 N k v C 0   J k ( 2 Δ t ) 1 e 2 Δ t / τ k
where J k denotes the creep compliance of the k -th Kelvin–Voigt element, characterizing the deformability of the pipe material, while τ k represents the corresponding retardation time governing the time-dependent viscoelastic response. The parameter N k v defines the number of elements adopted in the generalized Kelvin–Voigt representation.
The variable ε ~ r k corresponds to the partial retarded strain associated with each element and is determined by Equation (20). The function F t , i and the coefficient C 0 are defined by Equations (21) and (22), respectively.
ε ~ r k t + 2 Δ t , i = J k F t + 2 Δ t , i J k e 2 Δ t / τ k F i , j J k τ k 2 Δ t 1 e 2 Δ t / τ k F t + 2 Δ t , i F t , i + e 2 Δ t / τ k ε ~ r k t , i
F t , i = C 0 [ H t , i H 0 ,   i ]
C 0 = 2 e D 1 + ν + D D + e ( 1 ν 2 ) D γ 2 e
This formulation enables the transient model to capture time-dependent energy dissipation and wave attenuation associated with viscoelastic pipe behavior, providing a more realistic representation of pressure wave propagation in polymeric pipelines.

2.4. Adapting the DGCM to Variable Celerity Conditions

The modeling of transient flows in pressurized pipe systems containing free gas volumes requires proper consideration of the system’s compressibility, which is influenced by both the elasticity of the liquid–pipe system and the presence of entrapped air. In the original DGCM, the pressure wave celerity a m is treated as constant throughout the simulation. However, when free gas is present, this assumption can introduce errors, particularly in systems with large variations in gas content or during intense transients.
In the present study, the DGCM is extended into the Adjustable-celerity Gas Cavity Model (AGCM). This extension allows the pressure wave celerity to vary spatially and temporally, based on the local air fraction and the pipe wall’s elasticity. The wave celerity for an air–water mixture is computed as [6]:
a m = K m / ρ m 1 + K m D E e
where K m is the bulk modulus of the mixture, ρ m is the mixture density, D is the pipe diameter, E is the pipe wall elasticity modulus, and e is the wall thickness. The mixture modulus, considering an isothermal gas compression/expansion process, is given by:
K m = K l i q 1 + α ( K l i q / p 1 )
where K l i q is the bulk modulus of the liquid, p is the absolute pressure, and α is the local gas content, defined as the ratio of free gas volume to the total mixture volume. A linear approximation for the mixture density is adopted, as proposed by Wylie et al. [6]:
ρ m =   ρ g α + ( 1 α ) ρ l
where ρ g and ρ l are the densities of the gas and liquid phases, respectively. The gas content α is updated dynamically based on the cavity volume and pressure conditions at each node.
In this work, we propose the AGCM.v1A, which incorporates the unsteady friction model of Vitkovský et al. [25] and extends it by updating the celerity within the friction source terms at each computational node and iteration. This model represents a significant evolution of the traditional DGCM by establishing a distributed representation of compressibility, allowing air effects to influence the wave behavior along the entire reach, not just at discrete nodes.
Due to the dependence of the Method of Characteristics (MOC) on local wave celerity, the time step t for each simulation iteration is updated dynamically according to the maximum celerity across the domain:
t =   x m a x ( a m   i )
This ensures numerical stability and consistent resolution of the wave front, especially under rapidly varying flow conditions.

2.5. Iterative AGCM Approach with Coupled Celerity–Air Volume Calculations

For the presented AGCM.v1, the wave celerity a m is computed in simplified form as a function of the gas content at each node. However, a strong interdependency arises between pressure, cavity volume, and pressure wave celerity. Specifically, the piezometric head H depends on the local air volume V g , which is itself updated based on flow rates, which in turn are influenced by wave celerity. Since the wave celerity a m is computed from V g , this results in an iterative process that cannot be converged in a single forward pass.
To address this, the AGCM.v2 introduces an iterative procedure at each time step. For each node, the pressure head, wave celerity, and air cavity volume are updated in a nested loop until convergence is achieved. This procedure ensures that the interdependent variables ( H , V g , α and a m ) remain mutually consistent throughout the simulation. The structure of this iterative coupling was inspired by the transient modeling framework proposed by Vasconcelos and Marwell [24], which similarly enforces convergence among interacting flow variables in mixed-cavity scenarios.
The iterative scheme is outlined as follows:
  • Initial values: at time t , values of V g and a m are obtained from the previous time step;
  • First update: Using these values, the MOC equations are solved to compute preliminary values of piezometric head H , upstream flow rate Q P u and downstream flow rate Q P ;
  • Volume update: The air cavity volume is updated based on the net discharge across the node, computed from the difference between inflowing and outflowing discharges;
  • Wave celerity recalculation: The gas content α and wave celerity a m are recalculated using the updated gas volume V g ;
  • Pressure and flow recalculation: with the updated celerity a m , the MOC equations are re-solved to obtain new values of H , Q P u and Q P ;
  • Convergence check: convergence is evaluated by comparing the relative change in piezometric head and celerity between successive iterations. Iteration stops when both relative differences fall below 10 6 , or when a maximum of 50 iterations is reached to prevent divergence in stiff conditions. If the tolerance is not met, steps 3–6 are repeated.
This approach maintains the integrity of coupling between compressibility and flow characteristics, allowing for more consistent tracking of pressure waves in systems with significant variations in gas content. Although it increases computational cost, the iterative scheme provides improved fidelity in scenarios where the cavity volume and wave celerity evolve significantly during the transient. The AGCM.v2 retains the unsteady friction formulation of Vitkovský et al. [25], as in AGCM.v1A.
This model configuration is especially important in systems where
  • The free gas content is high or highly dynamic,
  • The wave celerity varies sharply over space or time,
  • Accurate pressure peak prediction is essential (e.g., in surge analysis or protection design).

2.6. Model Comparison

To systematically assess the influence of specific modeling assumptions on transient flow predictions, four numerical configurations were developed by incrementally incorporating additional components into the core structure of the DGCM. These components include unsteady friction models, the treatment of variable wave celerity, and iterative coupling mechanisms between pressure head and air volume.
The four configurations analyzed in this study are:
  • DGCM/GCAV: The Discrete Gas Cavity Model, extended with unsteady friction modeled according to Vitkovský et al. [25].
  • AGCM.v1A: Adjustable-celerity Gas Cavity Model that integrates the DGCM with variable wave celerity and Vitkovský’s unsteady friction model.
  • AGCM.v1B: Adjustable-celerity Gas Cavity Model that integrates the DGCM with variable wave celerity and unsteady friction via the convolution-based model of Vardy and Hwang [26].
  • AGCM.v2: Iterative extension of AGCM.v1A, featuring internal coupling between piezometric head, air volume, and wave celerity through a convergence loop at each time step.
Figure 2 presents a flowchart summarizing the computational structure of each configuration. Color-coded arrows indicate the modeling path followed by each configuration and match the visual convention used throughout the Section 3.

2.7. Model Benchmarking and Sensitivity Analysis

The numerical investigation conducted in this study is divided into two main stages: (i) benchmarking against experimental data, and (ii) a parametric sensitivity analysis to assess the role of gas content in transient responses. Three datasets were considered: two experimental configurations reported in the literature [9,23] and one hypothetical system designed to systematically explore air–water interaction effects. The corresponding experimental and numerical setups are summarized in Figure 3.

2.7.1. Benchmarking with Experimental Data

The first stage aims to validate and compare the performance of four model configurations introduced in Section 2.6: DGCM, AGCM.v1A, AGCM.v1B, and AGCM.v2. These models were applied to simulate the experimental test case reported by Soares et al. [9], which involves a pressurized water pipe experiencing vaporous cavitation induced by a rapid downstream valve closure. In that study, the authors concluded that the DGCM provided the best agreement with the experimental measurements under vaporous cavitation conditions [9].
The experimental setup consists of a horizontal copper pipeline, 15.22 m in length, with an internal diameter of 20 mm and a wall thickness of 1 mm. A steady-state flow of 0.156 L/s is imposed at the upstream reservoir, and the transient is initiated by a fast-acting closure at the downstream valve. The unsteady friction model adopted in each simulation followed the specifications in Section 2.6. When the Vítkovský et al. [25] formulation was used, the coefficient k 3   =   0.016 was applied, as calibrated by Soares et al. [9].
Model performance was assessed by comparing the simulated pressure histories at the downstream end with the experimental measurements. For this purpose, two statistical indicators were used:
  • Root Mean Square Error (RMSE):
R M S E = 1 N i = 1 N H s i m ,   i H e x p , i 2
  • Nash–Sutcliffe Efficiency (NSE):
N S E = 1 i = 1 N H s i m , i H e x p , i 2 i = 1 N H e x p , i H ¯ e x p 2
where H s i m , i and H e x p , i represent the simulated and measured piezometric heads at time step i, respectively, and H ¯ e x p is the average of the measured values. The NSE ranges from to 1, with values closer to 1 indicating better model performance, while lower RMSE values indicate improved agreement between simulated and measured data. These indicators were used to quantify the ability of each model to reproduce pressure peaks, damping trends, and general waveform fidelity.
In addition, the models were benchmarked against the experimental dataset reported by Zhu et al. [23], which investigates transient air-water mixing flows under varying gas contents. The laboratory setup also consists of a reservoir-pipe-valve configuration. The test pipeline is made of Plexiglas, with a total length of 36.0 m, an inner diameter of 90 mm, and a wall thickness of 10 mm. The elastic modulus of the pipe material was reported as approximately 2.684 GPa, with a Poisson’s ratio of about 0.358. During the experiments, a steady upstream pressure head of approximately 5.3 m was maintained. In the models where unsteady friction was simulated using the formulation of Vítkovský et al. [25], the coefficient k 3 = 0.016 was applied.
Given that the experiments were conducted in a viscoelastic pipe, the inclusion of pipe-wall viscoelasticity is required to ensure a physically consistent comparison between numerical and experimental results. Accordingly, the viscoelastic model described in Section 2.3 was implemented using parameters calibrated by Zhu et al. [23]. The pipe-wall behavior was represented using a generalized Kelvin–Voigt model with three elements, characterized by retardation times τ 1 = 0.05 s , τ 2 = 0.5 s , and τ 3 = 1.5 s , and corresponding creep compliances J 1 = 0.00839 × 10 9 Pa 1 , J 2 = 0.3504 × 10 9 Pa 1 , and J 3 = 0.3552 × 10 9 Pa 1 .
Model performance was assessed by comparing wave celerities obtained from numerical simulations with the corresponding experimental measurements reported by the authors. For the dataset of Zhu et al. [23], the analysis focused on the downstream end location, where experimental pressure signals were used to infer wave propagation characteristics. The experimentally measured wave celerities were compared with: (i) the average celerities reported by Zhu et al. [23] based on their numerical model, and (ii) the celerities obtained from the present simulations using AGCM.v1A and AGCM.v2.
For AGCM-based formulations, the average wave celerity was computed as the arithmetic mean of the instantaneous celerity values calculated at the analysis point using Equation (23) over the simulation period. In this context, the average celerity represents a time-averaged quantity derived directly from the local pressure-density relationship resolved by the model.
However, in any DGCM-based formulation, where discrete air cavities constitute the core representation of the air-water interaction, the instantaneous local wave celerity computed from Equation (23) represents an internal model variable and is not directly comparable to wave speeds inferred from experimental pressure measurements.
For this reason, an apparent average wave celerity was computed for each model using the time interval between successive positive pressure peaks at the downstream end of the pipe. The average time interval ( t m ) was used to compute the apparent wave celerity according to the formula c a p p a r e n t = 4 L / t m , where L is the pipe length. This procedure aims to reproduce how wave celerity is effectively inferred from experimental pressure measurements and enables a consistent comparison between experimental observations and numerical predictions across different modeling approaches.

2.7.2. Sensitivity Analysis with Varying Gas Content

In the second stage, a sensitivity analysis was carried out to investigate how the initial air volume fraction ( α 0 ) affects transient wave behavior. The goal was to evaluate model responses under progressively increasing the gas content, which impacts local compressibility and wave propagation speed.
To isolate the effects of air entrainment, a hypothetical pipeline was designed using the same configuration as the experimental setup but scaled in length and diameter, as also indicated in Figure 3. The larger domain ensures that the pressure waves undergo sufficient propagation time before reaching the reservoir, thereby enabling more precise analysis of transient storage effects and model consistency. The hypothetical pipe has a total length of 1000 m, an internal diameter of 0.10 m, and a wall thickness of 2.5 mm. In the models where unsteady friction was simulated using the formulation of Vítkovský et al. [25], the coefficient k 3 = 0.016 was applied.

3. Results

3.1. Model Validation with Experimental Datasets

To assess the performance of the proposed AGCM configurations, a comparative validation was conducted using the experimental dataset from Soares et al. [9], which describes a transient event generated by the rapid closure of a valve in a pressurized pipeline system.
Figure 4 presents the numerical results obtained using four different modeling approaches: the classical DGCM/GCAV with unsteady friction, AGCM.v1A, AGCM.v1B, and AGCM.v2. The AGCM.v1A and AGCM.v1B formulations correspond to DGCM implementations with variable wave celerity, differing only in the adopted unsteady friction model, namely the Vitkovský et al. [25] formulation and the Vardy and Hwang [26] model, respectively. The AGCM.v2 formulation further extends this framework by incorporating the proposed interactive iterative coupling strategy. All models that require calibration of the unsteady friction coefficient employed k 3 = 0.016 , as recommended by Soares et al. [9].
The accuracy of each model was evaluated using the Root Mean Square Error (RMSE) and the Nash–Sutcliffe Efficiency (NSE), as summarized in Table 1. These metrics were calculated by comparing numerical pressure head predictions with experimental measurements at the downstream valve.
The original DGCM/GCAV showed the best performance in this case, with the lowest RMSE (7.90 m) and highest NSE (0.898), closely matching the experimental pressure peaks and wave attenuation. This result is consistent with the characteristics of the experimental setup, which corresponds to a vapor cavitation event occurring under very low air concentration conditions ( α 0 = 10 7 ). Although the DGCM/GCAV is not specifically designed to model vapor cavitation, it can represent such scenarios when the initial air fraction is sufficiently small, causing the gas cavities to behave similarly to vapor cavities. Under these conditions, the assumption of constant wave celerity remains valid, which favors the performance of the traditional DGCM/GCAV formulation.
The AGCM.v1A, which introduces wave celerity variability, produced very good results, albeit with slightly less accuracy (RMSE = 9.30 m; NSE = 0.858), indicating that while it still captures the overall pressure pattern reasonably well, the added complexity of variable celerity may reduce its precision when modeling pure vapor cavitation. The AGCM.v2, which also incorporates an iterative coupling between celerity and cavity volume, further deviated from experimental data, likely due to overcorrection in the pressure-celerity feedback loop under low α conditions.
Notably, the AGCM.v1B model, which adopts UF computation using the convolution-based unsteady friction model and variable celerity (Equations (13) and (14)), yielded the lowest performance metrics, with an RMSE of 14.79 m and an NSE of 0.642. It should be noted that, differently from the Vitkovský et al. formulation [25], the unsteady friction model of Vardy and Hwang [26] does not require ad hoc calibration for the specific test case. The model results showed a tendency to underpredict pressure damping, resulting in peak pressures that were slightly higher than those observed experimentally. Still, the overall agreement remained acceptable, with transient wave patterns captured adequately
The slightly reduced performance observed for the models incorporating variable celerity does not indicate a lack of robustness, as all configurations still achieved high statistical agreement with the experimental data. Rather, it reflects the fact that the additional model complexity introduced to represent air-related compressibility effects becomes less influential when the air fraction is negligible.
These results underscore the importance of aligning model structure with the physical characteristics of the flow regime. In low-air or vapor-dominated cases, simpler cavitation representations, such as DGCM/GCAV with steady celerity, yield superior agreement. However, as explored in the next section, these conditions may not reflect the full range of air-water interactions found in real-world systems, motivating the development and testing of more adaptable models.
To further contextualize the benchmarking results, the models were also evaluated against the experimental dataset reported by Zhu et al. [23], focusing on the prediction of wave celerity under air-water mixing conditions. The comparison includes experimentally measured wave celerities, the average celerities reported by Zhu et al. [23] for their DGCM formulation, and the apparent and average celerities obtained in the present study using AGCM.v1A and AGCM.v2. The resulting celerity values for all tested cases are summarized in Table 2. The discrepancy between celerity values was computed by subtracting the numerical predictions from experimental values, and dividing by the latter, with all results presented in Table 3.
The results indicate that the apparent wave celerities predicted by both AGCM.v1A and AGCM.v2 are consistently lower than the experimentally measured values across all cases. The discrepancies remain relatively uniform, ranging from approximately 14.8% to 15.9% for AGCM.v1A and from 15.0% to 16.1% for AGCM.v2. This systematic underestimation suggests that both formulations exhibit similar limitations in capturing the effective wave propagation speed under gas–liquid conditions.
When considering average wave celerities, however, the opposite trend is observed. Both AGCM.v1A and AGCM.v2 overestimate the experimental values, with discrepancies ranging between approximately 11.9% and 13.9%. The closer agreement between the two formulations reflects the fact that the wave celerities were computed following the same local formulation (Equation (23)) across the different models, rather than indicating differences in physical wave propagation behavior. A similar behavior is observed in the results reported by Zhu et al. [20], whose DGCM-based formulation also exhibits discrepancies in the prediction of average wave celerity, with deviations ranging from approximately 8.4% to 19.5%. This consistency suggests that such differences are not model-specific, but rather inherent to DGCM-based approaches under these flow conditions.
This behavior is further illustrated by the pressure head evolution shown in Figure 5 for Case 1 ( α 0 = 0.0125 ), where noticeable discrepancies between numerical predictions and experimental data can be observed across all model configurations. In particular, while the models capture the general damping trend, differences in peak amplitude, phase, and wave attenuation remain evident.
A similar pattern is observed in the results reported by Zhu et al. [23], whose DGCM-based formulation also does not fully reproduce the experimental pressure response, exhibiting discrepancies in both peak attenuation and phase alignment. This behavior is consistent with the results obtained using AGCM.v1B in the present study, which follows a similar modeling framework. Such agreement between independent implementations reinforces that the observed deviations are not model-specific, but are instead inherent to DGCM-based approaches under these flow conditions.
These results highlight the challenges associated with accurately representing wave celerity and transient response in gas-containing flows using discrete-cavity formulations.

3.2. Assessing the Role of Air Fraction in Pressure Wave Behavior

To investigate how entrapped air influences pressure wave behavior, a sensitivity analysis was conducted using the hypothetical dataset presented in Section 2.7. Simulations were run for four models (DGCM/GCAV, AGCM.v1A, AGCM.v1B, and AGCM.v2) across a range of initial gas contents α from 1   ×   10 6 to 1   ×   10 3 . Results are shown in Figure 6, representing the pressure head at the downstream end of the pipeline. It is important to note that, in this case, no viscoelastic effects are considered, in contrast to the previous experimental dataset. For models employing the unsteady friction formulation of Vítkovský et al. [25], the coefficient k 3 = 0.016 was adopted, consistent with Section 3.1, where this value had been previously calibrated by Soares et al. [9] using experimental data. Although the current analysis uses a hypothetical domain, the same value was retained to preserve consistency across simulations.
At lower air concentrations (e.g., α 0 = 1   ×   10 6 ), the influence of free air on wave celerity is minimal, and assuming a constant celerity remains a reasonable approximation. In this regime, the compressibility introduced by discrete gas cavities, as modeled by the DGCM/GCAV, is sufficient to represent the transient behavior, and the differences among models remain small. As the gas content increases, more pronounced differences between models begin to emerge. As α 0 values increased, the DGCM/GCAV approach, which is the only one without celerity variation, significantly overestimated the first pressure peak and the frequency of pressure oscillation. This result underscores the importance of including wave celerity variability when modeling highly compressible flows.
For subsequent pressure oscillation cycles, the following observations are noted:
  • AGCM.v1 formulations (AGCM.v1A and AGCM.v1B) produce nearly identical results across all cases, even at higher α 0 values, suggesting a shared sensitivity to mixture compressibility and wave celerity changes, despite differing implementations of the unsteady friction calculation.
  • AGCM.v2, which recalculates wave celerity and head within each time step as explained in Section 2.5, also shows close agreement with the AGCM.v1 at low gas fractions. However, as the gas content increases, systematic differences become more noticeable; particularly in terms of phase alignment, it diverged slightly. These differences are likely due to small differences in the converged values of celerity and α at each node over time.
  • DGCM/GCAV shows increasing deviation with higher gas content, both in terms of amplitude and phase, due to its assumption of constant celerity.
Additionally, phase shifts between the models become more pronounced as α 0 increases, affecting both wave arrival times and peak alignment. These shifts reveal not only amplitude-related discrepancies but also changes in wave propagation celerity, strongly influenced by how each model handles air-induced compressibility.
To complement the evaluation of wave attenuation mechanisms, Figure 7 presents an analysis of the pressure-damping behavior in AGCM.v2 for different α values. Two indicators were used to characterize attenuation: the ratio between successive pressure peaks H i / H i 1 and the relative damping ( H i 1 H i ) / H i 1 , both plotted as functions of dimensionless time t / ( 2 L / a ) , where a is the apparent average celerity for each case (see Table 4). As α increases, the curves indicate more rapid stabilization of wave amplitudes, reflecting enhanced energy dissipation due to higher system compressibility. This effect is particularly pronounced for α 0 =   1 × 10 3 , where damping accelerates in the early wave cycles and progressively smooths out as the system approaches equilibrium.
Figure 8 compares these same indicators against the experimental data reported by Soares et al. [9]. While some variability is present in the experimental measurements, especially in early wave peaks, the numerical trends captured by AGCM.v2 with α 0 =   1 × 10 7 follow the general attenuation pattern closely. The agreement between the experimental and numerical damping trajectories reinforces the physical consistency of the proposed model, even under low air concentrations.

3.3. Influence of Air Fraction on Celerity Variation

To explore how models with variable wave celerity respond to changes in air concentration, the temporal evolution of the relative celerity was analyzed for three different initial values of α : 1   ×   10 6 ,   1   ×   10 4 , and 1   ×   10 3 . As shown in Figure 9, the results focus exclusively on the three models that incorporate celerity variation: AGCM.v1A, AGCM.v1B, and AGCM.v2.
The celerity is shown in relative terms, normalized by its initial value for each case. For very low gas content ( α   =   1   ×   10 6 ), the relative celerity remains nearly constant throughout the simulation, indicating that the compressibility of the gas phase plays a negligible role and the wave celerity is primarily governed by the pipe-wall elasticity and the liquid phase compressibility. As α 0 increases to α 0 =   1   ×   10 4 , subtle oscillations begin to emerge, revealing that local gas volume changes begin to influence wave propagation. At α 0 =   1   ×   10 3 , the effect becomes dominant: celerity oscillations are pronounced and tightly follow the pressure wave patterns, reflecting the strong coupling between gas compressibility and transient flow dynamics.
Figure 9d directly compares the celerity behavior of the three models for α   =   1   ×   10 3 . Overall, AGCM.v1A, AGCM.v1B, and AGCM.v2 exhibit very similar oscillation amplitudes and temporal trends, indicating that all three formulations predict a comparable evolution of wave celerity under this gas-content condition. Minor differences can still be observed in the local alignment and shape of the peaks and troughs, particularly during the early stages of the transient, but these discrepancies remain limited throughout the simulation. This result suggests that, although the iterative coupling adopted in AGCM.v2 affects the transient solution, its influence on the overall celerity evolution is relatively small when compared with the two non-interactive AGCM.v1 formulations.
To further quantify the influence of gas content on wave propagation, the apparent average celerity was computed for each model using the time interval between successive positive pressure peaks at the downstream end of the pipe. The average time interval ( t m ) was used to compute the apparent wave celerity according to the formula c a p p a r e n t = 4 L / t m , where L is the pipe length. The results, summarized in Table 4, show a consistent reduction in wave celerity as the air fraction α increases, confirming the expected compressibility effects. However, while all four models reflect this trend, the magnitude of the reduction differs substantially. The three models that incorporate variable celerity (AGCM.v1A, AGCM.v1B, and AGCM.v2) demonstrate a much more pronounced decrease in average wave celerity compared to the classical DGCM/GCAV, which retains constant celerity. Among the variable-celerity models, the apparent celerities are similar in magnitude, with AGCM.v2 tending to yield slightly smaller values across all α levels. These results reflect the direct influence of dynamic gas volume on wave propagation speed and highlight the role of celerity adjustment in modeling transient flows under high gas content conditions.
Importantly, this analysis also demonstrates that the magnitude and dynamics of wave celerity are primarily governed by the gas content, with only a secondary influence from the specific modeling strategy adopted. While differences between formulations can be observed, particularly in the local evolution of peaks and troughs, these variations remain relatively small when compared to the overall trends. Consequently, for the conditions analyzed, the choice of modeling approach (e.g., non-interactive versus iterative coupling) has a limited impact on the global evolution of wave celerity and the timing of transient responses.

3.4. Computational Performance and Mesh Dependency

In addition to the physical behavior of the model, a combined assessment of mesh dependency and computational performance was conducted for the AGCM.v2. model. The analysis was performed using the experimental dataset of Soares et al. [9]. Four spatial resolutions were considered: a finer mesh ( 0.5 Δ x ), the reference mesh ( Δ x ), and two coarser meshes ( 2 Δ x and 4 Δ x ). The numerical pressure head at the valve was interpolated to the experimental time base, and model performance was evaluated using the Nash–Sutcliffe efficiency coefficient (NSE) and the root mean square error (RMSE). These statistics were computed over the time interval from 0 to 2 s of simulation, using the experimental sampling interval ( t 3.34 × 10 4 s) as the reference time step for interpolation. As summarized in Table 5, both performance metrics remained very similar across all tested meshes, with NSE values ranging from 0.654 to 0.713 and RMSE values between approximately 13.22 m and 14.53 m. These results indicate a weak sensitivity of the numerical solution to the spatial discretization within the investigated range. The corresponding pressure head time histories are shown in Figure 10, where a close agreement among all mesh resolutions can be observed, limited by the dimension of Δ x .
In parallel, a computational performance comparison was conducted to evaluate the computational cost of AGCM.v2 relative to AGCM.v1A. This analysis was carried out using the hypothetical dataset, in which four initial air fractions were tested ( α 0   =   1 × 10 6 to 1 × 10 3 ). Under these conditions, AGCM.v2 required significantly higher computational effort, with total simulation times approximately 20 to 35 times greater than those of AGCM.v1A. This increase is primarily associated with the internal iterative procedure used to enforce coupling between pressure head and wave celerity at each time step. The iterative scheme required, on average, between approximately 44 and 47 iterations per time step, with maximum values reaching up to 49 iterations, depending on the air fraction. A convergence tolerance of 10 6 was used, applied to the relative difference between successive values of pressure head and wave celerity. Despite the substantial increase in computational cost, the iterative procedure remained stable and robust across all tested conditions. However, given that AGCM.v2 does not provide a clear improvement in predictive accuracy relative to AGCM.v1, its application should be carefully considered, particularly in large-scale simulations where computational efficiency is a critical factor.

4. Discussion

The results demonstrate that the performance of each model is strongly dependent on the gas content in the system. Under low air concentrations, such as in the experimental case from Soares et al. [9], the classical DGCM/GCAV, which assumes constant wave celerity, yielded the best agreement with measured data. This outcome reflects the fact that, for lower α o conditions, the added complexity of dynamic celerity and iterative coupling offers limited benefits and may slightly reduce numerical accuracy.
However, as the air fraction increases, this trend reverses. The constant-celerity DGCM/GCAV increasingly overestimates pressure peaks and underrepresents damping effects. In contrast, the three variable-celerity models (AGCM.v1A, AGCM.v1B, and AGCM.v2) provided more physically consistent results. These models more accurately captured the pressure amplitude under high gas content when compared with the DGCM/GCAV algorithm presented in Wylie et al. [6]. These improvements highlight the importance of accounting for gas-induced compressibility effects in transient flow modeling.
Among the variable-celerity models, AGCM.v2 exhibits differences primarily in the temporal evolution of the solution, including smoother pressure transitions and slight variations in phase alignment. These effects result from the iterative coupling between piezometric head, cavity volume, and wave celerity. However, the overall agreement between AGCM.v2 and the non-interactive formulations (AGCM.v1A and AGCM.v1B) remains very close across all tested conditions, indicating that the iterative coupling does not lead to a significant improvement in predictive accuracy for the cases analyzed.
Damping behavior, assessed through peak ratio analysis, confirmed the strong influence of gas content on wave energy dissipation. All variable-celerity models reproduce the general experimental damping trends, with only minor differences between formulations. Although AGCM.v2 provides a more consistent coupling between the governing variables, this does not translate into a clear advantage in terms of accuracy when compared to AGCM.v1. Considering that AGCM.v2 introduces a substantially higher computational cost, with simulation times increasing by more than one order of magnitude relative to AGCM.v1A, its application should be carefully evaluated, particularly in large-scale simulations where computational efficiency is critical.

5. Conclusions

This study introduces the Adjustable-celerity Gas Cavity Model (AGCM) as an extension of the Discrete Gas Cavity Model, incorporating the effects of gas–liquid interactions on wave celerity values. By allowing wave celerity to evolve dynamically with local gas volume, the AGCM yields a more consistent representation of compressibility effects in gas–liquid systems. The AGCM was validated using experimental datasets with low gas content [9] and the occurrence of vaporous cavitation, as well as high gas content [23]. The results obtained indicated that the AGCM is applicable for such flow conditions.
Among the tested configurations, the iterative version (AGCM.v2) provided results that are consistent in terms of the coupling between pressure head, local air fraction, and celerity. Despite a greater computational effort, such consistency is important in conditions with large air phase fractions. Conversely, this research indicated that for low α o fractions (i.e., α o 10 6 ), there are no clear benefits in using approaches that adjust the wave celerity value in the solution domain. In terms of reproducing flow conditions, it is anticipated that the AGCM could be employed for simulations of transient flow in which wave speed variability in both time and space is relevant. Applications include surge protection, pipeline design, and forensic analysis, among others.
Overall, the AGCM framework provides a structured approach for incorporating variable wave celerity into DGCM-based models, clarifying different formulations found in the literature. While the AGCM.v2 formulation offers improved numerical consistency, the AGCM.v1 formulations represent a more efficient alternative for practical engineering applications.

Author Contributions

Conceptualization, S.I.G.P. and J.G.V.; methodology, S.I.G.P., J.G.V. and A.K.S.; software, S.I.G.P.; validation, S.I.G.P. and J.G.V.; formal analysis, S.I.G.P., J.G.V. and A.K.S.; investigation, S.I.G.P. and J.G.V.; resources, S.I.G.P., J.G.V. and A.K.S.; data curation, S.I.G.P., J.G.V. and A.K.S.; writing—original draft preparation, S.I.G.P. and J.G.V.; writing—review and editing, S.I.G.P., J.G.V. and A.K.S.; visualization, S.I.G.P.; supervision, J.G.V. and A.K.S.; project administration, J.G.V.; funding acquisition, J.G.V. and A.K.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior-Brasil (CAPES), a Brazilian research agency, through a fellowship supporting the first author’s doctoral studies (Finance Code 1). The authors also acknowledge the support of the US National Science Foundation, grant number 2048607.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The numerical results generated during the study are available from the authors by request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hatcher, T.M.; Vasconcelos, J.G. Peak Pressure Surges and Pressure Damping Following Sudden Air Pocket Compression. J. Hydraul. Eng. 2017, 143, 04016094. [Google Scholar] [CrossRef]
  2. Simpson, A.R.; Wylie, E.B. Large Water-Hammer Pressures for Column Separation in Pipelines. J. Hydraul. Eng. 1991, 117, 1310–1316. [Google Scholar] [CrossRef]
  3. Bergant, A.; Simpson, A.R. Pipeline Column Separation Flow Regimes. J. Hydraul. Eng. 1999, 125, 835–848. [Google Scholar] [CrossRef]
  4. Mitosek, M. Study of Transient Vapor Cavitation in Series Pipe Systems. J. Hydraul. Eng. 2000, 126, 904–911. [Google Scholar] [CrossRef]
  5. Adamkowski, A.; Lewandowski, M. Investigation of Hydraulic Transients in a Pipeline with Column Separation. J. Hydraul. Eng. 2012, 138, 935–944. [Google Scholar] [CrossRef]
  6. Wylie, E.B.; Streeter, V.L.; Suo, L. Fluid Transients in Systems; Prentice Hall: Englewood Cliffs, NJ, USA, 1993; 463p. [Google Scholar]
  7. Simpson, A.R.; Bergant, A. Numerical Comparison of Pipe-Column-Separation Models. J. Hydraul. Eng. 1994, 120, 361–377. [Google Scholar] [CrossRef]
  8. Bergant, A.; Simpson, A.R.; Tijsseling, A.S. Water hammer with column separation: A historical review. J. Fluids Struct. 2006, 22, 135–171. [Google Scholar] [CrossRef]
  9. Soares, A.K.; Martins, N.; Covas, D.I.C. Investigation of Transient Vaporous Cavitation: Experimental and Numerical Analyses. Procedia Eng. 2015, 119, 235–242. [Google Scholar] [CrossRef]
  10. Santoro, V.C.; Crimì, A.; Pezzinga, G. Developments and Limits of Discrete Vapor Cavity Models of Transient Cavitating Pipe Flow: 1D and 2D Flow Numerical Analysis. J. Hydraul. Eng. 2018, 144, 04018047. [Google Scholar] [CrossRef]
  11. Urbanowicz, K.; Bergant, A.; Kodura, A.; Kubrak, M.; Malesińska, A.; Bury, P.; Bury, P.; Stosiak, M. Modeling Transient Pipe Flow in Plastic Pipes with Modified Discrete Bubble Cavitation Model. Energies 2021, 17, 6756. [Google Scholar] [CrossRef]
  12. Pezzinga, G. Second viscosity in transient cavitating pipe flows. J. Hydraul. Res. 2003, 41, 656–665. [Google Scholar] [CrossRef]
  13. Shu, J.J. Modelling vaporous cavitation on fluid transients. Int. J. Press. Vessel. Pip. 2003, 80, 187–195. [Google Scholar] [CrossRef]
  14. Cannizzaro, D.; Pezzinga, G. Energy Dissipation in Transient Gaseous Cavitation. J. Hydraul. Eng. 2005, 131, 724–732. [Google Scholar] [CrossRef]
  15. Pezzinga, G.; Cannizzaro, D. Analysis of Transient Vaporous Cavitation in Pipes by a Distributed 2D Model. J. Hydraul. Eng. 2014, 140, 04014019. [Google Scholar] [CrossRef]
  16. He, J.; Li, C.; Guo, Y. Modeling Transient Vaporous Cavitating Flow in Pipelines by a Two-Phase Homogeneous Flow Model. Processes 2025, 13, 3510. [Google Scholar] [CrossRef]
  17. Wylie, E.B. Simulation of Vaporous and Gaseous Cavitation. J. Fluids Eng. 1984, 106, 307–311. [Google Scholar] [CrossRef]
  18. Soares, A.K.; Martins, N.M.C.; Covas, D.I.C. Transient vaporous cavitation in a horizontal copper pipe. J. Hydraul. Res. 2017, 55, 731–736. [Google Scholar] [CrossRef]
  19. Zhou, L.; Li, Y.; Karney, B.; Cheng, Y.; Liu, D. Godunov-Type Solutions for Transient Pipe Flow Implicitly Incorporating Brunone Unsteady Friction. J. Hydraul. Eng. 2021, 147, 04021021. [Google Scholar] [CrossRef]
  20. Sun, Q.; Hao, Y.; Cheng, P. Parametric analysis of discrete multiple-cavity models with the quasi-two-dimensional friction model for transient cavitating pipe flows. J. Water Supply Res. Technol.-Aqua 2022, 71, 355–372. [Google Scholar] [CrossRef]
  21. Gao, H.; Tang, X.; Li, X.; Shi, X. Analyses of 2D transient models for vaporous cavitating flows in reservoir-pipeline-valve systems. J. Hydroinform. 2018, 20, 934–945. [Google Scholar] [CrossRef]
  22. Zhang, Q.; Zhang, Z.; Huang, B.; Yu, Z.; Luo, X.; Yang, Z. Characteristics and Leak Localization of Transient Flow in Gas-Containing Water Pipelines. Water 2024, 16, 2459. [Google Scholar] [CrossRef]
  23. Zhu, Y.; Duan, H.; Li, F.; Wu, C.; Yuan, Y.; Shi, Z. Experimental and numerical study on transient air–water mixing flows in viscoelastic pipes. J. Hydraul. Res. 2018, 56, 877–887. [Google Scholar] [CrossRef]
  24. Vasconcelos, J.G.; Marwell, D.T. Innovative Simulation of Unsteady Low-Pressure Flows in Water Mains. J. Hydraul. Eng. 2011, 137, 1490–1499. [Google Scholar] [CrossRef][Green Version]
  25. Vítkovský, J.; Lambert, M.; Simpson, A.; Bergant, A. Advances in Unsteady Friction Modelling in Transient Pipe Flow. In Proceedings of the 8th International Conference on Pressure Surges, The Hague, The Netherlands, 12–14 April 2000; BHR Group: Bedford, UK, 2000; pp. 471–482. [Google Scholar]
  26. Vardy, A.E.; Hwang, K.L. A weighting function model of transient turbulent pipe friction. J. Hydraul. Res. 1993, 31, 533–548. [Google Scholar] [CrossRef]
  27. Brunone, B.; Golia, U.; Greco, M. Modeling of Fast Transients by Numerical Methods. In Proceedings of the 9th International Conference on Hydraulic Transients with Water Column Separation, Valencia, Spain, 4–6 September 1991; pp. 273–281. [Google Scholar]
  28. Zielke, W. Frequency-Dependent Friction in Transient Pipe Flow. J. Basic Eng. 1968, 90, 109–115. [Google Scholar] [CrossRef]
  29. Vítkovský, J.; Stephens, M.; Bergant, A.; Lambert, M.; Simpson, A.R.; Simpson, A. Efficient and accurate calculation of Zielke and Vardy-Brown unsteady friction in pipe transients. In Proceedings of the 9th International Conference on Pressure Surges, Chester, UK, 24–26 March 2004. [Google Scholar]
  30. Covas, D.; Stoianov, I.; Ramos, H.; Graham, N.; Maksimović, Č.; Butler, D. Water hammer in pressurized polyethylene pipes: Conceptual model and experimental analysis. Urban Water J. 2004, 1, 177–197. [Google Scholar] [CrossRef]
Figure 1. Conceptual scheme of the Discrete Gas Cavity Model (DGCM), where gas cavities are discretely located at computational nodes, separating upstream ( Q P u ) and downstream ( Q P ) flow variables within each node.
Figure 1. Conceptual scheme of the Discrete Gas Cavity Model (DGCM), where gas cavities are discretely located at computational nodes, separating upstream ( Q P u ) and downstream ( Q P ) flow variables within each node.
Fluids 11 00094 g001
Figure 2. Computational procedure for the four model configurations evaluated in this study [25,26]. Colored arrows indicate the flow paths followed by each model variant.
Figure 2. Computational procedure for the four model configurations evaluated in this study [25,26]. Colored arrows indicate the flow paths followed by each model variant.
Fluids 11 00094 g002
Figure 3. Schematic layout of the pipeline systems used for both the benchmarking and sensitivity analysis stages [9,23].
Figure 3. Schematic layout of the pipeline systems used for both the benchmarking and sensitivity analysis stages [9,23].
Fluids 11 00094 g003
Figure 4. Experimental data [9] and simulated results of the pressure head at the downstream end of the pipe with k 3 = 0.016 and α 0 = 1   ×   10 7 .
Figure 4. Experimental data [9] and simulated results of the pressure head at the downstream end of the pipe with k 3 = 0.016 and α 0 = 1   ×   10 7 .
Fluids 11 00094 g004
Figure 5. Comparison between experimental data [23] and simulated pressure head at the downstream end of the pipe for k 3 = 0.016 and α 0 = 0.0125 using DGCM/GCAV, AGCM.v1A, AGCM.v1B, and AGCM.v2.
Figure 5. Comparison between experimental data [23] and simulated pressure head at the downstream end of the pipe for k 3 = 0.016 and α 0 = 0.0125 using DGCM/GCAV, AGCM.v1A, AGCM.v1B, and AGCM.v2.
Fluids 11 00094 g005
Figure 6. Comparison of model results for the pressure head at the downstream end of the pipe for different initial air volume fractions ( α 0 ) values using the hypothetical dataset. The parameter k 3 = 0.016 was adopted for models using the unsteady friction formulation by Vítkovský et al. [25].
Figure 6. Comparison of model results for the pressure head at the downstream end of the pipe for different initial air volume fractions ( α 0 ) values using the hypothetical dataset. The parameter k 3 = 0.016 was adopted for models using the unsteady friction formulation by Vítkovský et al. [25].
Fluids 11 00094 g006
Figure 7. Pressure peak damping rate evaluated at the downstream valve for different α 0 values yielded by the AGCM.v2 model.
Figure 7. Pressure peak damping rate evaluated at the downstream valve for different α 0 values yielded by the AGCM.v2 model.
Fluids 11 00094 g007
Figure 8. Damping rate analysis for the experimental results of Soares et al. [9].
Figure 8. Damping rate analysis for the experimental results of Soares et al. [9].
Fluids 11 00094 g008
Figure 9. Temporal evolution of relative celerity under different air concentrations ( α ), for three variable-celerity models at the downstream valve. Panel (d) compares their performance for the cases where α o   =   1   ×   10 3 . The reference celerity corresponds to the initial value for each model.
Figure 9. Temporal evolution of relative celerity under different air concentrations ( α ), for three variable-celerity models at the downstream valve. Panel (d) compares their performance for the cases where α o   =   1   ×   10 3 . The reference celerity corresponds to the initial value for each model.
Fluids 11 00094 g009
Figure 10. Pressure head at the valve obtained with different mesh resolutions for the Soares et al. dataset [9].
Figure 10. Pressure head at the valve obtained with different mesh resolutions for the Soares et al. dataset [9].
Fluids 11 00094 g010
Table 1. Model performance comparison against experimental pressure signals [9].
Table 1. Model performance comparison against experimental pressure signals [9].
ModelRMSE (m)NSE
DGCM7.900.898
AGCM.v1A9.300.858
AGCM.v1B14.790.642
AGCM.v214.050.676
Table 2. Comparison of experimental, apparent, and average wave celerities obtained from the Zhu et al. [23] dataset for different air fractions and numerical models.
Table 2. Comparison of experimental, apparent, and average wave celerities obtained from the Zhu et al. [23] dataset for different air fractions and numerical models.
Case
No
α 0 Water
Velocity (m/s)
Experimental
Wave Celerity [23] (m/s)
Apparent
Celerity of AGCM.v1A (m/s)
Apparent
Celerity of AGCM.v2 (m/s)
Average
Celerity of AGCM.v1A (m/s)
Average
Celerity of
AGCM.v2
(m/s)
Zhu’s [23]
Average
Celerity for Their DGCM
(m/s)
10.01251.7390.2576.6776.47101.27101.31107.88
20.01381.5686.0772.9772.7796.5996.62100.45
30.01651.3079.2366.6766.4788.6588.6788.26
40.01931.1173.1661.6961.5382.2182.2280.33
50.02370.9065.3555.6855.5774.4674.4670.83
Table 3. Relative discrepancy between experimental celerity values and the corresponding numerical predictions for apparent and average celerity values using the conditions presented in Zhu et al. [23].
Table 3. Relative discrepancy between experimental celerity values and the corresponding numerical predictions for apparent and average celerity values using the conditions presented in Zhu et al. [23].
Case
No
α 0 AGCM.v1A
Apparent Celerity Discrepancy
AGCM.v2
Apparent Celerity Discrepancy
AGCM.v1A
Average Celerity
Discrepancy
AGCM.v2 Average Celerity
Discrepancy
Zhu’s [23]
Average
Celerity
Discrepancy
10.012515.0%15.3%−12.2%−12.3%−19.5%
20.013815.2%15.5%−12.2%−12.3%−16.7%
30.016515.9%16.1%−11.9%−11.9%−11.4%
40.019315.7%15.9%−12.4%−12.4%−9.8%
50.023714.8%15.0%−13.9%−13.9%−8.4%
Table 4. Average time between successive positive pressure peaks and corresponding apparent celerity values, for different α 0 and modeling configurations.
Table 4. Average time between successive positive pressure peaks and corresponding apparent celerity values, for different α 0 and modeling configurations.
Parameters α 0 DGCM/
GCAV
AGCM.v1AAGCM.v1BAGCM.v2
Time Between Positive Peaks (s)1 × 10−64.0374.0444.0444.044
1 × 10−44.0434.1684.1704.162
5 × 10−44.0754.6344.6524.612
1 × 10−34.1155.1645.1965.128
Apparent Average Celerity (m/s)1 × 10−6990.9989.1989.1989.1
1 × 10−4989.3959.7959.1961.0
5 × 10−4981.6863.1859.6867.3
1 × 10−3972.1774.6769.8780.0
Table 5. Mesh dependency analysis for the Soares et al. dataset [9]: spatial resolution, Nash–Sutcliffe efficiency (NSE), and root mean square error (RMSE) computed at the valve.
Table 5. Mesh dependency analysis for the Soares et al. dataset [9]: spatial resolution, Nash–Sutcliffe efficiency (NSE), and root mean square error (RMSE) computed at the valve.
Mesh x (m)RMSE (m)NSE
0.5∆x (Finer)0.2413.560.699
1∆x (Reference)0.4714.050.676
2∆x (Coarser)0.9413.220.713
4∆x (Very coarse)1.8814.530.654
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Pinto, S.I.G.; Vasconcelos, J.G.; Soares, A.K. Evaluating Alternatives for Combined Modeling of Gas Cavities and Unsteady Friction in Closed-Pipe Transients. Fluids 2026, 11, 94. https://doi.org/10.3390/fluids11040094

AMA Style

Pinto SIG, Vasconcelos JG, Soares AK. Evaluating Alternatives for Combined Modeling of Gas Cavities and Unsteady Friction in Closed-Pipe Transients. Fluids. 2026; 11(4):94. https://doi.org/10.3390/fluids11040094

Chicago/Turabian Style

Pinto, Stephanie Iris G., Jose G. Vasconcelos, and Alexandre K. Soares. 2026. "Evaluating Alternatives for Combined Modeling of Gas Cavities and Unsteady Friction in Closed-Pipe Transients" Fluids 11, no. 4: 94. https://doi.org/10.3390/fluids11040094

APA Style

Pinto, S. I. G., Vasconcelos, J. G., & Soares, A. K. (2026). Evaluating Alternatives for Combined Modeling of Gas Cavities and Unsteady Friction in Closed-Pipe Transients. Fluids, 11(4), 94. https://doi.org/10.3390/fluids11040094

Article Metrics

Back to TopTop