Go to the documentation of this file.
37 #ifndef layerParameters_H
38 #define layerParameters_H
52 class polyBoundaryMesh;
53 class refinementSurfaces;
87 static const scalar defaultConcaveAngle;
124 scalar featureAngle_;
126 scalar mergePatchFacesAngle_;
128 scalar concaveAngle_;
132 scalar maxFaceThicknessRatio_;
134 label nBufferCellsNoExtrude_;
141 bool additionalReporting_;
150 static scalar layerExpansionRatio
153 const scalar totalOverFirst
157 static void readLayerParameters
168 void calculateLayerParameters
194 const bool dryRun =
false
222 return relativeSizes_;
234 return expansionRatio_;
243 return finalLayerThickness_;
251 return firstLayerThickness_;
268 return minThickness_;
284 return nRelaxedIter_;
292 return featureAngle_;
297 return mergePatchFacesAngle_;
302 return concaveAngle_;
316 return maxFaceThicknessRatio_;
322 return nBufferCellsNoExtrude_;
328 return additionalReporting_;
334 return meshShrinker_;
348 const scalar totalThickness,
354 static scalar layerExpansionRatio
360 const scalar totalThickness,
372 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.
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.
A class for handling words, derived from Foam::string.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
const dictionary & dict() const
scalar maxFaceThicknessRatio() const
Stop layer growth on highly warped cells.
bool additionalReporting() const
Any additional reporting requested?
label nRelaxedIter() const
Number of iterations after which relaxed motion rules.
List< bool > boolList
A List of bools.
label nLayerIter() const
Number of overall layer addition iterations.
static scalar finalLayerThicknessRatio(const label nLayers, const scalar expansionRatio)
Determine ratio of final layer thickness to.
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.
scalar mergePatchFacesAngle() const
const boolList & relativeSizes() const
Are size parameters relative to inner cell size or.
Simple container to keep together layer specific information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const labelList & numLayers() const
How many layers to add.
const List< thicknessModelType > & layerModels() const
Specification of layer thickness.
scalar featureAngle() const
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.
thicknessModelType
Enumeration defining the layer specification:
const scalarField & finalLayerThickness() const
Wanted thickness of the layer furthest away.
const word & meshShrinker() const
Type of mesh shrinker.
scalar concaveAngle() const