PET-380 · Lesson 2 of 12 · 19 min

Single-phase pipe flow review

Before he tackles gas and liquid together, Sofia asks Ethan to refresh the single-phase tools that every multiphase method is built on. 'Every correlation you will meet,' she says, 'ends up calling a friction factor and a gravity term somewhere inside. If you do not trust your single-phase numbers, you cannot trust the multiphase ones.' She gives him two problems from the gathering system: a produced-water line that carries only liquid, and the 4-inch gas line from the Birch Coulee gas pool that runs to the compressor station.

This lesson reviews the energy balance for steady flow in a pipe, the Reynolds number and the friction factor, the Moody chart and the Colebrook equation, minor losses, and the special forms of the equations used for long gas lines. These ideas were covered in fluid mechanics; here they are applied to petroleum pipelines and prepared for use in multiphase calculations.

The pressure gradient equation

For steady flow in a pipe of constant diameter, a momentum balance on a short segment gives the pressure gradient as the sum of three parts: the weight of the fluid, wall friction and the change in kinetic energy.

\[-\frac{dp}{dL} = \rho g \sin\theta + \frac{f \rho v^{2}}{2D} + \rho v \frac{dv}{dL}\]

Here p is pressure, L distance along the pipe, ρ the fluid density, g gravity, θ the angle of the pipe above horizontal, f the Darcy friction factor, v the average velocity and D the inside diameter. In a horizontal liquid line only the friction term remains. In a vertical liquid well the gravity term usually dominates. The acceleration term is small for liquids and for most gas lines, but it matters near the outlet of a high-velocity gas line, where pressure falls quickly and the gas expands.

The same three terms appear in every multiphase method. What changes is how the density and velocity of the mixture are defined, and how the friction factor is calculated when two phases share the wall.

Reynolds number and flow regime

The Reynolds number compares inertial and viscous forces:

\[Re = \frac{\rho v D}{\mu}\]

Below about 2,000 to 2,300 the flow is laminar and the friction factor is 64/Re. Above about 4,000 it is turbulent, and the friction factor depends on both Re and the relative roughness ε/D. Between the two is a transition zone where the friction factor is uncertain. Most petroleum pipelines operate in turbulent flow, but heavy oils, cold emulsions and low-rate lines can be laminar, and wrongly assuming turbulence then underestimates the pressure drop at low rates.

Friction factor: Moody and Colebrook

For turbulent flow in commercial pipe, the Colebrook equation relates the friction factor to Reynolds number and relative roughness:

\[\frac{1}{\sqrt{f}} = -2\log_{10}\Big(\frac{\varepsilon/D}{3.7} + \frac{2.51}{Re\sqrt{f}}\Big)\]

Because f appears on both sides, the equation is solved by iteration, starting from a guess such as 0.02. Explicit approximations avoid the iteration. The Swamee-Jain equation is accurate to within about one percent over most of the practical range, and is often used in spreadsheets and in the inner loops of multiphase software:

\[f = \frac{0.25}{\Big[\log_{10}\Big(\frac{\varepsilon/D}{3.7} + \frac{5.74}{Re^{0.9}}\Big)\Big]^{2}}\]

The Moody chart is a plot of these relationships. At high Reynolds number and rough pipe the curves become flat: friction depends only on roughness, and the pressure drop rises with the square of velocity. In smooth pipe or at lower Reynolds numbers the friction factor keeps falling as Re rises.

A Moody chart on log axes, with Reynolds number from 1,000 to 100 million on the horizontal axis and Darcy friction factor from 0.005 to 0.1 on the vertical axis. A straight laminar line falls as 64 over Re. Several turbulent curves for different relative roughness values flatten at high Reynolds number. The smooth-pipe curve is lowest. The operating points of the water line and the gas line are marked.
A Moody chart for commercial pipe. The water line operates in the turbulent smooth-to-rough transition; the gas line operates near the fully rough region.

Typical absolute roughness values are about 0.046 mm (0.0018 in) for new commercial steel, rising with age, corrosion and scale. Plastic and composite lines, increasingly used for low-pressure gathering and water service, are much smoother. Internal coatings and corrosion products both change roughness, so a line's friction factor can drift over its life.

Minor losses and equivalent length

Valves, tees, bends and entrances add losses that are usually written as a loss coefficient K times the velocity head, or as an equivalent length of straight pipe. In a long gathering line these minor losses are small compared with the straight-pipe friction, but in station piping, meter runs and short flowlines they can be a large part of the total. A quick allowance of a few percent of the line length is common at the screening stage.

Gas pipeline equations

For long gas lines the density changes greatly along the line, so the pressure gradient equation is integrated with the real gas law. If temperature and the compressibility factor are taken as constant averages and the kinetic energy term is neglected, the result for a horizontal line relates flow to the difference of the squares of the inlet and outlet pressures. Several forms of this result are in use, differing in how they represent the friction factor. The Weymouth equation, published in 1912, assumes a friction factor that depends only on diameter and is widely used for small-diameter gathering lines:

