WallLocationYPlus< WallLocation > Class Template Reference

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

Inheritance diagram for WallLocationYPlus< WallLocation >:
Collaboration diagram for WallLocationYPlus< WallLocation >:

Classes

class  trackData
 Class used to pass additional data in. More...
 

Public Member Functions

 WallLocationYPlus ()
 Construct null. More...
 
- Public Member Functions inherited from WallLocationData< WallLocation, scalar >
 WallLocationData ()
 Construct null. More...
 
 WallLocationData (const scalar &data, const Geometry &... geometry)
 Construct from data and other geometry. More...
 
const scalar & data () const
 
scalar & data ()
 
const scalar & data (TrackingData &td) const
 
void transform (const transformer &transform, TrackingData &td)
 Transform across an interface. More...
 

Protected Member Functions

template<class TrackingYPlus >
bool update (const point &, const WallLocationYPlus< WallLocation > &w2, const scalar tol, TrackingYPlus &td)
 Evaluate distance to point. Update distSqr, origin from whomever. More...
 
- Protected Member Functions inherited from WallLocationData< WallLocation, scalar >
bool update (const point &pt, const WallLocationData< WallLocation, scalar > &w2, const scalar tol, TrackingData &td)
 Evaluate distance to point. Update distSqr, origin from whomever. More...
 

Additional Inherited Members

- Public Types inherited from WallLocationData< WallLocation, scalar >
typedef scalar dataType
 The type of the stored data. More...
 

Detailed Description

template<class WallLocation>
class Foam::WallLocationYPlus< WallLocation >

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 initialised to great and yStar to 1.

Source files

Definition at line 57 of file WallLocationYPlus.H.

Constructor & Destructor Documentation

◆ WallLocationYPlus()

Construct null.

Definition at line 58 of file WallLocationYPlusI.H.

References WallLocationData< WallLocation, scalar >::data().

Here is the call graph for this function:

Member Function Documentation

◆ update()

bool update ( const point pt,
const WallLocationYPlus< WallLocation > &  w2,
const scalar  tol,
TrackingYPlus &  td 
)
inlineprotected

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 32 of file WallLocationYPlusI.H.

References Foam::sqrt(), and w2.

Here is the call graph for this function:

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