35 #ifndef layerParameters_H
36 #define layerParameters_H
49 class polyBoundaryMesh;
50 class refinementSurfaces;
95 static const scalar defaultConcaveAngle;
129 scalar featureAngle_;
131 scalar concaveAngle_;
135 scalar maxFaceThicknessRatio_;
137 label nBufferCellsNoExtrude_;
143 Switch additionalReporting_;
152 scalar layerExpansionRatio
155 const scalar totalOverFirst
195 return relativeSizes_;
201 return expansionRatio_;
210 return finalLayerThickness_;
218 return firstLayerThickness_;
235 return minThickness_;
257 return nRelaxedIter_;
265 return featureAngle_;
270 return concaveAngle_;
284 return maxFaceThicknessRatio_;
290 return nBufferCellsNoExtrude_;
295 return additionalReporting_;
301 return meshShrinker_;
314 const scalar totalThickness,
320 scalar layerExpansionRatio
325 const scalar totalThickness,
336 const scalar totalThickness,
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Simple container to keep together layer specific information.
layerParameters(const dictionary &dict, const polyBoundaryMesh &)
Construct from dictionary.
scalar finalLayerThicknessRatio(const label nLayers, const scalar expansionRatio) const
Determine ratio of final layer thickness to.
void operator=(const layerParameters &)=delete
Disallow default bitwise assignment.
const dictionary & dict() const
const labelList & numLayers() const
How many layers to add:
const scalarField & minThickness() const
Minimum overall thickness of cell layer. If for any reason layer.
scalar featureAngle() const
const scalarField & thickness() const
Wanted overall thickness of all layers.
label nRelaxedIter() const
Number of iterations after which relaxed motion rules.
const scalarField & finalLayerThickness() const
Wanted thickness of the layer furthest away.
const Switch & additionalReporting() const
scalar concaveAngle() const
label nGrow() const
If points get not extruded do nGrow layers of connected faces.
mergeFace
Enumeration defining whether to merge faces on a given patch. Read.
const List< mergeFace > & mergeFaces() const
Whether to merge boundary faces of the same layer cell.
label nBufferCellsNoExtrude() const
Create buffer region for new layer terminations.
const scalarField & firstLayerThickness() const
Wanted thickness of the layer nearest to the wall.
bool relativeSizes() const
Are size parameters relative to inner cell size or.
scalar maxFaceThicknessRatio() const
Stop layer growth on highly warped cells.
label nLayerIter() const
Number of overall layer addition iterations.
const word & meshShrinker() const
Type of mesh shrinker.
scalar layerThickness(const label nLayers, const scalar firstLayerThickness, const scalar finalLayerThickness, const scalar totalThickness, const scalar expansionRatio) const
Determine overall thickness. Uses two of the four parameters.
const scalarField & expansionRatio() const
layerSpecification
Enumeration defining the layer specification:
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.