# Darcy's law for multiphase flow

Morris Muskat et al. developed the governing equations for multiphase flow (one vector equation for each fluid phase) in porous media as a generalisation of Darcy's equation (or Darcy's law) for water flow in porous media. The porous media are usually sedimentary rocks such as clastic rocks (mostly sandstone) or carbonate rocks.
Nomenclature :
| Symbol | Description | SI Units |
| | subscript: phase a, vector component $\sigma$ | |
| $A{_{\sigma }}$ | vector component $\sigma$ of directional contact surface between two grid cells | m$^2$ |
| $\mathbf {A}$ | directional contact surface between two (usually neighboring) grid cells | m$^2$ |
| ${\mathbf {e} _{z}}{^{3}}$ | unit vector along 3rd axis (z is a reminder here: 3 is z-direction) | 1 |
| $g$ | acceleration of gravity | m/s$^2$ |
| $\mathbf {g}$ | acceleration of gravity with direction | m/s$^2$ |
| $\mathbf {K}$ | absolute permeability as a 3x3 tensor | m$^2$ |
| $K_{ra}$ | relative permeability of phase a= w, o, g | fraction |
| $\mathbf {K} _{ra}$ | directional relative permeability (i.e. 3x3 tensor) | fraction |
| $P_{a}$ | pressure | Pa |
| $\mathbf {q} _{a}$ | volumetric flux (Darcy velocity) through grid cell contact surface | m/s |
| ${Q_{a}}$ | volumetric flow rate through grid cell contact surface | m$^3$/s |
| $\mathbf {v} _{a}$ | pore (fluid) flow velocity | m/s |
| ${u_{a}}^{\sigma }$ | Darcy (fluid) velocity along axis $\sigma$ | m/s |
| $\mathbf {u} _{a}$ | Darcy (fluid) velocity | m/s |
| $\nabla$ | gradient operator | m$^{−1}$ |
| $\mu _{a}$ | dynamic viscosity | Pa $\cdot$ s |
| $\rho _{a}$ | mass density | kg/m$^3$ |
    $\mathbf {u} _{a}=-\mu _{a}^{-1}K_{ra}\mathbf {K} \cdot \left(\nabla P-\rho _{a}\mathbf {g} \right)$ where a = w, o, g
The present fluid phases are water, oil and gas, and they are represented by the subscript a = w,o,g respectively. The gravitational acceleration with direction is represented as $\mathbf {g}$ or $g\nabla z$ or $g{\mathbf {e} _{z}}{^{3}}$. Notice that in petroleum engineering the spatial co-ordinate system is right-hand-oriented with z-axis pointing downward. The physical property that links the flow equations of the three fluid phases, is relative permeability of each fluid phase and pressure. This property of the fluid-rock system (i.e. water-oil-gas-rock system) is mainly a function of the fluid saturations, and it is linked to capillary pressure and the flowing process, implying that it is subject to hysteresis effect.
In 1940 M.C. Leverett pointed out that in order to include capillary pressure effects in the flow equation, the pressure must be phase dependent. The flow equation then becomes
    $\mathbf {u} _{a}=-\mu _{a}^{-1}K_{ra}\mathbf {K} \cdot \left(\nabla P_{a}-\rho _{a}\mathbf {g} \right)$ where a = w, o, g
Leverett also pointed out that the capillary pressure shows significant hysteresis effects. This means that the capillary pressure for a drainage process is different from the capillary pressure of an imbibition process with the same fluid phases. Hysteresis does not change the shape of the governing flow equation, but it increases (usually doubles) the number of constitutive equations for properties involved in the hysteresis.
During 1951-1970 commercial computers entered the scene of scientific and engineering calculations and model simulations. Computer simulation of the dynamic behaviour of oil reservoirs soon became a target for the petroleum industry, but the computing power was very weak at that time.
With weak computing power, the reservoir models were correspondingly coarse, but upscaling of the static parameters were fairly simple and partly compensated for the coarseness. The question of upscaling relative permeability curves from the rock curves derived at core plug scale (which is often denoted the micro scale) to the coarse grids cells of the reservoir models (which is often called the macro scale) is much more difficult, and it became an important research field that is still ongoing. But the progress in upscaling was slow, and it was not until 1990-2000 that directional dependency of relative permeability and need for tensor representation was clearly demonstrated, even though at least one capable method was developed already in 1975. One such upscaling case is a slanted reservoir where the water (and gas) will segregate vertically relative to the oil in addition to the horizontal motion. The vertical size of a grid cell is also usually much smaller than the horizontal size of a grid cell, creating small and large flux areas respectively. All this requires different relative permeability curves for the x and z directions. Geological heterogeneities in the reservoirs like laminas or crossbedded permeability structures in the rock, also cause directional relative permeabilities. This tells us that relative permeability should, in the most general case, be represented by a tensor. The flow equations then become
    $\mathbf {u} _{a}=-\mu _{a}^{-1}\mathbf {K} _{ra}\cdot \mathbf {K} \cdot \left(\nabla P_{a}-\rho _{a}\mathbf {g} \right)$ where a = w, o, g
