Discretization
The physical domain is mapped onto a rectangular domain in the
plane, which is called the computational domain. All points of
the domain are used, including the dry ones.
Using the relation (summation convection applied)
(5.7)
with
the components of the contravariant basevectors
defined as
(5.8)
and the Jacobian of the transformation
(5.9)
are the covariant base vectors defined by
(5.10)
The contravariant base vectors follow immediately from the covariant ones
due to:
Application of (5.7) to equation (5.5) results in
(5.13)
Note that is a derivative in the Cartesian
direction and not in the direction.
In the remainder we shall use the local numbering as given in
Figure 5.1.
Figure 5.1:
Local numbering in computational domain
|
The points (0,0), (2,0), (0,2) and so on are the vertices of the cells.
The integration cell for the finite volume method is defined by the cell
(-1,0), (0,-1), (1,0), (0,1).
Integrating (5.13) over this cell gives
where is the cell in the physical space and the
cell in the computational domain.
The four points (1,0), (0,1), (-1,0) and (0,-1) will be cell integration
points. The covariant basis vectors
are approximated by
central differences
and by linear interpolation in other points.
In these relations we have used that the step width in the computational
domain is equal to 1.
The term needs special attention. Since it concerns derivatives
in the direction, whereas all derivatives in the computational
domain are in the directions it is necessary to make some
approximation. We approximate this term by the integration path method
as outlined in Wesseling (2001).
To that end is integrated in two independent directions
and . This yields two equations to express
and
in
values of neighbours.
|
|
|
(5.17) |
|
|
|
(5.18) |
(5.17), (5.18) may be considered as two sets of equations
to express into values. Solution of this linear
system results in:
(5.19)
with
A similar formula is applied for point (0,1). Equation (5.14)
together with expression (5.19) gives one row of the discretized
equation.
The SWAN team 2024-09-09