Fundamentals / Numerical mathematics / Numerical partial differential equations / Spatial discretisation and field equations

How much of an outgoing wave reflects from the numerical boundary?

A finite grid truncates an effectively open medium. Derive an exact one-dimensional radiation condition, predict the angular reflection of its two-dimensional extension and design a pulse experiment that separates boundary reflection from interior dispersion.

Factor the one-dimensional wave equation

For a constant wave speed \(c>0\),

\[u_{tt}-c^2u_{xx}=(\partial_t-c\partial_x)(\partial_t+c\partial_x)u=0.\]

A right-moving waveform \(F(x-ct)\) satisfies \(u_t+c u_x=0\) and a left-moving waveform satisfies \(u_t-c u_x=0\). At the right boundary impose \(u_t+c u_x=0\) to transmit a purely outgoing right-moving wave; at the left boundary reverse the normal sign. This exact radiation condition requires no knowledge of \(F\) for the constant-coefficient 1D medium. A Dirichlet end instead forces a reflected amplitude minus the incident one, while a Neumann end reflects with the same sign. Both have unit reflected energy for an ideal undamped wave.

A separate energetic argument tests the sign. The interior energy \(E=\tfrac12\int(u_t^2+c^2u_x^2)dx\) has derivative \(dE/dt=c^2[u_tu_x]_{\rm left}^{\rm right}\). At a transmitting right end \(u_x=-u_t/c\), giving outward energy loss \(-c u_t^2\). Imposing the opposite sign there would permit energy injection. A dissipative boundary need not absorb perfectly: it can still reflect some of the incoming wave. The energy identity tests passivity, while a pulse-amplitude experiment tests reflection separately. An initially localised pulse that has not yet reached any boundary is a useful independent check of the interior solver.

Predict reflection as the incidence direction changes

For a flat boundary normal to \(+x\) in two dimensions, the local condition \(u_t+c u_x=0\) is exact only for normal incidence. Consider incident wave \(e^{i(k_xx+k_yy-\omega t)}\) and reflected wave of amplitude \(R\) with \(k_x\) reversed. Use \(\omega=c\sqrt{k_x^2+k_y^2}\) and place the boundary at \(x=0\). Substitution into the condition gives \((-\omega+ck_x)+R(-\omega-ck_x)=0\), hence

\[R=\frac{ck_x-\omega}{ck_x+\omega}=\frac{\cos\theta-1}{\cos\theta+1},\]

where \(\theta\) is measured from the outward normal. The reflected normal-energy fraction is \(|R|^2\) because incident and reflected magnitudes and normal speed factors match. Normal incidence gives zero. At \(60^\circ\), \(R=-1/3\) and power reflection \(1/9\); at grazing incidence its magnitude approaches one. An unspecified claim of a “nonreflecting boundary” has no definite quantitative meaning without frequency, angle, medium and discretisation.

An ideal exterior transparent condition can be expressed after transforming in tangential direction and time: \(\partial_x\hat u=ik_x\hat u\) with \(k_x=\sqrt{(\omega/c)^2-k_y^2}\) on the outgoing or decaying branch. The square root shows why a single local first derivative cannot cover all tangential frequencies exactly. Expanding the square root near normal incidence motivates higher-order absorbing boundary conditions; other methods use a carefully matched absorbing layer. The present first-order formula provides a baseline against which such alternatives can be tested. An evanescent component with imaginary normal wavenumber requires the decaying branch; interpreting it as a propagating beam with a real incidence angle would be incorrect.

Measure boundary error independently of grid dispersion

An interior finite-difference solver usually has a numerical dispersion relation \(\omega_h(k_x,k_y)\). A discrete version of the continuum boundary condition need not be exactly matched even for a strongly resolved normally incident wave, particularly if boundary and interior stencils have different dispersion errors. To isolate the two effects, first propagate the same pulse on a much longer or periodic domain until it passes the observation probe and before any distant return. Record that reference. Then repeat with the open boundary placed closer and compare at the same probe over the predicted return window. Project signals onto spatial directions or separate incident and reflected time windows to estimate amplitude and energy.

