The eikonal equation and fast sweeping
Learning objectives
- Write the eikonal equation and say what its solution is: the first-arrival traveltime from a source, not the wave
- Follow fast sweeping on the Marmousi2 window: the first-order upwind update, the four orderings, the passes until nothing changes
- Measure the 50 m sweep's error against a reference on a grid sixteen times finer, and say why most of it is the point source's
- Factor the straight-ray time out of the traveltime, check both sweeps against a formula, and say how the reference's own error is estimated
A Traveltime and How Wrong It Is
The eikonal equation gives the time a wavefront takes from a source to every point of a medium of velocity , and fast sweeping solves it on a grid in a handful of passes. On the Marmousi2 window's 50 m grid the plain first-order sweep from a source on the surface at the column, x = 3600 m, converges in 5 passes and is still 28.9 ms RMS and 61.7 ms at worst from a reference solved on a grid sixteen times finer. Most of that error is the point source's: factoring the straight-ray time out of cuts it to 7.9 ms RMS on the same grid. Every traveltime this Part scores, the networks' of Sections 7.2 and 7.3 among them, is scored against that reference, and the reference is itself checked against a formula.
The Equation
Put a wave of high frequency , , into the acoustic wave equation and keep the terms of order : what is left is
Its solution that matters is the first arrival: the least time over all paths from the source. It says nothing of amplitude or of waveform, and it is smooth where the medium is, with kinks where wavefronts from different paths meet, such as the head waves along the sea floor. The model is the window of the Marmousi2 model (Martin, Wiley and Marfurt) that the FWI Lab holds, 7200 m across and 1800 m deep at 50 m; it is a 2D acoustic, constant-density slice of a synthetic model, not field data. Between the nodes the slowness is taken bilinear, for every solve on this page and for the networks of the next two sections.
Fast Sweeping
At a node, take the smaller of the two neighbours' times in , , and in , , and solve the first-order upwind form of the equation for the node's time,
with the node's slowness and the grid step, keeping the larger root, or when the two neighbours are too far apart for both to have sent the wave. A node only ever lowers its time, and only from neighbours already reached: that upwind rule is what picks the first arrival. Sweep the update over the grid in the four orderings, left to right and right to left, top down and bottom up, so that every direction a ray can take is swept with the information flowing its way, and repeat until no time changes by more than 1 ns. From the column's source that takes 5 passes; plate (f) shows the largest change falling by orders of magnitude a pass. Zhao (2005) gave the method this form, upwind differences solved by Gauss-Seidel iterations in alternating sweep orderings, each ordering following one family of characteristics, at a cost linear in the number of nodes.
The Error Is the Source's
The update is exact for a plane wave, and wrong where the wavefront is curved; it is most curved at the source, so the error is made there and the rays carry it outward. Plate (c) shows it growing with distance from the source: 28.9 ms RMS over the window from the column's source, and 43.3 ms from the source at 6600 m, whose paths are the longest. Refining the grid helps slowly. At 25, 12.5 and 6.25 m the plain sweep is 18.4, 10.9 and 6.0 ms RMS: three halvings, 64 times as many nodes, for a factor of 4.8. Treister and Haber (2016) state the reason: for a point source the original eikonal equation yields inaccurate numerical solutions because of the singularity at the source, and the factored equation is known to yield a more accurate one.
The cure is to take the curvature out. Write with the straight-ray time at the source's slowness, known exactly, and sweep the same upwind update for the factor , which is smooth at the source and 1 in its water. On the 50 m grid the factored sweep is 7.9 ms RMS from the reference and 31.2 ms at worst; at 6.25 m, 1.1 ms RMS.
Checking the Reference
The reference is the factored sweep on a grid 16 times finer than the window's, 3.125 m, for each of seven surface sources (the book's own: every 1200 m from 600 m, and the column's), kept at the window's nodes to 0.1 ms. Two things check it. In the book's test medium, whose velocity grows from 1500 m/s at the surface by 1 m/s a metre of depth, the rays are arcs of circles and the traveltime has a formula; on the 50 m grid the plain sweep is 33.9 ms at worst against it and the factored sweep 6.1 ms, and both fall as the grid is refined. And the reference differs from its own solve at 6.25 m by 1.1 ms RMS and 4.3 ms at worst from the column's source, which bounds the error it may carry itself: small beside the errors it scores.
What Comes Next
Section 7.2 trains a network on the same equation over a panel of the window and scores it against this reference.
References
- Martin, G. S., Wiley, R. and Marfurt, K. J. (2006). Marmousi2: An elastic upgrade for Marmousi. The Leading Edge, 25(2), 156-166. doi:10.1190/1.2172306.
- Treister, E. and Haber, E. (2016). A fast marching algorithm for the factored eikonal equation. arXiv:1607.00973. doi:10.1016/j.jcp.2016.08.012.
- Zhao, H. (2005). A fast sweeping method for eikonal equations. Mathematics of Computation, 74, 603-627. doi:10.1090/S0025-5718-04-01678-3.