IMPES and Fully Implicit

Chapter 12, Running a Simulation, History Matching, and Forecasting

Learning objectives

  • Write the IMPES update: a pressure solve, then an explicit upwind saturation step
  • Write the fully implicit residual and Newton's method for it
  • Compare the work and the accuracy of the two schemes on the same flood
  • Say what limits the step of each scheme

Two Ways to Step a Flood Forward

A simulator advances in time by solving, at every step, the conservation of water and of oil in every cell. The two schemes of this section differ in what they evaluate at the new time. IMPES (implicit pressure, explicit saturation) first solves the pressure equation for the total flow with the saturations it already has, then moves each cell's saturation by what crosses its faces, taking the water fraction from the cell upstream, as in the update of Section 11.3 (The Buckley-Leverett Displacement):

Si m+1=Si m−ΔWiΔx(fw(Si m)−fw(Si−1 m)).S_i^{\,m+1} = S_i^{\,m} - \frac{\Delta W_i}{\Delta x}\left(f_w(S_i^{\,m}) - f_w(S_{i-1}^{\,m})\right).

The new saturation comes from known ones, so nothing is solved for it and a step is cheap. The price is a limit: the update is stable only while the water in a cell does not cross more than one cell in a step (the CFL condition of Section 12.2, Timestep Control and the CFL Limit), so a long step is cut into many short ones. The fully implicit scheme evaluates everything at the new time. It writes the pressure and water equations of every cell with the new pressures and saturations in them, a residual 𝐅=𝟎\mathbf{F} = \mathbf{0}, and finds them by Newton's method: each iteration solves a linear system 𝐉 δ𝐱=−𝐅\mathbf{J}\,\delta\mathbf{x} = -\mathbf{F} for a correction, and a step that does not converge is halved. The linear system has a pressure and a saturation for every cell, twice the unknowns of the pressure system IMPES solves. The book's implicit kernel follows the scheme of Lie (2019, Chapter 10) with a line search, and solves the linear systems by restarted GMRES, a Krylov method, with a two-stage preconditioner.

IMPES takes 400 explicit saturation steps of about 0.0026 PV to 1.0 PV and solvesthe pressure 100 times. The fully implicit scheme, asked for steps of 0.02 PV, 7.6times IMPES's, takes 50 steps, 250 Newton iterations and 747 linear iterations. At0.5 PV it has recovered 61.0 % of the oil in place, IMPES 61.0 % and Welge's closedform 61.0 %. At the end of the run, 1.0 PV, both balances close, the implicitscheme's to 9.8e−11 and IMPES's to 4.3e−15.(a) Water saturation (%), 0.5 PV02550751000255075100Distance from the injector (% of the slab)shock 70 %(b) Work to 1.0 PV, 0.02 PV, 7.6 × IMPES0.00250.0050.010.020.040.0810030010003000Implicit step (pore volumes)400 steps100 solves(c) Water cut (%), 61.0 % recovered0.000.250.500.751.000255075100Pore volumes injected(d) The same schemes on the Ogbon fieldSchemeStepTimes IMPES stepStepsNewtonLinearRecoveredIMPES5.9 days1668 explicitnone13 pressure solves14.5 %Fully implicit0.5 years31209199214.4 %Fully implicit1 year62106076514.3 %Fully implicit2 years12354470214.1 %Fully implicit5 years30923466913.5 %Key: grey, the exact answer; blue dots and line, IMPES; the thick dark blue line, the fully implicitscheme (in (b) its Newton iterations, the black line its linear iterations); dashed blue lines in (b),IMPES's saturation steps and pressure solves; the large dot marks your step and pore volumes.Implicit step 0.02 PV (7.6 times IMPES's step of 0.0026 PV). Newton iterations 250 (to 1.0 PV: 747linear iterations; IMPES 100 pressure solves and 400 saturation steps). Balance error 9.8e−11 (at1.0 PV, relative to the water injected; IMPES 4.3e−15). Oil recovered, implicit 61.0 % (IMPES 61.0 %,Welge 61.0 %, at 0.5 PV).

The Same Flood Both Ways

