Professional Documents
Culture Documents
net/publication/280624082
CITATIONS READS
6 409
2 authors:
All content following this page was uploaded by Arris S Tijsseling on 03 August 2015.
transform to dTz (t ) φ( zb , t ) = qz (t ) or
b b
d ηi ( z , t ) d Tz (t ) S η( zb , t ) = qz (t ) , (19)
=0 , i = 1, 2 , (14) b b
dt
where d Tzb is a row vector with 2 coefficients and the
when they are considered along characteristic lines
in the z-t plane defined by scalar qzb is the (boundary) excitation. For conven-
⎛ η 1 ( A1 ) ⎞
or η ( P ) = ⎜ ⎟. (17)
⎝η 2 ( A 2 ) ⎠
The value of the unknown variable ηi does not
change along the line Ai P.
The original unknowns in φ are obtained from η
through (6). This gives
2
Figure 2. Boundary point P and "feeding"
φ(P) = ∑ S R i S −1 φ ( Ai ) , (18)
characteristic line in the distance-time plane.
i =1
R E S E R V O IR P IP E VALVE
Figure 5. Single-pipe test problem.
70 Proceedings of the 2nd IAHR International Meeting of the Workgroup on Cavitation and Dynamic Problems in Hydraulic Machinery and Systems
pressure (Pa)
instantaneous valve closure with Tc = 0.03 s, reveals 1 .10
that the pressure effectively starts to rise after time
0.7Tc . Figure 7 displays the corresponding pressure 5 .10
5
pressure (Pa)
5 .10
validity of the new method. The new method calcu-
lated solutions in 240 points in time (1 millisecond 6
1 .10
step) to produce Fig. 6 and in 240 reaches to produce
Fig. 7. These values were chosen to obtain high resolu-
6
tion, not high accuracy, because exact solutions are 1.5 .10
0 2 4 6 8 10 12 14 16 18 20
always obtained. It is noted that finding exact solu- distance (m)
tions for frictionless water-hammer in a single pipe
(7b)
6
1.5 .10 Figure 7. Single-pipe test problem.
1 .10
6 Pressure distribution along the pipe calculated at
5 t = 0.24 s: (a) Tc = 0 s, (b) Tc = 0.03 s. Solid line:
pressure (Pa)
5 .10
new method. Dotted line: conventional method.
0
5 .10
5 is nothing special, except that the exact solutions are
6 not necessarily in equidistantly spaced grid points.
1 .10
1.5 .10
6 4.2. Double pipe
0 0.05 0.1 0.15 0.2
time (s)
In the double-pipe test problem sketched in Fig. 8,
the first 3.85 m of the pipeline has a twice thicker wall
(6a) (e1 = 16 mm, e2 = 8mm). The wave speed in the thick
1.5 .10
6 section is c1 = 1184.0 m/s, which is larger than c2 =
1 .10
6 1025.7 m/s. The calculated pressure histories are shown
5 in Fig. 9. The instantaneous valve closure in Fig. 9a
pressure (Pa)
5 .10
clearly brings out all the reflections from the thicker
0 pipe at the inlet. Joukowsky’s value is exceeded and a
5
5 .10 beat is starting to develop. The mathematical challenge
1 .10
6 is to capture all the tiny peaks in the entire period of
1.5 .10
6 simulation. The new method is able to do so, because
0 0.05 0.1 0.15 0.2 it is exact. The traditional water-hammer simulation
time (s) can only achieve this by using again a very fine
(6b) computational grid of 900 reaches with a time step
Figure 6. Single-pipe test problem. of 21 microseconds, and marginally changed wave
speeds c1 = 1184.3 m/s and c2 = 1025.5 m/s. The
Pressure history calculated at z = 11.15 m:
new method used a time step of 500 microseconds
(a) Tc = 0 s, (b) Tc = 0.03 s. Solid line:
to produce Fig. 9 and 480 reaches to produce Fig. 10.
new method. Dotted line: conventional method.
Figure 9b is the more realistic case of gradual valve
3 .8 5 1 1 .1 5
20
0 .8
0 zj PT L
Figure 8. Double-pipe test problem. Distances in metres.
Proceedings of the 2nd IAHR International Meeting of the Workgroup on Cavitation and Dynamic Problems in Hydraulic Machinery and Systems 71
closure. All tiny peaks are smeared out now, but (10a)
Joukowsky is still exceeded and a beat still devel- 0
ops. Figure 10 is the pressure distribution along the
5
pipeline at time t = 0.24 seconds. 2 .10
Both new and conventional solutions are displayed 4 .10
5
in the Figs. 9 and 10, but the differences are hardly
pressure (Pa)
5
6 .10
visible, thereby confirming again the validity of the
new method. Finding exact solutions for frictionless 8 .10
5
5 .10
5
(10b)
pressure (Pa)
0
Figure 10. Double-pipe test problem.
Pressure distribution along the pipeline calculated
5
5 .10 at t = 0.24 s: (a) Tc = 0 s, (b) Tc = 0.03 s. Solid line:
6
new method. Dotted line: conventional method.
1 .10
6
1.5 .10 5. CONCLUSION
0 0.05 0.1 0.15 0.2
time (s)
The equations for water hammer without friction
(9a) have been solved exactly for time-dependent bound-
1.5 .10
6 ary and constant (steady state) initial conditions with
a new method based on the MOC. The strength of
6
1 .10 the method is the simplicity of the algorithm (recur-
5 .10
5 sion) and the fast and accurate (exact) calculation of
pressure (Pa)
0 NOMENCLATURE
5
2 .10
Scalars
5
4 .10
A cross-sectional area, m2
5
6 .10 c pressure wave speed, m/s
0 2 4 6 8 10 12 14 16 18 20
distance (m) det determinant
E Young modulus of pipe wall material, Pa
72 Proceedings of the 2nd IAHR International Meeting of the Workgroup on Cavitation and Dynamic Problems in Hydraulic Machinery and Systems
Output Implementation
The output is the state vector φ = Sη as a function The algorithms have been implemented in Math-
of distance and time. cad 11 [29]; the interested reader may find the Math-
cad worksheets in [30].
Boundary points
Table 1. Definition of the coefficients α and β
See Figure 2. The subroutine BOUNDARY cal-
in subroutine BOUNDARY. DS(t) is the matrix
culates η in the boundary points (finally) from con-
product of D(t) and S.
stant initial values. The pseudo-code reads:
z=0 z=L
BOUNDARY (input: z, t ; output: η)
if (t ≤ 0) then −DS ( t ) 1 , 2 −DS ( t ) 2 , 1
α12( t ) := α21( t ) :=
η := η 0 DS ( t) 1 , 1 DS ( t) 2 , 2
else
1 1
if (z = 0) then β11( t ) := β22( t ) :=
CALL BOUNDARY (L, t + L / λ2 ; η) DS ( t) 1 , 1 DS ( t) 2 , 2
h2 := η 2
η 1 := a12(t) η2 + b11(t) q1(t) APPENDIX B. RECURSION FOR A DOUBLE
η 2 := η2 PIPE
if (z = L) then Input
CALL BOUNDARY (0, t – L / λ1 ; η) The coefficient matrices A1, B1, A2, B2, D(t),
η1 := η 1 J1(t), J2(t), the excitation vectors q(t) and r(t), the
η 1 := η1 initial conditions φ1 0 ( z ) and φ2 0 ( z ) , the lengths z j
η 2 := a21(t) η1 + b22(t) q2(t) and L, and the positive wave speeds λ11 = −λ12 and
λ21 = −λ22, describe the complete double-pipe system
if (z ≠ 0 AND z ≠ L) then in general terms. The extensions 1 and 2 in the nota-
"z is not at a boundary" tion refer to the domains left and right of the junction
end at z = z j . See Figure 3.
Note that l2 is a negative number herein. The coef-
Output
ficients a and b are given in Table 1. They define the
unknowns η 1 and η 2 at the left and right boundaries, The output is the state vector φ = Sη as a function
respectively, as the exact solution of the linear equa- of distance and time, with φ = S1 η1 if 0 ≤ z ≤ z j− and
tion (19). For the case of nonlinear non-instantaneous
φ = S2 η2 if z j+ ≤ z ≤ L .
valve closure, as described in Section 2.7, in subroutine
BOUNDARY: q2 (t ) = V from Eq. (39), for z = L.
Boundary and junction points
Interior points See Figure 3. The subroutine BOUNDARY cal-
See Figure 1. The subroutine INTERIOR calcu- culates η1 and η2 in the boundary and junction points
lates η in the interior points from the boundary val- (finally) from constant initial values. The pseudo-code
ues. The pseudo-code reads: reads:
if (z = L) then Note that l12 and l22 are negative numbers herein.
CALL BOUNDARY (z j, t – (L–z j) / λ21 ; The coefficients a and b are given in Table 2. They
η1, η2) define the unknowns η 1 and η 2 at the left and right
η1 := η 2 1 boundaries, respectively, as the exact solution of the
system of two linear equations (19). For the case of
η 2 1 := η1
nonlinear non-instantaneous valve closure, as de-
η 2 2 := a21(t) η1 + b22(t) q2(t) scribed in Section 2.7, in subroutine BOUNDARY:
if (z = z j) then q2 (t ) = V from Eq. (39), for z = L. The coefficients γ
CALL BOUNDARY (0, t – z j / λ11 ; η1, and δ are given in Table 3. They define the unknowns
η2) η 2 and η 1 at the left and right sides of the junction,
η1 := η11 respectively, as the exact solution of the system of
CALL BOUNDARY (L, t – (z j-L) / λ22 ; two linear equations (20).
η1, η2) Table 2. Definition of the coefficients α and β
η2 := η 2 2 in subroutine BOUNDARY. DS1(t) is the matrix
η11 := η1 product of D(t) and S1, and DS2(t) is the matrix
product of D(t) and S2.
η 2 1 := γ11(t) η1 + γ12(t) η2 + δ11(t) r1(t) +
δ12(t) r2(t) z=0 z=L
η1 2 := γ21(t) η1 + γ22(t) η2 + δ21(t) r1(t) + −DS1 ( t ) 1 , 2 −DS2 ( t ) 2 , 1
α12( t ) := α21( t ) :=
δ22(t) r2(t) DS1 ( t) 1 , 1 DS2 ( t) 2 , 2
η 2 2 := η2
1 1
if (z ≠ 0 AND z ≠ L AND z ≠ z j) then β11( t ) := β22( t ) :=
"z is not at a boundary or junction" DS1 ( t) 1 , 1 DS2 ( t) 2 , 2
end
Table 3. Definition of the coefficients γ and δ in subroutine BOUNDARY. JS1(t) is the matrix
product of J1(t) and S1, and JS2(t) is the matrix product of J2(t) and S2.
−JS2( t ) 2 , 1 −JS1( t) 2 , 2
δ21( t ) := δ11( t ) :=
det ( t ) det ( t )
JS2( t) 1 , 1 JS1( t) 1 , 2
δ22( t) := δ12( t) :=
det ( t ) det ( t )
if (z j < z < L) then [10] Chaudhry, M. H., and Hussaini, M. Y., 1985, “Second-
CALL BOUNDARY (z j, t – (z-z j) / λ21 ; η1, Order Accurate Explicit Finite-Difference Schemes
η2) for Waterhammer Analysis”, ASME Journal of Fluids
Engineering, 107, pp. 523-529.
η1 := η 2 1 [11] Arfaie, M., and Anderson, A., 1991, “Implicit Finite-
CALL BOUNDARY (L, t – (z-L) / λ22 ; η1, Differences for Unsteady Pipe Flow,” Mathematical
η2) Engineering for Industry, 3, pp 133-151.
η2 := η 2 2 [12] Guinot, V., 2000, “Riemann Solvers for Water Ham-
mer Simulations by Godunov Method,” International
η 1 := η1 Journal for Numerical Methods in Engineering, 49,
η 2 := η2 pp. 851-870.
[13] Hwang Yao-Hsin, and Chung Nien-Mien, 2002, “A
else Fast Godunov Method for the Water-Hammer Prob-
"z is not an interior point" lem,” International Journal for Numerical Methods
end in Fluids, 40, pp. 799-819.
[14] Jović, V., 1995, “Finite Elements and the Method of
Implementation Characteristics Applied to Water Hammer Modelling,”
The algorithms have been implemented in Math- Engineering Modelling, 8(3-4), pp. 51-58.
cad 11 [29]; the interested reader may find the Math- [15] Shu, J.-J., 2003, “A Finite Element Model and Elec-
cad worksheets in [30]. tronic Analogue of Pipeline Pressure Transients with
Frequency-Dependent Friction,” ASME Journal of
Fluids Engineering, 125, pp. 194-199.
REFERENCES
[16] Cheng Yong-guang, Zhang Shi-hua, and Chen Jian-
[1] Aronovich, G. V., Kartvelishvili, N. A., and Lyubim- zhi, 1998, “Water Hammer Simulations by the Lat-
tsev, Ya. K., 1968, Gidravlicheskii Udar i Uravnitel’ tice Boltzmann Method,” Transactions of the Chi-
nye Rezervuary, (Water Hammer and Surge Tanks,) nese Hydraulic Engineering Society, Journal of Hy-
Izdatel’stvo “Nauka”, Moscow, Russia (in Russian). draulic Engineering, 1998(6), pp. 25-31 (in Chinese).
(English translation by D. Lederman, 1970, Israel [17] Thanapandi, P., 1992, “An Efficient Marching Algo-
Program for Scientific Translations, Jerusalem, Israel.) rithm for Waterhammer Analysis by the Method of
[2] Fox, J. A., 1977, Hydraulic Analysis of Unsteady Flow Characteristics,” Acta Mechanica, 94, pp. 105-112.
in Pipe Networks, Macmillan Press Ltd, London, UK; [18] Wood, D. J., Dorsch, R. G., and Lightner, C., 1966,
Wiley, New York, USA. “Wave-Plan Analysis of Unsteady Flow in Closed
[3] Chaudhry, M. H., 1987, Applied Hydraulic Tran- Conduits,” ASCE Journal of the Hydraulics Division,
sients (2nd edition), Van Nostrand Reinhold, New 92, pp. 83-110.
York, USA. [19] Wood, D.J., Lingireddy, S., Boulos, P.F., Karney, B.W.,
[4] Wylie, E. B., and Streeter, V. L., 1993, Fluid Tran- and McPherson, D. L., 2005, “Numerical Methods
sients in Systems, Prentice Hall, Englewood Cliffs, for Modeling Transient Flow in Distribution Systems,”
New Jersey, USA. Journal AWWA, 97(7), pp. 104-115.
[5] Záruba, J., 1993, Water Hammer in Pipe-Line Systems [20] Jones, S. E., and Wood, D. J., 1988, “An Exact Solu-
(2nd edition), Czechoslovak Academy of Sciences, tion of the Waterhammer Problem in a Single Pipeline
Prague, Czech Republic; Developments in Water with Simulated Line Friction,” ASME - PVP, 140,
Science, 43, Elsevier Science Publishers, Amsterdam, pp. 21-26.
The Netherlands. [21] Sobey, R. J., 2004, “Analytical Solutions for Unsteady
[6] Popescu, M., Arsenie, D., and Vlase, P., 2003, Applied Pipe Flow,” Journal of Hydroinformatics, 6, pp. 187-
Hydraulic Transients for Hydropower Plants and 207.
Pumping Stations, A.A. Balkema Publishers, Lisse, [22] Tijsseling A. S., 2003, “Exact Solution of Linear
The Netherlands. Hyperbolic Four-Equation Systems in Axial Liquid-
[7] Thorley, A. R. D., 2004, Fluid Transients in Pipeline Pipe Vibration,” Journal of Fluids and Structures, 18,
Systems (2nd edition), Professional Engineering Pub- pp. 179-196.
lishing, London, UK. [23] Bürmann, W., 1975, “Water Hammer in Coaxial Pipe
[8] Ghidaoui, M. S., Zhao, M., McInnis, D. A., and Ax- Systems,” ASCE Journal of the Hydraulics Division,
worthy, D. H., 2005, “A Review of Water Hammer 101, pp. 699-715. (Errata in 101, p. 1554.)
Theory and Practice,” ASME Applied Mechanics [24] Rij, A. A. van, 1970, “Standaard Afsluiterkarakteris-
Reviews, 58, 49-76. tieken (Standard Valve Characteristics),” Delft Hydrau-
[9] Bergant, A., Tijsseling, A.S., Vítkovský J. P., Covas D., lics Laboratory, Report V 195, Delft, The Netherlands
Simpson A. R., and Lambert M. F., 2007, “Parame- (in Dutch).
ters Affecting Water-Hammer Wave Attenuation, [25] Schedelberger, J., 1975, “Closing Characteristics of
Shape and Timing,” Accepted for Publication in Spherical Valves,” 3R international, 14, pp. 333-339
IAHR Journal of Hydraulic Research. (in German).
76 Proceedings of the 2nd IAHR International Meeting of the Workgroup on Cavitation and Dynamic Problems in Hydraulic Machinery and Systems
[26] Bergant, A., and Simpson, A. R., 1991, “Quadratic- Historical Review,” Journal of Fluids and Structures,
Equation Inaccuracy for Water Hammer,” ASCE 22, pp. 135-171.
Journal of Hydraulic Engineering, 117, pp. 1572- [29] Mathcad 11, 2002, User's Guide, MathSoft Engineering
1574. & Education, Inc., Cambridge, USA.
[27] Bergeron, L., 1961, Waterhammer in Hydraulics and [30] Tijsseling, A. S, and Bergant, A., 2007, “Meshless
Wave Surges in Electricity, John Wiley & Sons, New Computation of Water Hammer,” CASA Report 07-28,
York, USA. ISSN 0926-4507, Department of Mathematics and
[28] Bergant, A., Simpson, A.R., and Tijsseling, A.S., Computer Science, Eindhoven University of Tech-
2006, “Water Hammer with Column Separation: A nology, The Netherlands.