Wall distance calculation. Like wallDist but also transports extra data (template argument). More...
Public Member Functions | |
wallDistData (const fvMesh &mesh, GeometricField< Type, fvPatchField, volMesh > &, bool correctWalls=true) | |
virtual | ~wallDistData () |
const volScalarField & | y () const |
label | nUnset () const |
const GeometricField< Type, fvPatchField, volMesh > & | data () const |
virtual void | correct () |
![]() | |
TypeName ("GeometricField") | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList()) | |
GeometricField (const IOobject &io, const Internal &diField, const PtrList< PatchField< Type >> &ptfl) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const PtrList< PatchField< Type >> &ptfl) | |
GeometricField (const IOobject &io, const Mesh &mesh, const bool readOldTime=true) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dictionary &dict) | |
GeometricField (const GeometricField< Type, PatchField, GeoMesh > &gf) | |
GeometricField (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf) | |
GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
GeometricField (const word &newName, const GeometricField< Type, PatchField, GeoMesh > &gf) | |
GeometricField (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const word &patchFieldType) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const labelList &patchIDs, const word &patchFieldType) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) | |
GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) | |
tmp< GeometricField< Type, PatchField, GeoMesh > > | clone () const |
virtual | ~GeometricField () |
Internal & | ref (const bool updateAccessTime=true) |
const Internal & | internalField () const |
const Internal & | v () const |
Internal::FieldType & | primitiveFieldRef (const bool updateAccessTime=true) |
const Internal::FieldType & | primitiveField () const |
Boundary & | boundaryFieldRef (const bool updateAccessTime=true) |
const Boundary & | boundaryField () const |
label | timeIndex () const |
label & | timeIndex () |
void | storeOldTimes () const |
void | storeOldTime () const |
label | nOldTimes () const |
const GeometricField< Type, PatchField, GeoMesh > & | oldTime () const |
GeometricField< Type, PatchField, GeoMesh > & | oldTime () |
void | storePrevIter () const |
const GeometricField< Type, PatchField, GeoMesh > & | prevIter () const |
void | correctBoundaryConditions () |
bool | needReference () const |
tmp< GeometricField< cmptType, PatchField, GeoMesh > > | component (const direction) const |
bool | writeData (Ostream &) const |
tmp< GeometricField< Type, PatchField, GeoMesh > > | T () const |
void | relax (const scalar alpha) |
void | relax () |
word | select (bool final) const |
void | writeMinMax (Ostream &os) const |
void | negate () |
void | replace (const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf) |
void | replace (const direction d, const dimensioned< cmptType > &ds) |
void | min (const dimensioned< Type > &dt) |
void | max (const dimensioned< Type > &dt) |
void | clip (const dimensioned< MinMax< Type >> &range) |
void | clip (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal) |
void | maxMin (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal) |
const Internal & | operator() () const |
void | operator= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator= (const dimensioned< Type > &) |
void | operator== (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator== (const dimensioned< Type > &) |
void | operator+= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator+= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator-= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator-= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator*= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator*= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &) |
void | operator/= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator/= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &) |
void | operator+= (const dimensioned< Type > &) |
void | operator-= (const dimensioned< Type > &) |
void | operator*= (const dimensioned< scalar > &) |
void | operator/= (const dimensioned< scalar > &) |
tmp< GeometricField< scalar, faPatchField, areaMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &gsf) |
tmp< GeometricField< scalar, faPatchField, areaMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &sf) |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &gsf) |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &sf) |
![]() | |
ClassName ("cellDistFuncs") | |
cellDistFuncs (const polyMesh &mesh) | |
const polyMesh & | mesh () const |
labelHashSet | getPatchIDs (const UList< wordRe > &patchNames) const |
template<class Type > | |
labelHashSet | getPatchIDs () const |
scalar | smallestDist (const point &p, const polyPatch &patch, const labelUList &wallFaces, label &meshFacei) const |
void | getPointNeighbours (const primitivePatch &, const label patchFacei, DynamicList< label > &) const |
label | maxPatchSize (const labelHashSet &patchIDs) const |
label | sumPatchSize (const labelHashSet &patchIDs) const |
void | correctBoundaryFaceCells (const labelHashSet &patchIDs, scalarField &wallDistCorrected, Map< label > &nearestFace) const |
void | correctBoundaryPointCells (const labelHashSet &patchIDs, scalarField &wallDistCorrected, Map< label > &nearestFace) const |
template<class Type > | |
Foam::labelHashSet | getPatchIDs () const |
Additional Inherited Members | |
![]() | |
typedef GeoMesh::Mesh | Mesh |
typedef GeoMesh::BoundaryMesh | BoundaryMesh |
typedef DimensionedField< Type, GeoMesh > | Internal |
typedef PatchField< Type > | Patch |
typedef Field< Type >::cmptType | cmptType |
![]() | |
static const GeometricField< Type, PatchField, GeoMesh > & | null () |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) |
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 55 of file wallDistData.H.
wallDistData | ( | const fvMesh & | mesh, |
GeometricField< Type, fvPatchField, volMesh > & | field, | ||
bool | correctWalls = true |
||
) |
Definition at line 31 of file wallDistData.C.
References correct().
|
virtual |
Definition at line 60 of file wallDistData.C.
|
inline |
Definition at line 109 of file wallDistData.H.
|
inline |
Definition at line 114 of file wallDistData.H.
|
inline |
Definition at line 120 of file wallDistData.H.
|
virtual |
Definition at line 67 of file wallDistData.C.
References GeometricField::boundaryFieldRef(), patchDataWave< TransferType, TrackingData >::cellData(), patchDataWave< TransferType, TrackingData >::distance(), forAll, mesh, patchDataWave< TransferType, TrackingData >::nUnset(), patchDataWave< TransferType, TrackingData >::patchData(), patchDataWave< TransferType, TrackingData >::patchDistance(), and UPtrList::set().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.