![]() ![]() ![]() ![]() Next: Driver Issues Up: CoordBase Previous: Specifying the extent of Contents
|
[scale=0.75]/home/cactus_web/CheckOut/CactusStable/arrangements/CactusBase/CoordBase/doc/domain
|
While the physical boundary has a width of zero, the computational
grid can have more than one boundary points. This boundary
size is defined by the integer parameter
boundary_size_x_lower for the lower boundary (and
similarly for the other boundaries). Figure
A3.2 shows an example
where there are two boundary points. When it is necessary to increase
the number of boundary points (e.g., to accommodate a larger stencil),
then this is the only parameter that needs to be changed.
[scale=0.75]/home/cactus_web/CheckOut/CactusStable/arrangements/CactusBase/CoordBase/doc/domain-external
|
Depending on the physical setup -- and depending on the personal
taste -- the boundary points should be located either inside or
outside of the physical boundary. The boolean parameter
boundary_internal_x_lower specifies whether the boundary
points extend inwards at the lower face. Figure
A3.3 shows the same
example, but with internal boundary points.
[scale=0.75]/home/cactus_web/CheckOut/CactusStable/arrangements/CactusBase/CoordBase/doc/domain-internal
|
Depending on the physical setup -- and depending on the personal taste -- the boundary points should either be staggered about the physical boundary, or the last boundary point should be located exactly on the physical boundary. This is specified by the boolean parameter boundary_staggered_x_lower. Figures A3.4 and A3.5 show exampled of external and internal staggered boundary points.
[scale=0.75]/home/cactus_web/CheckOut/CactusStable/arrangements/CactusBase/CoordBase/doc/domain-external-staggered
|
[scale=0.75]/home/cactus_web/CheckOut/CactusStable/arrangements/CactusBase/CoordBase/doc/domain-internal-staggered
|
Finally, the integer parameter boundary_shiftout_x_lower can be used to shift the boundary points outwards (or inwards with negative values) by multiples of the grid spacing. Figure A3.6 shows an example of an exterior, non-staggered boundary with a shiftout of one.
[scale=0.75]/home/cactus_web/CheckOut/CactusStable/arrangements/CactusBase/CoordBase/doc/domain-external-shiftout
|
The following table gives examples for common situations:
Boundary condition | internal? | staggered? | shiftout | example |
reflection symmetry, not staggered | no | no | 1 | figure A3.6 |
reflection symmetry, staggered | no | yes | 0 | figure A3.4 |
periodicity, closed boundary | no | no | 1 | figure A3.6 |
periodicity, open boundary | no | no | 0 | figure A3.2 |
periodicity, staggered boundary | no | yes | 0 | figure A3.4 |
For other boundary conditions such as Dirichlet or Robin, one can choose these parameters freely.