CoordinateGrid
CoordinateGrid:
Specifies each dimension of the coordinate product grid independently in its own CoordinateGrid block. (There is not a boundary condition to treat the origin of polar coordinates.)
Valid CoordinateGrid names include:
x
y
z
r
phi
dir0 (generic axes designation for specified coordinate system)
dir1 (generic axes designation for specified coordinate system)
dir2 (generic axes designation for specified coordinate system)
The exact coordinate of each grid point is internally known by Vorpal and is not available to the user. Instead, you can select break points to describe the grid. Vorpal automatically fills the sections between breakpoints. The non-uniform grid will be produced according to the following rules:
There will be a grid line exactly at the specified sectionBreaks.
There grid spacing to either side of the sectionBreaks will be approximately the corresponding value from deltaAtBreaks.
The grid will be filled in between sectionBreaks with a smoothly varying grid spacing based upon geometric expansion or contraction.
CoordinateGrid Parameters
- sectionBreaks
List of breakpoints to construct the grid points along the coordinate axis associated with each block. There is no upper limit on the number of break points specified in sectionBreaks, and there must be a value in deltaAtBreaks for each break point specified in sectionBreaks. The coordinate axis will span from the first value to the last value specified in sectionBreaks, so you must specify a minimum of two sectionBreaks.
Required Parameters:
deltaAtBreaks
(required)Grid spacing between breakpoints.
defRadius
(required,default=1meter)Default radius with which to compute physical lengths or areas for Tubular coordinates; expressed in meters. In the case of a 1D or 2D simulation using Tubular coordinates, the radial direction is ignored.
Sample usage:
defRadius = 1.00
Example CoordinateGrid Block
<CoordinateGrid z>
sectionBreaks = [0.000 0.050 0.300 0.400]
deltaAtBreaks = [0.005 0.005 0.020 0.020]
</CoordinateGrid>