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_;
312 const scalar firstLayerThickess,
313 const scalar finalLayerThickess,
314 const scalar totalThickness,
320 scalar layerExpansionRatio
323 const scalar firstLayerThickess,
324 const scalar finalLayerThickess,
325 const scalar totalThickness,
326 const scalar expansionRatio
334 const scalar firstLayerThickess,
335 const scalar finalLayerThickess,
336 const scalar totalThickness,
337 const scalar expansionRatio
345 const scalar expansionRatio
layerSpecification
Enumeration defining the layer specification:
Simple container to keep together layer specific information.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar concaveAngle() const
const List< mergeFace > & mergeFaces() const
Whether to merge boundary faces of the same layer cell.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
label nBufferCellsNoExtrude() const
Create buffer region for new layer terminations.
const dictionary & dict() const
const labelList & numLayers() const
How many layers to add:
label nRelaxedIter() const
Number of iterations after which relaxed motion rules.
mergeFace
Enumeration defining whether to merge faces on a given patch. Read.
scalar maxFaceThicknessRatio() const
Stop layer growth on highly warped cells.
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.
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.
A class for handling words, derived from string.
const scalarField & firstLayerThickness() const
Wanted thickness of the layer nearest to the wall.
const scalarField & minThickness() const
Minimum overall thickness of cell layer. If for any reason layer.
layerParameters(const dictionary &dict, const polyBoundaryMesh &)
Construct from dictionary.
scalar featureAngle() const
label nLayerIter() const
Number of overall layer addition iterations.
const scalarField & expansionRatio() const
const scalarField & thickness() const
Wanted overall thickness of all layers.
bool relativeSizes() const
Are size parameters relative to inner cell size or.
label nGrow() const
If points get not extruded do nGrow layers of connected faces.
const scalarField & finalLayerThickness() const
Wanted thickness of the layer furthest away.
const word & meshShrinker() const
Type of mesh shrinker.
const Switch & additionalReporting() const