For a probe distance \(D\) from a flat boundary and a narrow incident beam at angle \(\theta\), normal group speed is \(c\cos\theta\). The time between incident and reflected peaks measured on a normal coordinate is roughly \(2D/(c\cos\theta)\), provided the probe or array also samples the reflected beam's tangential position. A point probe on an oblique pencil beam need not see both pulses at all; an extended plane-wave excitation or a probe array is more suitable for estimating the stated reflection coefficient. Run a sequence of grid refinements at fixed physical angle and wavelength. Reflection approaching the analytical \(|R|\) indicates continuum boundary-model error; reflection shrinking toward zero at normal incidence indicates discretisation mismatch.

Measure a boundary reflection across incidence angles

The plotted energy fractions follow directly by matching an incoming and a reflected plane wave at a flat boundary. One curve uses the physically correct wave speed in the first-order condition; the other lets the specified boundary speed differ from the interior. Use the angle slider to inspect the signed amplitude as well as its squared magnitude. At matched speed and sixty degrees the amplitude is minus one third and the reflected energy is about 11.11 percent. At normal incidence the matched boundary absorbs the incident plane wave completely.

Choose a boundary speed larger than the interior speed. There is then an oblique angle at which the mismatch exactly compensates the projected normal phase in this local equation. It obeys cosine of the angle equal to the reciprocal speed ratio. For a ratio 1.25 this is about 36.87 degrees. Matching this one direction sacrifices perfect normal incidence; it is not an omnidirectional improvement. The graph concerns the continuous condition. An actual spatial discretisation can add reflection through numerical dispersion, which the longer-domain pulse comparison in this unit is designed to detect.

Tutorial · identify the return signal

Determine the admissible incidence angle for one-percent reflected energy

Solve \(|R|^2\le0.01\) for a real outgoing incidence angle \(0\le\theta<90^\circ\).

Work through the solution

The amplitude criterion is \((1-\cos\theta)/(1+\cos\theta)\le0.1\), so

\[\cos\theta\ge0.9/1.1=0.81818.\]

This gives \(\theta\lesssim35.1^\circ\). Requiring one-percent amplitude instead would impose a stricter angle. A specification should state whether it concerns a field amplitude or a quadratic energy measurement.

Calculate reflection from an incorrectly tuned 1D boundary

The physical medium has speed \(c\) but the implemented condition uses \(u_t+c_bu_x=0\) with \(c_b=1.20c\). Find the normally reflected amplitude and energy fraction.

Work through the solution

The right-travelling dispersion gives

\[k_x=\omega/c.\]

Repeating the boundary substitution yields

\[R=(c_b/c-1)/(c_b/c+1)=0.20/2.20=0.0909,\]

with energy reflection 0.00826. Its phase sign differs from the negative reflection arising for oblique incidence with a correctly tuned speed. A reflected waveform's sign can thus help diagnose a mismatch rather than reporting only its energy.

Design a time window to catch a weak return

A plane pulse propagates at 200 m/s and a line of probes is 3.0 m inside the boundary. Estimate normal-incidence and \(60^\circ\) return delays. Which comparisons are needed when a 2% amplitude is measured at normal incidence?

Work through the solution

The delays are

\[2(3)/200=0.030\,\mathrm{s},\]
\[2(3)/(200\times0.5)=0.060\,\mathrm{s}.\]

The continuum boundary predicts zero at normal incidence, so check interior numerical dispersion, boundary stencil, angular spread of the finite-width excitation, signal extraction and any physical material change near the boundary. A larger reference domain and refinement at fixed wavelength distinguish numerical return from pulse tails. A 2% amplitude corresponds to \(0.04\%\) reflected energy under matching impedances, not 2% energy.

Further reading