Numerical Dispersion
Learning objectives
- Say what numerical dispersion is: a stable scheme carrying each wave at a speed set by its points per wavelength, so that a pulse changes shape as it travels
- Read the engine's dispersion relation, and say why the stencil makes a short wave slow and the time step makes it fast
- Measure a pulse's misfit and delay after a distance on the engine, and check them against the relation's prediction
- Size a grid by Alford, Kelly and Boore's points per wavelength, and say why a long path asks for more
Stable Is Not Accurate
Section 4.3 kept the run bounded. A bounded run can still be wrong, and in a way that does not announce itself: it carries its waves at the wrong speed, and at a speed that depends on the wave. Put a plane wave on the engine's grid, a wave of wavenumber along a grid axis with points on its wavelength, so that it turns by from one cell to the next, and step it with the engine's update. It travels unchanged only if its angular frequency satisfies the scheme's dispersion relation:
where is the Courant number of Section 4.3 and is the stencil's second difference of the wave, for the second-order stencil of Section 4.2. Its speed is . In the wave equation every wave travels at ; on the grid only the long ones do. A pulse is a sum of waves of many lengths, so on the grid it changes shape as it goes. That is numerical dispersion.
The Stencil Slows a Wave, the Time Step Speeds It
The two halves of the scheme err in opposite directions. The stencil returns the curvature of a short wave too small: at ten points on a wavelength the second-order stencil's curvature is 3.2 percent short (Section 4.2), and since a speed goes as the square root of a curvature, the stencil alone, with a vanishing time step, carries that wave 1.6 percent slow. The centred time step errs the other way and speeds the wave up. For many points per wavelength the two together are
In one dimension the second-order errors cancel exactly at , a step the two-dimensional engine cannot take. Plate (b) draws the whole relation. At the book's Courant number of 0.25 the second-order stencil at Alford's ten points carries a wave 1.54 percent slow, and the fourth-order stencil at five points 0.81 percent slow. The fourth-order stencil is so accurate that the time step's share overtakes it: at 9.0 points its error changes sign, and at ten points its wave travels 0.02 percent fast.
A Pulse Through the Gas Sand
The figure fires the standard 30 Hz Ricker as a plane wave down one column of the engine, which for a wave along a grid axis is the two-dimensional engine exactly, through the slowest rock of the standard earth, the gas sand at 2.34 km/s, and records it every 100 m out to 3 km. The 43.2 Hz upper half-power frequency of the pulse has a wavelength of 54 m there. The true pulse is the one the engine recorded at the first receiver, 100 m out, moved on at 2.34 km/s; the misfit is the rms of the engine's pulse less the true one, against the true one's rms.
In the default state, the fourth-order stencil on 10 m cells, there are 5.4 points on the upper half-power wavelength, just over Alford's five. The misfit is 10.4 percent after 100 m, 51.5 percent after 900 m and 79.8 percent after 2900 m, and after 1900 m the centre of the pulse's energy is 12.7 ms late: its short waves trail behind in a ringing wake. On the book's own 5 m cells the same stencil puts 10.8 points on the wavelength, and after 1900 m the misfit is 5.5 percent with the energy on time. The second-order stencil on those cells meets its own count of ten, yet after 1900 m its pulse is 121.7 percent off the true one and its energy 20.7 ms late.
The time step can be turned against the stencil. On the 10 m cells, a Courant number of 0.50 instead of 0.25 turns the fourth-order error at the upper half-power frequency from −0.55 to +0.52 percent, and the pulse's energy arrives 2.7 ms early instead of 12.7 ms late.
The Relation Predicts the Engine
The dashed curve in plate (a) never ran the engine. It is the first receiver's pulse moved on with each frequency at the speed the dispersion relation gives it, and in the default state it lies on the engine's pulse to 0.06 percent of the pulse's rms. The relation is the engine's own arithmetic, so it predicts every misfit in plate (c) as well. Where it fails, the grid has run out: on 20 m cells at a Courant number of 0.60 the second-order grid carries nothing above 40 Hz, the frequency of its checkerboard, so the top of the pulse's band cannot travel at all, and the prediction holds only to 3.51 percent.
Points per Wavelength, and Distance
Alford, Kelly and Boore (1974) compared finite-difference seismograms with exact ones and found that “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 that the fourth-order scheme “seems to produce accurate results at five grid points per wavelength”. On a coarser grid their pulses showed “the properties characteristic of normal dispersion, i.e., they are delayed and broadened”, and “These effects become more pronounced as the distance the pulse has traveled through the grid increases.” The count holds the error per wavelength travelled. A phase velocity error of delays a wave by of its travel time, and 1900 m is 35 upper half-power wavelengths in the gas sand, so the second-order stencil's 1.31 percent at 10.8 points leaves its upper half-power wave nearly half a wavelength behind. A grid sized by the count for a short path is too coarse for a long offset or a deep target, and the remedies are a finer cell or a higher-order stencil. In a model whose velocity varies, the slowest rock sets the count, because it has the shortest wavelengths.
The error also depends on the direction of travel. Along the diagonal the second-order stencil's error is about half its error along an axis, exactly half for a vanishing time step (plate d), so on a coarse grid the wavefront of a point source is not quite a circle. Stability and dispersion both settled, the last detail of the engine is the edge of the grid, the subject of the next section.
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.