Experimental and Numerical Simulation of Water Hammer
Experimental and Numerical Simulation of Water Hammer
DOI 10.1007/s13369-013-0942-1
Received: 22 February 2012 / Accepted: 31 December 2012 / Published online: 8 February 2014
© King Fahd University of Petroleum and Minerals 2014
Keywords Appropriate grid · CFD · FLUENT · Water hammer is one of the destructive hydraulic phenom-
Turbulence model · Water hammer ena that occurs in the form of a rapid pressure wave, which
is propagated in the pipeline and leads to severe damages.
These pressure fluctuations can be severe enough to rupture
the pipeline and the pump. Many researches have numer-
ically studied the hydraulic transient flows such as water
hammer with different methods. Ghidaoui and Kolyshkin [1]
performed linear stability analysis of the base flow velocity
profiles for the laminar and turbulent water hammer flows.
M. R. Nikpour (B) · A. H. Nazemi · A. H. Dalir · F. Shoja · P. Varjavand
They found that the main parameters that govern the stability
Department of Water Engineering, University of Tabriz, Tabriz, Iran of transient flows are Reynolds number and a dimensionless
e-mail: rezanikpoor@yahoo.com time scale. Ghidaoui et al. [2] accomplished two turbulence
A. H. Nazemi water hammer models, namely the two-layer and the five-
e-mail: ahnazemi@tabrizu.ac.ir layer eddy viscosity and evaluated the accuracy of their quasi-
A. H. Dalir steady and axisymmetric assumptions. It is found that the
e-mail: ahdalir@tabrizu.ac.ir results of both models are in good agreement, confirming that
F. Shoja the turbulence modeling of water hammer flows is insensitive
e-mail: shoja_fari@yahoo.com to the magnitude and distribution of the eddy viscosity within
P. Varjavand the pipe core. Izquerio and Iglesias [3] developed a computer
e-mail: pvarjavand@yahoo.com program to simulate hydraulic transients in a simple pipeline
123
2670 Arab J Sci Eng (2014) 39:2669–2675
system by mathematical modeling. Izquerio and Iglesias [4] under adverse and favorable pressure gradients was applied.
presented another model to simulate fluid behavior in com- They reported that the results of the numerical method are
plex systems. Their model produced good numerical results in good agreement with test data obtained from both steady
with desirable accuracy. This model was later generalized to and unsteady turbulent pipe flows. The main objectives of this
include a pumping station fitted with check valve, delivery work were to: (1) solve 2D water hammer equations using
valve and two air vessels. Filion and Karney [5] presented the fourth-order Runge–Kutta scheme; (2) examine the capa-
a numerical method to analyze transient flows occurrence in bility of the k-ω turbulence model to predict unsteady flow
pipe networks. Their method leads to a significant increase due to water hammer; and (3) analyze turbulent flow struc-
of accuracy in simulation, but requires more system infor- ture arising from water hammer problems. They observed a
mation and computational effort. Ghidaoui [6] formulated slight phase shift which is produced after several wave cycles
first- and second-order explicit finite volume (FV) methods of between the pressure values of experimental and numeri-
Godunov-type for water hammer problems. They compared cal models and they stated that this behavior is probably
the performances of FV scheme and method of characteris- arisen from an error in the wave speed estimation. Keramat et
tic (MOC). It was found that the first-order FV Godunov- al. [13] studied fluid–structure interaction (FSI) due to water
scheme produces the same results with MOC. It was also hammer in a pipeline which had visco-elastic wall behav-
shown that the second-order Godunov scheme is simple to ior. The governing equations were solved by two different
implement and stable for a Courant number less than or equal approaches, namely the method of characteristics-finite ele-
to one. Wood [7] and Wood et al. [8] investigated capability ment method (MOC-FEM) and full MOC. Both numerical
of MOC and wave characteristics method (WCM) to analyze methods gave the same results, thus confirming the correct-
the transient flow in water distribution networks including of ness of the solutions.
pipe friction. They showed that for the same modeling accu- The recent developments in computer sciences have pro-
racy, the WCM requires less execution time. In addition, they moted the use of computational fluid dynamics (CFD) for
showed that the number of calculations per time step required modeling the fluid flow [14]. So in this study, the water ham-
by WCM does not increase when more accuracy is required mer phenomenon was simulated as a case of sudden closure
while for the MOC, the number of calculations per time step using FLUENT, then the obtained results were compared
is roughly proportional to the accuracy. It was found that use with those of experimental models.
of the WCM would be more suitable for analyzing large pipe
networks. Saikia and Sarma [9] presented a numerical model
using MOC and Barr’s explicit friction factor for simulation 2 Experiments
of the water hammer problems. The proposed model was
examined for rapid valve closure in downstream of a long 2.1 Experimental Model
conduit with a reservoir upstream. Stability and accuracy of
the method was compared with those of the explicit finite Figure 1 shows the experimental apparatus used in this study.
difference method. Kim [10] used impulse response method This model had two similar tanks with dimensions of 90 ×
(IRM) to analyze pipeline systems equipped with protection 90 × 30 cm. The upper tank was connected to a recharge
devices, such as surge tank and air chambers. Transient analy- pipe with diameter of 20 mm. A pump with discharge of
sis revealed that the IRM results were in good agreement with
those of simulations of MOC in the presence of the hydraulic
device. Kwon and Lee [11] studied transient flows in a pipe
using both experimental and computer models. Three differ-
ent numerical models: the method of characteristics model,
the axisymmetrical model, and the implicit scheme model
are utilized and compared. Experiments for transient flow in
a simple pipeline have been conducted to verify the results The second valve
The first valve
from the computer models. It was found that head loss coef-
ficient for the 1D models, such as the method of charac-
teristics model and the implicit scheme model, should be
much bigger than the Darcy–Weisbach frictional coefficient.
They reported that the results of different computer models
have good agreement with the experimental data. Raisi et
al. [12] have studied the behavior of unsteady turbulent pipe
flow resulting from water hammer numerically. An accurate
k-ω turbulence model for two-dimensional boundary layers Fig. 1 Experimental apparatus
123
Arab J Sci Eng (2014) 39:2669–2675 2671
the second valve and fixing the water level in the lower tank.
Similar to the first model after reaching the steady flow, water
hammer was produced by sudden closing of the first valve
and values of pressure head were recorded in arbitrary time
intervals.
3 Numerical Model
123
2672 Arab J Sci Eng (2014) 39:2669–2675
(a)
(b)
3.2 Boundary Conditions the surge pipe were taken solid, so wall boundary condition
was defined to them. A code was utilized as a user-defined
Figure 2a, b shows the scheme of the numerical model and function (UDF) in FLUENT. According to this UDF, the val-
the definite boundary conditions used in the numerical model, ues of velocity at the boundaries 2 and 3 (inlet and outlet)
respectively. As shown in Fig. 2a, b 2D grid was used for mesh become zero after the system has stabilized. In fact, when
generation which consisted of Tri (pave) elements for elbows the velocity equals zero, it is similar to the condition when
and Quad (map) elements for other parts of the structure. the pump is turned off or the valve is suddenly closed in the
The upper tank played no role in calculation, so it was elim- experimental model. In order to determine the time needed
inated in the numerical model. Since the boundaries 1 and to reach the steady flow before the occurrence of water ham-
4 are exposed to the air, pressure outlet boundary condition mer, the models were primary run without water hammer
with atmospheric value was assigned to them. In addition, for occurrence and the time needed was extracted. FLUENT has
boundaries 2 and 3, which act as an input and output of the time-record ability for recording hydraulic parameters such
model, the velocity inlet and velocity outlet were considered as pressure head in unsteady flows. This parameter has been
as a boundary condition, respectively. Walls of the pipe and recorded in experimental model by transducer. The consid-
123
Arab J Sci Eng (2014) 39:2669–2675 2673
Numerical Experimental
ered time step for recording the pressure head values in the
280
numerical model and in the experimental setup was the same
and equal to 0.1 s.
110
Figure 6 shows the values of the mean relative error (MRE)
for different turbulence models using the surge pipe by the
following formula:
100
0 25 50 75 100
Time (s) N Hn −Ho
i=1 Ho
Fig. 4 Variations of pressure head for the first model (Q = 35 l/min) MRE(%) = × 100 (1)
N
123
2674 Arab J Sci Eng (2014) 39:2669–2675
1 0.75
0.68
0.63
0.59
MRE (%)
0.5
0
1
Turbulence Model
Standard RNG Realizable RSM
Fig. 6 Values of MRE for different turbulence models using surge pipe
Fig. 8 Values of Hmax and Hmin for the first model
0.98
0.93
0.78
1 0.75
MRE (%)
0.5
0
1
Turbulence Model
Standard RNG Realizable RSM
123
Arab J Sci Eng (2014) 39:2669–2675 2675
acceptable CFD software as employed for numerical sim- 6. Zhao, M.; Ghidaoui, M.: Godunov-type solutions for water hammer
ulation. It should be mentioned that after applying the tur- flows. J. Hydraul. Eng. ASCE 130(4), 341–348 (2004)
7. Wood, D.J.: Water hammer analysis—essential and easy (and effi-
bulence models of k-ε and RSM, the k-ε Realizable model cient). J. Environ. Eng. ASCE. 131(8), 1123–1131 (2005)
was found as the best one. Finally, the qualitative and quan- 8. Wood, D.J.; Lindireddy, S.; Boulos, P.F.; Karney, B.; Mcpherson,
titative comparisons of the results showed a good agreement D.L.: Numerical methods for modeling transient flow in distribu-
between experimental and numerical models that reveals the tion systems. J. Am. Water Works Assoc. 97(7), 104–115 (2005)
9. Saikia, M.D.; Sarma, A.K.: Numerical modeling of water hammer
high capability of the numerical model for simulating the with variable friction factor. J. Eng. Appl. Sci. 1(4), 35–40 (2006)
water hammer phenomenon. 10. Kim, S.: Impulse response method for pipeline systems equipped
with water hammer protection devices. J. Hydraul. Eng. ASCE.
134(7), 961–969 (2008)
11. Kown, H.J.; Lee, J.J.: Computer and experimental models of tran-
References
sient flow in a pipe involving backflow preventers. J. Hydraul. Eng.
ASCE 134(4), 426–434 (2008)
1. Ghidaoui, M.S.; Kolyshkin, A.A.: Stability analysis of velocity 12. Riasi, A.; Nourbakhsh, A.; Raisee, M.: Unsteady turbulent pipe
profiles in water hammer flows. J. Hydraul. Eng. ASCE. 127(6) flow due to water hammer using k-θ turbulence model. J. Hydraul.
499–512 (2001) Res. IAHR. 46(4), 429–437 (2009)
2. Ghidaoui, M.S.; Mansour, G.S.; Zhao, M.: Applicability of quasi 13. Keramat, A.; Tijsseling, A.S.; Hou, Q.; Ahmadi, A.: Fluid–
steady and axisymmetric turbulence models in water hammer. J. structure interaction with pipe-wall viscoelasticity during water
Hydraul. Eng. ASCE. 128(10), 917–924 (2002) hammer. J. Fluids Struct. Elsevier. 28, 434–455 (2012)
3. Izquierdo, J.; Iglesias, P.L.: Mathematical modeling of hydraulic 14. Dargahi, B.: Experimental study and 3D numerical simulations for
transients in simple systems. Math. Comput. Model. Elsevier 35(7), a free over flow spillway. J. Hydraul. Eng. ASCE. 132(9), 899–907
801–812 (2002) (2006)
4. Izquierdo, J.; Iglesias, P.L.: Mathematical modeling of hydraulic 15. Malalasekera, W.M.G.; Versteeg, R.: An introduction to compu-
transients in complex systems. Math. Comput. Model. ELSEVIER tational fluid dynamics. Addison Wesley Longman limited, UK
39(4), 529–540 (2004) (1955)
5. Filion, Y.R.; Karney, B.W.: Sources of error in network modeling: a
question of perspective. J. Am. WaterWorks Assoc. 95(2), 119–130
(2003)
123