Wall distance calculation. Like wallDist but also transports extra data (template argument). More...
#include <finiteVolume/wallDistData.H>
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:
Definition at line 58 of file wallDistData.H.
Inheritance diagram for wallDistData< TransferType >:
Collaboration diagram for wallDistData< TransferType >: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.
| |
| 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.
| 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.
| void correct | ( | ) | [virtual]
|
Correct for mesh geom/topo changes.
Reimplemented in wallDistReflection.
Definition at line 73 of file wallDistData.C.
References boundaryField(), polyMesh::boundaryMesh(), patchDataWave< TransferType >::cellData(), patchDataWave< TransferType >::distance(), forAll, mesh, patchDataWave< TransferType >::nUnset(), patchDataWave< TransferType >::patchData(), patchDataWave< TransferType >::patchDistance(), and PtrList< T >::size().