Simple container to keep together layer specific information. More...
#include <autoMesh/layerParameters.H>
Simple container to keep together layer specific information.
Definition at line 56 of file layerParameters.H.
Public Member Functions | |
layerParameters (const PtrList< dictionary > &surfaceDicts, const refinementSurfaces &refineSurfaces, const labelList &globalToPatch, const dictionary &dict, const polyBoundaryMesh &boundaryMesh) | |
Construct from dictionary - old syntax. | |
layerParameters (const dictionary &dict, const polyBoundaryMesh &) | |
Construct from dictionary - new syntax. | |
const labelList & | numLayers () const |
How many layers to add. | |
const scalarField & | expansionRatio () const |
bool | relativeSizes () const |
Are size parameters relative to inner cell size or. | |
const scalarField & | finalLayerThickness () const |
Wanted thickness of final added cell layer. If multiple. | |
const scalarField & | minThickness () const |
Minimum thickness of cell layer. If for any reason layer. | |
scalar | featureAngle () const |
scalar | concaveAngle () const |
label | nGrow () const |
If points get not extruded do nGrow layers of connected faces. | |
label | nSmoothSurfaceNormals () const |
Number of smoothing iterations of surface normals. | |
label | nSmoothNormals () const |
Number of smoothing iterations of interior mesh movement. | |
scalar | maxFaceThicknessRatio () const |
Stop layer growth on highly warped cells. | |
scalar | layerTerminationCos () const |
label | nSmoothThickness () const |
Smooth layer thickness over surface patches. | |
scalar | maxThicknessToMedialRatio () const |
Reduce layer growth where ratio thickness to medial. | |
scalar | minMedianAxisAngleCos () const |
Angle used to pick up medial axis points. | |
label | nBufferCellsNoExtrude () const |
Create buffer region for new layer terminations. | |
label | nSnap () const |
label | nLayerIter () const |
Number of overall layer addition iterations. | |
label | nRelaxedIter () const |
Number of iterations after which relaxed motion rules. |
layerParameters | ( | const PtrList< dictionary > & | surfaceDicts, |
const refinementSurfaces & | refineSurfaces, | ||
const labelList & | globalToPatch, | ||
const dictionary & | dict, | ||
const polyBoundaryMesh & | boundaryMesh | ||
) |
Construct from dictionary - old syntax.
Definition at line 142 of file layerParameters.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, dictionary::found(), and dictionary::lookup().
layerParameters | ( | const dictionary & | dict, |
const polyBoundaryMesh & | boundaryMesh | ||
) |
Construct from dictionary - new syntax.
Definition at line 236 of file layerParameters.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, polyBoundaryMesh::findPatchID(), forAll, dictionary::found(), IOWarningIn, dictionary::keys(), dictionary::lookup(), regExp::match(), IOobject::name(), dictionary::readIfPresent(), and dictionary::subDict().
|
inline |
How many layers to add.
Definition at line 152 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers(), and autoLayerDriver::doLayers().
|
inline |
Definition at line 158 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Are size parameters relative to inner cell size or.
absolute distances.
Definition at line 165 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Wanted thickness of final added cell layer. If multiple.
layers is the thickness of the layer furthest away from the wall (i.e. nearest the original mesh) If relativeSize() this number is relative to undistorted size of the cell outside layer.
Definition at line 175 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Minimum thickness of cell layer. If for any reason layer.
cannot be above minThickness do not add layer. If relativeSize() this number is relative to undistorted size of the cell outside layer.
Definition at line 184 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Definition at line 190 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers(), and autoLayerDriver::mergePatchFacesUndo().
|
inline |
Definition at line 195 of file layerParameters.H.
Referenced by autoLayerDriver::mergePatchFacesUndo().
|
inline |
If points get not extruded do nGrow layers of connected faces.
that are not grown. Is used to not do layers at all close to features.
Definition at line 203 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Number of smoothing iterations of surface normals.
Definition at line 209 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Number of smoothing iterations of interior mesh movement.
direction
Definition at line 216 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Stop layer growth on highly warped cells.
Definition at line 222 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Definition at line 227 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Smooth layer thickness over surface patches.
Definition at line 233 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Reduce layer growth where ratio thickness to medial.
distance is large
Definition at line 240 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Angle used to pick up medial axis points.
Definition at line 246 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Create buffer region for new layer terminations.
Definition at line 252 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Definition at line 257 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Number of overall layer addition iterations.
Definition at line 265 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().
|
inline |
Number of iterations after which relaxed motion rules.
are to be used.
Definition at line 272 of file layerParameters.H.
Referenced by autoLayerDriver::addLayers().