FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

layerParameters Class Reference

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

#include <autoMesh/layerParameters.H>


Detailed Description

Simple container to keep together layer specific information.

Source files

Definition at line 56 of file layerParameters.H.

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 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.

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

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, dictionary::found(), and dictionary::lookup().


Member Function Documentation

const labelList& numLayers (  ) const [inline]

How many layers to add.

Definition at line 152 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers(), and autoLayerDriver::doLayers().

const scalarField& expansionRatio (  ) const [inline]

Definition at line 158 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

bool relativeSizes (  ) const [inline]

Are size parameters relative to inner cell size or.

absolute distances.

Definition at line 165 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

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 175 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

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 184 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

scalar featureAngle (  ) const [inline]
scalar concaveAngle (  ) const [inline]

Definition at line 195 of file layerParameters.H.

Referenced by autoLayerDriver::mergePatchFacesUndo().

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 203 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

label nSmoothSurfaceNormals (  ) const [inline]

Number of smoothing iterations of surface normals.

Definition at line 209 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

label nSmoothNormals (  ) const [inline]

Number of smoothing iterations of interior mesh movement.

direction

Definition at line 216 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

scalar maxFaceThicknessRatio (  ) const [inline]

Stop layer growth on highly warped cells.

Definition at line 222 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

scalar layerTerminationCos (  ) const [inline]

Definition at line 227 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

label nSmoothThickness (  ) const [inline]

Smooth layer thickness over surface patches.

Definition at line 233 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

scalar maxThicknessToMedialRatio (  ) const [inline]

Reduce layer growth where ratio thickness to medial.

distance is large

Definition at line 240 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

scalar minMedianAxisAngleCos (  ) const [inline]

Angle used to pick up medial axis points.

Definition at line 246 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

label nBufferCellsNoExtrude (  ) const [inline]

Create buffer region for new layer terminations.

Definition at line 252 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

label nSnap (  ) const [inline]

Definition at line 257 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

label nLayerIter (  ) const [inline]

Number of overall layer addition iterations.

Definition at line 265 of file layerParameters.H.

Referenced by autoLayerDriver::addLayers().

label nRelaxedIter (  ) const [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().


The documentation for this class was generated from the following files: