PET-380 · Lesson 8 of 12 · 19 min

Mechanistic models

Ethan's comparison in lesson 7 left one result unexplained. The mechanistic model matched the north pad line better than any correlation, but he had used it as a black box. Mei Lin, the flow assurance specialist who supports Prairie Crest from the Calgary office, offers to walk him through how such a model works. 'A mechanistic model is just a collection of simple physical balances, one for each flow pattern,' she says. 'Once you see the pieces, you will know when to trust it and when not to.'

This lesson explains the structure of mechanistic models for steady multiphase flow: a flow pattern prediction from physical transition criteria, followed by a separate momentum balance for each pattern. It develops the two-fluid model for stratified flow and the slug unit model for slug flow, introduces the unified models used in current software, and briefly describes transient simulators.

The structure of a mechanistic model

Empirical correlations fit holdup and friction directly to data. Mechanistic models instead start from the physics of each flow pattern. They first predict the pattern from transition criteria like those of Taitel and Dukler (lesson 4) and Taitel, Barnea and Dukler (lesson 5). Then, for the predicted pattern, they solve a simplified momentum balance on each phase, or on the slug unit, with closure relations for wall and interfacial shear, slug velocities, bubble rise and droplet entrainment. The closure relations are themselves partly empirical, but they describe local physics such as the shear on a film or the rise of a bubble, which can be measured in the laboratory and is expected to scale to field conditions better than a whole-line correlation.

The best-known comprehensive models include those of Ansari and coworkers (1994) for vertical wells, Xiao, Shoham and Brill (1990) for pipelines, Petalas and Aziz (2000), which drew on the large Stanford multiphase flow database, and the Tulsa University Fluid Flow Projects unified model of Zhang and coworkers (2003). Commercial steady-state simulators use these or proprietary methods, often called point models, at each segment of a pipe.

The two-fluid model for stratified flow

In stratified flow, the liquid and gas occupy separate parts of the pipe cross-section, divided by an interface at height h_L. A momentum balance on each phase, for steady fully developed flow, gives:

\[-A_{L}\frac{dp}{dL} - \tau_{WL}S_{L} + \tau_{i}S_{i} - \rho_{L}A_{L}\,g\sin\theta = 0\]
\[-A_{G}\frac{dp}{dL} - \tau_{WG}S_{G} - \tau_{i}S_{i} - \rho_{G}A_{G}\,g\sin\theta = 0\]

Here A_L and A_G are the areas occupied by each phase, S_L, S_G and S_i the wetted perimeters of liquid, gas and interface, τ_WL and τ_WG the wall shear stresses, and τ_i the interfacial shear stress. All the areas and perimeters are functions of h_L / D through the geometry of a circle. The wall stresses are calculated from single-phase friction factors using hydraulic diameters for each phase; the interfacial stress uses a friction factor that is equal to the gas wall value for a smooth interface and larger for a wavy one.

Eliminating the pressure gradient between the two equations leaves a single equation in the liquid level h_L / D. Solving it gives the level, and from the level the holdup, the actual velocity of each phase and finally the pressure gradient. Taitel and Dukler showed that, for given dimensionless groups, the equation has a unique solution for most practical conditions, which makes it convenient for computation.

Two diagrams stacked. The upper shows a pipe cross-section with liquid occupying the bottom to a height h_L, labelled with the wetted perimeters S_L, S_G and the interface width S_i. The lower shows a horizontal pipe with one slug unit: a liquid slug of length L_S containing small bubbles, followed by a long gas bubble over a thin liquid film of length L_F. Arrows mark the slug front translational velocity and the film velocity.
Above: the geometry used in the two-fluid stratified model. Below: a slug unit made up of a liquid slug and a film zone under an elongated bubble.
A two-fluid stratified solution for the north pad line late in life, a slug translational velocity and a slug unit liquid balance.
# Two-fluid model of stratified flow: find the liquid level that balances the shear stresses (Taitel-Dukler style)
import math
SI = True   
g = 9.81
D = 0.154; A = math.pi * D * D / 4
rhoL, rhoG, muL, muG = 880.0, 15.0, 0.003, 1.2e-5
vsl, vsg = 0.05, 1.5
theta = math.radians(0.5)             # slight downhill angle of a line falling toward a creek crossing (positive = downward)
def geom(hD):
    a = 2 * math.acos(1 - 2 * hD)                 # wetted angle
    AL = A * (a - math.sin(a)) / (2 * math.pi); AG = A - AL
    SL = D * a / 2; SG = D * math.pi - SL; Si = D * math.sin(a / 2)
    return AL, AG, SL, SG, Si
def fr(Re, laminar, turb):
    return (16 / Re) if Re < 2000 else turb[0] * Re ** -turb[1]
