Combined field integral equation (CFIE)

Download this tutorial as a Jupyter notebook

This tutorial shows how to solve the combined field integral equation (CFIE) for exterior scattering problems, as described in section 7 of Scroggs et al (2017).

Background

In this tutorial, we use consider an incident wave

\displaystyle \mathbf{E}^\text{inc}(\mathbf{x})=\left(\begin{array}{c}\mathrm{e}^{\mathrm{i}kz}\\0\\0\end{array}\right)

scattering off the unit sphere.

We let \displaystyle \mathbf{E}^\text{s} be the scattered field and look to solve

\displaystyle   \textbf{curl}\,\textbf{curl}\,\mathbf{E}-k^2\mathbf{E}=0\quad\text{in }\Omega^\text{+},\\[2mm]  \mathbf{E}\times\nu=0\quad\text{on }\Gamma,\\[2mm]  \lim_{|\mathbf{x}|\to\infty}\left(\textbf{curl}\,\mathbf{E}^\text{s}\times\frac{\mathbf{x}}{|\mathbf{x}|}-\mathrm{i}k\mathbf{E}^\text{s}\right)=0,

where \displaystyle \mathbf{E}=\mathbf{E}^\text{s}+\mathbf{E}^\text{inc} is the total electric field. This is the same problem as in the EFIE and MFIE examples.

The CFIE

Both the MFIE and the EFIE are efficient for low-frequency problems, but at higher frequencies they are unstable close to interior resonances of the domain. The CFIE is immune to these resonances, so is well suited to high-frequency problems.

The CFIE is a linear combination of the MFIE and EFIE. Its strong form is as follows:

\displaystyle -\mathsf{R}\mathsf{E}\Lambda + (\tfrac12\mathsf{Id}+\mathsf{H})\Lambda  =-\mathsf{R}(\tfrac12\mathsf{Id}+\mathsf{H})\gamma_\mathbf{t}^\text{+}\mathbf{E}^\text{inc}-\mathsf{E}\gamma_\mathbf{t}^\text{+}\mathbf{E}^\text{inc},

where \displaystyle \mathsf{R} is a regularisatior operator. In this example, we use \displaystyle \mathsf{R}=\mathsf{E}_{\mathrm{i}k}, the electric field boundary operator with wavenumber \displaystyle \mathrm{i}k. More details of the CFIE can be found in Contopanagos et al (2002).

As we did with the EFIE and MFIE, we need to carefully choose the spaces used to discretise the CFIE to ensure that all the products of operators are stable.

Implementation

First, we do the usual imports, set the wavenumber, and define the incident wave, as in the EFIE and MFIE examples.

import bempp.api
import numpy as np

= 3

grid = bempp.api.shapes.sphere(h=0.1)

def incident_field(x):
    return np.array([np.exp(1j*k*x[2]), 0.*x[2], 0.*x[2]])

def tangential_trace(x, n, domain_index, result):
    result[:] = np.cross(incident_field(x), n, axis=0)

We define the multitrace operators with wavenumbers \displaystyle k and \displaystyle \mathrm{i}k, extract the spaces and operators we will need from them, and build a grid function representing the incident wave.

multitrace = \
    bempp.api.operators.boundary.maxwell.multitrace_operator(
        grid, k)
multitrace_scaled = \
    bempp.api.operators.boundary.maxwell.multitrace_operator(
        grid, 1j*k)
identity = bempp.api.operators.boundary.sparse.multitrace_identity(
    grid, spaces=‘maxwell’)

rwg_space = multitrace.domain_spaces[0]
snc_space = multitrace.dual_to_range_spaces[1]
bc_space = multitrace.domain_spaces[1]
rbc_space = multitrace.dual_to_range_spaces[0]

calderon = .5 * identity + multitrace
grid_fun = bempp.api.GridFunction(
    bc_space, fun=tangential_trace,
    dual_space=snc_space)

= multitrace_scaled[0, 1]
E1 = multitrace[0, 1]
E2 = multitrace[1, 0]
mfie1 = calderon[0, 0]
mfie2 = calderon[1, 1]

We use the operators to form the two sides of the equation.

op = * E2 + mfie1
rhs = * mfie2 * grid_fun  E1 * grid_fun

Next, we define the incident field and its tangential trace.

co, info, its = bempp.api.linalg.gmres(
    op, rhs, use_strong_form=True,
    return_iteration_count=True)
print(“Number of iterations:”, its)
Number of iterations: 11

By running this example for a range of wavenumbers, we can see that the CFIE is indeed immune to resonances. In the following plot, the CFIE is represented by black diamonds, the MFIE by blue squares, and the Calderón preconditioned EFIE by red circles.