The above-mentioned case reflected downdip water injection (or updip gas injection) or production by pressure depletion. If you inject water updip (or gas downdip) for a period of time, it will give rise to different relative permeability curves in the x+ and x- directions. This is not a hysteresis process in the traditional sense, and it cannot be represented by a traditional tensor. It can be represented by an IF-statement in the software code, and it occurs in some commercial reservoir simulators. The process (or rather sequence of processes) may be due to a backup plan for field recovery, or the injected fluid may flow to another reservoir rock formation due to an unexpected open part of a fault or a non-sealing cement behind casing of the injection well. The option for relative permeability is seldom used, and we just note that it does not change (the analytical shape of) the governing equation, but increases (usually doubles) the number of constitutive equations for the properties involved.
The above equation is a vector form of the most general equation for fluid flow in porous media, and it gives the reader a good overview of the terms and quantities involved. Before you go ahead and transform the differential equation into difference equations, to be used by the computers, you must write the flow equation in component form. The flow equation in component form (using summation convention) is
    $u{_{a}}^{\sigma }=-\mu _{a}^{-1}K_{ra}{^{\sigma }}_{\beta }K{^{\beta }}_{\gamma }\left(\nabla ^{\gamma }P_{a}-\rho _{a}g{e_{z}}{^{\gamma }}\right)$ where a = w, o, g where $\sigma$ = 1,2,3
The Darcy velocity $\mathbf {u} _{a}$ is not the velocity of a fluid particle, but the volumetric flux (frequently represented by the symbol $\mathbf {q} _{a}$) of the fluid stream. The fluid velocity in the pores $\mathbf {v} _{a}$ (or short but inaccurately called pore velocity) is related to Darcy velocity by the relation
    $\mathbf {v} _{a}=\phi ^{-1}\mathbf {q} _{a}=\phi ^{-1}\mathbf {u} _{a}$ where a = w, o, g
The volumetric flux is an intensive quantity, so it is not good at describing how much fluid is coming per time. The preferred variable to understand this is the extensive quantity called volumetric flow rate which tells us how much fluid is coming out of (or going into) a given area per time, and it is related to Darcy velocity by the relation
    $Q_{a}=\mathbf {A} \cdot \mathbf {u} _{a}$ where a = w, o, g
We notice that the volumetric flow rate $Q_{a}$ is a scalar quantity and that the direction is taken care of by the normal vector of the surface (area) and the volumetric flux (Darcy velocity).
In a reservoir model the geometric volume is divided into grid cells, and the area of interest now is the intersectional area between two adjoining cells. If these are true neighboring cells, the area is the common side surface, and if a fault is dividing the two cells, the intersection area is usually less than the full side surface of both adjoining cells. A version of the multiphase flow equation, before it is discretized and used in reservoir simulators, is thus
    $Q_{a}=-\mu _{a}^{-1}\mathbf {A} \cdot \mathbf {K} _{ra}\cdot \mathbf {K} \cdot \left(\nabla P_{a}-\rho _{a}\mathbf {g} \right)$ where a = w, o, g
In expanded (component) form it becomes
    $Q{_{a}}=-\mu _{a}^{-1}A{_{\sigma }}K_{ra}{^{\sigma }}_{\beta }K{^{\beta }}_{\gamma }\left(\nabla ^{\gamma }P_{a}-\rho _{a}g{e_{z}}{^{\gamma }}\right)$ where a = w, o, g
The (initial) hydrostatic pressure at a depth (or level) z above (or below) a reference depth z$_0$ is calculated by
    $P{_{a}}=P_{a0}+\int \limits _{z_{0}}^{z}\rho _{a}\left(z\right)g\left(z\right)dz$ where a = w, o, g
When calculations of hydrostatic pressure are executed, one normally does not apply a phase subscript, but switch formula / quantity according to what phase is observed at the actual depth, but we have included the phase subscript here for clarity and consistency. However, when calculations of hydrostatic pressure are executed one may use an acceleration of gravity that varies with depth in order to increase accuracy. If such high accuracy is not needed, the acceleration of gravity is kept constant, and the calculated pressure is called overburden pressure. Such high accuracy is not needed in reservoir simulations so acceleration of gravity is treated as a constant in this discussion. The initial pressure in the reservoir model is calculated using the formula for (initial) overburden pressure which is
    $P{_{a}}=P_{a0}+g\int \limits _{z_{0}}^{z}\rho _{a}\left(z\right)dz$ where a = w, o, g
In order to simplify the terms within the parenthesis of the flow equation, we can introduce a flow potential called the $\psi$ -potential, pronounced psi-potential, which is defined by
    $\psi _{a}=P{_{a}}-g\int \limits _{z_{0}}^{z}\rho _{a}\left(z\right)dz$ where a = w, o, g
It consists of two terms which are absolute pressure and gravity head. To save computing time the integral can be calculated initially and stored as a table to be used in the computationally cheaper table-lookup. Introduction of the $\psi$ -potential implies that
    $\nabla \psi _{a}=\nabla P_{a}-\rho _{a}g\nabla z$ where a = w, o, g
The psi-potential is also frequently called the "datum pressure", since the function represents the pressure at any point in the reservoir after being transferred to the datum plane / depth z$_0$. In practical engineering work it is very useful to refer pressures measured in wells to a datum level or to map the distribution of datum pressures throughout the reservoir. In this way the direction of fluid movement in the reservoir can be seen at a glance since the datum pressure distribution is equivalent to the potential distribution. Two simple examples will clarify this. A reservoir may consists of several flow units that are separated by tight shale layers. Fluid from one reservoir or flow unit can enter a fault at one depth and exit the fault in another reservoir or flow unit at another depth. Likewise can fluid enter a production well in one flow unit and exit the production well in another flow unit or reservoir.
The multiphase flow equation for porous media now becomes
    $Q_{a}=-\mu _{a}^{-1}\mathbf {A} \cdot \mathbf {K} _{ra}\cdot \mathbf {K} \cdot \nabla \psi _{a}$ where a = w, o, g
This multiphase flow equation has traditionally been the starting point for the software programmer when he/she starts transforming the equation from differential equation to difference equation in order to write a program code for a reservoir simulator to be used in the petroleum industry. The unknown dependent variables have traditionally been oil pressure (for oil fields) and volumetric quantities for the fluids involved, but one may rewrite the total set of model equations to be solved for oil pressure and mass or mole quantities for the fluid components involved.
The above equations are written in SI units and we are assuming that all material properties are also defined within the SI units. A result of this is that above versions of the equations do not need any unit conversion constants. The petroleum industry applies a variety of units, of which a least two have some prevalence. If you want to apply units other than SI units, you must establish correct unit conversion constants for the multiphase flow equations.

## Conversion of units

The above equations are written in SI units (short SI) suppressing that the unit D (darcy) for the absolute permeability is defined in non-SI units. That is why there are no unit-related constants. The petroleum industry doesn't use the SI units. Instead, they use a special version of SI units that we will call Applied SI units, or they use another set of units called Field units which has its origin from US and UK. Temperature is not included in the equations, so we can use the factor-label method (also called unit-factor method) which says that if we have a variable/parameter with unit H, we multiply this variable/parameter by a conversion constant C and then the variable gets the unit G that we want. This means that we apply the transformation H*C = G, and the non-SI effect of the definition of permeability is included in the conversion factor C for permeability. The transformation H*C = G apply for every spatial dimension so we concentrate on the main terms, neglecting the signs, and then complete the parenthesis with the gravity term. Before we start the conversion, we notice that both the original (single phase) the flow equation of Darcy and the generalized (or extended) multiphase flow equations of Muskat et al. are using reservoir velocity (volume flux), volume rate and densities. The units of these quantities are given a prefix r (or R) in order to distinguish them from their counterparts at standard surface conditions which gets a prefix s (or S). This is especially important when we convert the equations to Field units. The reason for going into details in the seemingly simple topic of unit conversion, is that many people make mistakes when doing unit conversions.
Now we are ready to start the conversion work. First, we take the flux version of the equation and rewrite it as
    $1={\frac {K\nabla _{\gamma }P_{a}}{\mu _{a}u{_{a}}}}$ where a = w, o, g
We want to place the composite conversion factor together with the permeability parameter. Here we note that our equation is written in SI units, and that the group of variables/parameters (hereafter called parameters for short) on the right-hand side constitute a dimensionless group. Now we convert each parameter and collect these conversions into a single conversion constant. Now we note that our list with conversion constants (the C's) goes from applied unit to SI units, and this very common for such conversion lists. We therefore assume that our parameters are entered in applied units and convert them (back) to SI units.
    ${\frac {C_{k}KC_{\nabla }\nabla ^{\gamma }C_{p}P_{a}}{C_{\mu }\mu _{a}C_{u}u{_{a}}}}=C_{f}{\frac {K\nabla ^{\gamma }P_{a}}{\mu _{a}u{_{a}}}}=\left({\frac {K\nabla ^{\gamma }P_{a}}{\mu _{a}u{_{a}}}}\right)_{SI}=1$ where a = w, o, g
Notice that we have removed relative permeability which is a dimensionless parameter. This composite conversion factor is called Darcy's constant for the flux formulated equation, and it is
    $C_{f}={\frac {C_{k}C_{\nabla }C_{p}}{C_{\mu }C_{u}}}={\frac {C_{k}C_{\nabla }}{C_{\mu }C_{u}/C_{p}}}$
Since our parameter group is dimensionless in base SI units, we don't need to include the SI units in the units for our composite conversion factor as you can see in the second table. Next, we take the rate version of the equation and rewrite it as
    $1={\frac {AK\nabla _{\gamma }P_{a}}{\mu _{a}Q{_{a}}}}$ where a = w, o, g
Now we convert each parameter and collect these conversions into a single conversion constant.
    ${\frac {C_{A}AC_{k}KC_{\nabla }\nabla ^{\gamma }C_{p}P_{a}}{C_{\mu }\mu _{a}C_{Q}Q{_{a}}}}=C_{r}{\frac {AK\nabla ^{\gamma }P_{a}}{\mu _{a}Q{_{a}}}}=\left({\frac {AK\nabla ^{\gamma }P_{a}}{\mu _{a}Q{_{a}}}}\right)_{SI}=1$ where a = w, o, g
Notice that we have removed relative permeability which is a dimensionless parameter. This composite conversion factor is called Darcy's constant for the flux formulated equation, and it is
    $C_{r}={\frac {C_{A}C_{k}C_{\nabla }C_{p}}{C_{\mu }C_{Q}}}={\frac {C_{k}C_{\nabla }C_{A}}{C_{\mu }C_{Q}/C_{p}}}$
The pressure gradient and the gravity term are identical for the flux and the rate equations, and will, therefore, be discussed only once. The task here is to have a gravity term that is consistent with the applied units ("H-units") for the pressure gradient. We must, therefore, place our conversion factor together with the gravity parameters. We write "the parenthesis" in SI units as
    $\nabla ^{\gamma }P_{a}=\rho _{a}g$ where a = w, o, g
and rewrite it as
    $1={\frac {\rho _{a}g}{\nabla ^{\gamma }P_{a}}}$ where a = w, o, g
Now we convert each parameter and collect these conversions into a single conversion constant. First, we note that our equation is written in SI units, and that the group of parameters on the right-hand side constitute a dimensionless group. We, therefore, assume that our parameters are entered in applied units and convert them (back) to SI units.
    ${\frac {C_{\rho }\rho _{a}C_{g}g}{C_{\nabla }\nabla ^{\gamma }C_{p}P_{a}}}=C_{pdg}{\frac {\rho _{a}g}{\nabla ^{\gamma }P_{a}}}=\left({\frac {\rho _{a}g}{\nabla ^{\gamma }P_{a}}}\right)_{SI}=1$ where a = w, o, g
This gives the composite conversion factor for the consistency-conversion as
    $C_{pdg}={\frac {C_{\rho }C_{g}}{C_{\nabla }C_{p}}}$
Since our parameter group is dimensionless in SI units, we don't need to include the SI units in the units for our composite conversion factor as you can see in the second table.
This is it for the analytical equations, but when the programmer transform the flow equation into a finite difference equation and further into a numerical algorithm, they are eager to minimize the number of computational operations. Here is an example with two constants that can be reduced to one by the fusion
    $C_{cg}=C_{pdg}\cdot g$
Using industry units, the flux version of the flow equation in vector form becomes
    $\mathbf {u} _{a}=-C_{f}\mu _{a}^{-1}\mathbf {K} _{ra}\mathbf {K} \cdot \left(\nabla P_{a}-C_{pdg}\rho _{a}\mathbf {g} \right)$ where a = w, o, g
and in component form it becomes
    $u{_{a}}^{\sigma }=-C_{f}\mu _{a}^{-1}K_{ra}{^{\sigma }}_{\beta }K{^{\beta }}_{\gamma }\left(\nabla ^{\gamma }P_{a}-C_{pdg}\rho _{a}g{e_{z}}{^{\gamma }}\right)$ where a = w, o, g where $\sigma$ = 1,2,3
Using industry units, the rate version of the flow equation in vector form becomes
    $Q_{a}=-C_{r}\mu _{a}^{-1}\mathbf {A} \cdot \mathbf {K} _{ra}\cdot \mathbf {K} \cdot \left(\nabla P_{a}-C_{pdg}\rho _{a}\mathbf {g} \right)$ where a = w, o, g
and in component form it becomes
    $Q{_{a}}=-C_{r}\mu _{a}^{-1}A{_{\sigma }}K_{ra}{^{\sigma }}_{\beta }K{^{\beta }}_{\gamma }\left(\nabla ^{\gamma }P_{a}-C_{pdg}\rho _{a}g{e_{z}}{^{\gamma }}\right)$ where a = w, o, g
Darcy petroleum basic conversions :
| Symbol | dimensions | Description | Applied SI units | conversion | SI units | Field units | conversion | SI units |
| | | subscript: phase a | Industry | factor C | Academia | Industry | factor C | Academia |
| | | subscript: vector component $\sigma$, $\gamma$ | you have | multiply by | to get | you have | multiply by | to get |
| ${m_{a}}$ | M | mass | kg | 1 | kg | lb | 4,535924E-01 | kg |
| $t$ | T | time | d | 8,640000E+04 | s | d | 8,640000E+04 | s |
| x,y,z or $x^{\sigma }$ | L | position (also X,Y,Z or $X^{\sigma }$ etc.) | m | 1 | m | ft | 3,048000E-01 | m |
| L or $\Delta$x, $\Delta$y, $\Delta$z | L | length (also $\Delta$X, $\Delta$Y, $\Delta$Z, or $\Delta x^{\sigma }$ or $\Delta X^{\sigma }$ etc.) | m | 1 | m | ft | 3,048000E-01 | m |
| $V_{res}$ | L$^3$ | reservoir volume | rm | 1 | rm | rb | 1,589873E-01 | rm |
| ${v_{a}}^{\sigma }$ | L/T | pore (fluid) flow velocity at reservoir conditions | rm/d | 1,157407E-05 | rm/s | rft/d | 3,527778E-06 | rm/s |
| ${q_{a}}^{\sigma }$ | L/T | volumetric flux (Darcy velocity) at reservoir conditions | rm/d | 1,157407E-05 | rm/s | rft/d | 3,527778E-06 | rm/s |
| ${u_{a}}^{\sigma }$ | L/T | Darcy (fluid) velocity at reservoir conditions | rm/d | 1,157407E-05 | rm/s | rft/d | 3,527778E-06 | rm/s |
| ${Q_{o}}$ | L$^3$/T | surface volumetric flow rate of oil at standard conditions | sm$^3$/d | 1,157407E-05 | sm$^3$/s | stb/d | 1,840131E-06 | sm$^3$/s |
| ${Q_{g}}$ | L$^3$/T | surface volumetric flow rate of gas at standard conditions | sm$^3$/d | 1,157407E-05 | sm$^3$/s | Msft$^3$/d | 3,277413E-04 | sm$^3$/s |
| ${Q_{a}}$ | L$^3$/T | reservoir volumetric flow rate through contact surface | rm$^3$/d | 1,157407E-05 | rm$^3$/s | rb/d | 1,840131E-06 | rm$^3$/s |
| $\mu _{a}$ | M/(LT) | dynamic viscosity | cP | 1,000000E-03 | Pa $\cdot$ s | cP | 1,000000E-03 | Pa $\cdot$ s |
| $A{_{\sigma }}$ | L$^2$ | contact surface area between two grid cells or into borehole | m$^2$ | 1 | m$^2$ | ft$^2$ | 9,290304E-02 | m$^2$ |
| $K_{ra}$ | 1 | relative permeability | fraction | 1 | fraction | fraction | 1 | fraction |
| $K^{\gamma \sigma }$ | L$^2$ | absolute permeability | mD | 9,869233E-16 | m$^2$ | mD | 9,869233E-16 | m$^2$ |
| $\nabla ^{\sigma }$ | 1/L | gradient operator for $\sigma$-axis | m$^{−1}$ | 1 | m$^{−1}$ | ft$^{−1}$ | 3,280840E+00 | m$^{−1}$ |
| $P_{a}$ | (ML/T$^2$)/L$^2$ | pressure | bar | 1,000000E+05 | Pa | psi | 6,894757E+03 | Pa |
| $\rho _{a}$ | M/L$^3$ | mass density | kg/m$^3$ | 1 | kg/m$^3$ | lb/rb | 1,601846E+01 | M/m$^3$ |
| $du_{a}^{\sigma }/dt$ | L/T$^2$ | acceleration | m/s$^2$ | 1 | m/s$^2$ | ft/s$^2$ | 3,048000E-01 | m/s$^2$ |
Darcy petroleum conversion constants :
| Symbol | dimensions | Description | Value using | Applied SI units | Value using | Field units | Value using | SI units |
| $C_{f}$ | 1 | Darcy constant for volumetric flux (Darcy velocity) u | 8,527017E-03 | ${\frac {cP.rm/d/bar}{mD.m^{-1}}}$ | 6,328287E-03 | ${\frac {cP.rft/d/psi}{mD.ft^{-1}}}$ | 9,869233E-09 | ${\frac {Pa.s.rm/s/Pa}{m^{2}.m^{-1}}}$ |
| $C_{r}$ | 1 | Darcy constant for volumetric rate (Darcy rate) Q | 8,527017E-03 | ${\frac {cP.rm^{3}/d/bar}{mD.m}}$ | 1,127116E-03 | ${\frac {cP.rb/d/psi}{mD.ft}}$ | 9,869233E-09 | ${\frac {Pa.s.rm^{3}/s/Pa}{m^{2}.m}}$ |
| $C_{pdg}$ | 1 | Conversion constant for gravity term | 1,000000E-05 | ${\frac {bar/m}{kg/m^{3}.m/s^{2}}}$ | 2,158399E-04 | ${\frac {psi/ft}{lb/ft^{3}.ft/s^{2}}}$ | 1 | ${\frac {Pa/m}{kg/m^{3}.m/s^{2}}}$ |
| $g$ | L/T$^2$ | Standard acceleration of gravity | 9,806650E+00 | m/s$^2$ | 3,217405E+01 | ft/s$^2$ | 9,806650E+00 | m/s$^2$ |
| $C_{cg}$ | L/T$^2$ | fused conversion and acceleration of gravity constants | 9,806650E-05 | ${\frac {bar/m}{kg/m^{3}}}$ | 6,944445E-03 | ${\frac {psi/ft}{lb/ft^{3}}}$ | 9,806650E+00 | ${\frac {Pa/m}{kg/m^{3}}}$ |
Conversion of units is a fairly rare activity, even for technical professionals, but that is also the reason why people forget how to do it correctly.