Professional Documents
Culture Documents
+
(1)
1
0
2
fV V
V dp
t dx D
+ +
(2)
Where f is the friction factor. Bergant and et al
[17]
based on experimental results recommend
the original Brunoe model as an effective model. Brunoe
[18]
model for the friction factor is:
q
kD V V
f f
V V t x
_
+
,
(3)
Where
q
f
is the quasi-steady friction factor, which is plotted for different Reynolds number
(Re / ) VD v and relative roughness /
s
e k D from the Moody diagram. Also the relative
roughness can be tabulated for different pipe diameters and materials. The coefficient k is
called the Brunoes friction coefficient. It can be predicted analytically using Vardys
[19]
shear
decay coefficient C*.
*
2
C
k
(4)
The Vardys shear decay coefficient C* is given by:
0.00476 Laminar Flow (5a)
0.05
log(14.3/Re )
7.41
Re
Turbulent Flow (5b)
3 BOUNDARY CONDITIONS
As mention earlier the objective of the investigation is to analyze the effect of opening and
closing a valve located in a pipeline, therefore the following boundary condition assumption
is made; Independent of flow oscillation is assumed that the reservoir of the pipe line will
maintain constant level, thus maintaining constant inlet hydraulic pressure Pi The boundary
condition is expressed mathematically as under
n inlet i
p gH P (6)
Where the subscript n indicate time at the instant n. Therefore, the boundary condition for
the velocity at the valve, under steady state conditions, is known and also the volumetric
flow rate. Using the discharge coefficient, the volumetric flow rate can be given as
0 0 0
2 /
valve d
Q C A p (7)
Where the subscript 0 refers to steady state conditions, Cd is the discharge coefficient and
A0 is the area of open valve. An schematic of the model with it corresponding boundary
conditions is shown in Fig. 1
Fig. 1 Transient Flow Model
The volumetric flow as a function of valve steam depends on the type of valve and is
specified by the manufacturer. Commonly the volumetric flow plotted as a percent of the
maximum volumetric flow at the acting pressure of the system
[20] [41]
Fig. 2 shows a typically
close-open curve
[42]
for a valve. Fig. 2 indicated the flow position at different stem position of
the valve. This is a general diagram which is used here as a reference.
Fig.2 flow position V/s stem position
From the figure there are no of relationships of the flow position at the time of different stem
positions are given. Here we assuming the last relationship which is valid for transient
conditions, the velocity at the valve at time n is:
0
( ) 2
n n
T
n valve d v
p
A
V C F l V
A
(8)
Where, F(l) is the percent of caudal obtained from Fig. 5.2 and l the stem position. AT the
area of valve totally open and A0 the area of the valve partially open, according with the stem
position l. As an initial condition a constant velocity profile and pressure in the pipe is used:
0 initial
V V
, and
0 initial
p P
(9)
4. NUMERIC DISCRETIZATION
The system of equations to solve is:
2
0
p V
a
t x
+
(10)
1
0
2
fV V
V dp
t dx D
+ +
(11)
( , 0)
initial
V x V (12)
( , 0)
initial
p x P (13)
( , ) p inlet t P (14)
( , ) V valve V (15)
Then, for the spatial and temporal discretization the MacCormak is used. The MacCormak
method is a two step predictor corrector finite different. The MacCormak method can solve
linear partial differential equations (PDE), nonlinear PDE and system of PDE
[39]
.
In the MacCormak method, the predicted provisional values are obtained using first order
forward difference approximations. In this formula first of all we have to solve the eq. 10
means we have to use the first order forward difference and by using this formula we have
the following relationship for pressure. We have to follow the same methodology for the eq.
11 and get the same function for the velocity. This is the predictor formula for the system.
) (
1 2
1
n n n n
i i i i
t
p p a V V
x
+
+
(16)
( )
1
1
2
n n n n n n
i i i i i i
t t
V V p p V f V
x D
+
+
_
,
(17)
In the second final step, a first order backward difference approximations based on the
provisional values is used. This is the corrector formula.
) (
1 1 2 1 1
1
1
2
n n n n n
i i i i i
t
p p p a V V
x
+ + + +
1
+
1
]
(18)
( )
1 1 1 1
1
1
2 2
n n n n n n n
i i i i i i i
t t
V V V p p V f V
x D
+ + + +
,
(19)
The Predictor-Corrector method comprises two parts: a predictor formula which generates
an estimate of a new value for the dependent variable and a corrector formula which aim to
improve upon the predictor value. We can use the small step size in the predictor corrector
formula and because of that we can get the more accurate results, therefore this method is
perfect for our piping system.
The Mac Cormak method is conditionally stable and convergent. The stationary condition
given by the Courant number less than one. For this system of equation it is necessary to
satisfy the courant conditions in the two equations.
2
1
1
t
Cn a
x
and
1
1
t
Cn
x
(20)
Here, when x is imposed, the t can be found as a last equation.
Generation of pressure wave with respect to time and space in a small simple pipe
5. RESULT AND DISCUSSION
It is observed from the figure that pressure levels at the time t = 0, is all same. With the
transient condition applied the pressure in the pipe increases, after certain lapse of time.
This lapse is attributed to the inertia of the pipe. With the passage of time the pressure
variation in the pipe increases. This variation is same for all the length of the pipe and
changes only with the time. This change is very high in the vicinity of the length where valve
is located. This is attributed by a pressure wave for a very short span of the pipe.
Reference: