Petroleum Knowledge Base

Pseudofunctions

A pseudofunction is a function curve obtained by correcting laboratory-measured reservoir rock-fluid property curves, used when a two-dimensional areal model approximates a three-dimensional model: static and dynamic variation information from the vertical profile is transferred into the areal model by weighted averaging. The most common are the vertical equilibrium pseudofunction and the dynamic pseudofunction, along with pseudofunctions that account for layered heterogeneity, single-well radial flow, and dual-medium characteristics.

Concept

A pseudofunction can be understood as a type of curve used only in particular situations: it is obtained by correcting the reservoir rock-fluid property curves measured in the laboratory.

Fluid movement underground is three-dimensional, so in principle it should be calculated with a three-dimensional model. But a three-dimensional model takes up a great deal of memory and computing time, and its cost is very high. In the early days of reservoir numerical simulation, computer capacity was limited, and large three-dimensional cases were hard to finish, some almost impossible to compute. So a two-dimensional areal model was used instead to approximate the three-dimensional case. An areal model, however, cannot see vertical variation, and its results sometimes differ greatly from those of a three-dimensional calculation. To narrow this gap, when rock-fluid property curves are used in the areal model, various methods are applied to take vertical variation in the profile into account to different degrees: the laboratory-measured curves are corrected so that information about variation in the profile enters the areal model. The resulting two-dimensional model is called a pseudo-three-dimensional model, and the corrected rock-fluid property curves are pseudofunction curves.

Later, large computers appeared and software technology advanced, so fairly large three-dimensional simulations could be run on computers, and pseudofunctions gradually lost the importance they once had. But the cost of large-scale three-dimensional simulation is still high, it still takes much manpower and material resources, and sufficiently large computers are not available everywhere. So in particular situations, where a three-dimensional problem is approximated as a two-dimensional one, the pseudofunction method still has important practical significance.

Another reference book defines the term differently: a pseudofunction is a set of parameters, expressed in the form of test data, that is closer to the actual reservoir situation; it is usually divided into two types, pseudo relative permeability and pseudo capillary pressure. As simulation technology developed, the use of the term was broadened, so that any correction of rock and fluid properties can be called a pseudofunction, and pseudo permeability and pseudo porosity fall under this term, as do pseudo saturation, pseudo flow rate, and pseudo viscosity.

The basic principle of the pseudofunction method is weighted averaging. Consider first the static data. Few cores can be taken from a reservoir, and fewer still of those can be used to measure relative permeability curves and capillary pressure curves. In simulation, however, a grid block is several metres to several hundred metres long and wide and several metres thick, with a volume roughly on the order of tens of thousands of cubic metres. Reservoir rock is heterogeneous, so physical property parameters measured on a small core, however accurate the measurement method, cannot represent the actual parameters of the reservoir volume contained in one grid block, or even in several grid blocks. Weighted averaging can therefore be used to assign values to a grid block, so that the assigned values are equivalent, at reservoir scale, to the actual parameters within that volume.

Consider next the dynamic side. During oilfield development, the distribution of each fluid phase in the reservoir keeps changing, and the oil-water and oil-gas interfaces keep moving. A grid block represents a large reservoir volume, and within a single time step the dynamic changes at different places in the block are often not uniform: the water content is higher here and lower there, and water may not yet have arrived at some places. But simulation treats a grid block as one basic unit, one whole: in one time step the whole grid block may not yet have seen water, and in the next time step it may suddenly be all water, with the same water saturation assigned everywhere in the block regardless of location. So weighted averaging must likewise be used to give an equivalent representation of the actual dynamic changes within the reservoir volume represented by each grid block.

There are two commonly used pseudofunction approaches. One is the vertical equilibrium pseudofunction method: first, from a mechanical analysis of the reservoir, the way fluids are distributed and change within a grid block is assumed, and then weighted averaging is used to transfer the static parameters and dynamic variation information within the grid block into the two-dimensional areal model. The other is the dynamic pseudofunction method: first, several cross-section calculations are run on a finer grid, and then the vertical static and dynamic variation information shown by the fine grid is transferred, in an equivalent way, into a two-dimensional areal model whose grid is coarser and which does not consider vertical variation. Later, other pseudofunctions appeared, including layered-heterogeneity pseudofunctions, single-well pseudofunctions that transfer radial flow information toward a well into a two-dimensional areal model, and pseudofunctions that account for dual-medium characteristics.

Calculation Methods

Gravity Segregation Vertical Equilibrium Pseudofunction

If a reservoir is very well connected vertically, the fluid phases can be taken as being in vertical equilibrium: even while production is in progress, the fluid interfaces only rise or fall uniformly in the vertical direction, vertical disturbances caused by lateral flow disappear quickly, and the equilibrium state is maintained. In that case the vertical potential gradient within any one phase is zero, and the pressure within the same phase varies with the vertical hydrostatic column. Pseudofunctions derived under this condition are generally called vertical equilibrium pseudofunctions.

Vertical equilibrium pseudofunctions can be further divided according to which force dominates. The main forces in a reservoir are gravity, capillary force, and viscous force. Except near a well, the viscous force acts mainly in the lateral direction, so when the vertical viscous force is indeed very small, the reservoir fluids can approximately reach vertical equilibrium, with gravity and capillary force dominating and balancing each other; the pseudofunction derived from this assumption is called the gravity-capillary vertical equilibrium pseudofunction. If the capillary transition zone is very small, less than 10% of the reservoir thickness, the effect of capillary force can be neglected, and fairly complete gravity segregation can be taken to have occurred in the reservoir; the pseudofunction derived from this assumption is the gravity segregation vertical equilibrium pseudofunction, shortened to the gravity segregation pseudofunction.

Take a gas reservoir with bottom water as an example to explain how the gravity segregation pseudofunction is constructed. Consider a horizontal gas reservoir with bottom water, of thickness H. When a two-dimensional areal model is used to simulate it, there is only one grid block in the vertical direction; to include the effect of the rise of bottom water, the pseudofunction method must be used: the pseudo capillary pressure curve and the pseudo relative permeability curve of the gas layer under gravity segregation vertical equilibrium are derived, so that these two curves can reflect the rise of bottom water and can be used as the corresponding curves for each grid block of the areal model.

It is assumed that the capillary pressure at the gas-water interface is zero, and the plane z=0 is taken as the reference plane, that is, the pressure on the plane z=0 is taken as the gas layer pressure. After the gas and water phase pressures are reduced to z=0 by the hydrostatic column, the two are generally not equal, and the difference between these reduced pressures is called the pseudo capillary pressure. The pseudo capillary pressure varies with pseudo saturation in a broken-line relation, with the break point where the gas-water interface returns to its original position; when the residual gas saturation is zero, the break point disappears and the pseudo capillary pressure curve becomes a straight line.

In deriving the pseudo relative permeability function, the basic principle followed is this: under the same pressure difference, the interblock flow calculated by the areal model using the pseudo relative permeability must equal the sum of the actual flows in each vertical segment within the grid block, that is, the sum of the flows of each segment after gravity segregation. When the horizontal permeability does not vary with depth, that is, when K(z) is constant, an expression for the water pseudo relative permeability can be written; the water pseudo relative permeability calculated by this formula equals the thickness-weighted average of the permeabilities of the vertical segments. From the formula it can be seen that the relation between pseudo relative permeability and pseudo saturation is still linear, with a break point on the curve; when the residual gas saturation is zero, the break point disappears and the pseudo relative permeability curve becomes a straight line. It can thus be seen that the two curves derived in this way, the pseudo capillary pressure curve and the pseudo relative permeability curve, have both become broken lines, or even straight lines; when pseudofunctions are used, the original system of equations has been linearized, so the convergence rate of the iterative solution is greatly increased.

This approach can also be extended to the derivation of the gravity-capillary vertical equilibrium pseudofunction: when the capillary transition zone is large and cannot be neglected, the effect of capillary force must be taken into account, and the distribution of fluids in the reservoir can be regarded as the result of capillary force and gravity balancing each other. Judging from the typical shape of pseudofunction curves, they are much more linear than the relative permeability curves and capillary pressure curves obtained from core analysis data; the thicker the reservoir, the more linear they are, and when the reservoir is so thick that the capillary transition zone can be neglected, the pseudofunction curves take the form found under gravity segregation vertical equilibrium, that is, broken lines or straight lines. Whichever vertical equilibrium pseudofunction is used, the degree of linearity is improved, the iteration convergence rate is increased accordingly, and convergence can be reached with fewer iterations; in some cases the total work can be reduced by about 70%, a very marked effect.

Dynamic Pseudofunction

The vertical equilibrium pseudofunction needs little laboratory data and is very simple to calculate, but its use is restricted: oilfield development practice shows that many reservoirs are poorly connected vertically, some very poorly; the effect of changes in production rate likewise cannot be neglected, so the distribution of fluids in the reservoir not only fails to form a vertical equilibrium state easily, but also often varies with time; in such cases, simulating with the vertical equilibrium assumption brings large errors. To obtain a better approximation, the dynamic pseudofunction can be used. Like the vertical equilibrium pseudofunction, the dynamic pseudofunction also uses weighted averaging, but it is not built on an approximate assumption such as vertical equilibrium; instead, it is built entirely on the simulation results of a cross-section model, which are organized by a certain method into pseudofunctions and then used in the two-dimensional areal model. The cross-section model that provides the vertical variation data can use a very fine grid, so in principle the dynamic pseudofunction can transfer the dynamic behaviour of the cross section into the areal model and give results closer to three-dimensional simulation.

