OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

layerParameters Class Reference

Simple container to keep together layer specific information. More...

Collaboration diagram for layerParameters:

List of all members.


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 labelListnumLayers () const
 How many layers to add.
const scalarFieldexpansionRatio () const
bool relativeSizes () const
 Are size parameters relative to inner cell size or.
const scalarFieldfinalLayerThickness () const
 Wanted thickness of final added cell layer. If multiple.
const scalarFieldminThickness () 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.

Detailed Description

Simple container to keep together layer specific information.

Source files

Definition at line 51 of file layerParameters.H.


Constructor & Destructor Documentation

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 134 of file layerParameters.C.

layerParameters ( const dictionary dict,
const polyBoundaryMesh boundaryMesh 
)

Construct from dictionary - new syntax.

Definition at line 228 of file layerParameters.C.


Member Function Documentation

const labelList& numLayers (  )  const [inline]

How many layers to add.

Definition at line 147 of file layerParameters.H.

const scalarField& expansionRatio (  )  const [inline]

Definition at line 153 of file layerParameters.H.

bool relativeSizes (  )  const [inline]

Are size parameters relative to inner cell size or.

absolute distances.

Definition at line 162 of file layerParameters.H.

const scalarField& finalLayerThickness (  )  const [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 174 of file layerParameters.H.

const scalarField& minThickness (  )  const [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 185 of file layerParameters.H.

scalar featureAngle (  )  const [inline]

Definition at line 191 of file layerParameters.H.

scalar concaveAngle (  )  const [inline]

Definition at line 196 of file layerParameters.H.

label nGrow (  )  const [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 206 of file layerParameters.H.

label nSmoothSurfaceNormals (  )  const [inline]

Number of smoothing iterations of surface normals.

Definition at line 212 of file layerParameters.H.

label nSmoothNormals (  )  const [inline]

Number of smoothing iterations of interior mesh movement.

direction

Definition at line 221 of file layerParameters.H.

scalar maxFaceThicknessRatio (  )  const [inline]

Stop layer growth on highly warped cells.

Definition at line 227 of file layerParameters.H.

scalar layerTerminationCos (  )  const [inline]

Definition at line 232 of file layerParameters.H.

label nSmoothThickness (  )  const [inline]

Smooth layer thickness over surface patches.

Definition at line 238 of file layerParameters.H.

scalar maxThicknessToMedialRatio (  )  const [inline]

Reduce layer growth where ratio thickness to medial.

distance is large

Definition at line 247 of file layerParameters.H.

scalar minMedianAxisAngleCos (  )  const [inline]

Angle used to pick up medial axis points.

Definition at line 253 of file layerParameters.H.

label nBufferCellsNoExtrude (  )  const [inline]

Create buffer region for new layer terminations.

Definition at line 259 of file layerParameters.H.

label nSnap (  )  const [inline]

Definition at line 264 of file layerParameters.H.

label nLayerIter (  )  const [inline]

Number of overall layer addition iterations.

Definition at line 272 of file layerParameters.H.

label nRelaxedIter (  )  const [inline]

Number of iterations after which relaxed motion rules.

are to be used.

Definition at line 281 of file layerParameters.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd