Wave Plan Method
Wave Plan Method
,
S
CFSTl PRICE(S) $
-
Prepared for
Journal of the Hydraulics Division
Proceedings of the American Society of Civil Engineers
, .
*-
65-48
m d Charlme Lightnor
Lewir Research Center
Cleveland, Ohio
1
digital.
by Don J. Wood, A.
SYNOPSIS
An analytical method for computing unsteady flow conditions in liquidfilled flow systems is developed. The method which is called the wave plan incorporates distributed parameter and nonlinear effects including the effects of
viscous resistance. The wave plan is essentially a solution synthesized from
the effects of incremental step p r e s s u r e pulses. The p r e s s u r e pulses a r e generated because of incremental flow-rate changes that originate in a hydraulic
system from a variety of sources, including the mechanical motion of the system structure. The p r e s s u r e pulses propagate throughout the system at eonic
velocity and a r e partially transmitted and reflected at each discontinuity. The
velocity change caused by each pressure pulse i s obtained from the Joukowski
relation. P r e s s u r e and velocity time histories at any point in the system a r e
obtained by a timewise summation of the contributions of the incremental pressure pulses passing that point.
The analysis is presented in a f o r m general enough to be applied to a
variety of hydraulic systems. To illustrate the application of the method to a
specific system, the response of a straight hydraulic line to a sinusoidal
orifice-area variation of an upstream valve is computed. Both a constantcross-section line and a tapered line a r e analyzed in the examples, and various
nonlinear effects evaluated. Comparisons a r e carried out with experimental
data obtained for the constant-diameter line and good agreement is shown to
exist.
INTRODUCTION
Hydraulic systems employed in present day applications often require
high performance with a small permissible range of variation from design
flows and p r e s s u r e s . In addition, many hydraulic systems a r e structurally
complicated. It is essential to be able t o predict the dynamic response of these
systems under transient and forced periodic conditions.
Asst.
Carolina.
. Ohio.
Head,
3h4athematician, Instrument and Computing Division, NASA, Lewis Res e a r c h Center, Cleveland, Ohio.
._
ANALYSIS
General
Basic equations. The pressure and velocity of the liquid within a line as a function
of position and time can be obtained from the equations of momentum and continuity.
The momentum equation for a one-dimensional elastic fluid of constant mean density
is7
where f ( v )is the resistance due to fluid viscosity, which is some function of velocity.
(Symbols are defined in apendix D.)
- ---._I___
The continuity equation for an elastic liquid in an elastic line ie7
+
V+AV
P+AP
I!
V+AV
P*AP
I :
(Pt A P
l+bl
- P ) A = P A AX-AV
At
Tlw t o r i &/At ir tho propyruOn &#ad d tho prorwro w m e 'Elw wlw #modL
qual to the rani0 velocity C in the ayotem if the mean velocity ofthe liquid in the line
is neglected. Gince the mean velocity of the liquid la usually much o d e r than the
acouBtlc velocity, thie is usually permieeible. Thus,
The sonic speed C for a liquid flowing within a line is influenced by the elasticity of the
line wall, and for a system that is axially unrestrained7'9 can be'calculated
from
Equation (3), which is the well known Joukowski equation, states that the pressure
change at any point in a line is equal t o the product of the velocity change at the point
times the characteristic acoustic impedance pC of the liquid in the line. This relation
may also be derived by employing continuity and energy principles8 8 9 .
fundkn.
V = B G
The orifice coefficient B i s a function of the open area, the line area, and the diecharge coefficient and is easily determined for a particular orifice. For the case of an
open area thst i a a small percentage of the line area (A,, << A), the orifice coefficient ie
given closely by
where the discharge coefficient CD is a function of Reynolds Number (and hence, velocity). For small velocity perturbations, however, the discharge coefficient varies only
slightly, and hence the orifice coefficient m a y be considered to vary linearly with area
changes. The examples in this report deal with this case.
Figure 3 shows conditions at an orifice before and after a small orifice-area change.
The flow is from left to rig&. The external pressure head m a y be varied in a prescribed manner.
The momentum equation across the wave front gives
The flow out the orifice after the oriice area change is given by
v 1 1 = 8 2 ,"1+
AH11
- H22
Solving the momentum and orifice equations simultaneously gives the following quadratic in Vll
where
5
B
:
C
bn8
The positive root of this equation gives the desired value for outflow velocity. Substituting this value for Vll back into the momentum equation gives the magnitude of the
pressure wave generated by a sudden change in orifice coefficient from B1 to BZ.
Moving terminal orifice. The analysis of the magnitude of a pressure wave generated by the motion of a component in a fluid line is exemplified by considering the
motion of a terminal orifice. The lateral velocity of the orifice is so represented by a
series of step changes that the velocity of the orifice remaine canstant Over short time
intervals. Ffgure 4 shows conditions at a terminal orifice just before and a ebrt time
after a step change in velocity. The orifice coefficient need not be constant.
The momentum equation across the generated wave is
.
The displacement shown in figure 4 takes place in the time increment At. The continuity equation states that the net inflow across boundary M equals the net flow out the
orifice plus the storage that takes place during the time interval. Therefore
VllA At = YE$
At
+ VOA At
or
@l
v1* H1
H2
flme
for the resulting line velocity gives the following quadratic in VO.
V02 + bVO+ c = 0
where
and
:[
C
+ -(VI
c = -B H
1
- VE2) -
f Axv2
The form of equation (7)is identical to that of an internal square-law orifice if the
orifice coefficient is given by
7
This equation implies that viscous losses over a small length of line can be lumped
ut en internal aquare-law orifice with a properly choeen orifice coefflctent, TMg regreUlb & PaPhfCd W Y d I hU
@@8Wlotl
k F@&Wcrdt@ U tb * * O P m I Wkb~,**
Wld
been suggested by Bergeronl'.
Line losses can be distributed at many discrete points along a line by inserting a
large number of correctly chosen square-law (friction) orifices. Impinging waves are
then reflected and transmitted at these friction orifices in a manner similar to that of
reflection and transmission through a small region of flowing viscous liquid. The equations governing wave reflection and transmission at a friction orifice are developed in
the next section.
AH1 = g
Ll
(Vr Vl)
AH2 =
G
C,
(V2 V")
(See fig. 5 for definition of Vr and V".) Equations (8)and (9) combine t o give
C.
where
and
Because the resulting direction of flow was taken as positive, the positive root of
where
- H2 - AH2 - AH22
V'
"11. H11
'
HZZ. v22
Y'
-c
t+
where
10
The positive root of this quadratic equation gives the resulting velocity through the
friction orifice. The term I+1
2 AH1 HZ 2 AH2 + 2CVl/g muet be positive to yield
a positive root. If this term is negative, the resulting flow i s from right to left, a d the
head-velocity relation for the orifice is
- -
This equation combines with the momentum equation8 to give the following:
where the coefficients b and c are of the same magnitude and of opposite sign from
the corresponding coefficients in equation (18).
The negative root of this equation gives the resulting velocity in the negative direction. The magnitudes of the resulting pressure waves and the pressures after wave
action are given by equations (12) to (15).
Diameter discontinuity. The relation between net head and discharge for a diameter change in a conduit is derived by utilizing energy relations. Figure 8 shows the
notation for this derivation.
If A1 > AZ, the diameter discontinuity is an abrupt constriction, and the energy
equation for flow through the constriction from left to right after wave action is
I
"
(W
v22 = RVll
If theee relatione are substituted into the energy equatlon ond the torme are comb&d,
the following net head-velocity relation fe obtained.
- H22 = Vil("?;
R)
The case of a lossless diameter discontindty is also important because step diameter changes can be employed to simulate a &?red line. In the continuously tapered
line the losses are small and sometimes can be neglected. The energy equation without
the loss term ia
;;
H22=%1(
2 R
1)
or 12
.t'
The relation is combined with the continuiw equation and the velocity-head rehtion
to obtain second-order polpmialo for .the Una velsctty after warn &ctioa, Tho rrqulattorr
48
-aVll
.) where
+ bVll + c = 0
(W
The coefficient a depends on the type of discontinuity and whether emrgy loeses
are included. For a contraction with losses included the coefficfent is
a = 3R2
- 2R - 1
(27)
4e
a=- R2 R
!
For each case the resulting velocity is the positive root of equation (26). Therefore, the term
13
must be positive. Sf this term is negative, the resulting flow is from right to left, and
the equations are reformulated by putting the loss term on the correct side of the energy
a
eq-m
The magnitude of the wave reflected in leg i is given by F?(i)AH when the reflection coefficient R(i) is given by
R(i) = T(i)
-1
' I
I
ax,
15
I*
fl
Time subscripts.
where t ie the time and At is the working time increment. Thus HR(L, J) denote8 o#r
pFOWW@bd tO Un Pi# Oi dtrCaMdQ L & #Iru t J 01,
gelectlon of worldng time increment. The working time increment At i o the time
interval between successive computatiow.
Its selection is determined by two factore. First, the time increment must be
small enough to approximate accurately all disturbing functions by a seriee of step
changes. Second, it is necessary that a l l reflections of pressure pulses in the system
take place at an integer number of time intervals. The wave travel times between all
adjacent discontinuities w i l l then be an integer number of working time increments. If
this were not the caee, waves would be impinging on a diecontinuity in a completely
arbitrary fashion and would make the solution unmanageable.
The selection of the time increment is simplified because the majority of diecontinuities in a system will be friction orifices, and these can be placed where desired.
For example, the selection of the working time interval for the system shown in figure 9
is made as follows:
(1) The wave travel times between adjacent geometric discontinuities are determined:
(a) tac wave travel time between A and C
(b) tcb wave travel time between C and B
Within the desired limits, the largest time interval of which these travel times are
integer multiples is determined. This time interval represents the largest working time
increment possible.
(2) It is then determined if the integer number of working time increments necessary
for travel between A and C and between C and B is large enough to insert the desired
number of friction orifices that must, of course, be separated in time by at least one
working time increment. If not, the increment can be divided by any integer to obtain a
smaller working time increment.
(3) It must be determined if the working time interval necessary to assure an integer
number of time intervals between all discontinuities is small enough to approximate
accurately the disturbing function (variable-area orifice at A) by a series of step changes.
If not, the working time increment is further divided by an integer necessary to get a
suitable approximation. The integer number of time increments between discontinuities
is increased by this factor.
Subscripted notation for analysis equations. The analysis equations are easily extended for application to a liquid system by the we of the subscripted notation. Figure 10 shows conditions at a discontinuity before and after wave action when the subscripted notation is employed.
16
- -
- -
Substitution of these identities into the analysis equations (eqs. (8) to (29)) yields a
perfectly general set of algebraic equations applicahle to any liquid system.
Method of computation. The solution is carried out by using the subscripted equa-
t i O M a8 fOllOWS:
system prior to the initiation of a disturbance. These conditions include velocity and
pressure to the left and right of each discontinuity and are denoted at t = 0 by VL(L,O),
VR(L,O), HL(L,O), and HR(L,O).
(3) Computations are then carried out to determine conditions at each discontinuity
at the end of the first working time interval by using the conditions from step (2) as Mtu conditiono, It should be noted that the anatgrir qurtionr will pradiot no crhrngrr at UI
undisturbed discontinuity that is not subjected to impinging waves. Thus, conditions will
only change at the end of the first time interval at a disturbance source (point A, fig. 9):
At the disturbance source conditions change, and waves are generated that w i l l subsequently alter conditions at adjacent discontinuities.
(4) Each discontinuity is analyzed at the end of each interval. The computations are
carried out as long as desired to give pressures and velocities at each discontinuity at
the end of each working time interval.
18
The subroutines are combined to form digital computer models for the dynamic
analysis of liquid flow systems. Two examples are included in the next section.
analysis of unsteady flow conditions in a liquid flow network. The equations and program8 have been kept general 80 that they may be applied to the analysis of a variety of
liquid systems. In general, the wave-plan digital-computer analysis has distinct advantages over other methods such as analog-computer models that substantially linearize or
@mp parameters and small perturbation techniques that linearize around mean-line conPtions. The following features of the wave-plan analysis should be noted:
'i
(1) Viscous friction effects are easily included.
(2) Perturbing functions of any form may be used.
(3) Nonlinear relations a r e easily included. (Linearization of parameters is of little
or no advantage.)
(4) Both transient and steady-state responses to disturbing functions are given.
(5) Complex networks can be analyzed.
Two examples will be used to illustrate the application of the wave-plan method to
the construction of digital models of particular liquid flow systems. The first example
will illustrate the methad of computing the transient and steady-state respowe of a long,
straight hydraulic line to a periodic sinusoidal flow dbturbance. In the second example
the response of a long tapered line wfll be computed.
E-2587
.
_."_
.
19
I
I
_-I_-
.+
Boostpump
Boostpump
Dum0
FluMsupplytmk
FluMsupplytmh
(b) Schrmrtlc of eqmrlmentrl
Figure 11.
- t$dfaullc
- _
rig.
- AMPI.JTUD& OF ORIFICE
'
21
4I
1.1
LO
.9
.7
.6
.5
.I
rn
12s
135
I40
145
150
i55
Time increment
Figure P -Effect of anplitudc of inld orifkc area prturMion on stealy-state response of long line.
22
20
io
30
60
w)
Time increment
no
w i w i i o
Figure U. Translent responseof long line to initiation of sinusoidal inlet valve area perturbaim.
24
1 raho In.-\
am.
25
Q2 =
HEN
Ken
- HEX
%
Kex
where Ken, K1, and Kex are the loss coefficients of the entrance orifice, the line, and
the exit orifice, respectively.
When this system is used with large values of Ken and ICex a8 compared to Kl,
it is possible to compare directly the dynamic response of systems that are essentially
~taticallyequivalent. Pressure and flow perturbations can be quantitively compared as
a function of degree of taper. The straight conduit (6 = 0) is a special case that is included in the analyses.
The tapered conduit was chosen so that the wave velocity would be constant; thus the
ratio of diameter to wall thickness remained constant along the length of the line.
For the digital model the tapered line was approximated by N - 1 short straight
sections of conduit, as shown in figure 17. In this manner the diameter of each approximating section I is computed by the equatson
26
/
276 R
0.mn
t
-
D O = D A + (D B - D A
)( )
21-1
N-1
(33)
The details of the digital model along with-the computer flow diagram
and program constants a r e given i n appendix C. One basic system w a s studied
in detail, a system having a high-resistance orifice (three-fourths to seveneights closed geometrically but slightly open with respect to characteristic impedance) at the inlet with a 10-percent sinusoidal variation in the a r e a of the
orifice opening, The outlet orifice w a s chosen of even higher resistance than
the inlet and represents an end that is closed with respect to characteristic
impedance. Nine degrees of taper were studied, the average diameter D
being 1 foot for each case. The values of 6 that were used were -0.3, -0.2,
-0.1, 0 , 0.1, 0 . 2 , 0.3, 0.4, and0.5foot.
The quarter-wave resonance frequency for the nontapered line is 15 cps. Frequencies of 5, 7.5, 10, 12.5, 15, 17.5, 20, and 25 cps were studied for each case. In all
cases the pressure and flow perturbations were slightly nonlinear even though they were
small. In all cases they were within 2 percent of mean-line values. Figure 18 shows
typical pressure and flow perturbations for one cycle,
27
0,
5.0
Figure 19.
7.5
10.0
12.5
15.0
17.5
20.0
2 2 5 25.0
In spite of the nonlinearity of the perturbations, they were steady and repeatable
after several cycles (during which the transient died out) and resembled sinusoids. It
was considered appropriate to make comparisons based on positive amplitudes. This
procedure is followed in the ensuing discussion.
The analytical results are displayed graphically in figure 19. Figure 19(a) shows
the variation of the amplitude of the outlet pressure perturbation with frequency for the
expanding taper (line that expands from inlet to outlet). Figure 19(b) shows the pressure
perturbatim gain (ratio of outlet pressure perturbation amplitude to inlet pressure perturbation amplitude) for the expanding taper, Figures 19(c) and (d) show the same results for contracting tapers. The most striking result apparent in figure 19 is the shift
in the resonant frequency for tapered lines. This shift is shown in figure 20.
Another result is that the maximum pressure perturbations at the outlet have a
strong dependence on 6 and vary considerably over the entire frequency range. Thus a
certain amount of control can be exerted over the response of this system by the judicious choice of tapers. For example, in the case of an expanding taper of 6 = 0.3 the
amplitude of the outlet pressure perturbation is significantly reduced when compared to
a straight-line response for the frequencies shown except in the range from'6 to 1 2 cps.
A line with a contracting taper of 6 = -0.3 differs little from a nontagered line (6 = 0)
up to 15 cps. For frequencies greater than 15 cpe the outlet preaaure amplibde pertur-
CONCLUSIONS
The analytical method presented in this paper provides a means of obtaining distributed parameter solutions to a variety of unsteady flow problems
for liquids flowing in conduits. An advantage of the method is that the complete solution is obtained. F o r example, both the transient and the steadystate response to a suddenly imposed periodic flow disturbance is obtained.
Furthermore, the disturbing function c a n be of a r b i t r a r y f o r m and need not be
periodic. Nonlinear effects a r e easily included. In addition, the wave-plan
method is advantageous in making certain types of dynamic response calculations. For example, the response of liquid-filled lines having types of axial
cross-sectional area distributions f o r which there would be little hope of obtaining closed-form analytical solutions can be easily handled.
The wave-plan analysis can readily solve problems in which there is
interaction between the structural motion of the conduits and the perturbations
in the fluid flowing within the conduits. Interactions of this type often occur
in hydraulic systems; however, the motion is usually neglected in the analyses.
29
APPENDIX A
COMPUTER SUBROUTINES
Piglkl-.oomputss rwtinae have been written te, rolve fnr aonditfanr%at vwfour h e
discontinuities after wave action in terms of the conditions at the discontinuity prior to
wave action, the magnitudes of impinging waves , and the physical characteristics of the
discontinuity. These routines have been formulated in such a manner that they may be
easily incorporated into a computer program to synthesize different liquid flow systems.
In all cases the computer routines have been written in nonsubscripted notaion,
which corresponds exactly to the notation presented in the text of this paper. In the
calling vector that calls the subroutine into the main program, the subscripted counter: parts of the nonsubscripted subroutine variables are identified.
This mechanism of identifying subscripted variables in a calling vector
makes i t possible to use the analyses presented in the text for specific orientations and flow conditions to solve for all orientations and flow conditions. In
this manner the analyses presented in the text of this paper have been generalized. Proper identification of the variables in the calling vector is tantamount
to orienting the discontinuity to correspond to the case analyzed in the text. A
table incorporated into each subroutine gives the proper subscripted-tononsubscripted dependence for each case.
Each of the analyses presented in the text resulted in a polynomial that
is quadratic in a velocity term. For several reasons these equations were
solved by an iterative manner by employing Newtonian extrapolation. The roots
of the polynomials were determined by looping the following equations:
V11 = V11
- error
The looping is continued until the error is of sufficiently small magnitude. An acceptable solution can be obtained within a very few cycles because the wave-plan solution
deals with small changes, and the value of the velocity before wave action is a good
approximation of the final value. In addition, the coefficients b and c are generally
large and always much larger than a. These conditions lead to a rapidly diminishing
error term.
A direct crofution of the gu&rlrticprquakianr by tho quadratio formula rerultr irt a
30
solution that is a small difference between two large numbers. In soqe cases sufficient
accuracy cannot be obtained even when double-precision computing teqhniquee are employed. The computer programs which use notation identical to that appearing
in the text of this paper didactically illustrate the logic of the subroutines and .
a r e presented in lieu of flow diagrams, + A brief description of the program and
the Fortran I V program f o r each computer routine followo
cc = -cc
10 v 2 2 = v 2
11 ER = ( V 2 2 * V 2 2 + B B * V 2 2 + C C ) / ( 2 . * V Z 2 + 8 8 )
V 2 2 = V22-ER
IF ( A B S ( E R ) - E R R O R ) 12,12911
1 2 DH22=DH2+C/G*(V22-V2)
H22=H2+DH2+DH22
RETURN
END
31
BF
Y
3
4
5
SUBROUTINE F O R f H l ~ D H l ~ D H 2 ~ H ~ ~ V l ~ H l l r D H 2 2 ~ D H l l r H 2 2 ~ ~ ~ ~
SUBROUTINE FRICTION ORFICE
H1
HL ( L 9 J-1 1
DH 1
DHR(L-19J-K)
DHL(L+lrJ-K)
DH 2
H2
HR ( L 9 J-1 )
v1
V(L9J-1)
Hll
HL IL 9 J )
DHll
DHL L 9 J 1
DH22
DHR ( C 9 J 1
H22
HRILgJ)
v11
VILpJ)
COMMON/BOX3/ A i 8, C,GiBFtERROR
BB = 2e*BF+BF*C/G
CC=-(H1+2e+DH1+2.+C/G*Vl~(H2+2,+OHZ11+8F*BF
IFfCC) 3 9 3 9 2
BB = -86
cc = -cc
v11 = v1
ER = (V11+V11+BB+Vll+CC)/~8B+2.*Vll)
Vll = V11-ER
IF (ABS(ERI-ERROR 1 5 , 5 9 4
DHll = D~l+C/G+fVl-Vll)
H11 = Hl+DHl+DHll
DH22 = DHZ+C/G*(Vll-Vl)
H22 = H2+DH2+DH22
RETURN
END
J timecounter
K number of time increment6 to nearest discontinuity
L position counter
The computer routine is as follows:
lU8ROUTINI D l ) C l H l , V I q ~ H l ~ b 4 8 t V t t b H l ~~ CC ll q A ,lA I , H l l t b W l l e n 8 8 , b n 8 ~ 0
C
C
C
C
C
C
C
C
C
C
C
C
C
C
l V 1 1tV22
OISCONTINUITY
SUBROUTINE
COMMON/BOX/A,BICI
GtBFtERROR
COMMON/BOX2/ L O S S
FLOW TO R I G H T
FLOW TO L E F T
CCC GREATER T H A N 0
CCC L E S S T H A N 0
H1
HL(A9J-1)
H R f L tJ-1)
v1
V L ( L 9 J-1 1
-VR ( L 9 J - 1 )
D H1
DHR ( L-19 J - K 1
DHL(L+l,J-K)
HZ
HL 4 L t J-1
H R ( L 1 J-1 1
v2
VR(L9J-11
VL(L9J-1)
OH2
DHL(L+l*J-K)
DHRtL-1tJ-K)
HR(L9J)
H11
HLILwJ)
v11
V L (L 9J)
-VR ( Le J 1
O H 11
DHL ( L 9 J1
DHR ( L 9 J)
HLlLtJ)
H2 2
HR ( L 9 J )
- V L ( L 9 J1
v22
VR(L9J)
DHL ( L 9 J 1
OH22
DHR(L9J)
CR(L)
c1
CL(L)
CL(L)
c2
CRIL)
AR(L)
A1
AL1L)
AL(L)
A2
AR(L)
R=Al/A2
CCS - ( H 1 + 2 . + D H l + C l + V l / G - H 2 - 2 . + O H 2 + C 2 * V 2 / G )
BB = C l / C + C 2 + R / C
I F (LOSS) 4 9 3 9 4
3 AA
(R*R-l.)/(2o*G)
GO TO 10
4 IF(R-1.1
1 9 1 9 2
1 AA = ( R * R - R ) / G
GO TO 10
2 AA = ~ 3 o * R * R - 2 0 + R - l 0 ) / ( 4 o * G )
10 v11= v 1
S ER = ( A A * V 1 1 * V 1 1 + B 6 * V l l + C C ~ / ( 2 . + A A * V 1 1 + 6 B ~
VllSVll-ER
IF ( A B S ( E R ) - E R R O R ) 6 , 6 9 5
6 D H l l = DHl+Cl/G+(Vl-Vll)
V22=R*Vll
DH22=DH2+C2/G*(V22-V2)
~ 1 1 = ~ 1 + ~ ~ 1 + ~ ~ 1 1
H22=H2+DH2+DH22
RETURN
END
a
33
APPENDIX B
(P. 20).
The system consists of a variable-area orifice at A that perturbs the system and a
fixed orifice at B. The conduit is bounded by pressure reservoirs. (The reeervoir
This time increment is a multiple of the working time increment At, which fe
chosen small enough so that all disturbing functions can be accurately described by step
*
functions.
Initial values for velocity through each discontinuity and the pressure to the right
and left of each discontinuity must be inserted into the computer a8 data or the computation of these quantities from the initial steady condition must be integrated into the computer program.
The disturbing function can either be read into the computer a8 a function of time or
it can be computed. For this case a sinusoidal orifice coefficient for the Met (at A) is
taken to be
B = BO + BA SIN(2aFJAt)
The orifice coefficient for the outlet is considered to be constant and is denoted
by BN.
The following data are needed aa input to the computer:
C
L
BO
BO1
BA
F
BN
vo
HEN
HEX
g
number of discontinuitieo
w , 4 , WN,4
V W , J ) , H"2,J),
W N 2 , J)
For a specific example, the fluid system constants appearing in the computer program were chosen nominally to match experimental conditions in the Lewis linedynamics facility shown schematically in figure ll(b) (p. 20). Two sets of line conditions were used. The first (case I)
TABLE II. CONSTANTS FOR EXAMPLE
wat3 chosen in conjunction with an
analytical study of the effect of the
size of the input amplitude on the
C , ft/sec
linearity of the perturbation imposed
L, ft
on the mean flow and pressure in the
0.8
0.65
BOl=BO
line. The second (case II) was chosen
BA
0.42
1.0
BN
to match conditions frequently obtained
in the line.
0.5
14
VO, ft/eec
360
520
HEN, ft
The constants listed in table 11
0
0
HEX
were employed. A simplified
g,
ft/sec2
K
M
"
F,
CPg
N2
ERROR
32.2
17
1
170
10
40
5
0. ooool,
32.2
17
2
400
32
70
5
0.00001
35
APPENDIX C
Initial values for velocity and pressure to the right and left of each discontinuity
must be inserted into the computer, or the equations for the computation of these quantities from initial steady conditions must be integrated into the computer program.
The disturbing function can either be read into the computer aa a function of time
or it can be computed. For this mdel a sinusoidal orifice coefficient for the inlet (at A)
is taken to be
B = BO + BA SIN(2nFJAt)
The orifice coefficient for the outlet is constant and denoted by BN.
The following data are needed a8 input to the computer:
DA diameter at A, ft
DB diameter at B, f t
CA wave velocity in conduit, Wrec
-.
36
DA
DB
BO
BA
BN
1
1.1
- 8 1.2
. 7 1.3
.6
1.4
1
1.235
1.562
2.041
2.78
0.1
.1235
.1562
.278
0.2
.I65
-139
.I185
102
1.5
4.0
.825
.695
,583
.4
,0825
.0695
,0593
.089
,247
.a13
,408
-9
e 5
1.1
1.2
1.3
-9
e8
e7
.mi
N = 11
NN- 10
M = 300
Table IlI gives the end diameters and conditions
for the various tapers studied.
These cases were studied for frequencies of
5, 7.5, 10, 12.5, 15, 17.5, 20, 22.5, and 25 cps.
Figure 22 gives a simplified computer
flow diagram for this example. A listing
of the Fortran I V program for this example
APPENDIX D
SYMBOLS
uR(I WI1, q ft
line area of 1, q ft
90
'
o h t i o modulur ot oonvoyar,
Ib/#q ft
line area of j, sq ft
orifice area, sq f t
function
polynomial coefficients
HEN
HEX
H1
HZ
H1l
H22
AH
AH2
38
pressure head, ft
.
0
*%l
LIH22
velocity in h e , ft/~ec
. YE1
V*a
VO
line length, it
time aubrcr\pt
1
V1
v2
line length, ft
pressure in line, lb/sq ft
pressure wave, lb/eq t
volume flow rate, cu ft/sec
vll
v22
position, ft
--.
>
39
1. Asst,
GaPOlim
I.
4. RegetZ, John
D. 8 Jr.
7. Streeter, Victor L.
Proc, Am. W a t e r
12. Wood, Don J. ; h r S C h , Robert G. i and Lightner, Charlene: Digital Distributed P a r a m e t e r Model for Analysis of Unsteady Flow in LiquidFilled Lines. NASA TN D-2812, i965.
.
.'
40
- -
-Compute or read
initial conditions
Read
program
data
Thrwgh
A
J = 1,l. M
conditions at
lefl end
L-l
Thrwgh
B
L-2,1, N - 1
Figure 21.
- Read
prqlram
data
end
- Computer flw diagram for hydraulic line with oscillating input orifice.
read^
Compute or
initial conditions
Through
A
J =l,l,
M
Conditions at
left end
L- 1
B = BO + BA sin(216J At)
end
Figure 22.
- Computer flaw diagram for tapered hydraulic line with oscillating input orifice.