The most commonly used dynamic pseudofunction in reservoir simulation is the method proposed by Kyte and Berry: first, several representative cross sections are cut from the reservoir, and a cross-section model is built on each; the grid of the cross-section model should be divided as finely as possible so that its results reflect the dynamics of the cross section well. To distinguish them, the grid of the areal model that uses pseudofunctions is called the "areal block", and the grid of the refined cross-section model is called the "cross-section block"; parameters with an overbar are "pseudo" functions, and those without an overbar are the original parameters. For example, in the illustrated cross section, the cross-section model has 5×15 grid blocks, and the corresponding coarse-grid cross section in the areal model has three blocks in the x direction, denoted Block I, Block II, and Block III; the number of cross-section model grid blocks corresponding to one block of the areal model should be odd in both the vertical and the horizontal directions, so that the centre of the areal model grid block lines up exactly with the grid node at the centre of the column of the cross-section model.

The steps for constructing the pseudofunction of an areal block are as follows:

  1. First calculate the pore volume of the cross-section blocks in the middle areal Block II: Block II corresponds to columns 6-10 of the cross-section blocks, with 5 layers of grid blocks in each column;
  2. Then calculate the Kh value at the interfaces between columns of cross-section grid blocks: the formula takes account of the effect of grid block length on flow; by analogy between Darcy's law and Ohm's law in electricity, the flow resistance is 1/Kh, and the result of the formula is the reciprocal of the flow resistance calculated by the parallel formula;
  3. Next calculate the absolute permeability between areal Block II and Block III: the harmonic average is used here, which can be understood by the series formula;
  4. Then calculate the average water saturation in areal Block II: a weighted average by the pore volume of the cross-section grid columns;
  5. Then calculate the phase flow between areal Block II and Block III;
  6. Then calculate the phase pressure of the areal block: first reduce the pressure of each grid block in the cross-section grid corresponding to the middle position of Block II, by the hydrostatic column, to the grid point corresponding to the centre of the block, and then take the weighted average of these pressures, weighted by the grid-block K·Kr·h (permeability times relative permeability times thickness);
  7. Calculate the areal block pseudo capillary pressure from the difference of the phase pressures: the areal block pseudo capillary pressure is defined as the difference of the phase pressures of the areal block;
  8. Finally, use the Darcy formula to calculate the pseudo relative permeability value between areal Block II and Block III.

Following this procedure, the pseudo saturation, pseudo capillary pressure, and pseudo relative permeability values at different times are calculated in turn, and the pseudo capillary pressure curve and the pseudo relative permeability curve can be drawn.

The shape of a pseudofunction curve depends not only on rock properties, but also on the initial water saturation of the formation and on the fluid flow rate; in a formation with heterogeneous rock and fluid properties, the pseudofunction curve of each block may be different. Giving each block its own pseudofunction curve would of course be best, but it takes a great deal of work and uses much computer memory; so where the formation and fluid properties are fairly homogeneous and the fluid flow rate does not change much, as few pseudofunctions as possible should be used to simulate flow over a fairly large area. To reduce the number of pseudofunction curves further, multivariate pseudofunctions can be constructed: for example, in an area where the initial water saturation of the formation is constant or nearly so, the simulation results of the cross-section model can be used to construct a set of pseudo relative permeability curves at different fluid flow rates, each curve corresponding to one constant flow rate; with this set of curves brought into the areal model, the relative permeability can be interpolated as a two-variable function of saturation and fluid flow rate, and the number of pseudofunction curves can thus be greatly reduced.

When this kind of dynamic pseudofunction is used, the size of the areal block no longer adds any numerical dispersion error: the numerical dispersion error in a pseudo-three-dimensional calculation depends only on the grid size in the cross-section model, and has nothing to do with the size of the areal block; this is one important capability of this dynamic pseudofunction. It can also transfer the effects of different mobility potentials in different layers of the cross-section model into the areal model, which is another capability of practical significance. Example calculations show that, under certain conditions, a pseudo-three-dimensional simulation using this dynamic pseudofunction method gives results quite close to those of three-dimensional simulation.

Analytical Pseudofunctions and Well Pseudofunctions

Another reference book divides the most common analytical interblock pseudofunctions into two types: vertical equilibrium pseudofunctions (including the gravity segregation flow pseudofunction and the capillary-gravity vertical equilibrium pseudofunction) and dynamic interblock pseudofunctions. Analytical pseudofunctions first assume one thing: the volume-average water saturation of the whole unit is used as the water saturation of the finite-difference grid unit. The volume-average water saturation is calculated by weighting the water saturation of each layer by pore volume. The formulas assume that the Δx and Δy of the simulation grid unit are both constant, that is, that the finite-difference grid unit is a rectangular parallelepiped.

