Concept
The variable bubble-point problem refers to a class of problems in which the bubble-point pressure itself changes, and a model describing such behavior is called a variable bubble-point model. During development, reservoir pressure rises and falls, and the reservoir fluids change phase accordingly. In different phase states, high-pressure PVT properties such as crude oil density, solution gas-oil ratio, dissolved-gas density, and viscosity follow different laws of variation with pressure, and the bubble-point pressure is the dividing point at which the law changes. However, as production and injection continue, the bubble-point pressure itself may also move, so the dividing point on the curves of high-pressure properties versus pressure moves with it.
Bubble-point crossing refers to the process in which a change in the relative magnitude of reservoir pressure and bubble-point pressure causes a change in fluid phase state: three phases of oil, gas, and water changing to two phases of oil and water, or two phases changing back to three phases, both count as bubble-point crossing in reservoir simulation. Before and after the phase change, the number of phases changes, and so do the solution variables: in three-phase flow the variables are pressure, water saturation, and gas saturation, while in two-phase flow they are pressure, water saturation, and bubble-point pressure; the laws governing the variation of high-pressure properties with pressure also differ.
Take an undersaturated reservoir whose initial reservoir pressure is above the bubble-point pressure as an example, to explain the variable bubble-point and bubble-point crossing processes and the changes inside the reservoir during them: such a reservoir initially contains no free gas, and its initial gas saturation is zero. First, depletion production lowers the pressure steadily, and the moment the pressure falls to the original bubble-point pressure, bubble-point crossing occurs, gas starts to come out of solution, and the hydrocarbon system in the reservoir changes from a single-phase liquid to a gas-liquid two-phase system. If fluid is then injected to maintain reservoir pressure, for example by starting water injection, the pressure slowly rises, the liberated gas gradually redissolves into the oil, bubble-point crossing occurs again, and the hydrocarbon system changes back from two phases to a single phase. Reservoir fluid is continuously produced and fluid is continuously injected, so the system is not closed, and the paths followed by repeated phase changes need not coincide, which is what gives rise to the variable bubble-point phenomenon: under depletion production below the original bubble-point pressure, the producing gas-oil ratio exceeds the original solution gas-oil ratio, meaning that a good deal of extra gas has been produced, so even if the pressure is raised back to the original reservoir pressure, the state point may not return to the original state point; if a large volume of gas is injected in the undersaturated state and the pressure is likewise raised back to the original pressure, more gas dissolves into the oil, the solution gas-oil ratio exceeds the original value, the fluid state may evolve along a different path, and the bubble-point pressure at the next bubble-point crossing will be higher than the original bubble-point pressure.
Bubble-point crossing treatment is indispensable, for this reason: only after the phase state of each node is known can the solution variables, and the formulas for calculating their coefficients, be determined. If the phase state of the reservoir stayed the same throughout the calculation, determining the solution variables and coefficients would present no difficulty. But during production the pressure varies from place to place in the reservoir, and under some conditions the phase state at some nodes may change; yet before each time step is calculated, it cannot be known in advance which nodes will change phase state within that step, so the calculation has to proceed on the basis of the old phase state. If the phase state indeed does not change by the end of the step, the calculated result is correct; but if the phase state changes midway through the step, the end-of-step result calculated from the start-of-step phase state must be physically absurd, for example a gas saturation below zero in a three-phase state, or a bubble-point pressure above the reservoir pressure in a two-phase state. Continuing the calculation without changing the old phase state is meaningless. Therefore, for the calculation at every node in every step to reflect the phase change faithfully and for the calculation to proceed smoothly, bubble-point crossing treatment is indispensable.
Looked at from another angle, in terms of whether the gas phase is continuous, it is the same problem: under certain conditions the gas phase may disappear in some region of the reservoir, and it may reappear. An undersaturated reservoir initially has no gas phase, and the gas phase appears once production lowers the pressure below the bubble-point pressure; water injection into a saturated reservoir makes the gas phase disappear; gas injection into an undersaturated reservoir makes the gas phase reappear; and a pressure drop near the wellbore also creates a gas phase locally. It is clear that in the black-oil model, handling the changes of the gas phase well is very important.
First, the meaning of bubble-point pressure: as pressure falls steadily, the point at which saturated crude oil just begins to release free gas is the bubble-point pressure; conversely, as pressure rises steadily, the point at which the free gas in the oil-gas system just fully dissolves into the crude oil is also the bubble-point pressure. Strictly speaking, when oil and gas coexist in one reservoir, saying that "reservoir pressure equals bubble-point pressure" is not quite accurate, and the concept of saturation pressure may be more rigorous: saturation pressure takes its value according to whether free gas exists in the grid block, taking the bubble-point pressure of the oil phase for a grid block with no free gas in the undersaturated state, and taking the pressure of that grid block for a grid block with free gas; in reservoir simulation applications this usage is retained, and the definition of bubble-point pressure still takes the meaning of saturation pressure. The three-phase flow numerical model described in Chapter 5 already takes the change of the bubble-point pressure of crude oil into account: in three-phase flow the bubble-point pressure takes the same value as the reservoir pressure, while in two-phase flow the bubble-point pressure varies on its own as an independent parameter, so that model is itself a variable bubble-point model.
Calculation Methods
1. General Practice for Bubble-Point Crossing Treatment
In the black-oil model, determining in advance which nodes will undergo bubble-point crossing and handling the bubble-point crossing problem properly has, in theory, no rigorous method at present; strictly speaking, current practice counts only as a treatment technique. In actual numerical simulation, the nodes needing bubble-point crossing treatment are usually picked out first: each node is assigned a phase state in advance, and there are two ways to assign it, the simplest being to assume that the node keeps the same phase state in the next time step, and the other being to make a rough advance estimate of the next time step's phase state by linear extrapolation from the current phase state or by some other method. Once the phase state is set, the solution variables and the coefficient formulas are determined accordingly, the calculation is run once, and then the calculated results are checked node by node; any physically unreasonable result shows that the node needs bubble-point crossing treatment.
Current bubble-point crossing treatment methods fall roughly into two classes. In the first class, the calculation is run once under the assigned phase state, and if the calculated result is physically unreasonable, it is corrected: the correction must preserve mass conservation and fit the actual situation at the change between the old and new phase states, and after the correction the calculation continues under the new phase state; solution methods without Newton iteration, such as the implicit pressure explicit saturation (IMPES) method and the semi-implicit method, generally use this class. The second class is used in the fully implicit method with Newton iteration: after the nodes that cross the bubble point are found, their phase state is changed directly, a new initial value for the iteration is estimated, and the calculation continues from that value.
2. Correction Method for the IMPES or Semi-Implicit Method
To correct a node that needs bubble-point crossing treatment, the correction method first sets up a basic assumption, and then revises the node pressure, saturations, and bubble-point pressure according to the actual change at the transition between the old and new phase states. There are two assumptions: first, the amounts of the oil, gas, and water components in the node stay as they were before and after the correction; second, the correction is completed within the current time step and does not affect neighboring nodes. Both are only approximations. The change from two phases (oil and water) to three phases (oil, gas, and water) and the change from three phases to two phases are handled differently in bubble-point crossing, so they are described separately.
Two-phase to three-phase. This can occur during depletion production, when the pressure must be falling all the way; once the pressure falls below the bubble-point pressure, gas comes out of solution, and the reservoir fluid changes from two phases to three. It can also occur during gas injection for pressure maintenance, when whether the reservoir pressure falls or rises depends on the ratio of the injected gas volume to the produced volume; the phase state changes because the crude oil cannot dissolve all the injected gas. The criterion for bubble-point crossing is that the reservoir pressure is below the bubble-point pressure before correction, which means that at some moment in the middle of the current time step the reservoir pressure has already fallen below the bubble-point pressure, and a third phase, the free gas phase, has already started to appear in the reservoir, so correction is necessary.
When the change from two phases to three phases is caused by a pressure drop, the curves of oil-component density and dissolved-gas density versus pressure each have an inflection point at the position corresponding to the bubble-point pressure. Take the oil-component density curve as an example: while the reservoir pressure is still above the bubble-point pressure, the lower the pressure, the slightly smaller the oil-component density under reservoir conditions becomes because of expansion of the oil-phase volume, moving downward along the curve; when the pressure falls to the bubble-point pressure, the density has reached the inflection point, the bubble point is crossed, and the gas phase appears. As the pressure falls further, gas separates out continuously, the oil phase loses gas and shrinks in volume, and the oil-component density increases instead, moving upward along the curve from then on. If the calculation were done on the assumption of an unchanged phase state, the density would not turn at the inflection point but would keep falling in the original direction of the curve, and the calculated oil-component density would keep decreasing, which is clearly unreasonable; it should be corrected to the point that fits the actual phase change.
When the change from two phases to three phases is caused by a pressure rise, the situation is as follows: at the end of the previous time step the reservoir pressure is still above the bubble-point pressure, and the reservoir contains only two phases, with no free gas phase. After gas is injected, the pressure rises, the injected gas keeps dissolving into the oil, and the reservoir pressure often rises very slowly; at the same time, the subsurface density of the oil component falls as gas dissolves into the oil phase, and the dissolved-gas density rises accordingly. When the reservoir pressure slowly rises to the bubble-point pressure, if the supply of injected gas is sufficient, the density curve should turn at the bubble-point pressure and follow a different curve as the pressure continues to rise. Calculated on the assumption of an unchanged phase state, the curve would keep changing in its original direction, so it should be corrected to the point that fits the actual change from two phases to three phases.
Comparing the two cases shows that, although the direction of the pressure change is opposite, the relations between the parameters before and after the correction are the same, so the two cases can be merged when the correction is made.
The procedure is as follows: parameters before correction are marked with subscript 1, and parameters after correction with subscript 2; there are only three independent variables, the pressure change, the oil saturation change, and the water saturation change, and every parameter after correction can be expressed from the parameters before correction and these three variables. On the principle that the mass of each of the oil, gas, and water components in the node is conserved before and after correction, neglecting the effect of rock compressibility, a set of conservation equations can be written; solving this set of equations gives the correction values, and from them the values of the parameters after correction can be found.
Three-phase to two-phase. This kind of change is most often met during water injection: water is injected, the pressure recovers, and free gas redissolves into the oil. Figure 6.5 shows how the parameters change before and after correction in this transition: as the pressure rises, free gas gradually dissolves into the oil; at the inflection point the free gas has fully dissolved into the oil, which means that as the pressure rises further, the reservoir pressure will exceed the bubble-point pressure, and the reservoir fluid will change from three phases to two phases, so the curve should turn at the inflection point and follow a different curve. Calculated on the assumption of the original unchanged phase state, the curve would keep changing along its original path to another point, so at this point it must be corrected to the point that fits the actual change from three phases to two phases. The criterion for bubble-point crossing is that the gas saturation, equal to 1 minus the sum of the oil saturation and the water saturation before correction, works out to less than zero: Sg = 1 - So1 - Sw1 < 0. Physically this is unreasonable, but it shows that at some moment in the middle of the current time step the gas saturation has already fallen to zero, and the reservoir has changed from three phases of oil, gas, and water to two phases. For the correction, three independent variables are taken: the pressure change, the bubble-point pressure change, and the water saturation change; from the conservation of the mass of each of the oil, gas, and water components in the node before and after correction, a set of component conservation formulas can be obtained, slightly different from those for the change from two phases to three phases; solving the equation set gives the correction values, and substituting them back into the relations between the parameters before and after correction gives the values of the parameters after correction.
The semi-implicit method can take larger time steps than the implicit pressure explicit saturation (IMPES) method, so before using this correction procedure for bubble-point crossing treatment, it is also necessary to first estimate which nodes will cross the bubble point, and to treat those nodes similarly when forming the equation coefficients; after the equations are solved, the nodes are checked one by one in the way described above for whether they have crossed the bubble point, and the nodes that have crossed are corrected.
3. Treatment in the Fully Implicit Method
In solving by the fully implicit method, the solution process iterates repeatedly, and many errors are automatically corrected during the iteration, so it is only necessary to first determine which nodes need bubble-point crossing treatment, then change the phase state of those nodes and give an initial iterate value under the new phase state, after which the calculation can continue under the new phase state, and bubble-point crossing treatment thus becomes much simpler. For the change from two phases to three phases, the criterion is still that the reservoir pressure is below the bubble-point pressure, P < Pb1, and the treatment is to set the gas saturation Sg = δ, where δ is an arbitrarily small quantity, and to give an initial iterate value; for the change from three phases to two phases, the criterion is still that the gas saturation, equal to 1 minus the sum of the oil saturation and the water saturation before correction, works out to less than zero, Sg = 1 - So1 - Sw1 < 0, and the treatment is to set the gas saturation Sg = 0, and to give an initial iterate value, so that the calculation can continue under the new phase state.
4. Variable Substitution Method and Pseudo Solution Gas-Oil Ratio Method
There are two most commonly used methods for handling gas-phase changes: the variable substitution method and the pseudo solution gas-oil ratio method. The variable substitution method treats the disappearance and reappearance of the gas phase strictly: first the conditions in the given grid block at the moment are seen clearly, and then the suitable unknowns and the constraint equation to be used are determined. It has two sets of equations, (oil-phase pressure, oil saturation, water saturation) and (oil-phase pressure, solution gas-oil ratio, water saturation), and at each step of the Newton iteration, each grid block switches to the matching set.
When the oil phase is saturated with gas (Sg>0, or the solution gas-oil ratio equals its saturated value at that pressure), the solution gas-oil ratio is not an unknown, the constraint equation is that the oil saturation equals 1 minus the sum of the water and gas saturations, and the unknowns are the oil-phase pressure, the gas saturation, and the water saturation; when the oil phase is not yet saturated, the gas saturation is zero, the constraint equation is that the oil saturation equals 1 minus the water saturation, and the unknowns are the oil-phase pressure, the solution gas-oil ratio, and the water saturation.
The pseudo solution gas-oil ratio method takes a different route: the disappearance and reappearance of the gas phase is not handled by the variable substitution approach of the numerical solution in black-oil simulation, but is achieved through the pseudo solution gas-oil ratio. The pseudo solution gas-oil ratio Rs* equals the solution gas-oil ratio Rs(po), a function of the oil-phase pressure, multiplied by a function ψ(Sg) of the gas saturation: Rs* = Rs(po)·ψ(Sg). When the gas saturation is much larger than the tolerance εg, the function takes the value 1, and otherwise Sg/(Sg+εg); the tolerance εg is the tolerance used for the disappearance and reappearance of the gas phase. This method applies only to the (oil-phase pressure, gas saturation, water saturation) formulation. With the equations used this way, each grid system behaves as if it contained a small amount of non-condensate gas, so that in practice, before saturation is reached, the gas phase can disappear. Whether this method is correct depends on three points: whether the initialization of the saturations is consistent with the pseudo solution gas-oil ratio equation, whether the pseudo solution gas-oil ratio function has been treated fully implicitly, and how the saturation is reassigned when the gas-phase saturation becomes negative during iteration within a time step.
Influencing Factors and Considerations
- The basic assumptions of the correction method are only approximate. The correction method assumes that the correction does not affect neighboring nodes, that the amount of each component in the node stays as it was before and after the correction, and that the effect of rock compressibility is neglected; the correction values calculated this way are approximate values.
- First determine which nodes will cross the bubble point. Whether the correction method or the fully implicit method is used, the nodes needing bubble-point crossing treatment must first be identified: set the phase state first, either by assuming that the phase state stays the same in the next time step, or by making a rough advance estimate by linear extrapolation, then check node by node after the calculation, and a physically unreasonable result shows that the node needs bubble-point crossing treatment.
- The semi-implicit method allows larger time steps, but estimation comes first. When the semi-implicit method is used, before correcting and carrying out bubble-point crossing treatment, first estimate which nodes will cross the bubble point, and treat those nodes similarly when forming the equation coefficients; after the equations are solved, check again and then correct.
- The fully implicit method is simpler to handle, but the nodes and the initial values are still needed. The fully implicit method only needs the nodes to be determined, the phase state to be changed, and an initial iterate value to be given under the new phase state, and the calculation can then continue.
- The three correctness conditions of the pseudo solution gas-oil ratio method. Whether this method holds depends on three points: whether the saturation initialization is consistent with the pseudo solution gas-oil ratio equation, whether the pseudo solution gas-oil ratio function has been treated fully implicitly, and how the saturation is reassigned when the gas-phase saturation becomes negative during iteration.
- Relation to the Black Oil Model. This entry describes the method for handling phase changes in black-oil simulation; for the black-oil model itself and the flow equations of the three phases of oil, water, and gas, see Black Oil Model; the disappearance and reappearance of the gas phase also involve the bottomhole conditions of the Well Model in Simulation, since a pressure drop near the well creates a gas phase locally.