We want to solve the following linear system of equations
(6.1)
where
is some non-symmetric penta-diagonal matrix,
is the wave action vector to be solved and
contains source terms and boundary values.
The basis for the SIP method (Stone, 1968; Ferziger and Perić, 1999) lies in the observation that an LU decomposition is an excellent
general purpose solver, which unfortunately can not take advantage of the sparseness of a
matrix. Secondly, in an iterative method, if the matrix
is a good approximation to the
matrix
, rapid convergence results. These observations lead to the idea
of using an approximate LU factorization of
as the iteration matrix
, i.e.:
(6.2)
where
and
are both sparse and
is small. For non-symmetric matrices the incomplete LU
(ILU) factorisation gives such an decomposition but unfortunately converges rather slowly. In
the ILU method one proceeds as in a standard LU decomposition. However, for every element
of the original matrix
that is zero the corresponding elements in
or
is set to zero. This
means that the product of
will contain more nonzero diagonals than the original matrix
.
Therefore the matrix
must contain these extra diagonals as well if Eq. (6.2) is to hold.
Stone reasoned that if the equations approximate an elliptic partial differential equation the
solution can be expected to be smooth. This means that the unknowns corresponding to
the extra diagonals can be approximated by interpolation of the surrounding points. By
allowing
to have more non zero entries on all seven diagonals and using the interpolation
mentioned above the SIP method constructs an LU factorization with the property that for a
given approximate solution
the product
and thus the iteration matrix
is close to
by relation (6.2).
To solve the system of equations the following iterations is performed,
starting with an initial guess for the wave action vector
an iteration is performed solving:
(6.3)
Since the matrix
is upper triangular this equation is efficiently solved by back substitution.
An essential property which makes the method feasible is that the matrix
is easily
invertible. This iterative process is repeated
until convergence is reached.
The SWAN team 2024-09-09