The segregation flow pseudofunction is generated in these steps: first assume a water saturation value; then calculate the height of the swept volume from the swept volume height formula; then calculate the relative permeability pseudofunction from the relative permeability pseudofunction formula; then plot the pseudofunction against the assumed water saturation. The swept volume height formula is of straight-line form, and the resulting pseudofunction is likewise of straight-line form. At first it is assumed that capillary pressure can be neglected, so the corresponding capillary pressure pseudofunction is zero at all water saturations. The gravity-capillary vertical equilibrium pseudofunction assumes that the reservoir fluids are in a continuous state of capillary force and gravity in balance; applying Darcy's law to each phase in the geological layers, together with Darcy's law for the fluids in the grid block, gives an expression for the relative permeability pseudofunction.

An interblock pseudofunction describes fluid flowing from one grid block to a neighbouring grid block, but it does not necessarily describe the flow of fluid from a grid block into a wellbore. Near a well, streamlines often concentrate and coning occurs, and the grid block containing the well needs special treatment to reflect this effect; it is in this situation that the well pseudofunction was proposed, to describe flow near the wellbore. There are three commonly used methods. The first uses the pseudo relative permeability method, transferring the effect of vertical flow into the well-containing grid block of a two-dimensional areal simulator; this method broadly reflects the dynamics of vertical flow around the well, and the result is a pseudo relative permeability curve for use in the well grid of a Cartesian coordinate simulator, which in general differs from the relative permeability curve used for interblock flow. The second is the semi-analytical method; its main drawback is that it is very difficult to obtain an expression for the solution that reflects the well effect, so simplifying assumptions must be made, which greatly restricts the method and prevents its general application. The third is to construct a pseudofunction: use a well coning model to generate a pseudofunction, convert it for use in a Cartesian coordinate system, and then apply the function back to that simulator. Emmanuel and Cook proposed a method for generating dynamic well pseudofunctions, similar to the method of Kyte and Berry; in this method, a single-well radial flow model is used in place of the cross-section model. If both interblock pseudofunctions and well pseudofunctions are used in a simulation study, the grid block containing the completion has two sets of relative permeability and capillary pressure curves, one for interblock calculations and the other for inflow performance calculations.

Influencing Factors and Considerations

  1. Conditions of applicability. The analytical pseudofunction method can only be used if the basic assumptions about reservoir dynamics are first satisfied: these assumptions are the basis for deriving reasonable equations describing interblock fluid flow, so analytical pseudofunctions can only be used where the basic assumptions hold. After a field is put on production, the production rate changes greatly, the reservoir itself is poorly connected vertically, and vertical disturbances caused by lateral fluid movement do not disappear for a long time, so there is a clear potential gradient in the vertical direction of the reservoir, the conditions for vertical equilibrium no longer hold, and the basic assumptions for vertical equilibrium are violated; in that case the concepts discussed above cannot be applied. The dynamic pseudofunction should be used instead in such a case.
  2. Number of pseudofunction curves. The shape of a pseudofunction curve depends on rock properties, the initial water saturation of the formation, and the fluid flow rate; in a heterogeneous formation the pseudofunction curve of each block may be different; where properties are fairly homogeneous and the flow rate does not change much, as few pseudofunctions as possible should be used to simulate a fairly large area, and multivariate pseudofunctions can also be constructed to reduce the number of curves.
  3. Valid range of the dynamic pseudofunction. Generating a dynamic interblock pseudofunction requires no prior assumption: a fine-grid model can represent the geological conditions of a given reservoir, and the reservoir mechanisms are all considered in the fine-grid model; these dynamic interblock pseudofunctions are valid only for the cross section that generated them, so several typical cross sections must be selected in a simulation study. Likewise, if the cross section changes (for example, if an infill well is drilled), the pseudofunctions must be generated again.
  4. Selection principle. The segregation flow pseudofunction is selected when the capillary transition zone is much thinner than the grid unit and capillary pressure can be neglected; when the two thicknesses are approximately equal and viscous forces do not dominate, a vertical-equilibrium (VE) pseudofunction can be used; when the transition zone is much thicker than the grid unit, the rock curves are suitable; the dynamic pseudofunction can be used in all cases, but generating it requires an additional cross-section model.
  5. Division of work with Grid Upscaling. Rock curves describe flow at core scale, and converting them to a scale usable in reservoir simulation is done with pseudofunctions; upscaling handles the scale conversion of static geological parameters, while pseudofunctions handle the equivalent transfer of vertical dynamic effects, and the two are used together.

References

  1. Han Dakuang; Chen Qinlei; Yan Cunzhang. Fundamentals of Reservoir Numerical Simulation (in Chinese). Petroleum Industry Press, 1993.
  2. Zhang Liehui. Fundamentals of Oil and Gas Reservoir Numerical Simulation (in Chinese). Petroleum Industry Press, 2005.