Professional Documents
Culture Documents
__________________
Date
________________________________
Vikram Raj Pandya, PhD
Member, Graduate Committee
__________________
Date
________________________________
Walter Silva Araya, PhD
President, Graduate Committee
__________________
Date
________________________________
Andres Calderon, PhD
Representative of Graduate Studies
__________________
Date
________________________________
Paul Sundaram, PhD
Chairperson of the Department
__________________
Date
ABSTRACT
The model was tested for three cases: single, series and branching piping systems.
The computed pressures are compared with the experimental data obtained for Silva
Araya (1993) for a single piping system case. For a series and a branching piping system
the computed results obtained by using unsteady friction are compared with the data
obtained by using steady friction model.
iii
RESUMEN
cualquier instante y la disipacin de energa obtenida por la aproximacin cuasipermanente se define como el Factor de Disipacin de Energa. Este es un parmetro nodimensional que varia en el tiempo que se incorpora en el trmino de la friccin de flujo
transitorio que gobierna las ecuaciones.
de Ariete. Las tuberas en estos sistemas pueden tener diferentes dimetros, espesor de
pared, material de pared, y/o factores de friccin.
Para el cmputo del estado permanente inicial se utiliza una subrutina que resuelve
las ecuaciones de flujo de la red, usando el anlisis lineal de Hardy Cross. La subrutina
tiene en cuenta las prdidas menores de entrada, el uso de las perdidas por friccin en
tuberas de Darcy-Weisbach o la de Hazen-Willians. Son permisibles tanto el sistema
internacional como las unidades inglesas.
El modelo fue probado para tres casos: sistemas de tubera sencillos, en serie y
ramificados. Las presiones computadas se comparan con los datos experimentales
obtenidos para Silva Araya (1993) para el caso de sistemas de tubera sencillos. Para
sistemas de tubera en serie y ramificados los resultados calculados, obtenidos utilizando
friccin en flujo no-permanente se comparan con los datos obtenidos utilizando el
modelo de friccin permanente.
vi
ACKNOWLEDGEMENTS
I want to express a sincere acknowledgement to my advisor, Dr. Walter Silva for his
motivation, time, and support during my research.
I would like to thank my mother and my wife, for their support, inspiration and love.
vii
Table of Contents
ABSTRACT .................................................................................................................................................II
RESUMEN ................................................................................................................................................. IV
ACKNOWLEDGEMENTS ....................................................................................................................VII
TABLE OF CONTENTS........................................................................................................................ VIII
TABLELIST ................................................................................................................................................X
FIGURELIST ............................................................................................................................................ XI
1
INTRODUCTION .............................................................................................................................2
1.1
1.2
1.3
GOVERNINGEQUATIONS...........................................................................................................9
2.1
2.1.1
2.1.2
2.2
2.3
2.4
2.4.1
2.4.2
SYSTEMSPECIFICATION ...........................................................................................................37
3.1
3.2
3.3
3.4
MOTIVATION .................................................................................................................................3
LITERATURE REVIEW ....................................................................................................................3
SUMMARY OF FOLLOWING CHAPTERS ..........................................................................................8
SCHEMATICDIAGRAM...............................................................................................................37
NUMBERINGOFNODES .............................................................................................................38
NODETYPES...............................................................................................................................40
NUMBERINGOFCONDUITS .......................................................................................................41
METHODOLOGY ...........................................................................................................................42
4.1
COMPUTATIONOFTHEINITIALSTEADYSTATECONDITIONS ...................................................42
4.1.1
Generalized Network Equations............................................................................................43
4.1.2
Linearization of System Energy Equations............................................................................49
4.1.3
Hardy Cross Method .............................................................................................................50
4.2
GENERATIONOFTHECOMPUTATIONALGRID ..........................................................................53
4.3
TURBULENCEMODELING ...........................................................................................................55
4.3.1
Turbulence Model for the Inner Region ................................................................................57
4.3.2
Outer Region Model and Blending Relation..........................................................................58
viii
4.4
4.5
4.6
4.7
4.7.1
4.7.2
5
VERIFICATION...............................................................................................................................69
5.1
5.2
5.3
INITIALVELOCITYPROFILE ........................................................................................................61
COMPUTATIONOFTHEPRESSUREGRADIENT ...........................................................................63
SHEARSTRESSDISTRIBUTION .....................................................................................................64
COMPUTATIONOFTHEVELOCITYPROFILE ...............................................................................65
Predictor Step........................................................................................................................66
Corrector Step .......................................................................................................................67
SINGLEPIPINGSYSTEM ..............................................................................................................69
SERIESPIPINGSYSTEM ...............................................................................................................82
BRANCHINGPIPINGSYSTEM .....................................................................................................89
CONCLUSIONS ..............................................................................................................................94
APPENDIXA.VALUESOFTVS.TAUFORDIFFERENTTYPESOFVALVES........................99
APPENDIX A1. BUTTERFLY VALVES...................................................................................................99
APPENDIX A2. CIRCULAR VALVES....................................................................................................101
APPENDIX A3. BIPLANES VALVES.....................................................................................................103
ix
TableList
Tables
Table 3-1.
Table 5-1.
Table 5-2.
Table 5-3.
Table 5-4.
Table 5-5.
Table 5-6.
Table 5-7.
Page
Node Types..................................................................................................... 41
Parameters for Single Piping System. ............................................................ 71
Node type for Single Piping System. ............................................................. 71
Node type for Series Piping System............................................................... 83
Parameters for Series Piping System.............................................................. 83
Characteristics of the Pipes for Series Piping System.................................... 83
Node type for Branching Piping System. ....................................................... 90
Characteristics of the Pipes for Branching Piping System............................. 90
FigureList
Figures
Page
xii
1 INTRODUCTION
If sudden velocity and pressures variations are caused in a pipe system, for example
when pumps are shut off or valves are closed, a pressure wave develops which is
transmitted in the pipe at a certain velocity that is determined by fluid properties and the
pipe wall material. This phenomenon, called water hammer, can cause pipe and fittings
rupture. The intermediate stage flow, when the flow conditions are changed from one
steady state condition to another steady state, is called transient state flow or transient
flow; water hammer is a transient condition caused by sudden changes in flow velocity or
pressure.
Generally friction losses in the simulation of transient pipe flow are estimated by
using formulae derived for steady state flow conditions, this is known as the quasi-steady
approximation. The head loss during transient flow is equal to the head loss obtained for
steady uniform flow with an average velocity equal to the instantaneous transient velocity.
Although this approximation is enough to calculate the maximum pressures in the
absence of vapor cavitations or column separation, this is not accurate for the prediction
of the time history of pressure oscillations and the attenuation of pressure waves. An
accurate calculation of the damping effect due to unsteady friction losses is important for
long time simulations and for systems having multiple operations.
1.1 Motivation
Water hammer analysis tools of the past have been noted for being difficult to use and
requiring extensive specialized knowledge. As a result, this critical aspect of piping
system design and operation has often been overlooked. Recently, pressure oscillations
caused serious damage in the important pipe conduction called the North Coast Super
aqueduct of Puerto Rico.
The present research extended Silva-Araya and Chaudhrys (1997) unsteady friction
model to series and branching pipe systems. The extended application was developed
using a Windows interface with VBA in Excel for general program applications. The
original research was tested in simple pipe valve systems only.
Piping systems engineers typically are not specialists in water hammer modeling.
With this work and fundamental knowledge they would be equipped with the proper tools
to design and analyze for water hammer transients in liquid systems.
wall is the same in steady-state flow condition than in transient condition. These models
fail to correctly predict the transient pressure head field beyond the first wave cycle.
Ohmi et al. (1980) studied the flow behavior in turbulent oscillatory flow and found
that the shear stress depends on the ratio of frequency of oscillation and the timeaveraged Reynolds number throw each cycle. When this ratio is small, the pressure
gradient and the wall shear stress are in phase with the mean velocity and the quasisteady approximation is applicable. As this ratio increases, the mean velocity delays from
the shear stress and the pressure gradient. Then the friction factor is different from its
values in quasi-steady conditions.
Experimental studies by Ramaprian and Tu (1979) showed that the turbulent structure
in oscillatory flow is different from that in equilibrium conditions, thereby increasing the
time-mean shear stress and the friction losses. Therefore, the energy dissipation in
oscillatory flow is greater than that computed by the quasi-steady approximation.
Vardy and Hwang (1991) adopted a five-region turbulence model to compute the
eddy viscosity distribution using empirical relations. In each region a different expression
was used to compute the eddy viscosity. This turbulence model is used to solve the
transient governing equations including axial and radial velocity components. The
equations are transformed by the method of characteristics and solved simultaneously.
The equations must be solved at every time step at every cross section to obtain the
pressure head and the axial velocity. It was reported that this model is very time
consuming.
Silva-Araya and Chaudhry (1993) developed an energy dissipation model for the
computation of laminar and turbulent unsteady friction losses and obtained instantaneous
velocity profiles to compute the Reynolds stresses in transient pipe flow. The energy
dissipation factor incorporated in the momentum equation is defined as the ratio of the
energy dissipated in transient flow to the energy dissipated according to the steady-state
approximation. This is a non-dimensional, time-varying parameter that modifies the
friction term in the transient flow governing equations. For transient turbulent pipe flow a
mixing length eddy viscosity turbulence model proposed by Granville (1989) was chosen
for the inner region of the boundary layer and a constant eddy viscosity model proposed
by Kita et al., (1980) was used for the outer region.
Peralta Cooper (2001) replaced the mixing length model in Silva-Araya and
Chaudhrys model by the two-equation k - turbulence model proposed by Wilcox
(1988a, 1993b). The results were very similar to those obtained by using Granvilles
mixing length model. As a general conclusion, for most transient conditions, the use of
simple turbulence models provides similar results to two-equation models. The use of
steady-state turbulence models for unsteady flow is supported by physical measurements
of pressure oscillation. However, unsteady turbulence models are still an area where
research must be done.
Zhao and Ghidaoui (2004) formulated, applied, and analyzed first and second order
explicit finite volume Godunov-type schemes for water hammer problems. The finite
volume formulation ensures that both schemes conserve mass and momentum and
produce physically realizable shock fronts. The implementation of boundary conditions,
such as, valves, pipe junctions, and reservoirs, within the Godunov approach is similar to
that of the method of characteristics approach. The schemes were applied to a system
consisting of a reservoir, a pipe, and a valve and to a system consisting of a reservoir, two
pipes in series, and a valve.
Schohl (1993) used a new approximation to the weighting function in Zilekes (1967)
equation in an improved implementation of Trikhas (1975) method for including
frequency dependent friction in transient laminar flow calculations. The new, five-term
approximation was fitted to the weighting function using a nonlinear least squares
approach.
Vardy and Brown (2004) presented a method for evaluating wall shear stress from
known flow histories in unsteady pipe flows. The method builds on previous work by
Trikha, but has two important differences. One of these enables the method to be uses
with much larger integration time steps than are acceptable with Trikhas method. The
other, a general procedure for determining approximations to weighting functions,
enables it to be used at indefinitely small times. The method is applicable to both laminar
and turbulent flows.
Most of unsteady flow models with unsteady friction have been tested in simple pipe
systems, typically a valve-reservoir system. Recently, some attempts have been done to
apply then in pipe networks. The present work has extended the application of a quasibidimensional model to branching and series systems.
2 GOVERNINGEQUATIONS
2.1 Closed Conduit Transient Flow Governing Equations
The dynamic equations in transients-state flow in closed conduits are the equations
for the conservation of mass and the momentum equation. These equations are a set of
hyperbolic partial differential equations. Using the Reynolds Transport Theorem and
assuming one-dimensional flow and elastic conduit with slightly compressible fluid,
which stretch or contracts with respect to time; these equations become (Chaudhry, 1987)
V
= 0
x
2.1
2.2
Where: g = acceleration due to gravity, = pipe angle with respect to the horizontal,
p
+ a
t
V
x
= 0
2.3
fV V
V
1 p
+
+
x
t
2D
= 0
2.4
H
t
a 2
gA
Q
x
10
= 0
2.5
fQ Q
Q
H
+ gA
+ ef
=0
t
x
2 DA
2.6
2.2 EnergyDissipationFunction
For boundary layer planar or axisymmetric flow, the expression to compute the
energy dissipation function, denoted by , is given by (White, 1991):
u u
u 'v '
r r
2.7
Where: u = axial velocity of the fluid particle along the conduit length, r = radial
11
coordinate measured from the pipe centerline, u/r = velocity gradient in the radial
direction, = dynamic viscosity of the fluid, = fluid density, u ' v ' = Reynolds
stresses. Equation 2.7 accounts the total shears stresses, viscous and turbulent stresses
and represents the energy dissipation per unit volume and per unit time.
Integration of Equation 2.7 across the conduit area from the wall to the pipe
centerline and multiplying by two can be estimated the dissipation integral. This result
accounts for the rate of energy dissipation per unit length in the conduit area.
Therefore:
= 2
R
0
rdr
2.8
t2 R
E t = 2 rdrdt
2.9
t1 0
Silva Araya (1993) demonstrated that for steady-state the energy dissipation is given
by:
12
Is
fV 3
A
2g
2.10
Where DLs = steady state dissipation integral, f = Darcy- weisbach friction factor,
V = mean velocity, = fluid density, A = pipe flow cross sectional area.
fV 3
A (t 2 t 1 )
2D
2.11
Equation 2.9 can be used to compute the unsteady energy dissipation integral if the
velocity profile at any time during the computation and the Reynolds stresses are known.
Division of Equation 2.9 by Equation 2.11 gives the ratio, called the energy
dissipation factor, as defined by Silva Araya and Chaudhry (1997), of the energy
dissipated during the transient flow to that in the steady flow.
Et
Es
2.12
The energy dissipation factor is a function time-varying velocity gradient and the
Reynolds stresses for turbulent flow. To solve Equation 2.12 requires a procedure to
compute the instantaneous velocity distribution in transient flow condition and also a
13
turbulence model. The next section describes the procedure implemented to find the
velocity distribution during the transient flow.
2.3 MomentumEquationforAxisymmetricPipeFlow
The velocity distribution in transient flow process for an axisymmetric
incompressible pipe flow is given by (White, 1991):
u
u
u
1 p
+ ux
+ ur
=
+
t
x
r
x
2u
1 u
+
2
r
r
r
2.13
Where = kinematics viscosity of the fluid. The coordinate directions are defined in
Figure 2-1.
Thus after time averaging the axisymmetric equation of motion, the following
assumptions were considered:
1. Incompressible flow and constant viscosity
2. The convective terms are not considered
3. The second order spatial derivative term 2 u / x 2 is not considered.
4. The velocities in the radial direction can be neglected
2u 1 u
u 'v '
u
1 p
+
=
+
+
2
t
r
x
r r
r
2.14
Where u = time averaged velocity in the axial direction, u ' v ' = Reynolds stress.
Equation 2.14 is the equation to compute the velocity distribution in turbulent transient
pipe flow.
2.4 MethodofCharacteristics
The equations describing the transient-state flow in closed conduits are quasi-linear,
hyperbolic, partial differential equations. A closed-form solution of these equations is not
available. However, by neglecting or linearizing the nonlinear term, various graphical and
analytical methods have been developed.
15
The method of characteristics has become quite popular and is extensively used. For
the solution of one-dimensional, hydraulic transient problems (especially if the wave
speed is constant), this method has proven to be superior to other methods in several
aspects, such as correct simulation of steep wave fronts, illustration of wave propagation,
ease of programming, and efficiency of computations.
L1 =
H
Q
+ gA
+ RQ Q = 0
t
x
= a
Q
+ gA
x
H
t
2.15
= 0
2.16
In which R = f/(2DA). Let us consider a linear combination of Eqs. 2.15 and 2.16:
L = L1 +L2
Or
Q
+ a
Q
H
+ gA
x
t
16
1 H
+ RQ
x
= 0
2.17
dQ
dt
Q
Q
+
t
x
dH
dt
H
t
dx
dt
2.18
and
H
x
dx
dt
2.19
dx
dt
= a
2.20
i.e.,
1
a
2.21
And by using Equations. 2.18 and 2.19, Equation 2.17 can be written as
dQ
gA dH
+
+ RQ Q = 0
dt
a dx
2.22
If
dx
=a
dt
17
2.23
and
dQ
gA dH
+ RQ Q = 0
dt
a dx
2.24
If
dx
= a
dt
2.25
Note that Equation 2.22 is valid if Equation 2.23 is satisfied and that Equation 2.24 is
valid if Equation 2.25 is satisfied.
In the x t plane, Equations 2.23 and 2.25 represent two straight lines having slopes
1/a. These are called characteristic lines. Mathematically, these lines divide the x t
plane in two regions, which may be dominated by two different kinds of solution, i.e., the
solution may be discontinuous along these lines. Physically, they represent the path
traversed by a disturbance. For example, a disturbance at point A (Figure 2-2) at time to
would reach point P after time t.
18
dt
dt
dQ +
gA
a
dH + R dQ Q dt = 0
A
2.26
The first two integral forms of Equation 2.26 are easily evaluated; however, the third
term is not, representing the friction losses, because the variation of Q with respect to t is
not explicitly known. By using a first-order approximation, the integral of the third term
is evaluated as:
20
R dQ Q dt RQ A Q A ( t p t A ) = RQ A Q A t
A
2.27
In other words, we are saying that for the evaluation of this term, Q remains constant
form point A to point P. Hence, Equation 2.26 becomes:
QP QA +
gA
( H P H A ) + R tQ A Q A = 0
a
2.28
Note that Equation 2.28 is exact except for the approximation of the friction term.
This first-order approximation usually yields satisfactory results for typical engineering
applications.
QP QB
gA
( H P H B ) + R tQ B Q B = 0
a
2.29
By combining the known variables together, we may write Equation 2.28 as:
QP = CP CaH P
21
2.30
QP = Cn Ca H P
2.31
CP = QA +
gA
H A R tQ A Q A
a
2.32
Cn = QB
gA
H B R tQ B Q B
a
2.33
And
Ca =
gA
a
2.34
Note that Equation 2.30 is valid along the positive characteristic line AP and Equation
2.31 along the negative characteristic line BP (Figure 2-2). The value of the constants CP
and Cn are known for each time step, and the constant Ca depends upon the conduit
properties. We will refer to Equation 2.30 as the positive characteristic equation and
Equation 2.31 as the negative characteristic equation. In Equations 2.30 and 2.31, we
have two unknowns, namely, HP and QP. The values of these unknowns can be
determined by simultaneously solving these equations.
22
Special boundary conditions are required to determine the transient-state head and
discharge at the boundaries. These are developed by solving Equations 2.22 or 2.24, or
both, simultaneously with the conditions imposed by the boundary. These conditions are
in terms of special relationships that define, at the boundary, the discharge, the head, or a
relation between them. Equation 2.22 is used for the downstream boundaries and
Equation 2.24 for the upstream boundaries.
We shall designate the upstream and downstream ends with reference to the initialflow direction even though the flow may reverse during the transient state. A section at
the upstream end of a conduit shall be numbered section 1 and the one at the downstream
end as section n + 1, assuming the conduit is divided in n reaches. To specify variables at
different sections, we shall use two subscripts: The first subscript designates the conduit
number, and the second indicates the section number. For example, Qi,j represents flow at
the jth section of the ith conduit. For variables that have the same value at all sections of
a conduit, only one subscript will be used. For example, Cai refers to constant Ca
(Equation 2.34) for the ith conduit. Although CP and Cn may have different values at
different sections of a conduit, only one subscript will be used with them to indicate the
conduit number.
23
In this case, it is assumed that the water level in the reservoir remains constant during
the transient-state conditions.
he =
kQ P2i ,1
2.35
2 gA i2
In which k is the coefficient of entrance loss. Then, referring to Figure 2-5, we obtain:
H Pi ,1 = H res (1 + k )
Q P2i ,1
2 gA i2
In which Hres = height of the reservoir water surface above the datum.
24
2.36
k 1Q P2i ,1 + Q Pi ,1 ( C ni + C a i H res ) = 0
2.37
In which:
k1 =
C a i (1 + k )
2 gA i2
2.38
By solving Equation 2.37 and neglecting the negative sign with the radical term, we
obtain:
25
Q Pi ,1 =
1+
1 + 4 k 1 ( C n1 + C a1 H res )
2 k1
2.39
If the entrance losses as well as the velocity head are negligible, then:
H Pi ,1 = H res
2.40
In which Hres = height of the reservoir water surface above the datum. Equation 2.31
for the upstream end thus becomes:
Q Pi ,1 = C ni + C a i H res
2.41
he =
kQ P2i , n +1
2 gA i2
2.42
H Pi , n +1 = H res (1 k )
26
Q P2i , n +1
2 gA i2
2.43
k 2 Q P2i , n +1 Q Pi , n +1 + C pi C a i H res = 0
2.44
In which:
k2 =
C a i (1 k )
2 gA i2
2.45
By solving equation 2.44 and neglecting the positive sing with the radical term:
Q Pi , n +1 =
1 1 4 k 2 ( C p1 C a1 H res )
2k2
2.46
If the exit loss and the velocity head are negligible, then:
H Pi , n +1 = H res
2.47
Q Pi , n +1 = C p i C a i H res
27
2.48
At the dead end (Figure 2-7), QPi,n+1 = 0. Hence, from the positive characteristic
equation (Equation 2.30), it follows that:
H Pi , n +1 =
28
C pi
C ai
2.49
Q oi , n +1 = ( C d Av ) o
2 gH
oi , n +1
2.50
Q Pi , n + 1 = ( C d A v ) 2 gH
29
Pi , n + 1
2.51
Dividing Equation 2.51 by Equation 2.50, taking square of both sides and defining the
relative valve opening = (CdAv)/(CdAv)o, we obtain:
2
Pi , n + 1
(Q
=
oi , n +1
H oi , n +1
H Pi , n +1
2.52
Substitution for Hp from the positive characteristic equation (Equation 2.30) into
Equation 2.52 yields:
Q P2i , n + 1 + C v Q Pi , n + 1 C p i C v = 0
2.53
Q Pi , n +1 = 0 . 5 C v +
C v2 + 4 C p i C v
2.54
(a)
(b)
(c)
31
For an orifice, the opening remains constant. Therefore, the above equations may be
used with = 1.
H Pi , n +1 = H Pi +1 ,1
2.55
The positive and negative characteristic equations for sections (I, n+1) and (i+1, 1)
are:
Q Pi , n +1 = C p i C a i H Pi , n +1
2.56
Q Pi +1 ,1 = C n i +1 C a i +1 H Pi +1 ,1
2.57
Q Pi , n +1 = Q Pi +1 ,1
32
2.58
H Pi , n +1 =
C p i C ni +1
C a i + C a i +1
2.59
Now Hpi+1, 1, Qpi, n+1, and Qpi+1, 1 can be determined from Equations 2.55 through
2.57.
For the branching junction shown in Figure 2-10, the following equations can be
written:
1. Continuity equation:
Q Pi , n +1 = Q Pi +1 ,1 + Q Pi + 2 ,1
33
2.60
2. Characteristic equations:
Q Pi , n +1 = C p i C a i H Pi , n +1
2.61
Q Pi +1 ,1 = C ni +1 + C a i +1 H Pi +1 ,1
2.62
Q Pi + 2 ,1 = C n i + 2 + C a i + 2 H Pi + 2 ,1
2.63
H Pi , n +1 = H Pi +1 ,1 = H Pi + 2 ,1
2.64
H Pi , n +1 =
C p i C ni +1 C ni + 2
C a i + C a i +1 + C a i + 2
2.65
Now Hpi+1, 1 and Hpi+2, 1 can be determined from Equation 2.64; Qpi, n+1, Qpi+1, 1, and
Qpi+2, 1 can be determined from Equations 2.61 through 2.63.
34
The positive and negative characteristic equations for sections (I, n+1) and (i+1, 1)
are given for Eqs. 2.56 and 2.57 respectively. The continuity equation at the junction is
given for Eq. 2.58.
p i +1 ,1
C pi C ai H
p i , n +1
C ni +1
C a i +1
2.66
pi , n +1
C p i Q p i , n +1
C ai
2.67
And Qpi,n+1 is computed for Eq. 2.54 for a valve at downstream. Values of t versus
for different types of valves are given in Appendix A.
36
3 SYSTEMSPECIFICATION
This chapter describes how to specify the pipe system in the computer program.
3.1 SchematicDiagram
Figure 3.1 shows a system configuration. Liquid-conveying structures, such as pipes,
conduits or tunnels are conduits and the storage facilities, devices or appurtenances, such
as reservoirs, tanks, valves or pipe junctions are the boundaries. The conduit cross
sections at the boundaries will be called nodes.
A square is used for a node and a circle for a conduit. The node number is written
inside the square and the conduit number inside the circle. The type of each node will be
indicated by a numeral written inside a triangle (see Fig. 3-1). Each node type is
explained in this chapter.
3.2 NumberingofNodes
To identify the nodes in the system, they are numbered in a sequence starting at the
upstream end and, number the upstream node as one. Then, proceeding in the
downstream direction, the other nodes are numbered 2, 3, and so on. Fig. 3-2 illustrates
this procedure. The junction of two conduits is a node called a series junction. The
conduits joining at a series junction may have different diameters, wall thickness, wall
material, and/or friction factors. In a branching piping system having a tree-like structure
(Fig. 3-3), designate one pipeline as the main line, and the remaining pipelines as the
branch lines. The branch lines may have sub-branches and the sub-branches may be
further branched out.
38
Nodes on the main line are numbered like a series system, i.e., we start at the
upstream end and then proceed in the downstream direction. The nodes on each branch
line are then numbered one branch at a time. The numbering on the branch line starts at
the upstream end of the branch and then proceeds in the initial-steady-state-flow
direction. No particular sequence has to be followed to number the branches, i.e., you
decide which branch you want to number as branch no. 1, 2, 3, and so on.
Fig. 3-3 illustrates this numbering procedure for a branching system. We have
arbitrarily called one line as the main line and the remaining lines as branch lines. We
number the upstream node of the main line as 1 and number the remaining nodes on this
line proceeding in the downstream direction. The last node on the main line is 8. Then,
we select one of the branch lines as number 1 and number the nodes on this line as 9 to
11. Of the remaining two branch lines, we call one of them as branch number 2 and
number the nodes on this line as 12 to 14. Branch number 3 provides inflow to the main
line as compared to the other two lines in which flow is from the main line. We number
the upstream node on this line as 15 and the remaining two nodes on this line as 16 and
17.
39
3.3 NodeTypes
Assign numbers to designate the type of a node. For example, an upstream reservoir
is node type 1, downstream reservoir as node type 2, and so on. Table 3-1 lists various
types of nodes and numbers to designate their type. Write in a triangle the number
designating the type of a node, i.e., the number in the triangle refers to the type of the
node, and the number in the square represents the number of the node.
40
Node Type
1
2
3
4
5
6
7
8
Node
Upstream Reservoir
Downstream Reservoir
Series Junction
Branching Junction
Dead End
Downstream Valve
Orifice at Lower End
Intermediate Valve
3.4 NumberingofConduits
Different nodes are connected by conduits, and number these conduits to distinguish
them from another. It is not necessary to follow any particular sequence in numbering the
conduits as long as each conduit in the system in numbered once and the numbering of
the conduits starts at one. For example, the conduit between nodes 1 and 2 may be
numbered 1, 3, or any other number as long as it is not greater than the local number of
conduits in the system. The numbering of conduits should start at 1 and then continue
consecutively to the total number of conduits in the system. It does not matter if conduit
number 1 is located at the downstream end of the system, conduit no. 2 is located ate the
upstream end of the system, and conduit no. 3 is located as some intermediate location.
41
4 METHODOLOGY
This chapter describes the procedure followed to obtain the energy dissipation factor
as an integrated part of the transient analysis in piping systems. The methodology
includes the application of the Hardy Cross method for the computation of the initial
steady state conditions and the use of a technique to generate the computational grid
without having an excessive number of grid points. The turbulence model is described
and details on the computation of the initial steady state velocity profile. The
approximation of the time dependent pressure gradient and the numerical scheme to solve
the axisymmetric momentum equation are also included.
4.1 Computationoftheinitialsteadystateconditions
For the computation of the initial steady state conditions a subroutine that solves the
network flow equations using the Hardy Cross linear analysis (adapted from [14]) is used.
The subroutine allows for the input of minor losses, use of either the Darcy-Weisbach or
Hazen-Willians pipe frictional loss, and the provision of rated power for pumps. Either SI
or English units are permissible.
It is necessary to know the flow direction in each pipe element at all times because
the required head summations depend on that flow direction. This process is handled by
42
initially designating an assumed flow direction in each pipe element. As the calculations
proceed, the direction of the flow rate is positive if it is in the initial assumed direction
and negative if it reverses direction. Input geometric data require signs based on the
initial assumed flow directions. The subroutine requires input data specifying assigned
pipe numbers for the paths of pipe sections making up primary loops and pipe sections
between fixed-grade nodes. The pipe numbers are input with a positive sign if the
assumed flow direction is in the path direction and with a negative sign if it is opposite.
Networks of piping such as those shown in Figures 4.1 and 4.2 can be represented by
the following equations.
( )
Q j Qe = 0
4.1
In which the subscript j refers to the pipes connected to a node, and Qe is the
external demand. The algebraic plus or minus sign convention pertains to the
assumed flow direction. Use the positive sign for flow into the junction, and the
negative sign for the flow out of the junction.
43
Figure 4-1. Representative piping network: (a) assumed flow directions and
numbering scheme: (b) designated interior loops; (c) path between two fixedgrade nodes. (From [14])
( ) W
i
=0
4.2
In which the subscript i pertains to the pipes that make up the loop. There will be
44
a relation for each of the loops. Here it is assumed that there are not pumps
located in the interior of the network. The plus sign is uses if the flow in the
element is positive in the clockwise sense; otherwise, the minus sign is employed.
3. Energy balance along a unique path or pseudo loop connecting two fixed-grade
nodes:
( ) [W
i
(H
p i
+ H = 0
4.3
Where: H is the difference in magnitude of the two fixed-grade nodes in the path
ordered in a clockwise fashion across the imaginary pipe in the pseudo loop. The term
(Hp)i is the head across a pump that could exist in the ith pipe element. If F is the
number of fixed-grade nodes, there will be (F 1) unique path equations. The plus and
minus signs in Eq. 4.3 follow the same argument given for Eq. 4.2.
Let P be the number of pipe elements in the network, J the number of interior nodes,
and L the number of interior loops. Then the following relation will hold if the network is
property defined:
P=J+L+F1
W = RQ
k
2 gA
Q2
4.4
R =
8 fL
g 2 D 5
4.5
K are
element.
If the minor losses can be defined in terms of an equivalent length, Eq. 4.4 can be
replaced by:
W = RQ x
4.6
R =
8 f [L + (L e )]
g 2 D 5
46
4.7
(Q ) = a o
+ a 1Q + a 2 Q 2
4.8
The coefficients ao, a1, and a2 are assumed known; typically, they can be found by
substituting three known data points from a specified pump curve and solving the three
resulting equations simultaneously. In place of defining the pump head-discharge curve,
an alternative means of including a pump in a line is to specify the useful power the
.
pump puts into the system. The useful, or actual, power W f is assumed to be constant
and allows Hp to be represented in the manner:
.
(Q ) =
Wf
4.9
47
Figure 4-2. Two piping networks: (a) tree watering system: P = 17, L = 0, j =
8, F = 10; (b) water distribution system: P = 17, L = 4, J = 12, F = 2. (From
Wood, 1981.)
48
Define the function (Q) to contain the nonlinear terms W(Q) and HP(Q) in the form:
(Q ) = W (Q ) H P (Q ) = RQ x H P (Q )
4.10
d
(Q ) = (Q o ) +
dQ
d 2
(Q Q o ) + 2
dQ
Qo
(Q Q o )2
+ ...
4.11
Qo
(Q ) RQ ox H P (Q o ) + x RQ ox 1
dH P
dQ
(Q Q o )
Qo
49
4.12
G = x RQ ox 1
dH P
dQ
4.13
Qo
(Q ) = R Q ox H P (Q o ) + (Q Q o )G
= W o H Po + (Q Q o )G
4.14
In which Wo = W(Qo) and Hpo = Hp(Qo). Finally, Eq. 4.14 is substituted into Eq. 4.3 to
produce the linearized loop or path energy equation:
( ) [(W ) (H ) + [Q
i
o i
po
(Q o )i ]G i + H = 0
4.15
The Hardy Cross method of analysis is a simplified version of the iterative linear
analysis. In Eq. 4.15, let (Qo)I be the estimates of discharge from the previous iteration,
and let Qi be the new estimates of the discharge. Define a flow adjustment Q for each
50
loop to be:
Q = Q i (Q o )i
4.16
The adjustment is applied independently to all pipes in a given loop. Hence Eq. 4.15
can be written as
( ) [(W ) (H )
i
po
+ Q G i + H = 0
4.17
Q =
( )[(W ) (H ) ] H
G
o i
po
4.18
For a closed loop in which no pumps or fixed-grade nodes are present, Eq. 4.18
reduces simply to the form:
Q =
( )(W )
G
o i
4.19
1. Assume an initial estimate of the flow distribution in the network that satisfies
continuity, Eq. 4.1. The closer the initial estimates are to the correct values, the
51
fewer will be the iterations required for convergence. One guideline to use is that
in a pipe element as R increases, Q decreases.
2. For each loop or path, evaluate Q with Eq. 4.18 or 4.19. The numerators should
approach zero as the loops or paths become balanced.
3. Update the flows in each pipe in all loops and paths, that is, from Eq. 4.16
Q i = (Q o )i +
The term
4.20
Q is used, since a given pipe may belong to more than one loop;
hence the correction will be the sum of corrections from all loops to which the
pipe is common.
4. Repeat steps 2 and 3 until a desired accuracy is attained. One possible criterion to
use is
Q i (Q o )i
Qi
52
4.21
4.2 Generationofthecomputationalgrid
The skin friction in turbulent flow is greater than in laminar flow; therefore, the
velocity gradient is greater at the wall. To assure a good resolution of the velocity
gradient close to the wall it is very important to have small grid steps in this region. A
geometrically expanding grid spacing proposed by Cebeci and Smith (1974) was used in
this study. Figure 4.1 shows a typical grid. This was the same grid adopted by SilvaAraya and Chaudhry (1997) to compute the velocity distribution during the transient
flow.
r=R
r=0
Pipe Wall
Figure 4-3. Non-uniform grid.
53
This technique is a geometric progression, in the radial direction, which have the
property that the ratio of lengths of any two adjacent intervals is a constant; that is:
h j = Kh j 1
4.22
Where h j 1 the size of the jth -1 interval is, h j is the size of the jth interval, K is the
ratio of two successive intervals. The distance to the position in the radial direction is
given by the following formula:
j = h1 ( K j 1) /(K 1)
j = 1, 2, ...,J
4.23
Where: h1 the length of the first cell and K is equal to the ratio of two successive
steps. The total number of points J was calculated by the following formula:
J =
ln [1 + ln( K 1)( R / h1 ) ]
ln K
4.24
Where: k = ratio of two successive steps, R = pipe radius, h1 = length of the first
interval. The implementation of this grid generation technique was based in knowing the
length of the first interval, the pipe radius and the number of grid points (N).
The constant expansion rate was computed using Newtons iteration method, which
54
starts with an initial guess; the convergence is quadratic. Then the grid growth in the
radial direction until the grid points is equal to the pipe radius. In order to compare the
model results, it is important to have a similar grid; therefore this grid was similar to the
grid used by Silva-Araya and Chaudhry (1997).
4.3 Turbulencemodeling
The turbulent boundary layer can be considered as composed of an inner and outer
region. The inner region characteristics are strongly dependent on the conditions near the
wall and are affected by the pressure gradient and the shear stress distribution. This
region is subdivided into a very thin region near the wall, called the viscous sublayer,
where, where the flow is dominated by viscous effects. Farther from the wall the
turbulent stresses become more important. The transition between the viscous sublayer
and the fully turbulent region is called the buffer layer. Beyond this transition the
turbulent stresses dominate the flow and the average velocity profile can be estimated
using a logarithmic equation. In pipe flows the inner region includes most of the pipe
cross section. Figure 4.4 shows the regions of a turbulent boundary layer.
55
25
Viscous
Sublayer
20
Buffer
Region
Logarithmic
Region
15
u
Outer
Region
10
5
0
0.1
10
100
1000
10000
(u ' v ' ) = l 2
u u
r r
4.25
Where: l is the mixing length. The bar symbol on the velocity was dropped in the
previous equation.
The Reynolds stresses can also be modeled by using the eddy viscosity concept
56
introduced by Boussinesq (1877). The basic assumption is that the turbulent stresses are
proportional to the velocity gradient. The same assumption is made in the mixing length
model. The coefficient of proportionality, , was called eddy viscosity and is defined as
u
( u ' v ' ) =
4.26
The close relation between the mixing length and the eddy viscosity concepts allows
converting mixing length into eddy viscosity in many cases. A mixing-length model was
used for the inner region of the boundary layer. An eddy viscosity model was selected for
the outer region. The mixing-length values are converted into eddy viscosity to make
both models compatible.
l + = ky
(1 e
y + / 1+
4.27
57
Granville (1990) derived the relation between the mixing length model (Eq. 4.27) and
the eddy viscosity as
+ =
( )
1
+ 2
1 + 2l
2
4.28
Where + = / v is the ratio of the eddy viscosity and the kinematics viscosity.
For the outer region the eddy viscosity is computed using a model proposed by Kita
et al. (1980). This is a constant eddy viscosity values across the outer region given by
+
out
= CcR +
58
4.29
For the range 1 X 104 < Re < 2 X 106 the value of Cc is given by (Silva Araya and
Chaudhry, 1993).
4.30
According to the criterion given by Kita et al (1980). the outer region starts when the
following condition if fulfilled
+
lim
0 . 154 Re +
=
k
1 +
Cc
0 . 077
4.31
A smoother transition between the inner and outer eddy viscosities can be achieved
by using a blending relation. This merging is accomplished by an exponential function
given by:
+
+ = out
e b (y
+
y out
59
4.32
b=
+
Ln out
/ c+
+
y out
y c+
4.33
The value of c+ is linearly interpolated between the beginning of the falling limb of
the eddy viscosity distribution and out . y c+ is the value of y+ corresponding to c+ . Also
+
+
is linearly interpolated between y lim
and R+ = uR/v. The corresponding value of
y out
+
is out
. Figure 4.5 shows a typical eddy viscosity distribution with the inner, transition and
outer regions.
Transition
Outer
Region
Inner Region
4.4 Initialvelocityprofile
For laminar flow the velocity profile is computed using the following expression
(White, 1991)
u =
1 p
R
4 x
r2
4.34
For turbulent flow, the initial mean velocity distribution can be written in the form:
u+ = f (y+)
4.35
Where f(y+) is the profile across the pipe, including the sublayer, buffer, logarithmic
and outer regions.
If the shear stress, +, and the eddy viscosity distribution, +, are known, the velocity
profile can be obtained by the following equation (Silva Araya and Chaudhry, 1993).
u+ =
y+
1+
61
dy
4.36
The gradients of the velocity profile are computed by using a forward-time, centralspaced explicit scheme modified for a geometrically expanded grid. The partial
derivatives can be approximated as (Hoffman, 1989)
+ 2 1 u i 2 u i 1
u
u
i +1
r
( + 1 ) r
4.37
In the previous expressions the subscript i refer to the i-th position inside the pipe
cross section. A second-order backward approximation is used for the gradient at the wall
u
r
2 u N 2 (1 + )2 u N 1
(1 + ) (r N 1 r N 2 )
4.38
Where N is the number of grid lines (the grid line at the wall is number N).
Prior to the initiation of the transient flow, the dissipation integral is computed
substituting the derivatives of the initial flow profile into Equation 2.8. The integrated
62
value is compared with the initial steady-state value given by Equation 2.10.
4.5 Computationofthepressuregradient
The computation of the pressure gradient needed in the Equation 3.14 is time
dependent and must be estimated from the local conditions. Given an approximation of
the velocity profile, for example the velocity profile at the previous time step, the
pressure gradient can be estimated from the momentum equation, expressed in a compact
form (Silva Araya and Chaudhry, 1997) as:
r p
u
= r
r
t
r
x
4.39
2
Q
1 p
=
tA
R
x
63
r r=R
4.40
4.6 Shearstressdistribution
Equation 2.14 can also be expressed in terms of the shear stress as:
u
p
1 (r
=
+
r r
t
x
4.41
u
rdr
t
r 2 p
+ r
2 x
4.42
Dividing by the shear stress at the wall, the following non-dimensional for results:
64
r w
r p
u
rdr +
2 w x
t
4.43
u
u
ut
t+t
t
tMOC
4.44
Where tMOC is the time step chosen to solve the characteristic equations.
R p
2 x
4.45
Equation 4.34 is used to update the shear stress distribution after every time step.
4.7 Computationofthevelocityprofile
This research adopted the procedure to compute the axisymmetric momentum
equation for the velocity profile across the unequally spaced grid, developed by Silva
Araya and Chaudhry, (1997). This procedure is reference as the McCormack scheme
predictor-corrector where is second order accurate in space and time scheme (Anderson
et al., 1984). In the predictor a step forward finite-differences approach is used for the
65
spatial derivatives, and a backward finite differences is used in the corrector step. This
sequence was alternated during the computations from one time step to the next; as
reported by these researchers. Therefore:
4.46
un un
u
= i +1 + i
r
r
4.47
2 ( u in+ 1 ( + 1) u in + u in 1 )
2u
=
r 2
( + 1)( r ) 2
4.48
Thus, the momentum equation is solved for u i* (Silva Araya and Chaudhry, 1997) as
n +1
1 p
d u in+ 1 u in
u = u +
t +
+
t
dr
r+
r
x
u in+ 1 ( + 1 ) u in + u i 1
+ 2 t
( + 1 )( r ) 2
*
i
n
i
66
4.49
4.50
u * u i* 1
u
= i
r
r
4.51
2 ( u i*+ 1 ( + 1 ) u i* + u i* 1 )
u 2
=
r 2
( + 1 )( r ) 2
4.52
Where (**) indicates a corrected value. Therefore, the corrected velocity is:
n +1
*
*
1 p
d u i u i 1
t + +
t
u = u +
dr r +
r
x
u * ( + 1) u i* + u i*1
+ 2 t i +1
( + 1)( r ) 2
**
i
n
i
4.53
Finally, the velocity for the next time step is given by:
u in +1 =
u i** u i*
2
The derivative of the eddy viscosity is obtained (Silva Araya, 1993) as:
67
4.54
+ ( 2 + 1) i 2 i 1
d
= i +1
dr
( + 1)( ri 1 ri )
4.55
The velocity distribution is computed at every section of the pipe. At the end of the,
method of characteristic (MOC) and for every time step the velocity profile is integrated
across the pipe section to compute the flow discharge. If the integrated discharge differs
from the one predicted by the MOC, the pressure gradient is slightly adjusted to satisfy
the continuity equation. The adjustment is done until both discharges differ by less than
5%.
68
5 VERIFICATION
This chapter presents the results obtained by using the unsteady friction model for
piping systems. The generalized algorithm was analyzed for three cases: single, series
and branching piping systems. The computed pressures are compared with the
experimental data obtained for Silva Araya (1993) for a single piping system case. For a
series and a branching piping system the computed results obtained by using unsteady
friction are compared with the data obtained by using steady friction model.
5.1 SinglePipingSystem
The experimental data obtained by Silva Araya (1993) was used for the verification
of the generalized algorithm in a single piping system. The experimental apparatus used
is shown in Figure 5.1. The system was built at the Albrook Hydraulics Laboratory at
Washington State University.
The transient conditions for this case were produced by a gradual closure of the
downstream valve. The valve closed completely in 1.085 sec. The curve of the effective
valve opening versus time curve used in the simulation is given in Figure 5.2
70
Parameter
Initial Discharge
Upstream Tank Head
Entrance Loss Coefficient
Friction Factor
Initial Valve Position
Wave Speed
Density
Dynamic Viscosity
Value
0.0165 m3/s
2.65 m
1.44
0.0223
0 = 0.62
1125 m/s
999.1 Kg/m3
1.06 X 10-3 m2/s
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1.2
Time (s)
Figures 5.3 (a) to 5.3 (d) compare the measured pressures with the computed results
obtained by using steady friction. The maximum pressure is predicted accurately without
the unsteady friction model. The oscillations damp much more rapidly than the predicted
values. The shift in the frequency of the oscillations is due to the reduction of the wave
speed caused by the low pressures after the valve closure.
72
H Vs T (Valve)
Experimental Data
Steady Friction
60
50
40
30
20
10
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
(20)
Time (s)
Experimental Data
Steady Friction
60
50
40
30
20
10
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
(20)
Time (s)
(b) At x = 3L / 4
Figure 5-3. Pressure Head Histories for a Single Piping System Using Steady
Friction.
73
H Vs T (x = L/2)
Experimental Data
Steady Friction
60
50
40
30
20
10
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
(20)
Time (s)
(c) At x = L / 2
H Vs T (x = L/4)
Experimental Data
Steady Friction
60
50
40
30
20
10
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
Time (s)
(d) At x = L / 4
Figure 5-3. Pressure Head Histories for a Single Piping System Using Steady
Friction (Cont.)
74
Figures 5.4 (a) to 5.4 (d) compare the measured pressure heads with the pressure
heads obtained by the unsteady friction model. The maximum and the minimum
pressures as well as the damping rate are predicted accurately at the four locations along
the pipe.
The effect of the passage of a strong pressure wave created during a transient flow
condition in the velocity profiles is observed in Figure. 5.5.
Figure 5.5 (a) correspond to the initial steady-state velocity profile. Figure 5.5 (b)
through 5.5 (d) present several instantaneous velocities profiles. Figure 5.5 (e) shows that
during transient flow, the average velocity across the section could be almost zero;
however, local velocities could be significant. Figure 5.8 (f) presents a profile during a
complete flow reversal (negative velocities).
The energy dissipation factor as a function of time for different points of the pipe is
shown in figure 5.6.
75
H Vs T (Valve)
Experimental Data
Unsteady Friction
60
50
40
30
20
10
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
(20)
Time (s)
Experimental Data
Unsteady Friction
60
50
40
30
20
10
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
(20)
Time (s)
(b) At x = 3L / 4
Figure 5-4. Pressure Head Histories for a Single Piping System Using
Unsteady Friction.
76
H Vs T (x = L/2)
Experimental Data
Unsteady Friction
60
50
40
30
20
10
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
Time (s)
(c) At the x = L / 2
H Vs T (x = L/4)
Experimental Data
Unsteady Friction
60
50
40
30
20
10
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
(10)
Time (s)
(d) At x = L / 4
Figure 5-4. Pressure Head Histories for a Single Piping System Using
Unsteady Friction (Cont.)
77
0.06
0.05
0.04
0.03
0.02
0.01
0
0
0.5
1.5
2.5
Velocity (m/s)
(a) At t = 0 s
0.06
0.05
0.04
0.03
0.02
0.01
0
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
Velocity (m/s)
(b) At t = 1 s
Figure 5-5. Velocity Profile in transient Flow at the Middle of the Pipe
78
0.05
0.04
0.03
0.02
0.01
0
-0.04
-0.02
0.02
0.04
0.06
0.08
0.1
0.12
0.14
Velocity (m/s)
(c) At t = 1.5 s
0.05
0.04
0.03
0.02
0.01
0
-0.04
-0.02
0.02
0.04
0.06
0.08
Velocity (m/s)
(d) At t = 1.56 s
Figure 5-5. Velocity Profile in transient Flow at the Middle of the Pipe (Cont.)
79
0.05
0.04
0.03
0.02
0.01
0
-0.05
-0.04
-0.03
-0.02
-0.01
0.01
0.02
0.03
0.04
0.05
0.06
Velocity (m/s)
(e) At t = 1.625 s
0.05
0.04
0.03
0.02
0.01
0
-0.08
-0.07
-0.06
-0.05
-0.04
-0.03
-0.02
-0.01
Velocity (m/s)
(f) At t = 1.75 s
Figure 5-5. Velocity Profile in transient Flow at the Middle of the Pipe (Cont.)
80
8000
7000
6000
5000
4000
3000
2000
1000
0
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
Time (s)
(a) At x = L / 2
Energy Dissipation Factor Vs Time (x = L / 4)
4500
4000
3500
3000
2500
2000
1500
1000
500
0
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
Time (s)
(a) At x = L / 4
Figure 5-6. Energy Dissipation Factor in Transient Turbulent Flow
81
5.2 SeriesPipingSystem
A case study presented by Chaudhry M. Hanif, (1987) in his book Applied
Hydraulics Transients was used to apply the generalized algorithm in a series piping
system
Transient conditions in the piping system shown in Figure 5.7 were determined using
steady and unsteady friction. The arrangement consists of a constant-head tank open to
the atmosphere connected by two horizontal pipes located in series to a valve located
1000 m downstream of the tank. The conduits at these systems have different diameters,
wall material, and friction factors. Table 5.3 shows the different types of nodes present in
this system.
Reservoir
Valve
Qo
2
1
3
1
3
6
Node Number
Node Type
1
(1) Upstream Reservoir
2
(3) Series Junction
3
(6) Downstream Valve
Table 5-3. Node type for Series Piping System.
The initial steady-state discharge was 1 m3/s. This corresponds to an average velocity
of 2.26 m/s and an initial Reynolds number of 1.69 X 106 for pipe number 1 and an
average velocity of 3.53 m/s and an initial Reynolds number of 2.12 X 106 for pipe
number 2. Other parameters are listed in Table 5.4 and characteristics of the pipes are
listed in Table 5.5.
Parameter
Initial Discharge
Upstream Tank Head
Number of Pipes
Valve Operation Time
Initial Valve Position
Final Valve Position
Density
Dynamic Viscosity
Value
1 m3/s
67.7 m
2
6s
0 = 1
f = 0
1000 Kg/m3
1.06 X 10-3 m2/s
Transient conditions were caused by closing the valve according to the t curve
shown in Figure 5.8. Seven points on this curve were stored in the computer, and the
values at the intermediate times were parabolically interpolated.
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0
Time (s)
Figure 5.9 shows the geometrically expanding grid spacing used for each pipe. Small
grid steps were used near the wall to assure a good resolution of the velocity gradient.
Figure 5.10 shows the initial eddy viscosity distribution in each pipe, and Figure 5.11
shows the initial velocity profiles.
84
0.4
0.35
Wall
0.3
ETA
0.25
0.2
0.15
0.1
PIPE1
PIPE2
0.05
0
0
10
20
30
40
50
60
80
70
Figure 5-9. Geometrically Expanding Grid Spacing for Series Piping System.
Eddy Viscosity Distribution
4500
PIPE1
PIPE2
4000
3500
3000
2500
2000
1500
1000
500
0
0
5000
10000
15000
20000
25000
30000
35000
40000
Y+
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0
0.5
1.5
2.5
3.5
Velocity (m/s)
Figures 5.12 (a) to 5.12 (d) compare the computed results obtained by using steady
and unsteady friction. The maximum pressure is predicted similarly by both models.
However the oscillations damp much more rapidly using unsteady friction than the results
obtained using steady friction.
86
H Vs T (Valve)
Steady Friction
Unsteady Friction
180
160
140
120
100
80
60
40
20
0
0
10
15
20
25
30
Time (s)
Steady Friction
Unsteady Friction
180
160
140
120
100
80
60
40
20
0
0
10
15
20
25
30
Time (s)
H Vs T (Junction)
Steady Friction
Unsteady Friction
180
160
140
120
100
80
60
40
20
0
0
10
15
20
25
30
Time (s)
Steady Friction
Unsteady Friction
180
160
140
120
100
80
60
40
20
0
0
10
15
20
25
30
Time (s)
5.3 BranchingPipingSystem
The researcher modified the previous system to convert it into a branching system.
The modification, shown in Figure 5.13, consists of adding a new pipe exactly at the
junction of the previous case study, and thus to convert a series piping system in a
branching piping system. The boundary condition downstream of the new pipe is a node
type 2 (downstream reservoir) as it is indicated in Table 3.1.
Reservoir
3
Reservoir
2
Valve
1
1
2
3
4
6
Table 5.6 shows the different types of nodes presents in this system.
89
Node Number
1
2
3
4
Node Type
(1) Upstream Reservoir
(4) Branching Junction
(6) Downstream Valve
(2) Downstream Reservoir
The diameter, length, wave speed and friction factor for pipes number 1 and 2 are the
same listed in Table 5.5. Characteristics for pipe number 3 are listed in Table 5.7.
Parameter
Pipe Number 3
Diameter
0.6 m
Length
1100 m
Wave speed
1100 m/s
Friction Factor
0.012
Table 5-7. Characteristics of the Pipes for Branching Piping System.
Transient conditions were caused by closing the valve at the end of pipe number 2
according to the t curve shown in Figure 5.8.
Figure 5.14 shows the initial eddy viscosity distribution in each pipe, and Figure 5.15
shows the initial velocity profile. Figures 5.16 (a) to 5.16 (d) compare the computed
results obtained by using steady and unsteady friction.
90
4000
3500
3000
2500
2000
1500
1000
500
0
0
5000
10000
15000
20000
25000
30000
35000
40000
Y+
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0
0.5
1.5
2.5
Velocity (m/s)
3.5
H Vs T (Valve)
Steady Friction
Unsteady Friction
110
100
90
80
70
60
50
40
30
20
10
0
0
10
15
20
25
30
Time (s)
Steady Friction
Unsteady Friction
110
100
90
80
70
60
50
40
30
20
10
0
10
15
20
25
30
Time (s)
H Vs T (Middle Pipe No 1)
Steady Friction
Unsteady Friction
110
100
90
80
70
60
50
40
30
20
10
0
0
10
15
20
25
30
Time (s)
Steady Friction
Unsteady Friction
110
100
Head Pressure(m)
90
80
70
60
50
40
30
20
10
0
0
10
15
20
25
30
Time (s)
6 CONCLUSIONS
1. A computer algorithm to extend Silva and Chaudhry unsteady friction model for
water hammer oscillations in piping systems to series and branching pipe systems
was developed. The conduits may have different diameters, wall thickness, wall
material, and/or friction factors.
3. The generalized water hammer algorithm was developed using Visual Basic for
Applications in Excel, creating a user friendly windows interface. The program
is an excellent tool to design and analyze fluid transients in liquid systems and no
compilers or interpreters are required because VBA is part of the Excel and MS
Office suite.
4. Commercial programs for transient analysis generally are very costly. This
investigation developed an economic form to analyze this phenomenon, since no
installation of additional programs, is necessary as long as you have installed
Microsoft Excel in your computer.
94
REFERENCES
[1] Arangoitia Valdivia, Vctor, (2001). Disipacin de Energa en Flujo Transitorio
en Conductos Cerrados, M. Sc. Dissertation, University of Puerto Rico,
Mayagez Campus.
[2] Cebeci, T., Smith, A.M. 1974. Analysis of Turbulent Boundary Layers,
Academic Press, New york.
[3] Chaudhry M. Hanif, (1987). Applied Hydraulics Transients, Vann Nostrand
Reinhold Company, New York.
[4] Eichinger, P. and Lein G., (1992). The Influence Of Friction Unsteady Pipe
Flow, Unsteady Flow and transients, Betless and Watts. Balkema, Rotterdam.
[5] Hoffman, K.A. 1989. Computational Fluid Dynamics for Engineers, Texas:
Engineering Education System.
[6] Granville, P.S. 1990. A Near-Wall Eddy Viscosity Formula for Turbulent
Boundary Layers in Pressure Gradients Suitable for Momentum, Heat or Mass
Transfer, Journal of Fluids Engineering ASME. 112: 240 243.
[7] Granville, P.S. 1989. A modified Van Driest Formula for the Mixing Length of
Turbulent Boundary Layers in Pressure Gradients, Journal of Fluids Engineering
ASME. 111: 94 97.
[8] Huddleston, D. Alarcon, V. and Chen, W. (2004). Water Distribution Network
Analysis Using Excel. J. Hydr. Eng., Vol. 130, (10), 1033 1035.
95
[9] Larock Bruce E., Jeppson, Roland W. and Watters, Gary S. (2000). Hydraulics
of Pipelines Systems, CRC, Boca Raton, Florida, USA.
[10] Libby, Paul A. (1996). Introduction to Turbulence. Washington, D. C. Taylor
& Francis.
[11] Ohmi, M. Iguchi, M. and Hinami H., (1980). Flow Pattern and Frictional
Losses in Pulsating Pipe Flow. Part 1. Effect of Pulsating Frequency on the
Turbulent Flow Pattern, Bulletin of the JSME 23, No. 186, 2013 2020.
[12] Peralta Cooper, Eddy, (2001). k- Two-equation turbulence model in the
Computation of the Energy Dissipation in Transient Flow, M. Sc. Dissertation,
University of Puerto Rico, Mayagez Campus.
[13] Pezzinga, G. (1999). Quasi-2D Model for Unsteady Flow in Pipe Networks. J.
Hydraul. Div., Am. Soc. Civ. Eng., Vol. 125 (7), 676 - 685.
[14] Potter, Merle C. and Wiggert, David C. (1997). Mechanics of Fluids, Second
Edition, Prentive Hall, Inc. USA.
[15] Ramaprian, B.R. and Tu, S.W. (1979). Experiments on Transitional Oscillatory
Pipe Flow, Report No. 221, Iowa Institute of Hydraulic Research, August 1979,
115 p.
[16] Roberson, Jhon A. and Crowe Clayton T. (1997). Engineering Fluid
Mechanics, Sixth Edition, John Wiley & Sons. Inc. USA.
96
97
[30] Wood, Don J., Lingireddy, Srinivasa and Boulos Paul F. (2005). Pressure
Wave Analysis of Transient Flow in Pipe Distribution Systems, MWH Soft,
Pasadena California, USA.
[31] Zhao, M. And Ghidaoui. M. (2004). Godunov-Type Solutions for Water
Hammer Flows. J. Hydr. Eng., Vol. 130, (4), 341 348.
98
0
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
TAU
1.00
0.95
0.87
0.75
0.62
0.49
0.39
0.30
0.23
0.17
0.125
0.1
0.07
0.055
0.036
0.021
0.01
0.005
0.000
99
BUTTERFLY VALVES
1
0.9
0.8
0.7
TAU
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
t/tc
(a)
(b)
Figure B- 1. (a) t/tc Vs. TAU for Butterfly valves, (b) valve scheme.
100
101
Circular Valves
1
0.9
0.8
0.7
TAU
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
t/tc
(a)
(b)
Figure B- 2. (a) t/tc Vs. TAU Circular valves, (b) valve scheme.
102
0
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
TAU
1.00
0.68
0.51
0.37
0.29
0.22
0.19
0.15
0.125
0.098
0.078
0.062
0.048
0.038
0.029
0.022
0.016
0.011
0.000
103
Biplane Valves
1
0.9
0.8
0.7
TAU
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
t/tc
(b)
Figure B- 3. (a) t/tc Vs. TAU for Biplane valves, (b) valve scheme.
104