37 #ifndef layerParameters_H 38 #define layerParameters_H 52 class polyBoundaryMesh;
53 class refinementSurfaces;
87 static const scalar defaultConcaveAngle;
124 const scalar featureAngle_;
126 const scalar mergePatchFacesAngle_;
128 const scalar concaveAngle_;
132 const scalar maxFaceThicknessRatio_;
134 const label nBufferCellsNoExtrude_;
136 const label nLayerIter_;
141 const bool additionalReporting_;
143 const word meshShrinker_;
145 const label nOuterIter_;
152 static scalar layerExpansionRatio
155 const scalar totalOverFirst
159 static void readLayerParameters
170 void calculateLayerParameters
196 const bool dryRun =
false 224 return relativeSizes_;
236 return expansionRatio_;
245 return finalLayerThickness_;
253 return firstLayerThickness_;
270 return minThickness_;
295 return nRelaxedIter_;
303 return featureAngle_;
308 return mergePatchFacesAngle_;
313 return concaveAngle_;
327 return maxFaceThicknessRatio_;
333 return nBufferCellsNoExtrude_;
339 return additionalReporting_;
345 return meshShrinker_;
359 const scalar totalThickness,
365 static scalar layerExpansionRatio
371 const scalar totalThickness,
383 const scalar totalThickness,
401 const label layerStart,
402 const label layerSize
Simple container to keep together layer specific information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
scalar concaveAngle() const
scalar mergePatchFacesAngle() const
label nBufferCellsNoExtrude() const
Create buffer region for new layer terminations.
const boolList & relativeSizes() const
Are size parameters relative to inner cell size or.
const dictionary & dict() const
const labelList & numLayers() const
How many layers to add.
label nRelaxedIter() const
Number of iterations after which relaxed motion rules.
scalar maxFaceThicknessRatio() const
Stop layer growth on highly warped cells.
bool additionalReporting() const
Any additional reporting requested?
A class for handling words, derived from Foam::string.
label nOuterIter() const
Outer loop to add layer by layer. Can be set to >= max layers.
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.
scalar featureAngle() const
label nLayerIter() const
Number of overall layer addition iterations.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
static scalar finalLayerThicknessRatio(const label nLayers, const scalar expansionRatio)
Determine ratio of final layer thickness to.
const scalarField & expansionRatio() const
const scalarField & thickness() const
Wanted overall thickness of all layers.
thicknessModelType
Enumeration defining the layer specification:
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.
static scalar layerThickness(const thicknessModelType, const label nLayers, const scalar firstLayerThickness, const scalar finalLayerThickness, const scalar totalThickness, const scalar expansionRatio)
Determine overall thickness. Uses two of the four parameters.
const List< thicknessModelType > & layerModels() const
Specification of layer thickness.
List< label > labelList
A List of labels.
List< bool > boolList
A List of bools.