Go to the documentation of this file.
37 #ifndef layerParameters_H
38 #define layerParameters_H
51 class polyBoundaryMesh;
52 class refinementSurfaces;
86 static const scalar defaultConcaveAngle;
100 bool additionalReporting_;
123 scalar featureAngle_;
125 scalar mergePatchFacesAngle_;
127 scalar concaveAngle_;
131 scalar maxFaceThicknessRatio_;
133 label nBufferCellsNoExtrude_;
146 scalar layerExpansionRatio
149 const scalar totalOverFirst
168 const bool dryRun =
false
196 return relativeSizes_;
202 return additionalReporting_;
208 return expansionRatio_;
217 return finalLayerThickness_;
225 return firstLayerThickness_;
242 return minThickness_;
258 return nRelaxedIter_;
266 return featureAngle_;
271 return mergePatchFacesAngle_;
276 return concaveAngle_;
290 return maxFaceThicknessRatio_;
296 return nBufferCellsNoExtrude_;
302 return meshShrinker_;
313 const scalar firstLayerThickess,
314 const scalar finalLayerThickess,
315 const scalar totalThickness,
321 scalar layerExpansionRatio
324 const scalar firstLayerThickess,
325 const scalar finalLayerThickess,
326 const scalar totalThickness,
335 const scalar firstLayerThickess,
336 const scalar finalLayerThickess,
337 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.
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.
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.
scalar mergePatchFacesAngle() const
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.
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.
scalar finalLayerThicknessRatio(const label nLayers, const scalar expansionRatio) const
Determine ratio of final layer thickness to.
scalar featureAngle() const
layerSpecification
Enumeration defining the layer specification:
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.
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