Absorbing boundary conditions (ABC)

Part 4, Wave equations in PINN form

Learning objectives

  • Cut the Marmousi2 column at a depth and score every way of ending it by the energy it sends back, against the same column continued below the cut
  • Write the first-order absorbing condition ut+v uz=0u_t + v\,u_z = 0 and say why it is exact for a wave that meets the cut head on, as every wave does in one dimension
  • Measure FWI2D's sponge on the column, and say why its returns keep arriving after the pulse has passed
  • Give a network its ending through its loss, and read what it sends back with nothing at the cut and with the condition

Every Cut Needs an End

A wave equation solved on a column cut at a depth needs something at the cut, and whatever is there sends some of the wave back into the column, where it looks exactly like a reflection from geology. Cut the Marmousi2 column at 600 m and send a pulse down, and the ending is measured by the energy it returns above the cut that the same column continued below it does not have: a rigid end returns 97 % of the pulse's energy by 500 ms, FWI2D's sponge 1.7 % by then and 10 % by 800 ms, finite differences with the first-order absorbing condition 2.1Γ—10βˆ’62.1 \times 10^{-6}. The book's network returns 0.8 % with nothing at the cut and 2.1Γ—10βˆ’42.1 \times 10^{-4} with the condition as a term of its loss.

Truncated Column AbcInteractive figure, enable JavaScript to interact.

The Cut Column and Its Reference

The column is the book's 1D problem, the Marmousi2 window at x = 3600 m, here cut at 600 m: 450 m of water at 1500 m/s, then sediments, 1737 m/s at the cut. The window is a 2D acoustic, constant-density slice of a synthetic model (Martin, Wiley and Marfurt), not field data; the cut, the pulse and the record are the book's own. The pulse is a Gaussian 100 m wide to its 1/e points, centred 300 m deep and sent down as a pure downgoing wave in water, its image above the surface keeping the field zero there; it is followed for 500 ms.

The reference is the extended domain: the same column above the cut continued 1500 m below it at the cut's 1737 m/s, deep enough that nothing returns within the record. That is what an absorbing boundary stands for, more of the same medium, and not the real column below 600 m, whose layers would send their own reflections that no boundary condition can supply. A method's returned share at a time is the squared L2 norm of its field less the extended run's over the column above the cut, against the pulse's at the start. The column's own reflections, from the sea floor and the layers above the cut, are in both and cancel; the extended run itself still holds 8.0Γ—10βˆ’48.0 \times 10^{-4} of the energy above the cut at 500 ms.

Three Endings in Finite Differences

All three are fourth-order finite differences at 5 m and 0.4 ms, each scored against the extended run by the same scheme, so that the difference is the ending alone. A rigid end holds the field at zero, a mirror: 97 % comes back, reversed in sign. FWI2D's sponge is Cerjan's taper, the field multiplied by eβˆ’w2e^{-w^2} at every step over its 20 cells of 50 m, ww rising to 0.3 at the outer edge; carried to the column's grid at the same damping per second, it is 1000 m of damping below the cut. It returns 1.7 % by 500 ms and keeps returning, since a taper reflects wherever its damping changes and the deeper parts of its 1000 m answer later: 10 % by 800 ms. The kernel gate's own test, a long pulse against a sponge of 40 nodes, finds 15 %, and 7.8 % for a pulse half as long: the longer the wave against the taper, the more it reflects.

The first-order condition is the one-way wave equation for a wave leaving downward,

ut+v uz=0atΒ z=zcut,u_t + v\,u_z = 0 \quad \text{at } z = z_{\mathrm{cut}},

which any wave f(zβˆ’vt)f(z - v t) satisfies exactly and an upgoing wave does not. Engquist and Majda (1977) derived a hierarchy of such local conditions that minimise the artificial reflections at a computational boundary. The first of them is exact for a wave meeting the boundary head on, and in one dimension every wave does. Discretised as Mur does, it returns 2.1Γ—10βˆ’62.1 \times 10^{-6}, the scheme's own error, less than the column's own reflections left above the cut. Cerjan, Kosloff, Kosloff and Reshef (1985) built their taper because such one-way conditions degrade for waves that meet the boundary at an angle, which in two or three dimensions most do. The perfectly matched layer of Berenger (1994) is Section 4.7's ending.

A Network Is Told Its Ending Only by Its Loss

The network takes depth and time, scaled by LL = 1800 m and T0T_0 = 1.2 s, into three hidden layers of 32 tanh units and one output, and enters through an output transform that makes the pulse, its downgoing rate and the free surface exact:

u=u0(z)+h(t) w1(z)+zzcut(1βˆ’eβˆ’(t/Ο„)2)NΞΈ(z,t),h(t)=Ο„(1βˆ’eβˆ’t/Ο„),u = u_0(z) + h(t)\,w_1(z) + \frac{z}{z_{\mathrm{cut}}}\big(1 - e^{-(t/\tau)^2}\big) N_\theta(z, t), \qquad h(t) = \tau\big(1 - e^{-t/\tau}\big),

with u0u_0 the pulse, w1w_1 its rate and Ο„\tau the time it takes to cross its own width in water. The book's build trains two networks from the same seed and the same 800 collocation points for 3000 Adam steps and 1000 more at a quarter of the rate. One has only the wave equation's residual: nothing at the cut, so its field there is not fixed by the problem, any wave coming up from below being as good a solution as none. It returns 0.8 % by 500 ms, 0.11 from the extended run in relative L2 over the record. The other adds the condition as a loss term at 60 times on the cut, weighted 1000, the order the gradient-norm balance of Wang, Teng and Perdikaris (2020) asks for at the seed's network (2318); at a weight of 1 the term is a hundredth of the loss and the network ignores it. It returns 2.1Γ—10βˆ’42.1 \times 10^{-4} and is 0.020 from the extended run.

What the Condition Buys a Network

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 a network with nothing at the cut does send back less than FWI2D's sponge, but 38 times what the same network sends back once the condition is in its loss: what a network does at an open edge is whatever its training happens to find, unless the loss says. And no network here reaches the finite-difference condition's 2.1Γ—10βˆ’62.1 \times 10^{-6}: a network's ending is as good as the network, and its error, not the ending's design, sets the floor.

What Comes Next

Section 4.7 ends the same column with a perfectly matched layer, in finite differences and in a network.

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.
  • Cerjan, C., Kosloff, D., Kosloff, R. and Reshef, M. (1985). A nonreflecting boundary condition for discrete acoustic and elastic wave equations. Geophysics, 50(4), 705-708. doi:10.1190/1.1441945.
  • Engquist, B. and Majda, A. (1977). Absorbing boundary conditions for the numerical simulation of waves. Mathematics of Computation, 31(139), 629-651.
  • 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.
  • Mur, G. (1981). Absorbing boundary conditions for the finite-difference approximation of the time-domain electromagnetic-field equations. IEEE Transactions on Electromagnetic Compatibility, 377-382. doi:10.1109/TEMC.1981.303970. Abstract read.
  • 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.
  • Wang, S., Teng, Y. and Perdikaris, P. (2020). Understanding and mitigating gradient pathologies in physics-informed neural networks. arXiv:2001.04536.

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