Professional Documents
Culture Documents
Three-Dimensional Computational Fluid Dynamics Simulation of Valve-Induced Water Hammer
Three-Dimensional Computational Fluid Dynamics Simulation of Valve-Induced Water Hammer
Abstract
In this study, three-dimensional computational fluid dynamics simulation was adopted to evaluate the valve-induced water
hammer phenomena in a typical tank-pipeline-valve-tank system. Meanwhile, one-dimensional analysis based on method
of characteristics was also used for comparison and reference. As for the computational fluid dynamics model, the water
hammer event was successfully simulated by using the sliding mesh technology and considering water compressibility.
The key factors affecting simulation results were investigated in detail. It is found that the size of time step has an obvious
effect on the attenuation of the wave and there exists a best time step. The obtained simulation results have a good
agreement with the experimental data, which shows an unquestionable advantage over the method of characteristics
calculation in predicting valve-induced water hammer. In addition, the computational fluid dynamics simulation can also
provide a visualization of the pressure and flow evolutions during the transient process.
Keywords
Water hammer, method of characteristics, computational fluid dynamics, user-defined functions, transient analysis
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
2 Proc IMechE Part C: J Mechanical Engineering Science 0(0)
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
Yang et al. 3
Discharge Reynolds Valve closure Wave speed, Water hammer Pipe friction
Test Q (m3/h) number time tc (s) a (m/s) period T (s) factor, f P
where D is inside pipe diameter, L is pipe length, and finally deduced and expressed as two compatibility
U is longitudinal average velocity. Physically, P is the equations.20
ratio of the diffusion time scale to the wave time scale In the experiment, the rapid closing of the dis-
in water hammer problems. This parameter can be charge valve was selected to achieve the water
used to evaluate the availability of the quasi-steady hammer event. The valve closure can be assumed as
state model. a linear process on account of the small rotation angle
(12 ) and the instantaneous process for valve closure.
The transient process of valve closure can be
Numerical model expressed with the equations of valve opening over
Traditionally, the method of characteristics (MOC) is time.
the common used approach in modeling the water 8
hammer events. However, with the rapid development < 0 ð04t40:15Þ
of computer, CFD was rapidly developed and widely ¼ 0 0 ðt 0:15Þ=tc ð0:154t4tc þ 0:15Þ
:
used. Therefore, the present numerical analysis, 0 ðt 4 tc þ 0:15Þ
according to the above experimental model, were ð2Þ
conducted by two relatively independent ‘‘modeling
cultures,’’ 1D MOC calculation and 3D CFD simula- where tc is valve closure time and 0 is the initial valve
tion. Numerical results from them were compared. opening.
A comparative analysis of measured and calculated
pressure variations is conducted and presented in
MOC calculation
Figure 4. The figure shows that MOC calculation exe-
MOC calculation was first conducted as reference cuted within the quasi-steady approach underesti-
analysis. For 1D unsteady pipe flow, the basic control mates the damping and cannot accurately predict the
equations of water hammer, including the continuity evolution of the pressure oscillations. Although the
and momentum conservation equations, can be experiment parameter P is larger than 1, which
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
4 Proc IMechE Part C: J Mechanical Engineering Science 0(0)
Figure 3. The repeatability of experimental data. (a) P1, (b) P2, (c) P3 and (d) P4.
means the quasi-steady assumption is acceptable, the in which, is the fluid density, V is the fluid velocity
calculated deviation can be attributed to the underesti- vector, p is pressure, qij is the stress tensor, and F is the
mate of unsteady friction. Because the contribution of external body force.
unsteady friction effect to the damping rate of pressure In this paper, Fluent code is employed for CFD
head peak is more obvious for the practical pipe sys- simulation. It provides various types of turbulence
tems with relatively small timescale ratio (L/D).21 In models23,24 to describe the fluid flow. Moreover, it
addition, the 1D MOC model is unable to realize the offers user-defined functions (UDF) to modify mater-
flow visualization during the whole process. ial properties and execute valve closing action.
In this study, it is not necessary to establish the
system with a whole CFD model, and only the pipe
CFD simulation and valve were modeled, as shown in Figure 5. The
CFD technology are developed mainly to solve the main reason is that the water surfaces in the upstream
governing equations of fluid flow based on highly dis- and downstream tanks almost kept unchanged during
cretized finite element models (FEM) or finite volume the experimental process, so the inlet and outlet pres-
models (FVM), which is totally different from the 1D sures of pipe are assumed to be constant (Figure 4-
hydraulic analysis. What’s more, the CFD simulation P4). In addition, the simplified model can save com-
can establish more realistic physical model and avoid putational resource and speed up simulation speed. In
different model assumptions. The 3D fundamental order to improve the calculation accuracy and effi-
governing equations of fluid flow can be formulated ciency, fully hexahedral meshes are used to discretize
as follows22: the CFD model. The detail of pipe and valve mesh is
shown in Figure 6.
@ In the established CFD model, there also needs to
þ r ðVÞ ¼ 0 ð3Þ
@t define the inlet and outlet boundary condition. The
total pressure is set to10 kPa for pipe inlet, and static
DV pressure is set to 3 kPa for pipe outlet. The operating
¼ r ij rp þ F ð4Þ
Dt pressure keeps the default value of 101.325 kPa and
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
Yang et al. 5
Figure 4. Comparisons between MOC calculated and experimental results. (a) P1, (b) P2, (c) P3 and (d) P4.
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
6 Proc IMechE Part C: J Mechanical Engineering Science 0(0)
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
Yang et al. 7
It is noted that the valve closing process will started experiment results at the location P1. The simulation
from a higher flow-rate for the model with more results show that the size of time step has hardly any
meshes. However, the observed variation in flow- effect on the surge pressure and the cycle period of
rate was under 1% with further increasing the cell pressure fluctuations, other than strongly driving the
number from 754561. What is more, the pretransient damping of the pressure envelope. Increase the size of
discharge calculated by the flow-rate (0.086 m/s) is time step can speed up the attenuation trend. In the
equal to the measured value. Therefore, the final plot, the time step of 0.00035 s obviously gives a better
mesh, with 987211 cells, defines the whole model. In result than other time steps. Based on the changing
a word, all the results demonstrate that the transient trend of simulation results, the most suitable size of
simulation is independent of grid number. time step will be 0.000325 s.
To verify the influence of temporal interval, differ- In order to further demonstrate the influence of
ent time steps, from 0.0001 s to 0.001 s, were used to time step, the mesh number was then fixed at
simulate the transient event. The mesh number was 435055 and 1966926. The obtained results were
fixed at 987211. Figure 10 plots wave crest lines cal- shown in Figure 11. When the size of time step is
culated using different time steps and compared with
Figure 9. Velocity time history at section P1 for different cell numbers (t ¼ 0.00035 s).
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
8 Proc IMechE Part C: J Mechanical Engineering Science 0(0)
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
Yang et al. 9
Figure 13. Results comparisons between CFD simulated and experimental results. (a) P1, (b) P2, (c) P3 and (d) P4.
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
10 Proc IMechE Part C: J Mechanical Engineering Science 0(0)
again and is try return to original condition. time. In the whole transition process, the velocity is
This whole process is repeated periodically under gradually weakened and this change can be seen from
the action of elasticity of fluid. The action of fluid the view of color changing.
friction and wall friction damps out the vibration
and eventually causes the fluid to come permanently
Conclusion
to rest.
Figure 16 shows the evolution of the velocity field In water conveyance systems, the research on water
around the valve. The color of the velocity vectors hammer becomes more and more important due to its
indicates the relative magnitude of the total velocity. destructive effects. In this paper, this transient event is
The velocity vectors on axial cross-section change at investigated by means of experimental and numerical
different instants. Before valve closing (t ¼ 0.1302 s), models. The experimental apparatus is a typical tank-
the velocity vectors are very smooth and concen- pipeline-valve-tank system, and the water hammer
trated. As the valve closed gradually, more compact event was generated by the sudden closure of the
vortices are generated in the upstream of the valve. At down-stream ball valve. Numerical models were estab-
the instant of valve closure (t ¼ 0.15 s), the high pres- lished by CFD simulation. Meanwhile 1D MOC
sure bringing the fluid to rest and the reverse flow is calculation, based on quasi-steady friction model, was
generated along the pipe wall and the streamline also performed and gave a comparative analysis.
becomes haywire. The vortex in the valve body devel- In CFD simulation, the valve-induced water
ops and becomes more clear and compact. The fluid hammer event was successfully simulated by using
flows backward and no fluid is available to maintain the sliding mesh technology and considering the
the flow due to the valve closure at t ¼ 0.1604 s. The water compressibility. It should be mentioned that
low pressure is developed, and then brings the fluid to the size of time step has an important influence on
rest. Therefore, the velocity vectors become cluttered. the accuracy of the simulation results. A too large
Then the fluid begins to flow forward and backward, time step can accurately calculate the spatial acceler-
and the periodic reciprocating motion will last a long ations along pipeline, but underestimates the transient
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
Yang et al. 11
effect of the temporal acceleration because it exceeds 6. Meniconi S, Brunone B and Ferrante M. In-line pipe
the time scale of the transient flow. Whereas, a too device checking by short-period analysis of transient
small time step can capture the transient flow details tests. J Hydraul Eng 2010; 137: 713–722.
and accurately calculate the temporal acceleration, 7. Zielke W. Frequency-dependent friction in transient
pipe flow. J Fluids Eng 1968; 90: 109–115.
but overestimates the spatial accelerations along pipe-
8. Vardy AE and Brown JMB. Transient turbulent fric-
line. As a result, increase the size of time step can
tion in smooth pipe flows. J Sound Vib 2003; 259:
speed up the water hammer attenuation, and a defini- 1011–1036.
tive time step must be a suitable value, neither too 9. Brunone B, Golia UM and Greco M. Effects of two-
large nor too small. Furthermore, another equation dimensionality on pipe transients modeling. J Hydraul
was defined and demonstrated to provide the rela- Eng 1995; 121: 906–912.
tively suitable size of time step. After the simulation, 10. Brunone B and Golia UM. Discussion of ‘‘Systematic
the obtained numerical results have a good agreement evaluation of one-dimensional unsteady friction models
with experimental data. Meanwhile the CFD simula- in simple pipelines’’ by JP Vitkovsky, A. Bergant, AR
tion also provides a visualization of pressure wave Simpson, and MF Lambert. J Hydraul Eng 2008; 134:
transmission and the flow field evolution. 282–284.
11. Meniconi S, Duan HF, Brunone B, et al. Further devel-
Although a comparative analysis reveals that CFD
opments in rapidly decelerating turbulent pipe flow
simulation shows an unquestionable advantage over
modeling. J Hydraul Eng 2014; 140: 04014028-1/9.
the MOC calculation in predicting valve-induced 12. Vı́tkovský JP, Bergant A, Simpson AR, et al.
water hammer, the MOC calculation still is the Systematic evaluation of one-dimensional unsteady fric-
common used approach. However, the application of tion models in simple pipelines. J Hydraul Eng 2006;
CFD simulation will greatly improve the development 132: 696–708.
of MOC models. Furthermore, the present simulation 13. Pezzinga G. Quasi-2Dmodel for unsteady flow in pipe
is only available for single-phase fluids. However, the networks. J Hydraul Eng 1999; 125: 676–685.
sudden closure of a valve causes Fuid transients which 14. Brunone B, Ferrante M and Cacciamani M. Decay of
may involve local cavity formation and distributed pressure and energy dissipation in laminar transient
cavitation (bubble flow). Therefore, the further study flow. J Fluids Eng 2004; 126: 928–934.
15. Brunone B and Berni A. Wall shear stress in transient
of CFD simulation can take into account the phase
turbulent pipe flow by local velocity measurement. J
changes, such as cavitation and column separation. Hydraul Eng 2010; 136: 716–726.
Experimental flow test techniques, like high-speed 16. Pezzinga G, Brunone B, Cannizzaro D, et al. Two-
photography, can be employed to assess the actual dimensional features of viscoelastic models of pipe tran-
transient flow fields, which are also effective references sients. J Hydraul Eng 2014; 140: 0401403–1/9.
for verifying numerical simulation results. 17. Vardy AE and Hwang K. A characteristics model of
transient friction in pipes. J Hydraul Res 1991; 29:
Declaration of Conflicting Interests 669–684.
The author(s) declared no potential conflicts of interest with 18. Wang LQ, Li ZF, Wu DZ, et al. Transient flow around
respect to the research, authorship, and/or publication of an impulsively started cylinder using a dynamic mesh
this article. method. Int J Comput Fluid Dynamics 2007; 21:
127–135.
19. Wu DZ, Wu P, Li ZF, et al. The transient flow in a
Funding
centrifugal pump during the discharge valve rapid open-
The author(s) disclosed receipt of the following financial ing process. Nucl Eng Des 2010; 240: 4061–4068.
support for the research, authorship, and/or publication 20. Bergant A, Ross Simpson A and Vı̀tkovsk J.
of this article: This study was performed as part of Developments in unsteady pipe flow friction modelling.
National Natural Science Foundation of China (no. J Hydraul Res 2001; 39: 249–257.
51276213). 21. Duan HF, Ghidaoui MS, Lee PJ, et al. Relevance of
unsteady friction to pipe size and length in pipe fluid
References transients. J Hydraul Eng 2011; 138: 154–166.
1. Ghidaoui MS, Zhao M, McInnis DA, et al. A review of 22. Ashgriz N and Mostaghimi J. An introduction to com-
water hammer theory and practice. Appl Mech Rev 2005; putational fluid dynamics. In: Fluid flow handbook. New
58: 49–76. York: McGraw-Hill Professional, 2002, p.3.
2. Ghidaoui MS. On the fundamental equations of water 23. El Gharbi N, Absi R, Benzaoui A, et al. An improved
hammer. Urban Water J 2004; 1: 71–83. near-wall treatment for turbulent channel flows. Int J
3. Azoury PH, Baasiri M and Najm H. Effect of valve- Comput Fluid Dynamics 2011; 25: 41–46.
closure schedule on water hammer. J Hydraul Eng 24. Guo B, Langrish TAG and Fletcher DF. CFD simula-
1986; 112: 890–903. tion of precession in sudden pipe expansion flows with
4. Lohrasbi AR and Attarnejad R. Water hammer analysis low inlet swirl. Appl Math Modell 2002; 26: 1–15.
by characteristic method. Am J Eng Appl Sci 2008; 1: 287. 25. Wu DZ, Chen T, Sun YB, et al. A study on numerical
5. Ghidaoui MS, Mansour SG and Zhao M. Applicability methods for transient rotating flow induced by
of quasisteady and axisymmetric turbulence models in starting blades. Int J Comput Fluid Dynamics 2012;
water hammer. J Hydraul Eng 2002; 128: 917–924. 26: 297–312.
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016
12 Proc IMechE Part C: J Mechanical Engineering Science 0(0)
Downloaded from pic.sagepub.com at UNIV CALIFORNIA SAN DIEGO on March 31, 2016