\[q_{sc} = 433.5\,\frac{T_{b}}{p_{b}}\Big(\frac{p_{1}^{2} - p_{2}^{2}}{\gamma_{g}\,T\,L\,z}\Big)^{0.5} d^{2.667}\]

In field units, q_sc is in standard cubic feet per day, temperatures in degrees Rankine, pressures in psia, L in miles and d in inches. The Panhandle equations use friction factors that depend weakly on Reynolds number and suit larger, longer transmission lines. All of these equations are special cases of the general flow equation with the Colebrook friction factor, and modern software usually solves that general form directly in segments.

Colebrook and Swamee-Jain friction factors for the produced-water line, and Weymouth flow in the Birch Coulee gas line.
# Single-phase review: Colebrook friction factor and the Weymouth gas equation
import math
SI = False  
def colebrook(Re, eD):
    if Re < 2300: return 64.0 / Re
    f = 0.02
    for _ in range(50):
        f = (-2.0 * math.log10(eD / 3.7 + 2.51 / (Re * math.sqrt(f)))) ** -2
    return f
def swamee_jain(Re, eD):
    return 0.25 / math.log10(eD / 3.7 + 5.74 / Re ** 0.9) ** 2
# liquid line: 6-inch (ID 154 mm) steel, emulsion of oil and water
D, eps = 0.154, 4.6e-5          # m
rho, mu = 900.0, 0.004          # kg/m3, Pa.s
for q_m3d in (300.0, 600.0, 900.0):
    q = q_m3d / 86400
    v = q / (math.pi * D * D / 4)
    Re = rho * v * D / mu
    f = colebrook(Re, eps / D)
    dpdl = f * rho * v * v / (2 * D)          # Pa/m
    if SI: print(f"{q_m3d:5.0f} m3/d: v = {v:4.2f} m/s, Re = {Re:7.0f}, f = {f:.4f} (Swamee-Jain {swamee_jain(Re, eps / D):.4f}), friction {dpdl * 1000 / 1000:5.0f} kPa/km")
    else:  print(f"{q_m3d * 6.2898:5.0f} bbl/d: v = {v * 3.2808:4.1f} ft/s, Re = {Re:7.0f}, f = {f:.4f} (Swamee-Jain {swamee_jain(Re, eps / D):.4f}), friction {dpdl * 0.145038 * 1.609:5.1f} psi/mile")
# Weymouth gas equation (field units), 4-inch line ID 4.026 in, 3.0 miles
Tb, pb = 520.0, 14.73          # degR, psia
T, z, SG = 520.0, 0.92, 0.70
d, Lmi = 4.026, 3.0
for p1, p2 in ((900.0, 800.0), (900.0, 700.0)):
    q_scfd = 433.5 * (Tb / pb) * math.sqrt((p1 * p1 - p2 * p2) / (SG * T * Lmi * z)) * d ** 2.667
    if SI: print(f"Weymouth: {p1 * 6.895:5.0f} -> {p2 * 6.895:5.0f} kPa(a) over {Lmi * 1.609:.1f} km gives {q_scfd * 0.0283168 / 1000:6.1f} thousand m3/d")
    else:  print(f"Weymouth: {p1:4.0f} -> {p2:4.0f} psia over {Lmi:.1f} miles gives {q_scfd / 1e6:5.2f} MMscf/d")
Output
 1887 bbl/d: v =  0.6 ft/s, Re =    6459, f = 0.0352 (Swamee-Jain 0.0355), friction   0.8 psi/mile
 3774 bbl/d: v =  1.2 ft/s, Re =   12918, f = 0.0294 (Swamee-Jain 0.0295), friction   2.8 psi/mile
 5661 bbl/d: v =  1.8 ft/s, Re =   19378, f = 0.0267 (Swamee-Jain 0.0267), friction   5.7 psi/mile
Weymouth:  900 ->  800 psia over 3.0 miles gives  8.17 MMscf/d
Weymouth:  900 ->  700 psia over 3.0 miles gives 11.21 MMscf/d

Ethan's results show the water line in turbulent flow at all three rates, with Reynolds numbers from about 6,500 to 19,000 and friction losses of 0.8 to 5.7 psi per mile. The Swamee-Jain values agree with Colebrook to better than one percent. The gas line, 3 miles long, carries about 8.2 MMscf/d for a 100 psi pressure drop, and about 11.2 MMscf/d if the outlet pressure is lowered by another 100 psi. 'Note that the gas rate does not double when the pressure drop doubles,' Sofia says. 'It goes with the difference of the squares, so you gain less each time you pull the outlet down.'

Temperature along a line

Temperature matters in pipeline design because it controls viscosity, gas density, hydrate and wax formation, and the thermal stresses in the pipe. For a buried line in steady flow, the fluid temperature approaches the ground temperature exponentially with distance. The rate of approach depends on the overall heat transfer coefficient between fluid and ground, the pipe diameter and the mass flow rate. High-rate lines stay warm for many kilometers; low-rate lines cool to ground temperature quickly. Gas lines also cool by expansion, the Joule-Thomson effect, which can drop the temperature by several degrees across a choke or along a line with a large pressure drop. Lesson 10 uses these ideas to find where wax and hydrates may form.

