Discretization
Discretization of Eq. (2.19) is carried out using the finite difference method.
The homogeneous part of Eq. (2.19) is given by
(3.1)
We choose a rectangular grid with constant mesh sizes and in and direction,
respectively. The spectral space is divided into elementary bins with a constant directional
resolution and a constant relative frequency resolution
(resulting in a logarithmic frequency distribution). We denote the grid counters as
,
,
and
in , ,
and spaces, respectively. All variables, including e.g. wave number, group velocity, ambient current
and propagation velocities, are located at points . Time discretization
takes place with the implicit Euler technique. We obtain the following approximation of Eq. (3.1):
where is a time-level with a time step. In case of a stationary computation, the first
term of Eq. (3.2) is removed and denotes an iteration level.
Note that locations in between consecutive counters are reflected with the half-indices.
Subsections
The SWAN team 2024-09-09