Slack Line Flow Simulation
Slack Line Flow Simulation
A TUTORIAL
R. Edward Nicholas
Simulation of Slack Line Flow
A Tutorial
R. Edward Nicholas
Scientific Software - Intercomp
Slack line flow behavior is described using steady state analysis. Methods of estimating slack line flow velocities
andjlow cross sectional areas arepresented. l%en, a transient simulation approach that has been used to develop a
real time slack line flow model is described and the complexities of simulating transient slack line flow are
discussed.
INTRODUCTION ... ...... .... ...... .... ...... ..... ...... ..... ...... ..... ...... ..... ....... .... ....... .... ...... .... ...... .... ...... .... ............*............ 2
THE SLACK LINE FLOW PHENOMENA ... ...... ..... ...... ..... ....... .... ....... .... ...... ..... ..... ..... ..... .... ..... .... ..... .... ...... .2
CONCLUSION ................................................................................................................................................... 17
TABLE OF SYMBOLS . ...... ... ...... .... ....... .... ....... .... ....... ..... ...... ..... ....... .... ...... ..... ...... ... ....... ... ...... .... .................. 18
h,=f--- +I h
w
The following equation relates the pressure head gradient, the frictional head loss per unit length, and the
elevation gradient for a liquid pipeline in steady flow at any point in the line.
Eqn. 2
filvl +dz = 0
L,+- 2gD dx
It is customary to define the pipeline head as the sum of the pressure head and the elevation head or:
Eqn. 3
However, for the purposes of this discussion, it is useful to define the head so that it is equal to the elevation
when the pressure is equal to the vapor pressure or:
H = p - Pvapor+ z
Y
Eqn. 2 can be rewritten as:
Eqn. 5
dH
-=-- .f+j
dx 2gD
In portions of the pipeline containing slack line flow, the pressure is equal to the vapor pressure so the pressure
gradient is zero. Therefore, for slack segments of the line, Eqn. 2 is simplified to
filvl ; dz - 0
2gD dx
This states that the head loss due to friction exactly equals the elevation head loss. Combining Eqn. 5 and Eqn.
6 gives
Eqn. 7, Head Gradient in Slack Regions
dH dz
m=z
Eqn. 5 and Eqn. 7 allow one to plot head versus distance for any slack line condition. The slope of this plot
will be equal to the head loss per unit length due to friction. In all tight line regions, this slope is constant
(assuming velocity and friction factor are constant). However, in slack line regions, the head is equal to the
pipeline elevation as specified by Eqn. 4 and the head curve follows the elevation profile until the point at
which slack line conditions no longer exist.
This is illustrated in Figure 1:
Distance (miles)
In this figure, segmentsAB, CD, and EF are in tight line flow. SegmentsBC and DE are in slack line flow and
the pressure in these regions is equal to the vapor pressure. This figure illustrates some basic facts of slack line
flow:
First, this figure illustrates that slack line flow is often unavoidable. Points G and H on the maximum allowable
operating head curve prevent the pressure from being raised high enough at the upstream or downstream ends
of the line to avoid the slack conditions.
Basic Fact 1
The throughput of a line flowing slack is governed by the head at the’upstream end and the
elevation and location of thefirst point at which theJlow becomesslack.
A consequence of this is that the head (or pressure) at the downstream end has absolutely no affect on the
throughput of the line. Therefore, the downstream end of the line may be operated at whatever pressure is
convenient. In some operations, a lower pressure is desired for safety. However, when a pump station is at the
downstream end, a higher operating pressure may be desired in order to reduce pumping costs. Furthermore,
the following is true.
Basic Fact 2
Pressure changes at the downstream end of a line flowing slack will never be observed at the
upstream end of the line. In other words, transients originating at the downstream end of the
line will be completely absorbed by the slack region (as long as the line remains slack).
One may also observe from Figure 1 that both the upstream and downstream pressures(head) influence the size
of the slack region. The length of the slack regions may be determined by drawing a straight line backwards
starting with the head at the downstream end and with a slope equal to the slope between the upstream end and
the first slack region. The point at which this line intercepts the elevation gradient is the end of the slack
region. If more than one slack region exists, this process may be duplicated for each additional tight line
section such as segment CD in Figure 1. We restate this as follows:
Basic Fact 3
The length of the slack regions for stea+lflow) depends upon both the head (pressure) at the
upstream end and the head (pressure) at the downstream end. The length of these regions
may be determined by graphical means on a headplot containing a plot of elevation versus
distance.
Finally, we state one additional fact that seemsobvious but is worth mentioning.
Basic Fact 4
Regions of slack line Jlow alwqs begin at an elevation peak or on the downstream side of a
gently sloping hill. They never begin on a uphill slope.
It is clear that the slack region cannot begin on an uphill slope. Both elevation changes and friction losses
decreasethe pressure as the fluid flows uphill, and it would be impossible for this to occur when the pressure is
already at vapor pressure. However, it may not be immediately obvious that slack regions may begin on the
downstream slope. This can occur if the elevation gradient is less steepthan the hydraulic gradient.
The only exception to this rule is when segments of a pipeline have emptied. In this case, as the pipeline is
refilling, there will be columns of fluid pushing their way up a hill with a vapor bubble ahead of them.
Hydraulic Radius
In order to discussthe nature of the flow in the slack regions, it is necessary to use the concept of the hydraulic
radius. The hydraulic radius is defmed as the ratio of the flow cross-section to the wetted perimeter as follows:
For a full pipe, the wetted perimeter is 7cD and R,, = D 4 . (It is also interesting to note that the hydraulic
/
radius for a half full pipe is the same as the radius for a completely full pipe.) One may rewrite the Darcy-
Weisbach equation as
In this form, the equation is known as the Fanning Equation and is suitable for analyzing flow in non-circular
conduits, including partially full pipes such as occur in slack line flow. In terms of the hydraulic radius, Eqn. 3
becomes:
Eqn. 10
Note: The use of hydraulic radius is not a concept that is introduced in order to handle flow in non-circular
conduits. Instead, the ratio offlow cross-sectional area to the wetted perimeter is afundamental quantity in the
derivation of thefiiction equation. The Darcy- Weisbach equation is a specialization of the more general
Fanning equation for frow in pipes of circular cross section.
where 1.49 is the cube root of 3.28, the number of feet in a meter. Velocity is in feet per second and the
hydraulic radius is in feet. In metric units the formula is
n2v2 dz
R;'3(1.49)2 = -z
It is useful to compare the friction factor with the parameter n. Combining Eqn. 10 and Eqn. 11 gives
8gn2
f = (1.49)2R~ (English Units)
Values for the parameter n in the Manning formula are tabulated for different surfaces. Values of n for the
smoothest surfaces are 0.0 1. Substituting g and n=O.01 into the above equation gives:
0.0116
f=7 h
(for Rh in feet).
For a 48” pipeline flowing full, the hydraulic radius is one foot and the Manning formula would predict a
friction factor of 0.0116, a reasonable value.
Note: The Manning formula shows no dependence offriction on Reynolds number. The Moo&fiiction factor
curves indicate that this is only validfor large Reynolds numbers. However, large Reynolds numbers are
typical for most open channelJlow applications.
Eqn. 14, Friction Loss - Head Relationship for Slack Line Flow
fiIvl(s>“” + g = 0
8gRz3 dx
Eqn. 14 preserves the correct frictional losses for full pipe flow ( Rh = D / 4 ) yet provides the Rh4/3
dependence predicted by the Manning Formula. In this formula, f is the Moody friction factor computed for a
pipe of diameter D with velocity v.
P=D8
&A+(I--sin2820 1
Figure 2 - Cross Section of Partially Full Pipe
Aovo = Av
Where the subscript “o” refers to the tight line flow rate. We use Eqn. 16 and Eqn. 18 to eliminate v and A in
Eqn. 14. This gives
&!!d 7c2
. ,o,3+d”=*
w 02l-Fg!? di
L ( 1 I
or
Eqn. 19
f
x2-
f, -f
(32 l-%5$ 10/3 =
f,vh*I
( 1 20 /
Eqn. 19, particularly when combined with Eqn. 16, Cross Sectional Area of Partially Full Pipe, is very useful.
The numerator on the right hand side is the elevation gradient in the slack region which is also equal to the head
gradient in the slack region. The denominator of the right hand side is the tight line head gradient. The ratio
f / f, on the left hand side is the ratio of the friction factor computed for velocity V, (tight line flow) to the
friction factor computed in the slack region at velocity v . Since the friction factor does not change rapidly
with velocity for most pipeline flow rates, we can assumethat f/f, = 1, at least for the purposes of the
following discussion. Using the relationships expressed in the equations above, we can prepare Figure 3 and
Figure 4.
Note: It is d$kult to eliminate the parameter 0 from the equations above to directly derive relationships
between the various other variables. Instead, thefigures have been prepared by solving each of the equations
above for values of 8 ranging from 0 to 71and then plotting using 8 as a parameter.
Discussion of Cross Sectional Flow Area and Velocity in Slack Line Flow
Figure 3 shows the flow cross sectional area for slack regions as a function of the elevation or hydraulic
gradient. (The elevation gradient is equal to the hydraulic gradient in slack line flow as noted above.) The flow
cross sectional area is expressed as a fraction of the pipe cross sectional area. The elevation gradient is
expressed as a multiple of the frictional head loss per unit length upstream of the slack region.
Figure 4 shows the slack line velocity as a function of the elevation gradient. The velocity is expressed as a
multiple of the velocity upstream of the slack region.
1 10 100 1000
Slack Line Hydraulic Gradient Relative to Tight Line Gradient
[ (-dzldx) I (fVo’W(2Dg)) ]
1 10 100 1000
Slack Line Hydraulic Gradient Relative to Tight Line Gradient
[ (-dzldx) I (fVo’W(2Dg)) ]
For crude oil pipelines, the head loss per mile of pipe is typically in the range of 10 to 30 feet per mile.
Elevation gradients in slack regions are typically 10 to 100 times this large. (There is a limit on elevation
Basic Fact 5
Thefiaction of liquid in slack regions varies slowly with elevation gradientfor all but very
gently sloping slack regions. Therefore, there is little needfor great detail in the elevation
gradient when simulating slack conditions in steep regions. However, for gently sloping
regions, the converse may be true.
One interesting feature of Figure 3 is the is that the hydraulic gradient (and therefore the frictional losses) can
be slightly less in slack line flow than in tight line flow for the samethroughput This is due to the fact that the
most efficient flow cross section is not full pipe flow. Rather, flow in a nearly full pipe is slightly more
efficient than full pipe flow. It would be nice to be able to operate pipelines in this state; however, this could
only be achieved by controlling the elevation gradient which is obviously not possible. In almost all practical
slack line flow conditions, the slack line flow frictional losses are far greater than the tight line losses. We
summarize this as follows:
Basic Fact 6
Thefrictional losses in slack line Jlow are almost always much greater than thefrictional
loses in tight line flow.
Eqn. 20
The denominator in the radical is the frictional head loss per unit length (hydraulic gradient) of the line in tight
line flow at the design flow rate. Assuming that f,, / f is approximately 1, we now have an expression for
vo ’ vnm in terms of 8 and the ratio of the slack line gradient to the design pipeline hydraulic gradient. From
Slack Line Velocity versus Tight Line Velocity for Specified Elevation
Gradient
9
I
A notable fact is illustrated by this figure is that for a given elevation gradient, the slack line velocity is
generally several times greater than the tight line velocity. When a portion of the line goes slack, the velocity
swiftly changesto a much greater velocity.
In the preceding sections, the nature of steady state slack line flow has been described. However, much of the
interest in slack line flow behavior is associatedwith dynamic effects. Transient simulation software must be
able to simulate the onset, growth, and collapse of slack regions and the effects of these regions on the pipeline
hydraulics and packing rates. Furthermore, a slack line model should be able to survive the complete emptying
of pipeline sections (a significant difficulty).
A complete model of slack flow would include the thermodynamic effects of the liquid-vapor phase transition,
the mechanical effects of the friction between pipeline wall and the liquid phase, the interfacial friction between
the liquid and vapor phases, and the friction between the vapor phase and the pipe wall. One would probably
This formulation of the energy equation lumps the heat capacity of the pipe wall in with the heat capacity of the
fluid when considering the thermal massof the system. The temperature gradient term represents the heat flow
to the pipe surroundings.
P = J-w?
where
and
1 dA
--=2a,@,
4i aT
(In the above set of equations, the subscript “std” refers to conditions at atmospheric pressure and 60” F.)
(VI+vvJ+l-p, + filVl(S>“”+&+=o
P 8R,4/3
This is equivalent to the tight line momentum equation when the pipe is full ( R,, = D / 4 ) and therefore, this
form of the momentum equation may be used for both tight and slack line conditions.
Therefore, we have four of the five equations required to simulate slack line flow. All that is needed is to
obtain a replacement for the area equation.
In slack line flow, Eqn. 25, Flow Cross Sectional Area Equation, is no longer valid. Instead, the cross sectional
flow area reduces until the velocity is sufficient to give the appropriate frictional head loss gradient required to
maintain the pressure at the vapor pressure.
The approach to replacing the area equation seemsobvious: replace the area equation for knots in slack regions
with the following equation:
Then, after all 5N equations are solved for the 5N unknowns, the areasat the slack knots will be whatever is
required to maintain the pressures at those knots at vapor pressure.
1. f(o) = 1. Th’1ssets the area equal to the pipe cross sectional area when the pressure is equal to the
vapor pressure.
2. f(Pwpor - P) must drop very quickly (within a couple of psi) to about 0.1. These meansthat the
cross sectional area will maintain the pressure in the slack region within a psi or two of the vapor
pressure for most slack line conditions.
3. The function approaches 0 asymptotically as pvaPOr- p + co. The area is never allowed to drop
be1ow Aminimum which is set as a very small fraction of the pipe cross sectional area.
This approach has proven to be very effective in obtaining a robust solution while at the same time maintaining
good accuracy in the simulation results.
’ Burnett, R. R., “Predicting UnbalancedForces In Liquid Lines Can Avert Damage”, Oil & Gas Journal, Vol. 93, No. 13,
March 27, 1995.
When using this approach, we have used the Moody friction factor using the relative roughness for the a pipe of
diameter D. Alternatively, one could ignore the Manning Formula and compute a Moody friction factor for a
pipe of diameter 4R, . In other words, the relative roughness would change as the height of the fluid in the
pipe changes. For fully developed turbulent flow, one may determine from the Moody friction factor curves
that the friction factor varies approximately as Ri1’5whereas the Manning formula predicts a
Ri”3 dependence (Eqn. 13).
Conclusion
Slack line flow is a very common phenomena in liquid pipelines and the simulation of slack line flow is often
necessary to provide a reliable representation of actual pipeline operations. Some aspectsof slack line flow
phenomena have direct impact on the safety of the pipeline operations, particularly the potential for water
hammer type effects upon the collapse of vapor bubbles.
Several figures have been presented in this paper that should be useful in estimating flow rates, velocities, and
slack line volumes. In addition, the basics of transient slack line flow simulation have been reviewed and the
development of a transient slack line flow simulator has been reported.
Subscripts
x Refers to partial derivatives with respect to distance.
t Refers to partial derivatives with respect to time.
0 Refers to conditions in tight line flow, usually immediately upstream of the slack region.
max Refers to conditions at design flow rates.
std Conditions at atmospheric pressure and 60” F.