Public Member Functions | Static Public Attributes | List of all members
wallPointYPlus Class Reference

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

Inheritance diagram for wallPointYPlus:
Inheritance graph
[legend]
Collaboration diagram for wallPointYPlus:
Collaboration graph
[legend]

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...
 
- Public Member Functions inherited from wallPointData< scalar >
 wallPointData ()
 Construct null. More...
 
 wallPointData (const point &origin, const scalar &data, const scalar distSqr)
 Construct from origin, normal, distance. More...
 
const scalar & data () const
 
scalar & data ()
 
bool updateCell (const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const wallPointData< scalar > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
bool updateFace (const polyMesh &mesh, const label thisFacei, const label neighbourCelli, const wallPointData< scalar > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
bool updateFace (const polyMesh &mesh, const label thisFacei, const wallPointData< scalar > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
- Public Member Functions inherited from wallPoint
 wallPoint ()
 Construct null. More...
 
 wallPoint (const point &origin, const scalar distSqr)
 Construct from origin, distance. More...
 
 wallPoint (const wallPoint &)
 Construct as copy. More...
 
const pointorigin () const
 
pointorigin ()
 
scalar distSqr () const
 
scalar & distSqr ()
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether origin has been changed at all or. More...
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const wallPoint &, const scalar, TrackingData &td) const
 Check for identical geometrical data. Used for cyclics checking. More...
 
template<class TrackingData >
void leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 Convert any absolute coordinates into relative to (patch)face. More...
 
template<class TrackingData >
void enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 Reverse of leaveDomain. More...
 
template<class TrackingData >
void transform (const polyMesh &, const tensor &, TrackingData &td)
 Apply rotation matrix to any coordinates. More...
 
template<class TrackingData >
bool updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const wallPoint &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const wallPoint &) const
 
bool operator!= (const wallPoint &) const
 

Static Public Attributes

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

Additional Inherited Members

- Public Types inherited from wallPointData< scalar >
typedef scalar dataType
 

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.

Note: should feed the additional argument (yPlusCutoff) through as a template argument into FaceCellWave

Source files

Definition at line 58 of file wallPointYPlus.H.

Constructor & Destructor Documentation

◆ wallPointYPlus() [1/2]

wallPointYPlus ( )
inline

Construct null.

Definition at line 88 of file wallPointYPlusI.H.

References wallPointData< scalar >::data().

Here is the call graph for this function:

◆ wallPointYPlus() [2/2]

wallPointYPlus ( const point origin,
const scalar  yStar,
const scalar  distSqr 
)
inline

Construct from origin, yStar, distance.

Definition at line 99 of file wallPointYPlusI.H.

References wallPointYPlus::updateCell().

Here is the call graph for this function:

Member Function Documentation

◆ updateCell()

bool updateCell ( const polyMesh mesh,
const label  thisCelli,
const label  neighbourFacei,
const wallPointYPlus neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Calls update(...) with cellCentre of celli

Definition at line 114 of file wallPointYPlusI.H.

References wallPointYPlus::updateFace().

Referenced by wallPointYPlus::wallPointYPlus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateFace() [1/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const label  neighbourCelli,
const wallPointYPlus neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Calls update(...) with faceCentre of facei

Definition at line 138 of file wallPointYPlusI.H.

References primitiveMesh::faceCentres().

Referenced by wallPointYPlus::updateCell().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const wallPointYPlus neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
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().

Here is the call graph for this function:

Member Data Documentation

◆ yPlusCutOff

Foam::scalar yPlusCutOff = 200
static

cut-off value for y+

Definition at line 82 of file wallPointYPlus.H.


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