IMPES and Fully Implicit
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):
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 , and finds them by Newton's method: each iteration solves a linear system 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.
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 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.