OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

wallDistData< TransferType > Class Template Reference

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

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 volScalarFieldy () const
label nUnset () const
const GeometricField< Type,
fvPatchField, volMesh > & 
data () const
 Access field.
virtual void correct ()
 Correct for mesh geom/topo changes.

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:

Source files

Definition at line 53 of file wallDistData.H.


Constructor & Destructor Documentation

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

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 28 of file wallDistData.C.

~wallDistData (  )  [inline, virtual]

Definition at line 57 of file wallDistData.C.

References correct().

Here is the call graph for this function:


Member Function Documentation

const volScalarField& y (  )  const [inline]

Definition at line 112 of file wallDistData.H.

label nUnset (  )  const [inline]

Definition at line 117 of file wallDistData.H.

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

Access field.

Definition at line 123 of file wallDistData.H.

void correct (  )  [inline, virtual]

Correct for mesh geom/topo changes.

Reimplemented in wallDistReflection.

Definition at line 65 of file wallDistData.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd