Timestep Control and the CFL Limit
Learning objectives
- State the CFL condition and the Courant number of an explicit saturation update
- Explain how an explicit run fails past the limit: accuracy first, then an over-filled injector cell
- Show why a closed material balance does not prove a stable solution
- Compare IMPES's stable step on the field with a fully implicit step, and the accuracy the longer step gives up
Information Moves One Cell at a Time
An explicit saturation update, the second half of IMPES in Section 12.1 (IMPES and Fully Implicit), takes the water fraction from the upstream cell, so a change in saturation can travel at most one cell in a step. Write for the pore volumes of water injected in a step and for a cell's share of the pore volume. The update is
and its Courant number is the steepest slope of the fractional flow times the step over the cell:
The CFL condition, named for Courant, Friedrichs and Lewy (1928), asks for : for the book's first-order upwind update, the largest step it is guaranteed to take is the one at which the fastest saturation crosses one cell (Lie, 2019, Chapter 9, discretizes this transport equation with the same upstream scheme). For the Ogbon field's fluids and the curves of Section 9.4 (Relative Permeability) the steepest slope of the fractional flow is 3.42. In a slab of 100 cells the limit is therefore a step of 0.0029 pore volumes, and the figure takes the same flood at 0.5 to 4 times that step with the book's flood kernel (IMPES) and with its fully implicit solver, against the exact answer of Section 11.3 (The Buckley-Leverett Displacement).
What Happens Past the Limit
Below the limit the explicit run is accurate: after 0.50 pore volumes its profile is off by 0.7 % of water saturation on average at half the limit and by 0.5 % at the limit, where the front moves about one cell a step. Past it the first thing lost is accuracy, not the saturations. At 1.5 times the limit every saturation is still inside the physical range (the highest is 79.7 %, against the 80 % a pore holds once the residual oil is left), yet the profile is off by 3.1 %, six times its error at the limit, and the front carries wiggles. The limit is a guarantee for the whole range of saturations the update could meet, and a front that stays steep visits only part of it.
Take a longer step and the failure is of another kind. In its first step the injector's cell, at the connate water, receives of its pore volume of water, and it can take only , 0.62. It overfills past
At 2.5 times the limit the cell holds 91 % water, at 3.0 times 106 % and at 4.0 times 135 %: more water than the pore, with the excess carried into the solution for good, and the profile is off by 21 %, 34 % and 49 %. The material balance still closes to rounding in every one of these runs, because the update loses no water; it only puts too much in one place. A closed balance (Section 12.3, Newton Convergence and Material Balance) therefore cannot show that a step was stable; the saturations and the step must be read as well. Between 1.6 and 1.9 times the limit the overshoot comes and goes with how the first steps fill the cell, which is why the figure draws the whole curve in (b) and (c).
The Implicit Step
The fully implicit solver evaluates the same fluxes at the new saturations and finds them by Newton iteration. In the slab it keeps every saturation under 79.7 % at every step the figure takes, and it is off by 1.4 % at the limit, 2.1 % at 3.0 times and 2.4 % at 4.0 times: stable, but smoother than the explicit front at the limit, since backward Euler smears at every step size. Its steps are not cheaper: at 3.0 times the limit it takes 57 steps and 305 Newton iterations to reach 0.50 pore volumes, each a linear solve, which is why Section 12.1 finds IMPES the cheaper scheme on these floods by the work counted.
On the Ogbon Field
On the field the same numbers decide the cost of a run. At the start of the flood IMPES's stable step is 5.9 days, set by a single cell, the main sand's cell where Ogbon-1 produces; the 10 years of the book's flood take 668 explicit steps and 13 pressure solves. A fully implicit step of 1 year is 62 times that step and takes 10 steps, 60 Newton iterations and 765 linear iterations, and it stays stable. It recovers 14.33 % of the flow grid's oil in 10 years where IMPES recovers 14.52 %, so it gives up 0.20 points. The loss grows with the step: 14.43 % with a step of half a year (31 times IMPES's), 14.11 % with 2 years and 13.46 % with 5 years (309 times), which is 1.06 points under IMPES in 2 steps. The implicit recoveries approach IMPES's as the step falls, so IMPES, whose steps are 62 times shorter, is the reference here; neither is the converged answer. The oil is the flow grid's own, 92.8 million stb in its cells, against the field's 91.0 million stb (Section 1.1) and the tank's 93.3 million stb (Section 11.1).
What This Figure Leaves Out
The slab is one dimension, with no capillary pressure or gravity; the field is the book's two-well flood, with gravity, read from the kernel's table. A real simulator chooses its step from the saturation and pressure changes it sees and cuts it when a solve fails (Section 12.3), and it can mix the two schemes in space; the book does not model that. The limit of 1 is the bound of the first-order upwind update the book uses.
References
- Courant, R., Friedrichs, K. and Lewy, H. (1928). Über die partiellen Differenzengleichungen der mathematischen Physik. Mathematische Annalen, 100, 32-74.
- Lie, K.-A. (2019). An Introduction to Reservoir Simulation Using MATLAB/GNU Octave: User Guide for the MATLAB Reservoir Simulation Toolbox (MRST). Cambridge University Press.