Generates axis aligned uniform unstructured block meshes including a NumLayers padding of boundary ghost layers.
Corner/edge boundary ghost layer elements belong to the layer with the lowest dimension.
Current limitations:
Can only generate 1D or 2D block meshes
In order to use periodic BC's with 2D meshes, Genlayers must be 0 and all walls must be periodic.
Generated regions, nodesets, and boundary ghost layers
for a 2D mesh."
Parameters
Kind
block
Bounds
2*N min/max pairs of the domain, e.g. [xmin, xmax, ymin, ymax, ...]
NumCells
N-dimension list of the number of cells in the domain, e.g. [NumX, NumY, ...]
NodeSets
2*N dimension list of strings. Names for the node sets for each of the domain faces, e.g. [xmin wall, xmax wall, ymin wall, ymax wall, ...]. At the corners
ElementSets
2*N dimension list of strings. Names for the boundary ghost layers. Note: these must begin with BC_ for each of the domain faces, e.g. [xmin wall, xmax wall, ymin wall, ymax wall, ...]. By default lower dimensions own shared elements, e.g. x/y faces are owned by the x walls, and x/y/z corners are owned by the x walls. If GenLayers is 0 this field is ignored.
GenLayers
How many surrounding layers to generate. Default is to use 0.