Model QC
Learning objectives
- Say what a model has to pass before a run is spent on it: a stable time step, enough points per wavelength, a small enough delay over the longest path, and numbers that are possible
- Check a time step against the stability limit of the fastest rock and a cell against the slowest rock's wavelength, and say why Alford, Kelly and Boore's count is only the entry rule
- Read the delay of a wave after a path from the engine's own dispersion relation, and find the largest cell a path allows
- Check a layer's Vp/Vs, density and top reflection coefficient, and say what a passing preflight does and does not promise
The Check That Saves the Run
Part 9 built earth models (Sections 9.1 to 9.4) and wrote one out for another program (Section 9.5). One question is left before an engine is asked to run any of them: on this grid, with this time step and this source, will the run give an answer worth reading? A wave-equation run can take hours, and a model that was never going to work costs as much as one that was. The checks that tell the two apart cost a few lines of arithmetic, and each is a rule the book has already derived.
The figure holds the standard shale on both sides of one layer whose P velocity, ratio of P to S velocity and density you enter. It starts as the standard gas sand, 2.34 km/s, 1.48 and 2.04 g/cc, rounded to 10 m/s and 0.01. The run is the book's acoustic engine on 5 m cells with a time step of 0.45 ms, the fourth-order Laplacian, the 30 Hz Ricker and a longest path of 1000 m, the diagonal of the standard 800 by 600 m model. Six checks decide whether to run: the stability of the step, the points per wavelength, the delay after the path, and the layer's , density and contrast. Plate (a) is the cell against the time step, (b) the delay against the points per wavelength, (c) the layer's and (d) its density and the reflection coefficient of its top.
Stable Is Not Accurate
The first check cannot be bargained with. The fastest rock sets the time step: its Courant number must stay under the limit of the stencil, 0.707 for the second-order Laplacian and 0.612 for the fourth-order one (Section 4.3; Lines, Slawinski and Bording, 1998). The shale's 2.80 km/s on 5 m cells at 0.45 ms gives = 0.25, 41 percent of the fourth-order limit, which is a step of 1.09 ms. Enter a layer faster than the shale and the limit falls with it: at 4.50 km/s it is 0.68 ms, and a step of 1.00 ms, inside the shale's limit, is 147 percent of it, a Courant number of 0.90, and the run would blow up.
Stability is only the entry. The second check is the count of Alford, Kelly and Boore (1974): “ten or more grid points per wavelength at the frequency of the upper half-power point should be adequate” for the second-order scheme, and the fourth-order scheme “seems to produce accurate results at five grid points per wavelength” (Section 4.4). The slowest rock has the shortest wavelength, so it sets the count. The gas sand's upper half-power frequency is 43.2 Hz and its wavelength 54 m, so 5 m cells put 10.8 points on it, over both counts. The largest cell that meets the fourth-order count is 10.8 m.
Now choose the second-order scheme. The count is met, and the figure still says do not run. Alford, Kelly and Boore found that on a coarser grid a pulse is delayed and broadened, and that “These effects become more pronounced as the distance the pulse has traveled through the grid increases.” The engine's own dispersion relation (Section 4.4) gives the speed at which the grid carries a wave of a given number of points per wavelength, and a wave that is slow arrives late. After a path in a rock of velocity , the lateness of the upper half-power wave, of frequency , in cycles of that wave, is
The second-order scheme carries the gas sand's upper half-power wave 1.34 percent slow at 10.8 points. Section 4.4 gives 1.31 percent for the same rock at the book's Courant number of 0.25; here the step was set by the shale, so the gas sand sits at 0.21, and a smaller Courant number leaves the second-order wave a little slower. Over 1000 m, 18.5 of its wavelengths, the delay is 0.25 cycles, 5.80 ms, twice the eighth of a cycle the figure allows. The fourth-order scheme on the same cells is within 0.0050 cycles of the true arrival over that path, in the shale, the worse of the two rocks.
A grid is fit for a path, not for a wavelength. The figure scans the cells for the largest one that is stable, holds the wave and passes the delay at the time step you set. For the fourth-order scheme at 0.45 ms and 1000 m it is 9.4 m, though the count alone allows 10.8 m. Take 10 m cells: the gas sand has 5.4 points on its wavelength, over the five asked, and the wave is 0.16 cycles late after 1000 m, past the eighth allowed. Over 400 m the same grid is 0.063 cycles late and passes, because the error is paid again for every wavelength travelled. For the second-order scheme the path allows 3.6 m cells, against 5.4 m by the count, and the remedies are a finer cell or a higher-order stencil.
A smaller time step is not a more accurate one. The stencil makes a short wave slow and the time step makes it fast (Section 4.4), so on the second-order scheme raising the step from 0.45 ms to 1.20 ms, 95 percent of its limit, takes the delay from 0.25 to 0.18 cycles. It is still past the eighth allowed, but nearer. A smaller step adds stability margin and no accuracy; the cell, or the order of the stencil, is what buys it.
A Model Can Be Wrong Before It Is Run
The other three checks look at the numbers in the model, which the grid cannot see. The acoustic engine runs on P velocity alone, so a layer entered with an impossible shear velocity, or a density far from any trend, still runs and still gives an answer.
Start with the velocities. The bulk modulus follows from them and the density, , and it is positive only when . Rod Lakes of the University of Wisconsin-Madison puts the consequence plainly: “A positive bulk modulus implies Poisson's ratio greater than −1.” Enter 1.10 for the gas sand and its shear velocity is 2.13 km/s and its bulk modulus −1.1 GPa, and the check fails, though the grid and the time step pass every check of theirs. Between 1.155 and the bulk modulus is positive and Poisson's ratio is negative; the figure warns there, as a rule of its own, because none of the book's four rocks lies there. The gas sand's 1.48 gives a Poisson's ratio of 0.08 and a bulk modulus of 4.4 GPa.
The density is checked against a trend. Gardner, Gardner and Gregory (1974) relate density to P velocity in sedimentary rocks, and the book writes the relation with in km/s and in g/cc. At 2.34 km/s it gives 2.15 g/cc, and the gas sand's 2.04 is 5.3 percent under it. The figure passes a density within 10 percent of the trend, a band that is its own, and warns outside it: at 1.20 g/cc the layer would be 44 percent under. A trend is not a law, so this check warns and never fails.
The last check is the contrast. The top of the layer reflects with (Section 2.1), which for the gas sand under the shale is −0.138. The book's engine has no density, so it reflects from the velocities alone, , and gives −0.089, 35 percent too weak (Sections 4.6 and 6.6). The figure warns when the engine is more than 10 percent off, so a run on the gas sand is ready to run with a note, and it warns when the top is too weak to see, under 0.01: a layer with the shale's own impedance reflects nothing, and no grid will show it. The standard brine sand, 2.89 km/s, 1.92 and 2.25 g/cc, reflects +0.015 where the engine gives +0.016, 3 percent off, and passes all six checks.
What a Pass Means
Count the checks that pass. The default run passes five of six and warns on the contrast: ready to run, with notes. The standard brine sand passes all six. A single fail, or a delay that cannot be assessed because the run is unstable or the grid holds fewer than two points on a wavelength, says do not run.
A pass is a statement about the run and the numbers, not about the earth. The step is stable, the grid carries the wavelet over the longest path to within the delay you allowed, and the layer's numbers are possible and near a trend. The stability limits and the counts are the literature's. The delay allowed (an eighth of a cycle, or a sixteenth or a quarter), the band of 10 percent on Gardner's trend, the 0.01 below which a top is too weak to see and the 10 percent allowed between the engine's coefficient and the impedance one are the figure's own, and a reader with a sharper question will set them sharper. A pass does not say that the geology is right, that the sponge's echo is small enough for the question (Section 4.5), or that an acoustic engine is the right engine (Section 6.6). Part 10 begins from a brief: each of its five capstones asks which engine, model and grid fit a question, and the checks here are what the grid it chooses has to pass.
References
- Alford, R. M., Kelly, K. R., & Boore, D. M. (1974). Accuracy of finite-difference modeling of the acoustic wave equation. Geophysics, 39(6), 834–842.
- Gardner, G. H. F., Gardner, L. W., & Gregory, A. R. (1974). Formation velocity and density: The diagnostic basics for stratigraphic traps. Geophysics, 39(6), 770–780.
- Lakes, R. Poisson's ratio in linear isotropic classical elasticity (web page, revised 2024). University of Wisconsin-Madison. https://lakeslab.ep.wisc.edu/PoissonElas.html
- Lines, L. R., Slawinski, R., & Bording, R. P. (1998). A recipe for stability analysis of finite-difference wave equation computations. CREWES Research Report, 10.