Go to the documentation of this file.
35 #ifndef layerParameters_H
36 #define layerParameters_H
49 class polyBoundaryMesh;
50 class refinementSurfaces;
143 const scalar totalOverFirst
301 const scalar firstLayerThickess,
302 const scalar finalLayerThickess,
303 const scalar totalThickness,
312 const scalar firstLayerThickess,
313 const scalar finalLayerThickess,
314 const scalar totalThickness,
323 const scalar firstLayerThickess,
324 const scalar finalLayerThickess,
325 const scalar totalThickness,
label nGrow() const
If points get not extruded do nGrow layers of connected faces.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalarField firstLayerThickness_
scalar layerExpansionRatio(const label n, const scalar totalOverFirst) const
Calculate expansion ratio from overall size v.s. thickness of.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
layerParameters(const layerParameters &)
Disallow default bitwise copy construct.
const dictionary & dict() const
Switch additionalReporting_
scalar maxFaceThicknessRatio() const
Stop layer growth on highly warped cells.
label nRelaxedIter() const
Number of iterations after which relaxed motion rules.
void operator=(const layerParameters &)
Disallow default bitwise assignment.
label nLayerIter() const
Number of overall layer addition iterations.
const scalarField & minThickness() const
Minimum overall thickness of cell layer. If for any reason layer.
label nBufferCellsNoExtrude() const
Create buffer region for new layer terminations.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
scalar mergePatchFacesAngle() const
scalar mergePatchFacesAngle_
label nBufferCellsNoExtrude_
labelList numLayers_
How many layers to add.
Simple container to keep together layer specific information.
A list of keyword definitions, which are a keyword followed by any number of values (e....
layerSpecification layerSpec_
How thickness is specified.
const labelList & numLayers() const
How many layers to add.
scalar layerThickness(const label nLayers, const scalar firstLayerThickess, const scalar finalLayerThickess, const scalar totalThickness, const scalar expansionRatio) const
Determine overall thickness. Uses two of the four parameters.
scalarField finalLayerThickness_
Switch relativeSizes_
Are sizes relative to local cell size.
const Switch & additionalReporting() const
scalar maxFaceThicknessRatio_
static const scalar defaultConcaveAngle
Default angle for faces to be convcave.
scalar finalLayerThicknessRatio(const label nLayers, const scalar expansionRatio) const
Determine ratio of final layer thickness to.
scalar featureAngle() const
scalarField minThickness_
Minimum total thickness.
layerSpecification
Enumeration defining the layer specification:
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const scalarField & firstLayerThickness() const
Wanted thickness of the layer nearest to the wall.
const scalarField & expansionRatio() const
const scalarField & thickness() const
Wanted overall thickness of all layers.
scalarField expansionRatio_
bool relativeSizes() const
Are size parameters relative to inner cell size or.
const scalarField & finalLayerThickness() const
Wanted thickness of the layer furthest away.
const word & meshShrinker() const
Type of mesh shrinker.
scalar concaveAngle() const