6.1. Perfectly Matched Layers in the Frequency Domain#
We start by introducing PMLs in the simple one-dimensional setting.
PMLs in one dimension#
Consider the one dimensional Helmholtz problem for given \(k>0\) and compactly in \((0,a)\), \(a>0\) supported \(f\) to find \(u: (0,\infty)\to\mathbb R\) such that
The last condition is the Sommerfeld radiation condition which accounts for the missing boundary condition at the right.
The general solution to (6.1) (without boundary conditions) is given by
Inserting the boundary conditions we obtain that the solution of (6.1) is given in closed form by
Note that for \(x\geq a\) this boils down to
Now the crucial observation here is that \(u\) for \(x>a\) is an analytic function which allows a holomorphic extension to \(\mathbb C\), which we also denote by \(u\). Moreover if we bend the path in the complex plane from the real axis upwards the value of \(u\) decreases exponentially with increasing imaginary part of the argument, e.g., if we choose for any \(\alpha>0\)
we have that
Note that the unwanted term \(\exp(-ikx)\) in the general solution (6.2) on the other hand increases exponentially along \(\tilde x\). We have found a way to alter the solution of the original problem in a way that it remains unchanged in the interval of interest \((0,a)\) and the Sommerfeld radiation condition reduces to the condition that the altered solution is square integrable on the real axis. This condition fits nicely into the desired variational framework.
To obtain a numerical method one now alters the Helmholtz equation such that (6.4) is the (unique) solution. Applying the chain rule one obtains easily:
For \(k>0\) the function \(\tilde u\) (6.4) is the (unique) solution to the problem to find \(\tilde u\in C^2([0,a)\cup (a,\infty))\cap L^2((0,\infty))\) such that
As usual we also may derive the weak formulation to find \(\tilde u\in H^1_0((0,\infty))\) s.t.
for all \(v\in H^1_0((0,\infty))\). Note that the weak formulation (also known as complex scaled equation) (6.13) is still posed on an unbounded domain and thus not feasible for a FEM discretization. Thus we truncate the domain to \((0,T)\) for some \(T>a\) and impose homogeneous Dirichlet or Neumann boundary conditions at \(x=T\): Namely we look for \(\tilde u\in H^1_0((0,T))\) such that
for all \(v\in H^1_0((0,T))\). Since the solution decays exponentially for \(x\to\infty\) we expect an exponentially small (with respect to the truncation \(T\)) error.
PMLs for waveguides#
Decomposition into modes and radiation condition#
The ideas from 1d can be easily carried over to waveguide geometries: Consider the Helmholtz equation on the semi infinite waveguide \(\Omega=(0,\infty)\times (0,\pi)\) with homogeneous Dirichlet boundary conditions. A decomposition of the solution \(u(x,y)\) into transversal modes yields
and the functions \(u_n\) have to solve
Again we assume that \(f_n\) vanishes for \(x>a\) and \(k\notin\mathbb N\). Then the family of general solutions \(u_n\) for \(x>a\) is given by
The radiation condition is now formulated based on the decomposition above: A solution is called outgoing if it is of the form (6.8) with
Modes with \(n<k\) are called propagating waves, while the ones with \(n>k\) are called evanescent.
Complex scaling#
Propagating solutions as defined above allow again a holomorphic continuation in \(x\)-direction. Applying the change of coordinates (6.3) to the outgoing modes (6.9) leads to
which also decay exponentially for \(\alpha>0\) and \(x\to\infty\). Thus again we may truncate the domain to \(\tilde\Omega = \Omega_{\mathrm {int}}\cup\Omega_{\mathrm{PML}}=(0,a)\times (0,\pi)\cup (a,T)\times(0,\pi)\) to obtain the PML formulation to find \(\tilde u\in H^1_0(\tilde\Omega)\) such that
for all \(v\in H^1_0((0,T))\).
Similar arguments can be applied for two-sided or three-dimensional waveguides.
Free space#
In free space \(\Omega = \mathbb R^{2,3}\) the situation is a bit more evolved, since there is no unique direction of propagation as in one dimension or waveguides. However we still may decompose the solution of the Helmholtz homogeneous equation into modes. This time we use polar coordinates to obtain for \(r\) large enough such that no sources or obstacles are present
where \(H_m^{(1,2)}\) are the (cylindrical) Hankel functions of the first and second kind and \(\Phi_n\) are the cylindrical harmonics.
The Hankel functions in the decomposition above now play the role of the exponentials in one dimension and the waveguide case: The Hankel functions of the first kind are the sought outgoing waves and the ones of the second kind are the unwanted incoming waves. Thus, the radiation condition can again be stated as
for \(r>r_0\) such that all sources and obstacles are contained in the ball \(B_{r_0}(0)\).
The Hankel functions also have a suitable asymptotic behavior for the idea of complex scaling to work, namely
Thus, as long as the complex scaling \(x\mapsto \tilde {\mathbf x}\) has the property that \(\Im\left(\tilde{\mathbf x}(\mathbf x)\right)\to \infty\) for \(|\mathbf x|\to\infty\) we obtain that the (wanted) Hankel function of the first kind is exponentially damped, while the (unwanted) Hankel function of the second kind increases.
Subsequently the complex scaled formulation is derived via the transformation rule:
Let \(J(\mathbf x)\) denote the Jacobian matrix of the (piecewise smooth) scaling \(\tilde {\mathbf x}(\mathbf x)\in\mathbb C^d\) such that \(\Im\left(\tilde{\mathbf x}(\mathbf x)\right)\to \infty\) for \(|\mathbf x|\to\infty\) and let \(\Omega_{\mathrm{int}}\) be the interior domain where \(\tilde{\mathbf x}=\mathbf x\). Then the complex scaled, radiating solution \(\tilde u\in H^1(\mathbb R^d)\) of the Helmholtz equation fulfills
for all \(v\in H^1(\mathbb R^d)\) for right hand sides \(f\) supported in \(\Omega_{\mathrm{int}}\).
Subsequently the complex scaled equation is again truncated to a finite domain and homogeneous (Dirichlet) boundary conditions are imposed.
There are several variants to choose the change of variables \(\tilde {\mathbf x}\). Two of them are presented in the following.
Cartesian scalings#
The simple idea of cartesian scalings is to superimpose scalings in \(x\) and \(y\) directions to obtain the \(\tilde x(x)\). For given values \(a_0,a_1,b_0,b_1\) such that all the sources and inhomogeneities are contained in the box \(\Omega_{\mathrm{int}}=(a_0,a_1)\times(b_0,b_1)\) we define the scaling
for some \(\alpha>0\) and where
and similar.
To implement the PML formulation one needs to derive the Jacobian matrix of the mapping \(\tilde{\mathbf x}\) which is given by
where \(\mathbf I\) denotes the identity matrix.
Cartesian scalings are very popular due to their easy implementation.
Radial scalings#
Another idea is to scale the variable in radial direction, i.e., to use
for \(\|x\|>r_0\).
Again we may directly compute the Jacobian matrix by