Governing equations in curvilinear co-ordinates
A curvilinear grid is characterized by the co-ordinates of the grid points, i.e.
(3.89)
(3.90)
The four-sweep method is unchanged, so in the first sweep action densities in the points and are used to compute the action densities
in the point . Numerical approximations are obtained by a two-dimensional Taylor expansion with respect to the point
.
The differences in quantities between neighbouring grid points in the curvilinear grid are denoted as follows
(3.91)
and
(3.92)
The partial derivatives can be found from the two-dimensional Taylor expansions
(3.93)
and
(3.94)
It follows that the partial derivatives can be approximated by
(3.95)
and
(3.96)
where
(3.97)
Thus, in curvilinear co-ordinates the complete propagation terms (including time-derivative, but ignoring dependence on and temporarily) read
where
(3.99)
Here, the superscript denotes the new time level , and the old time level . The equation for a stationary computation is found
by putting to 0.
Again, the marching method is stable as long as the propagation direction towards the point is enclosed between the lines connecting this point
with its neighbours and . It can be shown that this is the case if
(3.100)
This set of criterions enables the SWAN program to decide whether a certain spectral direction does belong in the sweep which is being processed (in
this the first sweep).
In the second sweep,
, etc. and
, etc. In the third sweep,
, etc. and
, etc. In the fourth sweep,
, etc. and
, etc. Otherwise, all of the above equations and conditions remain
the same.
Conservation of action in the numerical approximation can be demonstrated for the triangle of which the corners are the three points , and .
If for each side of this triangle the energy flux is computed as the inner product of the average of and an inward-pointing normal of the side itself, then the
three energy fluxes are exactly in balance assuming that the situation is stationary, and the source term is zero. In this case it is found that
|
|
|
|
|
|
|
(3.101) |
The SWAN team 2024-09-09