rodlift.flow.holdup¶
rodlift.flow.holdup ¶
Liquid-holdup correlations for gas-liquid flow in horizontal pipes.
Each function takes a :class:~rodlift.flow.FlowState and returns the in-situ liquid
volume fraction H_L; :func:liquid_holdup selects one by name. These holdups are
used by the horizontal pressure-loss methods (Dukler, Eaton, Lockhart & Martinelli,
Oliemans) but can be combined with any other method.
Chart-based correlations are evaluated from digitised curves by piecewise-linear interpolation with linear extrapolation beyond the tabulated range.
References
.. [Hughmark1962] Hughmark, G.A. (1962). "Holdup in gas-liquid flow." Chem. Eng. Prog., 58(4), 62-65. .. [LockhartMartinelli1949] Lockhart, R.W. and Martinelli, R.C. (1949). "Proposed correlation of data for isothermal two-phase, two-component flow in pipes." Chem. Eng. Prog., 45(1), 39-48. .. [BeggsBrill1973] Beggs, H.D. and Brill, J.P. (1973). "A study of two-phase flow in inclined pipes." J. Pet. Technol., 25(5), 607-617. .. [Chawla1969] Chawla, J.M. (1969). "Flüssigkeitsinhalt in Rohren für Flüssigkeits/Gas-Gemische bei der Zweiphasenströmung." Chem.-Ing.-Tech., 41(5-6). .. [Eaton1967] Eaton, B.A., Andrews, D.E., Knowles, C.R., Silberberg, I.H. and Brown, K.E. (1967). "The prediction of flow patterns, liquid holdup and pressure losses occurring during continuous two-phase flow in horizontal pipelines." J. Pet. Technol., 19(6), 815-828. .. [Dukler1964] Dukler, A.E., Wicks, M. and Cleveland, R.G. (1964). "Frictional pressure drop in two-phase flow: B. An approach through similarity analysis." AIChE J., 10(1), 44-51. .. [MinamiBrill1987] Minami, K. and Brill, J.P. (1987). "Liquid holdup in wet-gas pipelines." SPE Prod. Eng., 2(1), 36-44. .. [BrillMukherjee1999] Brill, J.P. and Mukherjee, H. (1999). Multiphase Flow in Wells. SPE Monograph 17.
COMMERCIAL_ROUGHNESS_FT
module-attribute
¶
COMMERCIAL_ROUGHNESS_FT: Final = 0.00015
Wall roughness of commercial steel pipe, ft, used by the chart methods.
FIELD_METHODS
module-attribute
¶
FIELD_METHODS: Final[
dict[str, Callable[[FieldState], float]]
] = {
"hughmark": _hughmark,
"lockhart_martinelli": _lockhart_martinelli,
"beggs_brill": _beggs_brill,
"chawla": _chawla,
"eaton": _eaton,
"dukler": _dukler,
"minami_brill": _minami_brill,
}
Field-unit implementations by method name (internal).
HOLDUP_METHODS
module-attribute
¶
HOLDUP_METHODS: Final = tuple(FIELD_METHODS)
Names accepted by :func:liquid_holdup.
martinelli_parameter ¶
martinelli_parameter(
s: FieldState,
) -> tuple[float, float, float, float]
Martinelli parameter X, superficial liquid gradient and Reynolds numbers (internal).
Returns (X, dp_l, re_l, re_g) with dp_l in lbf/ft³ (psf/ft).
eaton_abscissa ¶
eaton_abscissa(s: FieldState) -> float
Eaton's holdup group, limited to the charted range [0.001, 10] (internal).
hughmark ¶
hughmark(state: FlowState) -> float
Liquid holdup after Hughmark [Hughmark1962]_.
H_L = 1 - K (1 - λ_L), with the flow factor K a function of
Z = Re^(1/6) Fr^(1/8) / λ_L^(1/4). The Reynolds number Re = d G_m / μ
uses the holdup-weighted viscosity μ = μ_L H_L + μ_g (1 - H_L), so the
equation is solved by successive substitution. Fr = v_m² / (g d). K(Z) is a
polynomial fit of the published curve; Z is limited to [1, 100].
lockhart_martinelli ¶
lockhart_martinelli(state: FlowState) -> float
Liquid holdup from the Lockhart & Martinelli curve [LockhartMartinelli1949]_.
H_L is read from the published curve as a function of the Martinelli parameter
X = sqrt((dp/dL)_L / (dp/dL)_g), the ratio of the superficial single-phase
friction gradients. These use the Moody friction factor of commercial steel pipe
(roughness 0.0457 mm), independent of state.roughness. Limited to 1.
beggs_brill ¶
beggs_brill(state: FlowState) -> float
Horizontal holdup of the Beggs & Brill distributed pattern [BeggsBrill1973]_.
H_L = 1.065 λ_L^0.5824 / Fr^0.0609, limited to [λ_L, 1]. No flow-pattern
selection and no inclination correction (see
:func:rodlift.flow.correlations.beggs_brill.beggs_brill for the full method).
chawla ¶
chawla(state: FlowState) -> float
Liquid holdup after Chawla [Chawla1969]_.
A parameter built from the gas mass fraction x, the liquid Reynolds and Froude
numbers (from the superficial liquid mass flux), the density ratio and the
viscosity ratio, (1-x)/x (Re_L Fr_L)^(-1/6) (ρ_L/ρ_g)^(-0.9) (μ_L/μ_g)^(-0.5),
gives an intermediate quantity ε from a chart that depends on the relative
roughness (commercial steel, 0.0457 mm); H_L is then read from a second chart
in ε and the viscosity ratio.
eaton ¶
eaton(state: FlowState) -> float
Liquid holdup after Eaton et al. [Eaton1967]_.
H_L is read from the published curve as a function of
N_Lv^0.575 / (N_gv N_d^0.0277) (p/p_b)^0.05 (N_L/N_LB)^0.1 with
p_b = 14.65 psia and N_LB = 0.00226 [BrillMukherjee1999]_. The abscissa is
limited to the charted range [0.001, 10].
dukler ¶
dukler(state: FlowState) -> float
Liquid holdup after Dukler et al. [Dukler1964]_.
H_L is read from the published chart as a function of the no-slip holdup and
the two-phase Reynolds number Re_k = d v_m ρ_k / μ_ns with
ρ_k = ρ_L λ_L²/H_L + ρ_g (1-λ_L)²/(1-H_L); since Re_k depends on H_L
the chart is applied by successive substitution. Limited to [0.001, 1].
minami_brill ¶
minami_brill(state: FlowState) -> float
Liquid holdup after Minami & Brill, wet-gas equation [MinamiBrill1987]_.
H_L = 1 - exp(-((ln Z + 9.21) / 8.7115)^4.3374) where Z is Eaton's holdup
group (see :func:eaton), limited to [0.001, 10].
liquid_holdup ¶
liquid_holdup(
state: FlowState, method: str = "eaton"
) -> float
Liquid holdup with the named method.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
FlowState
|
Local flow conditions. |
required |
method
|
str
|
One of :data: |
'eaton'
|
Returns:
| Type | Description |
|---|---|
float
|
In-situ liquid volume fraction. 1 when there is no gas, 0 when there is no liquid. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the method is unknown. |