FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

wallDistData< TransferType > Class Template Reference

Wall distance calculation. Like wallDist but also transports extra data (template argument). More...

#include <finiteVolume/wallDistData.H>


Detailed Description

template<class TransferType>
class Foam::wallDistData< TransferType >

Wall distance calculation. Like wallDist but also transports extra data (template argument).

Used for e.g reflection vector calculation or vanDriest damping.

Templated on two parameters:

  • TransferType: type of overall data transported (e.g. wallPointData<vector>)
Source files

Definition at line 58 of file wallDistData.H.

Inheritance diagram for wallDistData< TransferType >:
Collaboration diagram for wallDistData< TransferType >:

List of all members.

Public Member Functions

 wallDistData (const fvMesh &mesh, GeometricField< Type, fvPatchField, volMesh > &, bool correctWalls=true)
 Construct from mesh and flag whether or not to correct wall.
virtual  ~wallDistData ()
const volScalarField &  y () const
label  nUnset () const
const GeometricField< Type,
fvPatchField, volMesh > &  
data () const
 Access field.
virtual void  correct ()
 Correct for mesh geom/topo changes.

Constructor & Destructor Documentation

wallDistData ( const fvMesh &   mesh,
GeometricField< Type, fvPatchField, volMesh > &   field,
bool   correctWalls = true  
)

Construct from mesh and flag whether or not to correct wall.

Calculate for all cells. correctWalls : correct wall (face&point) cells for correct distance, searching neighbours.

Definition at line 36 of file wallDistData.C.

References correct().

~wallDistData (  ) [virtual]

Definition at line 65 of file wallDistData.C.


Member Function Documentation

const volScalarField& y (  ) const [inline]

Definition at line 113 of file wallDistData.H.

label nUnset (  ) const [inline]

Definition at line 118 of file wallDistData.H.

const GeometricField<Type, fvPatchField, volMesh>& data (  ) const [inline]

Access field.

Definition at line 124 of file wallDistData.H.


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