Holds information (coordinate and yStar) regarding nearest wall point. More...
Public Member Functions | |
wallPointYPlus () | |
Construct null. More... | |
wallPointYPlus (const point &origin, const scalar yStar, const scalar distSqr) | |
Construct from origin, yStar, distance. More... | |
template<class TrackingData > | |
bool | updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallPointYPlus &neighbourWallInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring face. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPointYPlus &neighbourWallInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &mesh, const label thisFaceI, const wallPointYPlus &neighbourWallInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
![]() | |
wallPointData () | |
Construct null. More... | |
wallPointData (const point &origin, const Type &data, const scalar distSqr) | |
Construct from origin, normal, distance. More... | |
const Type & | data () const |
Type & | data () |
bool | updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring face. More... | |
bool | updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
bool | updateFace (const polyMesh &mesh, const label thisFaceI, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
Static Public Attributes | |
static scalar | yPlusCutOff = 200 |
cut-off value for y+ More... | |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const point &, const wallPointYPlus &w2, const scalar tol, TrackingData &td) |
Evaluate distance to point. Update distSqr, origin from whomever. More... | |
Additional Inherited Members | |
![]() | |
typedef Type | dataType |
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.
Note: should feed the additional argument (yPlusCutoff) through as a template argument into FaceCellWave
Definition at line 58 of file wallPointYPlus.H.
|
inline |
Construct null.
Definition at line 88 of file wallPointYPlusI.H.
References wallPointData< scalar >::data().
|
inline |
Construct from origin, yStar, distance.
Definition at line 99 of file wallPointYPlusI.H.
|
inlineprivate |
Evaluate distance to point. Update distSqr, origin from whomever.
is nearer pt. Return true if w2 is closer to point, false otherwise.
Definition at line 36 of file wallPointYPlusI.H.
References wallPointData::data(), Foam::diff(), Foam::magSqr(), and Foam::sqrt().
|
inline |
Influence of neighbouring face.
Calls update(...) with cellCentre of cellI
Definition at line 114 of file wallPointYPlusI.H.
References mesh.
|
inline |
Influence of neighbouring cell.
Calls update(...) with faceCentre of faceI
Definition at line 138 of file wallPointYPlusI.H.
References primitiveMesh::faceCentres(), and mesh.
|
inline |
Influence of different value on same face.
Merge new and old info. Calls update(...) with faceCentre of faceI
Definition at line 162 of file wallPointYPlusI.H.
References primitiveMesh::faceCentres(), and mesh.
|
static |
cut-off value for y+
Definition at line 82 of file wallPointYPlus.H.
Referenced by vanDriestDelta::calcDelta().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.