The figure floods one slab of 100 cells with the Ogbon field's fluids and curves, the flood of Section 11.3, and runs it both ways. IMPES takes 400 explicit saturation steps of about 0.0026 pore volumes (0.9 of its stability limit) and solves the pressure 100 times, and recovers 71.3 % of the oil in place at 1.0 pore volumes, where Welge's (1952) closed form gives 71.4 %. The fully implicit scheme at a step of 0.0025 pore volumes, about IMPES's own, takes 400 steps, 1223 Newton iterations and 3666 linear iterations, and recovers 71.2 %: the same answer for more work. Lengthen the step and the work falls: 250 Newton iterations at 0.02 pore volumes, 7.6 times IMPES's step, and 211 at 0.04, 15 times it, in 30 steps instead of 400.

A longer step costs accuracy. The recovery at 1.0 pore volumes falls from 71.2 % to 70.9 % at 0.02 pore volumes and 70.6 % at 0.04, and the front is smeared: at 0.6 pore volumes, just after breakthrough, the producer cuts 91.7 % water in IMPES and 92.7 % in the exact answer of Buckley and Leverett (1942), and only 76.8 % in the implicit run at 0.04. Past that the step does not lengthen. At 0.08 pore volumes Newton fails to converge, the solver halves the step once, wasting 25 iterations, and goes on at 0.04: the answer is the same, 211 Newton iterations and 70.6 %. No explicit limit caps the implicit step, but Newton's convergence does (Section 12.3, Newton Convergence and Material Balance, follows the iterations).

Which Scheme Is Cheaper?

On this flood, by the work counted, IMPES. Its 400 saturation steps need no linear solve and its 100 pressure solves have one unknown per cell, where the implicit run at 0.04 pore volumes needs 630 linear iterations on a system twice as large. The figure counts work and does not time it, so it makes no claim about seconds on a machine. What the implicit scheme buys is a step that is not tied to the explicit limit, and that limit shrinks with the cells: IMPES's step is 0.0053 pore volumes with 50 cells, 0.0026 with 100 and 0.0013 with 200, and its saturation steps 200, 400 and 800, while the pressure solves stay at 100. Where the explicit step would have to be very small, an implicit step chosen by accuracy and by Newton can be far longer, and gives up accuracy for it.

The Same Comparison on the Ogbon Field

The table in the figure repeats it on the field's flow grid, with Ogbon-1 producing, an injector down the dip, and gravity, over 10 years. IMPES's explicit step is 5.9 days: 668 saturation steps and 13 pressure solves, and 14.52 % of the oil on the flow grid recovered. The implicit scheme at one year, 62 times IMPES's step, takes 10 steps, 60 Newton iterations and 765 linear iterations and recovers 14.33 %; at five years, 309 times IMPES's step, it takes two steps and 34 Newton iterations and recovers 13.46 %. The first step needs the most iterations, 10 at one year against 6 or fewer for the rest. Every implicit run closes its water and oil balances to better than 3×10−143 \times 10^{-14} of the water injected. The volumes are the flow grid's oil, 92.8 million stb in its cells, not the field's 91.0 million stb or the tank's 93.3 million stb, and the table was computed once by the kernel, not in your browser. The field's numbers show the same trade as the slab: the implicit scheme takes steps many times IMPES's and gives up recovery for them, 0.20 points at one year and 1.06 at five (Section 12.2 reads the same table).

What the Comparison Leaves Out

The flood is incompressible, with no capillary pressure, so the pressure equation fixes the total flow and an implicit formulation needs something to fix the pressure level: here the producer holding its bottom-hole pressure does, where Lie (2019, Chapter 11) adds a little compressibility. Both schemes weight the water fraction upstream, which smears a front (Section 11.3), and the implicit scheme's long steps smear it further. A compressible, three-phase run couples more unknowns per cell, which this flood does not model. Section 12.2 takes up the explicit limit and what a step past it does: the run loses accuracy first, and then the injector's cell overfills, taking more water than its pore holds.

References

  • Buckley, S. E. and Leverett, M. C. (1942). Mechanism of fluid displacement in sands. Transactions of the AIME, 146, 107-116. SPE-942107-G.
  • Lie, K.-A. (2019). An Introduction to Reservoir Simulation Using MATLAB/GNU Octave. Cambridge University Press.
  • Welge, H. J. (1952). A simplified method for computing oil recovery by gas or water drive. Petroleum Transactions, AIME, 195, 91-98.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.