Free-surface boundary conditions

Part 4, Wave equations in PINN form

Learning objectives

  • State the acoustic free surface as u=0u = 0 at z=0z = 0 and hold it by an output transform U=g+c NΞΈU = g + c\,N_\theta
  • Say why a transform holds a condition exactly only if its given part gg satisfies it too, and build the image pulse that does
  • Read three stored PINN runs on the Marmousi2 column, the image transform, Section 4.1's transform and a penalty, and read their surface values and errors
  • Check the free surface of a reference by a route it does not take: d'Alembert's solution, and FWI2D's surface summed into a plane wave

Exact Whatever the Weights

The acoustic free surface is u=0u = 0 at z=0z = 0, and an output transform U=g+c NΞΈU = g + c\,N_\theta holds it exactly, whatever the network's weights, only if both its parts vanish there: cc by a factor zz, and the given part gg by being zero at the surface itself. Section 4.1's transform takes the pulse at rest as gg, and its tail there, 0.105 of the peak, is what that network holds at the surface for all time. Take instead the pulse less its image above the surface, and the same network, seed and points hold the surface at exactly 0 at every time and every checkpoint, and end 0.15 from the finite-difference field; with the surface a penalty term instead, the trained network's surface value reaches 0.148 at its worst, and yet it is the closer to FD inside, 0.07: a hard constraint buys exactness where it is imposed, not accuracy elsewhere.

Free Surface TransformInteractive figure, enable JavaScript to interact.

Two Parts, and What Each Must Hold

Lagaris, Likas and Fotiadis (1997) wrote a network's trial solution as a sum of two parts: one that satisfies the boundary and initial conditions with no adjustable parameters, and one built so as not to affect them. Section 4.1's transform,

u(z,t)=u0(z)+z (1βˆ’eβˆ’(t/Ο„)2) NΞΈ(z,t),u(z, t) = u_0(z) + z\,\big(1 - e^{-(t/\tau)^2}\big)\,N_\theta(z, t),

is of that form for the start: the second part vanishes at t=0t = 0 with its rate, so the pulse at rest is exact. Its factor zz makes the second part vanish at the surface too, but the first part does not: the Gaussian pulse 300 m deep and 200 m wide has u0(0)=eβˆ’(300/200)2u_0(0) = e^{-(300/200)^2} = 0.105 there, and the transform holds that value at the surface at every time, where the free surface is 0. The start and the surface disagree at the corner z=0z = 0, t=0t = 0, and no network can repair what its fixed part fixes.

The Image Pulse

The start that agrees with a free surface is the pulse less its mirror image above it, g(z)=u0(z)βˆ’u0(βˆ’z)g(z) = u_0(z) - u_0(-z): zero at the surface, and within the 16-bit quantum of the pulse itself below about 320 m. It is the physics of a free surface: an upgoing wave meets it and returns inverted, as if from an image of opposite sign above, a reflection coefficient of βˆ’1-1. The book's finite differences of that start, fourth order at 5 m and 0.4 ms, the surface held at zero, are checked against d'Alembert's solution in a water column, 12[g(zβˆ’vt)+g(z+vt)]\tfrac12[g(z - vt) + g(z + vt)] with gg extended oddly, to 4.1Γ—10βˆ’64.1 \times 10^{-6} at 100 ms and 400 ms, the upgoing half returning inverted at full amplitude. FWI2D holds the same condition at its top two rows of nodes: summed along xx into a plane wave, its field equals a 1D finite difference with those rows held at zero to 6.4Γ—10βˆ’66.4 \times 10^{-6}.

Three Networks

The three networks are the same: 2241 parameters, two inputs, three hidden layers of 32 tanh units, the same seed, 800 collocation points and 2500 Adam then 500 L-BFGS steps on the residual of utt=c2uzzu_{tt} = c^2 u_{zz} through the Marmousi2 column at x = 3600 m, 450 m of water over the sediments. The image transform holds the surface at 0 before training and after; its network is 1.52 from its FD field before training, 0.19 after 500 Adam steps and 0.15 at the end. The penalty run keeps the start in its transform, drops the factor zz, and adds the surface's mean squared value at 101 times, weighted 10, to its loss: it ends 0.07 from the same FD field, closer than the image transform's 0.15, with its surface off zero by up to 0.148. The factor zz makes the network's part vanish at the surface whatever the weights; the penalty leaves it free there and pays with a residue at the surface instead. On this column that trade gives the penalty the closer field inside, and the transform the exact surface. Section 4.1's run is 0.19 from its own FD field. Sukumar and Srivastava (2021) impose boundary conditions exactly with distance functions that multiply the network, which removes the error of imposing them approximately; here the factor zz is that distance, and the image is what the fixed part needs to agree with it.

What Comes Next

Section 4.6 turns to the boundaries where the wave must leave: absorbing conditions on the truncated column.

References

  • Lagaris, I. E., Likas, A. and Fotiadis, D. I. (1997). Artificial neural networks for solving ordinary and partial differential equations. arXiv:physics/9705023.
  • Sukumar, N. and Srivastava, A. (2021). Exact imposition of boundary conditions with distance functions in physics-informed deep neural networks. arXiv:2104.08426.

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