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

wallPointYPlus Class Reference

Holds information (coordinate and yStar) regarding nearest wall point. More...

Inheritance diagram for wallPointYPlus:
Collaboration diagram for wallPointYPlus:

List of all members.


Public Member Functions

 wallPointYPlus ()
 Construct null.
 wallPointYPlus (const point &origin, const scalar yStar, const scalar distSqr)
 Construct from origin, yStar, distance.
bool updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallPointYPlus &neighbourWallInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPointYPlus &neighbourWallInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const wallPointYPlus &neighbourWallInfo, const scalar tol)
 Influence of different value on same face.

Static Public Attributes

static scalar yPlusCutOff = 200
 cut-off value for y+

Detailed Description

Holds information (coordinate and yStar) regarding nearest wall point.

Used in VanDriest wall damping where the interest is in y+ but only needs to be calculated up to e.g. y+ < 200. In all other cells/faces the damping function becomes 1, since y gets initialized to GREAT and yStar to 1.

Source files

Definition at line 51 of file wallPointYPlus.H.


Constructor & Destructor Documentation

wallPointYPlus (  )  [inline]

Construct null.

Definition at line 78 of file wallPointYPlusI.H.

wallPointYPlus ( const point &  origin,
const scalar  yStar,
const scalar  distSqr 
) [inline]

Construct from origin, yStar, distance.

Definition at line 89 of file wallPointYPlusI.H.


Member Function Documentation

bool updateCell ( const polyMesh &  mesh,
const label  thisCellI,
const label  neighbourFaceI,
const wallPointYPlus &  neighbourWallInfo,
const scalar  tol 
) [inline]

Influence of neighbouring face.

Calls update(...) with cellCentre of cellI

Definition at line 103 of file wallPointYPlusI.H.

bool updateFace ( const polyMesh &  mesh,
const label  thisFaceI,
const label  neighbourCellI,
const wallPointYPlus &  neighbourWallInfo,
const scalar  tol 
) [inline]

Influence of neighbouring cell.

Calls update(...) with faceCentre of faceI

Definition at line 124 of file wallPointYPlusI.H.

bool updateFace ( const polyMesh &  mesh,
const label  thisFaceI,
const wallPointYPlus &  neighbourWallInfo,
const scalar  tol 
) [inline]

Influence of different value on same face.

Merge new and old info. Calls update(...) with faceCentre of faceI

Definition at line 145 of file wallPointYPlusI.H.


Member Data Documentation

Foam::scalar yPlusCutOff = 200 [static]

cut-off value for y+

Definition at line 75 of file wallPointYPlus.H.


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