def residual(hD):
    AL, AG, SL, SG, Si = geom(hD)
    vL, vG = vsl * A / AL, vsg * A / AG
    DL = 4 * AL / SL; DG = 4 * AG / (SG + Si)
    fL = fr(rhoL * vL * DL / muL, 1, (0.046, 0.2)); fG = fr(rhoG * vG * DG / muG, 1, (0.046, 0.2))
    tL = fL * rhoL * vL * vL / 2; tG = fG * rhoG * vG * vG / 2; ti = fG * rhoG * (vG - vL) * abs(vG - vL) / 2
    return tG * SG / AG - tL * SL / AL + ti * Si * (1 / AL + 1 / AG) + (rhoL - rhoG) * g * math.sin(theta)
lo, hi = 0.01, 0.99
for _ in range(80):
    mid = (lo + hi) / 2
    if residual(lo) * residual(mid) <= 0: hi = mid
    else: lo = mid
hD = (lo + hi) / 2
AL, AG, *_ = geom(hD)
HL = AL / A
print(f"equilibrium liquid level h/D = {hD:.3f}, liquid holdup {HL:.3f} (no-slip value {vsl / (vsl + vsg):.3f})")
f = 1 if SI else 3.2808; u = "m/s" if SI else "ft/s"
print(f"actual liquid velocity {vsl / HL * f:4.2f} {u}, actual gas velocity {vsg / (1 - HL) * f:4.2f} {u}")
# Slug unit: translational velocity and a simple liquid balance
vm = 2.0; C0, vd = 1.2, 0.54 * math.sqrt(g * D)
vt = C0 * vm + vd
HLs, HLf = 0.85, 0.15
print(f"slug front velocity for vm {vm * f:.1f} {u}: {vt * f:4.2f} {u}")
beta = (HLs - 0.35) / (HLs - HLf)          # fraction of the unit that is film, for an average holdup of 0.35
print(f"with slug holdup {HLs}, film holdup {HLf} and average 0.35, the film occupies {beta:.0%} of each slug unit")
Output
equilibrium liquid level h/D = 0.143, liquid holdup 0.088 (no-slip value 0.032)
actual liquid velocity 0.57 m/s, actual gas velocity 1.64 m/s
slug front velocity for vm 2.0 m/s: 3.06 m/s
with slug holdup 0.85, film holdup 0.15 and average 0.35, the film occupies 71% of each slug unit

For the late-life north pad conditions, Ethan's code finds a liquid level of only 14 percent of the diameter, a holdup of 0.088 against a no-slip value of 0.032, and a liquid velocity of 0.57 m/s against 1.64 m/s for the gas. 'So the liquid is moving at about a third of the gas speed,' Mei says. 'That is slip, calculated from shear and gravity rather than fitted. And notice the line is slightly downhill here. On the next uphill the level will rise sharply.'

The slug unit model

Slug flow is modelled by treating it as a repeating unit: a liquid slug of length L_S, which may contain small gas bubbles, followed by a film zone of length L_F, where a long gas bubble rides over a liquid film. The total unit length is L_U = L_S + L_F. The slug front moves at a translational velocity that is faster than the mixture velocity because the slug picks up the slow film ahead of it:

\[v_{t} = C_{0}\, v_{m} + v_{d}\]

Here C₀ is about 1.2 for turbulent flow, reflecting the faster liquid near the pipe centre, and v_d is a drift velocity, which in horizontal pipes is small and in inclined pipes is related to 0.35√(gD) and 0.54√(gD) through the inclination. A mass balance on the liquid over the unit, together with the holdup in the slug body H_LS and in the film H_LF, gives the fraction of each unit occupied by the film. The pressure gradient is then the weighted sum of friction and gravity in the slug body and the film zone.

The slug body holdup is one of the most important closure relations. Gregory, Nicholson and Aziz, in 1978, correlated it against mixture velocity, giving values near 1 at low velocity and falling to about 0.5 at high velocity as the slug becomes aerated. Slug length is another: observations in horizontal pipes suggest stable slugs are about 30 pipe diameters long for small pipes, but field data in large-diameter lines show much longer slugs, and the distribution of lengths matters for separator design. Lesson 11 returns to slug lengths and slug catchers.

In Ethan's example, a mixture velocity of 2.0 m/s gives a translational velocity of about 3.1 m/s. With a slug holdup of 0.85, a film holdup of 0.15 and an average holdup of 0.35, the film occupies about 71 percent of each unit. Most of the line, at any moment, is film zone, while most of the liquid travels in the slugs.

Bubble, annular and dispersed bubble models

For bubble and dispersed bubble flow, mechanistic models use a drift-flux form (lesson 5), with a bubble rise velocity and a distribution parameter. For annular flow, they solve momentum balances for the liquid film and the gas core, with closure relations for the interfacial shear, which increases strongly with film thickness because the film surface is rough with waves, and for the fraction of liquid entrained as droplets. Entrainment correlations, such as those of Ishii and Mishima and of Oliemans and coworkers, are among the least certain parts of annular flow models, but they matter most in gas-condensate lines, where much of the liquid can travel as droplets.

Unified models

