This article may be too technical for most readers to understand. Please help improve it to make it understandable to non-experts, without removing the technical details. (January 2017) (Learn how and when to remove this template message) |
Morris Muskat et al. [1] [2] 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.
Symbol | Description | SI Units |
---|---|---|
subscript: phase a, vector component | ||
vector component of directional contact surface between two grid cells | m2 | |
directional contact surface between two (usually neighboring) grid cells | m2 | |
unit vector along 3rd axis (z is a reminder here: 3 is z-direction) | 1 | |
acceleration of gravity | m/s2 | |
acceleration of gravity with direction | m/s2 | |
absolute permeability as a 3x3 tensor | m2 | |
relative permeability of phase a= w, o, g | fraction | |
directional relative permeability (i.e. 3x3 tensor) | fraction | |
pressure | Pa | |
volumetric flux (Darcy velocity) through grid cell contact surface | m/s | |
volumetric flow rate through grid cell contact surface | m3/s | |
pore (fluid) flow velocity | m/s | |
Darcy (fluid) velocity along axis | m/s | |
Darcy (fluid) velocity | m/s | |
gradient operator | m−1 | |
dynamic viscosity | Pa s | |
mass density | kg/m3 | |
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 or or . 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 [3] 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
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, [4] [5] even though at least one capable method [6] 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
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
The Darcy velocity is not the velocity of a fluid particle, but the volumetric flux (frequently represented by the symbol ) of the fluid stream. The fluid velocity in the pores (or short but inaccurately called pore velocity) is related to Darcy velocity by the relation
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
We notice that the volumetric flow rate 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
In expanded (component) form it becomes
The (initial) hydrostatic pressure at a depth (or level) z above (or below) a reference depth z0 is calculated by
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
In order to simplify the terms within the parenthesis of the flow equation, we can introduce a flow potential called the -potential, pronounced psi-potential, which is defined by
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 -potential implies that
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 z0. 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
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. [7]
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.
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
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.
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
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
Now we convert each parameter and collect these conversions into a single conversion constant.
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
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
and rewrite it as
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.
This gives the composite conversion factor for the consistency-conversion as
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
Using industry units, the flux version of the flow equation in vector form becomes
and in component form it becomes
Using industry units, the rate version of the flow equation in vector form becomes
and in component form it becomes
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 , | you have | multiply by | to get | you have | multiply by | to get | ||
M | mass | kg | 1 | kg | lb | 4,535924E-01 | kg | |
T | time | d | 8,640000E+04 | s | d | 8,640000E+04 | s | |
x,y,z or | L | position (also X,Y,Z or etc.) | m | 1 | m | ft | 3,048000E-01 | m |
L or x, y, z | L | length (also X, Y, Z, or or etc.) | m | 1 | m | ft | 3,048000E-01 | m |
L3 | reservoir volume | rm | 1 | rm | rb | 1,589873E-01 | rm | |
L/T | pore (fluid) flow velocity at reservoir conditions | rm/d | 1,157407E-05 | rm/s | rft/d | 3,527778E-06 | rm/s | |
L/T | volumetric flux (Darcy velocity) at reservoir conditions | rm/d | 1,157407E-05 | rm/s | rft/d | 3,527778E-06 | rm/s | |
L/T | Darcy (fluid) velocity at reservoir conditions | rm/d | 1,157407E-05 | rm/s | rft/d | 3,527778E-06 | rm/s | |
L3/T | surface volumetric flow rate of oil at standard conditions | sm3/d | 1,157407E-05 | sm3/s | stb/d | 1,840131E-06 | sm3/s | |
L3/T | surface volumetric flow rate of gas at standard conditions | sm3/d | 1,157407E-05 | sm3/s | Msft3/d | 3,277413E-04 | sm3/s | |
L3/T | reservoir volumetric flow rate through contact surface | rm3/d | 1,157407E-05 | rm3/s | rb/d | 1,840131E-06 | rm3/s | |
M/(LT) | dynamic viscosity | cP | 1,000000E-03 | Pa s | cP | 1,000000E-03 | Pa s | |
L2 | contact surface area between two grid cells or into borehole | m2 | 1 | m2 | ft2 | 9,290304E-02 | m2 | |
1 | relative permeability | fraction | 1 | fraction | fraction | 1 | fraction | |
L2 | absolute permeability | mD | 9,869233E-16 | m2 | mD | 9,869233E-16 | m2 | |
1/L | gradient operator for -axis | m−1 | 1 | m−1 | ft−1 | 3,280840E+00 | m−1 | |
(ML/T2)/L2 | pressure | bar | 1,000000E+05 | Pa | psi | 6,894757E+03 | Pa | |
M/L3 | mass density | kg/m3 | 1 | kg/m3 | lb/rb | 1,601846E+01 | M/m3 | |
L/T2 | acceleration | m/s2 | 1 | m/s2 | ft/s2 | 3,048000E-01 | m/s2 | |
Symbol | dimensions | Description | Value using | Applied SI units | Value using | Field units | Value using | SI units |
---|---|---|---|---|---|---|---|---|
1 | Darcy constant for volumetric flux (Darcy velocity) u | 8,527017E-03 | 6,328287E-03 | 9,869233E-09 | ||||
1 | Darcy constant for volumetric rate (Darcy rate) Q | 8,527017E-03 | 1,127116E-03 | 9,869233E-09 | ||||
1 | Conversion constant for gravity term | 1,000000E-05 | 2,158399E-04 | 1 | ||||
L/T2 | Standard acceleration of gravity | 9,806650E+00 | m/s2 | 3,217405E+01 | ft/s2 | 9,806650E+00 | m/s2 | |
L/T2 | fused conversion and acceleration of gravity constants | 9,806650E-05 | 6,944445E-03 | 9,806650E+00 | ||||
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.
Acoustic theory is a scientific field that relates to the description of sound waves. It derives from fluid dynamics. See acoustics for the engineering approach.
In physics the Lorentz force is the combination of electric and magnetic force on a point charge due to electromagnetic fields. A particle of charge q moving with a velocity v in an electric field E and a magnetic field B experiences a force of
In physics, the Navier–Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of viscous fluid substances.
A continuity equation in physics is an equation that describes the transport of some quantity. It is particularly simple and powerful when applied to a conserved quantity, but it can be generalized to apply to any extensive quantity. Since mass, energy, momentum, electric charge and other natural quantities are conserved under their respective appropriate conditions, a variety of physical phenomena may be described using continuity equations.
In thermodynamics, the Onsager reciprocal relations express the equality of certain ratios between flows and forces in thermodynamic systems out of equilibrium, but where a notion of local equilibrium exists.
Darcy's law is an equation that describes the flow of a fluid through a porous medium. The law was formulated by Henry Darcy based on results of experiments on the flow of water through beds of sand, forming the basis of hydrogeology, a branch of earth sciences.
In mathematics, the Hamilton–Jacobi equation (HJE) is a necessary condition describing extremal geometry in generalizations of problems from the calculus of variations, and is a special case of the Hamilton–Jacobi–Bellman equation. It is named for William Rowan Hamilton and Carl Gustav Jacob Jacobi.
In differential geometry, the four-gradient is the four-vector analogue of the gradient from vector calculus.
The mathematics of general relativity refers to various mathematical structures and techniques that are used in studying and formulating Albert Einstein's theory of general relativity. The main tools used in this geometrical theory of gravitation are tensor fields defined on a Lorentzian manifold representing spacetime. This article is a general description of the mathematics of general relativity.
In physics the Einstein relation is a previously unexpected connection revealed independently by William Sutherland in 1904, Albert Einstein in 1905, and by Marian Smoluchowski in 1906 in their works on Brownian motion. The more general form of the equation is
The magnetic Reynolds number (Rm) is the magnetic analogue of the Reynolds number, a fundamental dimensionless group that occurs in magnetohydrodynamics. It gives an estimate of the relative effects of advection or induction of a magnetic field by the motion of a conducting medium, often a fluid, to magnetic diffusion. It is typically defined by:
Lorentz–Heaviside units constitute a system of units within CGS, named from Hendrik Antoon Lorentz and Oliver Heaviside. They share with CGS-Gaussian units the property that the electric constant ε0 and magnetic constant µ0 do not appear, having been incorporated implicitly into the unit system and electromagnetic equations. Lorentz–Heaviside units may be regarded as normalizing ε0 = 1 and µ0 = 1, while at the same time revising Maxwell's equations to use the speed of light c instead.
There are various mathematical descriptions of the electromagnetic field that are used in the study of electromagnetism, one of the four fundamental interactions of nature. In this article, several approaches are discussed, although the equations are in terms of electric and magnetic fields, potentials, and charges with currents, generally speaking.
The intent of this article is to highlight the important points of the derivation of the Navier–Stokes equations as well as its application and formulation for different families of fluids.
In fluid mechanics and mathematics, a capillary surface is a surface that represents the interface between two different fluids. As a consequence of being a surface, a capillary surface has no thickness in slight contrast with most real fluid interfaces.
The Madelung equations or the equations of quantum hydrodynamics are Erwin Madelung's equivalent alternative formulation of the Schrödinger equation, written in terms of hydrodynamical variables, similar to the Navier–Stokes equations of fluid dynamics. The derivation of the Madelung equations is similar to the de Broglie–Bohm formulation which represents the Schrödinger equation as a quantum Hamilton–Jacobi equation.
The theory of special relativity plays an important role in the modern theory of classical electromagnetism. First of all, it gives formulas for how electromagnetic objects, in particular the electric and magnetic fields, are altered under a Lorentz transformation from one inertial frame of reference to another. Secondly, it sheds light on the relationship between electricity and magnetism, showing that frame of reference determines if an observation follows electrostatic or magnetic laws. Third, it motivates a compact and convenient notation for the laws of electromagnetism, namely the "manifestly covariant" tensor form.
In fluid dynamics, the Oseen equations describe the flow of a viscous and incompressible fluid at small Reynolds numbers, as formulated by Carl Wilhelm Oseen in 1910. Oseen flow is an improved description of these flows, as compared to Stokes flow, with the (partial) inclusion of convective acceleration.
In continuum mechanics, a compatible deformation tensor field in a body is that unique tensor field that is obtained when the body is subjected to a continuous, single-valued, displacement field. Compatibility is the study of the conditions under which such a displacement field can be guaranteed. Compatibility conditions are particular cases of integrability conditions and were first derived for linear elasticity by Barré de Saint-Venant in 1864 and proved rigorously by Beltrami in 1886.
In mathematical physics, the Gordon decomposition of the Dirac current is a splitting of the charge or particle-number current into a part that arises from the motion of the center of mass of the particles and a part that arises from gradients of the spin density. It makes explicit use of the Dirac equation and so it applies only to "on-shell" solutions of the Dirac equation.