Motivation
Assume the well is producing
of water,
of oil and
of gas as measured daily at separator with pressure
and temperature
.
While moving down to depth
along the hole the wellbore pressure
will be growing due to gravity of fluid column and friction losses emerging from fluid contact with inner pipe walls .
Wellbore temperature
will be also varying due to heat exchange with surrounding rocks.
The volume shares
LaTeX Math Inline |
---|
body | \{ s_w(l), \, s_o(l), \, s_g(l) \} |
---|
|
, occupied by different phases will be varying along hole due to along-hole pressure-temperature variation, phase segregation and phase slippage.
Definition
Mathematical model of Multiphase Wellbore Flow predicts the temperature, pressure and flow speed distribution along the wellbore trajectory with account for:
- tubing head pressure which is controled by gathering system or injection pump
- wellbore design (pipe diameters, pipe materials and inter-pipe annular fillings)
- fluid friction with tubing /casing walls
- interfacial phase slippage
- heat exchange between wellbore fluid and surrounding rocks via complex well design
Consider a 3-phase water-oil-gas flow:
LaTeX Math Inline |
---|
body | \alpha = \{ w, \, o, \, g \} |
---|
|
.
The
-phase
volumetric flow fraction ( also called
phase cut or
input hold-up or
no-slip hold-up ) is defined as:
LaTeX Math Block |
---|
|
\gamma_\alpha = \frac{q_\alpha}{q_t} |
where
– volumetric flow rate of
-phase and
is the total volumetric fluid production rate:
LaTeX Math Block |
---|
|
q_t = \sum_\alpha q_\alpha = q_w + q_o + g_g |
In multiphase wellbore flow each phase occupies its own area
of the total cross-sectional area
of the lifting pipe.
This area can be connected into a single piece of cross-sectional area (like in case of slug or annular flow) or dispersed into a number of connected spots (like in case of bubbly flow).
A share of total pipe cross-section area occupied by moving
-phase is called an
-phase
in-situ hold-up and defined as:
LaTeX Math Block |
---|
|
s_\alpha = \frac{A_\alpha}{A} |
so that a sum of all in-situ hold-ups is subject to natural constraint:
LaTeX Math Block |
---|
anchor | s_norm |
---|
alignment | left |
---|
|
\sum_\alpha s_\alpha = s_w + s_o + s_g = 1 |
When word hold-up is used alone it usually means in-situ hold-up and should not be confused with input hold-up or no-slip hold-up which should be better called volumetric flow fraction.
The actual average cross-sectional velocity of moving
-phase is called
in-situ velocity and defined as:
LaTeX Math Block |
---|
|
u_\alpha = \frac{q_\alpha}{A_\alpha} |
where
is the volumetric
-phase flowrate through cross-sectional area
.
The superficial velocity of
-phase is defined as the
LaTeX Math Block |
---|
|
u_{s \alpha} = \frac{q_\alpha}{A}= s_\alpha \cdot u_\alpha |
The multiphase mixture velocity is defined as total flow volume normalized by the total cross-sectional area:
LaTeX Math Block |
---|
|
u_m = \frac{1}{A} \sum_\alpha q_\alpha = \sum_\alpha u_{s \alpha} = \sum_\alpha s_\alpha \cdot u_\alpha |
The difference between velocities of
-phase and
-phase is called interfacial phase
phase slippage:
LaTeX Math Block |
---|
|
u_{\alpha_1 \alpha_2} = u_{\alpha_1} - u_{\alpha_2} |
The multiphase fluid density
is defined by exact formula:
LaTeX Math Block |
---|
|
\rho_m = \sum_\alpha s_\alpha \rho_\alpha |
where
– density of
-phase.
The two-phase gas-liquid model is defined in the following terms:
LaTeX Math Block |
---|
|
u_m = u_{s g} + u_{s l} = s_g u_g + (1-s_g) u_l |
The two-phase oil-water model is defined in the following terms:
LaTeX Math Block |
---|
|
u_m = u_{s o} + u_{s w} = s_o u_o + (1-s_o-s_g) u_w |
The 3-phase water-oil-gas model is usually built as a superposition of gas-liquid model and then oil-water model:
Input | Output |
---|
LaTeX Math Inline |
---|
body | Ps, \, T_s, \ \{ q_w, q_o, \, q_g \} |
---|
| as values at separator | LaTeX Math Inline |
---|
body | P(l), \, T(l), \, \{ s_w(l), \, s_o(l), \, s_g(l) \}, \, \{ q_w(l), \, q_o(l), \, q_g(l) \} |
---|
| as logs along hole |
Application
| Activity |
| Input | Output |
---|
1 | WPA – Well Performance Analysis | Optimizing the lift performance based on the IPR vs VLP models | LaTeX Math Inline |
---|
body | Ps, \, T_s, \ \{ q_w, q_o, \, q_g \} |
---|
|
as values at separator | LaTeX Math Inline |
---|
body | P_{wf}(l = l_{datum}) |
---|
| as value at formation datum |
---|
2 | DM – Dynamic Modelling | Relating production rates at separator to bottom-hole pressure with VLP | LaTeX Math Inline |
---|
body | Ps, \, T_s, \ \{ q_w, q_o, \, q_g \} |
---|
|
as values at separator | LaTeX Math Inline |
---|
body | P_{wf}(l = l_{datum}) |
---|
| as value at formation datum |
---|
3 | PRT – Pressure Testing | Adjust gauge pressure to formation datum | LaTeX Math Inline |
---|
body | P_{wf}(l = l_{gauge}) |
---|
|
as value at downhole gauge | LaTeX Math Inline |
---|
body | P_{wf}(l = l_{datum}) |
---|
|
as value at formation datum |
---|
4 | PLT – Production Logging | Interpretation of production logs | LaTeX Math Inline |
---|
body | \{ p(l), \, T(l), \, u_m(l), \, s_w(l), \, s_o(l), \, s_g(l) \} |
---|
|
as logs along hole | LaTeX Math Inline |
---|
body | \{ q_w(l), \, q_o(l), \, q_g(l) \} |
---|
|
as logs along hole |
---|
5 | RFP – Reservoir Flow Profiling | Interpretation of reservoir flow logs | LaTeX Math Inline |
---|
body | \{ p(l), \, T(l), \, u_m(l), \, s_w(l), \, s_o(l), \, s_g(l) \} |
---|
| as logs along hole | LaTeX Math Inline |
---|
body | \{ q_w(l), \, q_o(l), \, q_g(l) \} |
---|
| as logs along hole |
---|
Mathematical Model
The multiphase wellbore flow in hydrodynamic and thermodynamic equilibrium is defined by the following set of 1D equations:
LaTeX Math Block |
---|
anchor | MatBal |
---|
alignment | left |
---|
|
\frac{\partial (\rho_m A)}{\partial t} + \frac{\partial}{\partial l} \bigg( A \, \sum_\alpha \rho_\alpha \, u_\alpha \bigg) = 0 |
LaTeX Math Block |
---|
|
\sum_\alpha \rho_\alpha \bigg[ \frac{\partial u_\alpha}{\partial t} + u_\alpha \frac{\partial u_\alpha}{\partial l} - \nu_\alpha \Delta u_\alpha\bigg] = - \frac{dp}{dl} + \rho_m \, g \, \sin \theta - \frac{ f_m \, \rho_m \, u_m^2 \, }{2 d} |
LaTeX Math Block |
---|
|
(\rho \,c_p)_m \frac{\partial T}{\partial t}
- \sum_\alpha \rho_\alpha \ c_{p \alpha} \ \eta_{s \alpha} \ \frac{\partial P_\alpha}{\partial t}
+ \bigg( \sum_\alpha \rho_\alpha \ c_{p \alpha} \ u_\alpha \bigg) \frac{\partial T}{\partial l}
\ = \ \frac{1}{A} \ \sum_\alpha \rho_\alpha \ c_{p \alpha} T_\alpha \frac{\partial q_\alpha}{\partial l} |
where
| indicates a mixture of fluid phases |
| water, oil, gas phase indicator |
| measure length along wellbore trajectory |
| in-situ velocity of -phase fluid flow |
| |
| cross-sectional average fluid density |
| wellbore trajectory inclination to horizon |
| cross-sectional average pipe flow diameter |
| in-situ cross-sectional area LaTeX Math Inline |
---|
body | A(l) = 0.25 \, \pi \, d^2(l) |
---|
|
|
| Darci flow friction coefficient |
| kinematic viscosity of -phase |
| temperature of -phase fluid flowing from reservoir into a wellbore |
Expand |
---|
|
| Fig. 1. Wellbore Flow Model geometry |
|
Equations
LaTeX Math Block Reference |
---|
|
–
LaTeX Math Block Reference |
---|
|
define a closed set of 3 scalar equations on 3 unknowns: pressure
, temperature
and mixture-average fluid velocity
.
The model is set in 1D-model with
axis aligned with well trajectory
:
The disambiguation of the properties in the above equation is brought in The list of dynamic flow properties and model parameters.
Equation
LaTeX Math Block Reference |
---|
|
defines the continuity of the fluid components flow or equivalently represent the mass conservation of each mass component
LaTeX Math Inline |
---|
body | \{ m_W, \ m_O, \ m_G \} |
---|
|
during its transportation along wellbore.
Equation
LaTeX Math Block Reference |
---|
|
defines the motion dynamics of each phase (called Navier–Stokes equation), represented as linear correlation between phase flow speed
and pressure profile of mutliphase fluid
.
The term
LaTeX Math Inline |
---|
body | \sum_\alpha \rho_\alpha \ c_{p \alpha} \ u_\alpha \frac{\partial T}{\partial l} |
---|
|
represents heat convection defined by the wellbore mass flow.
The term
LaTeX Math Inline |
---|
body | \sum_\alpha \rho_\alpha \ c_{p \alpha} \ \eta_{s \alpha} \ \frac{\partial P_\alpha}{\partial t} |
---|
|
represents the heating/cooling effect of the fast adiabatic pressure change.
This usually takes effect in the wellbore during the first minutes or hours after changing the well flow regime (as a consequence of choke/pump operation).
The term
defines mass-specific heat capacity of the multiphase mixture and defined by exact formula:
LaTeX Math Block |
---|
anchor | rho_cp |
---|
alignment | left |
---|
|
(\rho \,c_p)_m = \sum_\alpha \rho_\alpha c_\alpha s_\alpha |
Expand |
---|
|
LaTeX Math Block |
---|
| (\rho \,c_{pt})_p \frac{\partial T}{\partial t}
- \sum_{a = \{w,o,g \}} \rho_\alpha \ c_{p \alpha} \ \eta_{s \alpha} \ \frac{\partial P_\alpha}{\partial t}
+ \sum_{a = \{w,o,g \}} \rho_\alpha \ c_{p \alpha} \ u_\alpha \frac{\partial T}{\partial l}
\ = \ \frac{\delta E_H}{ \delta V \delta t} |
Equation LaTeX Math Block Reference |
---|
| defines the heat flow continuity or equivalently represents heat conservation due to heat conduction and convection with account for adiabatic and Joule–Thomson throttling effect.The term LaTeX Math Inline |
---|
body | \frac{\delta E_H}{ \delta V \delta t} |
---|
| defines the speed of change of heat energy volumetric density due to the inflow from formation into the wellbore.
|
Stationary Flow Model
Stationary wellbore flow is defined as the flow with constant pressure and temperature:
LaTeX Math Inline |
---|
body | \frac{\partial T}{\partial t} = 0 |
---|
|
and
LaTeX Math Inline |
---|
body | \frac{\partial P_\alpha}{\partial t} = 0 |
---|
|
.
This happens during the long-term (usually hours & days & weeks) production/injection or long-term (usually hours & days & weeks) shut-in.
The temperature dynamic equation
LaTeX Math Block Reference |
---|
|
is going to be:
LaTeX Math Block |
---|
|
\sum_\alpha \rho_\alpha \ c_{p \alpha} \ u_\alpha \frac{\partial T}{\partial l}
\ = \ \frac{1}{A} \ \sum_\alpha \rho_\alpha \ c_{p \alpha} T_\alpha \frac{\partial q_\alpha}{\partial l} |
The phase temperature
is the temperature of the
-phase flowing from reservoir into wellbore.
It carries the original reservoir temperature with heating/cooling effect from reservoir-flow throttling and well-reservoir contact throttling:
LaTeX Math Block |
---|
|
T_\alpha = T_r + \epsilon_\alpha \, \delta P = T_r + \epsilon_\alpha \, (P_e - P_{wf}) |
The discrete computational scheme for
LaTeX Math Block Reference |
---|
|
will be:
LaTeX Math Block |
---|
|
\bigg( \sum_\alpha \rho_\alpha^{k-1} \ c_{p \alpha}^{k-1} \ q_\alpha^{k-1} \bigg) T^{k-1} - \bigg( \sum_\alpha \rho_\alpha^k \ c_{p \alpha}^k \ q_\alpha^k \bigg) T^k
= \sum_\alpha \rho_\alpha^k \ c_{p \alpha}^k \ (q_\alpha^{k-1} - q_\alpha^k) \, (T_r^k + \epsilon_\alpha^k \delta p^k ) |
where
LaTeX Math Inline |
---|
body | \delta p^k = p_e^k - p_{wf}^k |
---|
|
is drawdown,
– formation pressure in
-th grid layer,
– bottom-hole pressure across
-th grid layer,
– remote reservoir temperature of
-th grid layer.
The
-axis is pointing downward along hole with
-th grid layer sitting above the
-th grid layer.
If the flowrate is not vanishing during the stationary lift (
LaTeX Math Inline |
---|
body | \sum_{a = \{w,o,g \}} |q_\alpha^{k-1}| > 0 |
---|
|
) then
can be calculated iteratively from previous values of the wellbore temperature
as:
Expand |
---|
|
LaTeX Math Block |
---|
| (\rho \,c_{pt})_p \frac{\partial T}{\partial t}
- \ \phi \sum_{a = \{w,o,g \}} \rho_\alpha \ c_{p \alpha} \ \eta_{s \alpha} \ \frac{\partial P_\alpha}{\partial t}
+ \bigg( \sum_{a = \{w,o,g \}} \rho_\alpha \ c_{p \alpha} \ \epsilon_\alpha \ \mathbf{u}_\alpha \bigg) \nabla P
+ \bigg( \sum_{a = \{w,o,g \}} \rho_\alpha \ c_{p \alpha} \ \mathbf{u}_\alpha \bigg) \ \nabla T
- \nabla (\lambda_t \nabla T) = \frac{\delta E_H}{ \delta V \delta t} |
The wellbore fluid velocity can be expressed thorugh the volumetric flow profile and tubing/casing cross-section area as: LaTeX Math Block |
---|
| u_\alpha = \frac{q_\alpha}{\pi r_f^2} |
so that LaTeX Math Block |
---|
| \bigg( \sum_{a = \{w,o,g \}} \rho_\alpha \ c_{p \alpha} \ \mathbf{u}_\alpha \bigg) \ \nabla T
= \frac{\delta E_H}{ \delta V \delta t} |
|
References
Beggs, H. D. and Brill, J. P.: "A Study of Two-Phase Flow in Inclined Pipes," J. Pet. Tech., May (1973), 607-617
The list of dynamic flow properties and model parameters
| time and space corrdinates , -axis is orientated towards the Earth centre, define transversal plane to the -axis |
LaTeX Math Inline |
---|
body | \mathbf{r} = (x, \ y, \ z) |
---|
|
| position vector at which the flow equations are set |
| measured depth along wellbore trajectory LaTeX Math Inline |
---|
body | dl^2 = dx^2 + dy^2 + dz^2 |
---|
|
starting from tubing head LaTeX Math Inline |
---|
body | l (x = x_0, \ y=y_0, \ z = z_{THP}) = 0 |
---|
|
|
LaTeX Math Inline |
---|
body | q_\alpha(t, l) = \frac{d V_\alpha}{dt} |
---|
|
| volumetric flow rate -phase fluid at wellbore depth |
| -phase flow speed at wellbore depth |
LaTeX Math Inline |
---|
body | \vec g = (0, \ 0, \ g) |
---|
|
| gravitational acceleration vector |
| gravitational acceleration constant
|
| mass density of -phase fluid |
| viscosity of -phase fluid |
LaTeX Math Inline |
---|
body | \lambda_t(p,T,s_w, s_o, s_g) |
---|
|
| effective thermal conductivity of the rocks with account for multiphase fluid saturation |
| rock matrix thermal conductivity |
| thermal conductivity of -phase fluid |
| rock matrix mass density |
| differential adiabatic coefficient of -phase fluid |
| specific isobaric heat capacity of the rock matrix |
| specific isobaric heat capacity of -phase fluid |
LaTeX Math Inline |
---|
body | \epsilon_\alpha (P, T) |
---|
|
| differential Joule–Thomson coefficient of -phase fluid |