Perfectly matched layers (PML)
Learning objectives
- Write the 1D perfectly matched layer as the damped first-order system , , and say why it lets the wave in without reflecting it
- Set a layer's damping from the amplitude it is designed to return, , and check what finite differences return against it
- Find where a layer is too thin for its grid to follow its damping
- Train a network on the column and its layer, and say what sets what a network's layer returns
A Layer Designed to Return What It Returns
A perfectly matched layer ends a cut column with more domain: below the cut the wave equation is rewritten as a damped first-order system that lets the wave in without reflecting it and decays it on its way, so that what comes back is what the layer was designed to return. Below the Marmousi2 column cut at 600 m, a 150 m layer designed to return in amplitude sends back of the pulse's energy in finite differences, its design's , and goes on matching its design down to ; a 25 m layer cannot follow past . The book's network with the same layer sends back , set by its own error and not by the design, against for Section 4.6's network with the first-order condition.
The Layer
The column, the cut, the pulse and the record are Section 4.6's: the Marmousi2 window at x = 3600 m, a 2D acoustic, constant-density slice of a synthetic model (Martin, Wiley and Marfurt), not field data, cut at 600 m where it runs at 1737 m/s, and a pulse 100 m wide sent down from 300 m in the water, followed for 500 ms. Below the cut the wave is written as two fields, the pressure-like and an auxiliary ,
which is the wave equation wherever . In the frequency domain the system is the wave equation with stretched to : the stretch is matched to the medium above at every frequency, so in the continuum the wave crosses into the layer without reflecting, and inside it decays. The layer's foot is a rigid wall, so what returns is what survives the trip down and back. With over a layer thick, that is
in amplitude, so a layer is designed by choosing : , 120 per second for 150 m and . Berenger (1994) introduced the perfectly matched layer. Komatitsch and Tromp (2003) describe the PML as very efficient for the elastic wave equation written as a first-order system in velocity and stress, and carry it to the second-order system; the system here is the acoustic, one-dimensional case.
What Finite Differences Return
The layer is solved by staggered leapfrog, on the 5 m nodes and midway, the damping averaged over the two time levels, at 0.4 ms, and each run is scored against the same scheme on the extended domain of Section 4.6. Plate (e) holds four thicknesses and six designs. Designed for , the 150 m layer returns 1.0 %, the design's 1 %; for , ; for , , the design's . A thin layer matches its design as long as the grid can follow the damping: at 25 m, five grid steps, the layer designed for returns , more than ten thousand times its design, because its damping rises too fast between nodes and the discrete layer reflects at its own steps. The cost of a layer is its thickness; its return is its design, once it is thick enough for the grid.
A Network With a Layer
The book's network learns both fields over the column and its 150 m layer, the design of : two inputs scaled by = 1800 m and = 1.2 s, three hidden layers of 32 tanh units, two outputs, 2274 parameters, trained on the residuals of both equations at 1000 collocation points for 4000 Adam steps and 1000 more at a quarter of the rate. An output transform makes the start, its downgoing rate, the free surface and the wall behind the layer exact, and exact at the start. It sends back by 500 ms, and inside the layer it is 0.04 from finite differences' field in relative L2: the layer is more domain to learn, and a second field, and what comes back is set by how well the network solves the system, not by the damping's design. Section 4.6's network, with the first-order condition as a loss term and nothing below the cut to learn, returns .
Rasht-Behesht, Huber, Shukla and Karniadakis (2021) report that their PINN for the 2D acoustic wave equation automatically satisfies absorbing boundary conditions; on this column the ending a network is given is part of what it must learn, and its error, not the ending, sets the floor.
What Comes Next
Section 4.8 weighs the formulations of Part 4 against each other on their runs.
References
- Berenger, J.-P. (1994). A perfectly matched layer for the absorption of electromagnetic waves. Journal of Computational Physics, 114(2), 185-200. doi:10.1006/jcph.1994.1159.
- Komatitsch, D. and Tromp, J. (2003). A perfectly matched layer absorbing boundary condition for the second-order seismic wave equation. Geophysical Journal International, 154(1), 146-153. doi:10.1046/j.1365-246X.2003.01950.x.
- 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.
- Rasht-Behesht, M., Huber, C., Shukla, K. and Karniadakis, G. E. (2021). Physics-informed neural networks (PINNs) for wave propagation and full waveform inversions. arXiv:2108.12035.