The original mechanistic models treated each pattern with its own equations and switched between them at the predicted transitions, which can cause discontinuities: the predicted pressure gradient may jump when the pattern changes. Unified models, such as the Tulsa model of Zhang and coworkers, address this by treating slug flow as the central pattern and deriving the transitions from the slug unit itself. Stratified or annular flow appears as the limit where the slug length goes to zero, and dispersed bubble flow as the limit where the film zone disappears. The result is a continuous model that is easier to use in optimization and network calculations.

Transient models

Steady-state models describe average behaviour. They cannot predict how a line responds to a shut-in and restart, to pigging, to rate changes or to severe slugging cycles. Transient multiphase simulators, such as OLGA, LedaFlow and others, solve time-dependent conservation equations for mass, momentum and energy of each phase or field (gas, liquid film and droplets) along the pipe, with closure relations similar to those of steady mechanistic models. They are used for flow assurance studies: pig slug arrival volumes, terrain slugging, cooldown times after shutdown, and hydrate and wax risk during transient operations. Lesson 11 uses results of the kind such tools produce, though the calculations there are simplified.

Strengths and limits

Mechanistic models generally extrapolate better than empirical correlations to pipe sizes, pressures and fluids outside the range of the laboratory data, because their closure relations describe local physics. Comparisons against large databanks have often found them to give lower average errors, especially for inclined flow and gas-condensate systems. They are not perfect. Their closure relations were also developed largely in small pipes with air and water, the transition criteria carry uncertainty, and slug length and entrainment remain hard to predict. A mechanistic model should be checked against field data just as a correlation is, as Ethan did in lesson 7.

A worked check by hand

Even when the software does the work, an engineer can check a mechanistic result with a few hand calculations. For stratified flow, check that the predicted liquid velocity is less than the gas velocity and that the liquid level is reasonable for the inclination; on a downhill segment, a low level and fast liquid are expected. For slug flow, check that the translational velocity is about 1.2 times the mixture velocity, that the slug body holdup is between 0.5 and 1, and that the average holdup lies between the film and slug values. For annular flow, check that the gas velocity is above the critical value of lesson 5. Results that fail these checks suggest an input error, such as a wrong unit or inclination, more often than a model failure.

Worked problem

Slug front velocity and film fraction

In a 6-inch line the mixture velocity is 2.5 m/s. Take C₀ = 1.2 and a horizontal drift velocity of 0.2 m/s. The slug body holdup is 0.80, the film holdup 0.20 and the average holdup 0.40. Find the slug front velocity and the fraction of the unit occupied by the film, assuming a simple holdup balance over the unit.

Show solution
  1. Front velocity: v_t = 1.2 × 2.5 + 0.2 = 3.2 m/s (10.5 ft/s).
  2. Average holdup balance: H_L = H_LS (1 − F) + H_LF F, where F = L_F / L_U.
  3. 0.40 = 0.80 (1 − F) + 0.20 F, so F = (0.80 − 0.40) / (0.80 − 0.20) = 0.67.

Answer: Slugs travel at about 3.2 m/s (10.5 ft/s), and the film zone fills about two-thirds of each slug unit.

Common mistakes

  • MistakeTreating a mechanistic model as needing no field validation.

    InsteadClosure relations carry uncertainty; compare with field data.

  • MistakeUsing a steady-state model for shut-in and restart behaviour.

    InsteadUse a transient simulator for time-dependent events.

  • MistakeAssuming slugs travel at the mixture velocity.

    InsteadThe slug front moves at about 1.2 times the mixture velocity plus a drift term.

  • MistakeIgnoring discontinuities at pattern boundaries.

    InsteadUnified models avoid jumps; check results near transitions.

Summary and key terms

  • Mechanistic models predict the flow pattern from physical criteria, then solve a momentum balance for that pattern.
  • The two-fluid stratified model balances wall and interfacial shear with gravity to find the liquid level.
  • The slug unit model treats slug flow as a repeating slug body and film zone.
  • Slug fronts move at about 1.2 times the mixture velocity plus a drift velocity.
  • Unified models remove discontinuities by deriving all patterns from the slug unit.
  • Transient simulators are needed for shut-in, restart, pigging and slugging studies.
Mechanistic model
A model built from physical balances for each flow pattern, with closure relations.
Closure relation
An equation for a local quantity such as shear stress or bubble velocity.
Two-fluid model
A pair of momentum balances, one for each phase, used for stratified flow.
Slug unit
One liquid slug and the following film zone with its elongated bubble.
Translational velocity
The speed at which the slug front moves along the pipe.
Entrainment
The fraction of liquid carried as droplets in the gas core.

Practice problems

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

  1. What two steps does a mechanistic model take?

    Show answer

    Predict the flow pattern, then solve a momentum balance for that pattern.

  2. What does the two-fluid model solve for in stratified flow?

    Show answer

    The liquid level, from which holdup and velocities follow.

  3. Why is the slug front faster than the mixture velocity?

    Show answer

    The slug picks up the slower film ahead of it, and the liquid is faster near the pipe centre.

  4. When is a transient simulator needed?

    Show answer

    For time-dependent events such as shut-in, restart, pigging and severe slugging.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz