Holds information (coordinate and yStar) regarding nearest wall point. More...
#include <finiteVolume/wallPointYPlus.H>
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.
Definition at line 56 of file wallPointYPlus.H.
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. | |
![]() | |
wallPointData () | |
Construct null. | |
wallPointData (const point &origin, const scalar &data, const scalar distSqr) | |
Construct from origin, normal, distance. | |
const scalar & | data () const |
scalar & | data () |
bool | updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallPointData< scalar > &neighbourWallInfo, const scalar tol) |
Influence of neighbouring face. | |
bool | updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPointData< scalar > &neighbourWallInfo, const scalar tol) |
Influence of neighbouring cell. | |
bool | updateFace (const polyMesh &mesh, const label thisFaceI, const wallPointData< scalar > &neighbourWallInfo, const scalar tol) |
Influence of different value on same face. | |
![]() | |
wallPoint () | |
Construct null. | |
wallPoint (const point &origin, const scalar distSqr) | |
Construct from origin, distance. | |
wallPoint (const wallPoint &) | |
Construct as copy. | |
const point & | origin () const |
point & | origin () |
scalar | distSqr () const |
scalar & | distSqr () |
bool | valid () const |
Check whether origin has been changed at all or. | |
bool | sameGeometry (const polyMesh &, const wallPoint &, const scalar) const |
Check for identical geometrical data. Used for cyclics checking. | |
void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre) |
Convert any absolute coordinates into relative to (patch)face. | |
void | enterDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre) |
Reverse of leaveDomain. | |
void | transform (const polyMesh &, const tensor &) |
Apply rotation matrix to any coordinates. | |
bool | updateCell (const polyMesh &, const label thisCellI, const label neighbourFaceI, const wallPoint &neighbourInfo, const scalar tol) |
Influence of neighbouring face. | |
bool | updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const wallPoint &neighbourInfo, const scalar tol) |
Influence of neighbouring cell. | |
bool | updateFace (const polyMesh &, const label thisFaceI, const wallPoint &neighbourInfo, const scalar tol) |
Influence of different value on same face. | |
bool | operator== (const wallPoint &) const |
bool | operator!= (const wallPoint &) const |
Static Public Attributes | |
static scalar | yPlusCutOff = 200 |
cut-off value for y+ |
Additional Inherited Members | |
![]() | |
typedef scalar | dataType |
|
inline |
Construct null.
Definition at line 85 of file wallPointYPlusI.H.
References wallPointData< scalar >::data().
|
inline |
Construct from origin, yStar, distance.
Definition at line 96 of file wallPointYPlusI.H.
|
inline |
Influence of neighbouring face.
Calls update(...) with cellCentre of cellI
Definition at line 110 of file wallPointYPlusI.H.
|
inline |
Influence of neighbouring cell.
Calls update(...) with faceCentre of faceI
Definition at line 131 of file wallPointYPlusI.H.
References primitiveMesh::faceCentres().
|
inline |
Influence of different value on same face.
Merge new and old info. Calls update(...) with faceCentre of faceI
Definition at line 152 of file wallPointYPlusI.H.
References primitiveMesh::faceCentres().
|
static |
cut-off value for y+
Definition at line 78 of file wallPointYPlus.H.