Single-phase checks in a multiphase design

Single-phase calculations are not just a warm-up. They give limits that bracket the multiphase answer. If all of the flow were liquid, the friction loss would be one value; if all of it were gas at the same mass rate, it would be another. The true multiphase loss usually lies between, and well above the all-liquid value in slug flow. Single-phase calculations are also used directly for water injection lines, produced-water disposal lines, fuel gas and sales gas lines, and for checking the gas or liquid outlet lines from separators.

Worked problem

Friction loss in a water disposal line

Produced water at 3,770 bbl/d flows through 1.55 miles of 6-inch steel line (ID 6.065 in, ε = 0.0018 in). Water density is 64.3 lb/ft³ and viscosity 0.8 cP. Estimate the friction loss.

Show solution
  1. Area = π(0.154)²/4 = 0.01863 m²; velocity = (600/86,400)/0.01863 = 0.373 m/s.
  2. Re = 1,030 × 0.373 × 0.154 / 0.0008 = 74,000; ε/D = 0.0003.
  3. Colebrook gives f ≈ 0.0208.
  4. Friction gradient = 0.0208 × 1,030 × 0.373² / (2 × 0.154) = 9.7 Pa/m, or about 2.3 psi per mile; over 1.55 miles that is about 3.5 psi.

Answer: About 3.5 psi of friction loss. Lower viscosity than the oil emulsion gives a higher Reynolds number and a smaller friction factor.

Non-Newtonian and waxy liquids

Many crude oils, emulsions and drilling or completion fluids do not have a single viscosity. Their apparent viscosity changes with shear rate, and waxy crudes below their pour point can develop a yield stress that must be overcome before they flow at all. For these fluids the simple Reynolds number and friction factor are replaced by generalized forms based on rheological models such as the power-law or Bingham plastic model, the same models used for drilling muds. In gathering systems the effect matters most in cold weather, after shut-ins, and in heavy oil or high-water-cut lines where tight emulsions form. A line that flows easily in summer can need much more pressure to restart after a winter shutdown, a problem lesson 10 returns to.

Checking calculations against the field

Whatever method is used, the engineer should compare predicted and measured pressure drops on existing lines before trusting the method for a new one. Gathering systems usually have pressure gauges at wellheads, headers and the facility inlet, and many have transmitters that record continuously. A short exercise, collecting a week of rates and pressures and comparing them with the model, shows whether the assumed roughness, fluid properties and elevations are reasonable. Sofia keeps a spreadsheet of exactly this kind for every line in the Tamarack Lake field. 'If the model is off by thirty percent on a line we already have,' she tells Ethan, 'it will be off by at least that much on the one we have not built yet.'

Discrepancies usually have simple causes: an elevation profile taken from an old map, a partly closed valve, wax or scale deposits that reduce the inside diameter, or gas and liquid rates allocated from a test separator that is out of calibration. Finding and fixing these problems is often worth more than choosing a better correlation.

Common mistakes

  • MistakeUsing the Fanning friction factor in a Darcy equation.

    InsteadThe Darcy factor is four times the Fanning factor; check which one a chart or code uses.

  • MistakeAssuming turbulent flow for viscous oil at low rate.

    InsteadCheck Re; laminar flow uses f = 64/Re.

  • MistakeApplying a liquid equation to a gas line with a large pressure drop.

    InsteadUse a gas equation with p² terms, or march in segments.

  • MistakeUsing new-pipe roughness for an old, scaled line.

    InsteadRoughness grows with age; calibrate with field data where possible.

Summary and key terms

  • The pressure gradient is the sum of gravity, friction and acceleration terms.
  • The Reynolds number decides between laminar and turbulent flow.
  • Colebrook gives the turbulent friction factor; Swamee-Jain is an accurate explicit approximation.
  • Minor losses matter in station piping more than in long lines.
  • Gas line equations such as Weymouth relate flow to the difference of squared pressures.
  • Single-phase results bracket and check multiphase calculations.
Darcy friction factor
The dimensionless factor f in the friction term f ρ v² / 2D.
Relative roughness
The ratio of absolute wall roughness to pipe diameter.
Colebrook equation
An implicit equation for the turbulent friction factor in commercial pipe.
Swamee-Jain equation
An explicit approximation to the Colebrook equation.
Weymouth equation
A gas pipeline flow equation with a diameter-dependent friction factor.
Joule-Thomson cooling
The temperature drop of a gas as it expands to lower pressure.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. What are the three terms in the pressure gradient equation?

    Show answer

    Gravity, friction and acceleration.

  2. What is the friction factor in laminar pipe flow?

    Show answer

    64 divided by the Reynolds number.

  3. Why does doubling the pressure drop not double the flow in a gas line?

    Show answer

    Flow depends on the difference of the squares of the pressures.

  4. Why are single-phase calculations useful in multiphase design?

    Show answer

    They bracket the multiphase result and apply directly to water and gas lines.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz