Numerical Dispersion

Part 4, The Acoustic Wave Equation

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 kk along a grid axis with NN points on its wavelength, so that it turns by θ=kh=2π/N\theta = kh = 2\pi/N from one cell to the next, and step it with the engine's update. It travels unchanged only if its angular frequency ω\omega satisfies the scheme's dispersion relation:

sin⁡2 ⁣(ω Δt2)=−C24 λ(θ),\sin^2\!\left(\dfrac{\omega\,\Delta t}{2}\right) = -\dfrac{C^2}{4}\,\lambda(\theta),

where CC is the Courant number of Section 4.3 and λ(θ)\lambda(\theta) is the stencil's second difference of the wave, −4sin⁡2(θ/2)-4\sin^2(\theta/2) for the second-order stencil of Section 4.2. Its speed is ω/k\omega/k. In the wave equation every wave travels at VV; 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 fourth-order stencil on 10 m cells at a Courant number of 0.25 puts 5.4 pointson the 43.2 Hz upper half-power wavelength, at least the 5 Alford asks of it. After1900 m the engine's pulse is 70.7 % off the true one, the centre of its energy12.7 ms late; the dispersion relation, which never ran the engine, predicts thepulse to 0.06 %.(a) The pulse after 1900 m−100−50050100−1.0−0.50.00.51.0Time after the true arrival (ms)(b) Phase velocity and points235102040−10−8−6−4−202Points per wavelengthAlford 10Alford 5second orderfourth ordervertical: phase velocity error, %; dashed: the stencil alone(c) Misfit against distance0123050100150Distance past the first receiver (km)vertical: misfit, %; dots: the engine; dashed: the relation(d) Phase velocity and direction0153045607590−6−5−4−3−2−101Angle to the grid axis (degrees)vertical: phase velocity error at the upper half-power frequency, %In (a) the thick grey line is the true pulse, moved on at 2.34 km/s; the red line is the engine's andthe dashed line the dispersion relation's prediction. Red is the fourth-order stencil, teal thesecond-order one.Misfit after the travel 70.7 % (the rms of the engine's pulse less the true one after 1900 m, over100 ms either side, against the true one's rms). Delay of the pulse +12.7 ms (the centre of the pulse'senergy against the true one's, positive when late; the relation predicts +12.7 ms). Points perwavelength 5.4 (on the 43.2 Hz wavelength in the 2.34 km/s gas sand (7.8 at the 30 Hz peak); Alford asksfor 5 at fourth order). Phase velocity error -0.55 % (the stencil alone −0.90 %, the time step +0.34 %;along the diagonal +0.11 %). Engine against the relation 0.06 %. Highest frequency on the grid 87 Hz(the checkerboard's frequency at this step; the pulse's band lies under it).

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

vV−1≈−(1−C2)θ224  (second order),vV−1≈C2θ224−θ4180  (fourth order).\dfrac{v}{V} - 1 \approx -(1 - C^2)\dfrac{\theta^2}{24}\ \ \text{(second order)}, \qquad \dfrac{v}{V} - 1 \approx \dfrac{C^2\theta^2}{24} - \dfrac{\theta^4}{180}\ \ \text{(fourth order)}.

In one dimension the second-order errors cancel exactly at C=1C = 1, 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 ϵ\epsilon delays a wave by ϵ\epsilon 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.

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