The implementation of the Capacitance Matrix method for Dirichlet
or Neumann boundary conditions
is straightforward. We consider an example that is nonstandard
and could apply to the problem of nonreflecting boundary conditions.
At the boundary of domain,
, the noslip boundary condition
for Navier-Stokes flow requires that
and
We use iteration to solve the implicit scheme at each time step.
At each step of the iteration we are required to solve for
the stream function
We have found it convenient to adopt a new technique
for solving this problem. That is, we solve the system
in a periodic domain containing
where
is
supported on the boundary of
,
. The boundary
conditions on
are
We specify the vector
by the capacitance matrix
for the system
This algorithm can be adapted to define nonreflecting boundary conditions.