Variant of meshWave
distance-to-patch method.
More...
Additional Inherited Members | |
![]() | |
static autoPtr< patchDistMethod > | New (const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs, const word &defaultPatchDistMethod=word::null) |
template<class Type > | |
static wordList | patchTypes (const fvMesh &mesh, const labelHashSet &patchIDs) |
![]() | |
patchDistMethod (const patchDistMethod &)=delete | |
void | operator= (const patchDistMethod &)=delete |
![]() | |
const bool | correctWalls_ |
label | nUnset_ |
![]() | |
const fvMesh & | mesh_ |
const labelHashSet | patchIDs_ |
Variant of meshWave
distance-to-patch method.
Ignores the component in the specified direction. Can be used e.g. to calculate the distance in the z-direction only.
fvSchemes.wallDist:
wallDist { // Mandatory entries (unmodifiable) method directionalMeshWave; n (0 0 1); // Optional (inherited) entries (unmodifiable) ... }
where the entries mean:
Property | Description | Type | Req'd | Dflt |
---|---|---|---|---|
method | Method name: directionalMeshWave | word | yes | - |
n | The direction component to ignore | vector | yes | - |
The inherited entries are elaborated in:
Definition at line 99 of file directionalMeshWavePatchDistMethod.H.
directionalMeshWave | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const labelHashSet & | patchIDs | ||
) |
Definition at line 48 of file directionalMeshWavePatchDistMethod.C.
TypeName | ( | "directionalMeshWave" | ) |
|
virtual |
Reimplemented from meshWave.
Definition at line 61 of file directionalMeshWavePatchDistMethod.C.
References fvMesh::boundary(), Foam::dimLength, Foam::dimless, patchDistMethod::mesh_, n, IOobject::NO_READ, IOobject::NO_WRITE, patches, patchDistMethod::patchIDs_, y, and Foam::Zero.
|
virtual |
Reimplemented from meshWave.
Definition at line 95 of file directionalMeshWavePatchDistMethod.C.
References patchDataWave< TransferType, TrackingData >::cellData(), Foam::dimLength, patchDataWave< TransferType, TrackingData >::distance(), forAll, n, patchDataWave< TransferType, TrackingData >::nUnset(), patchDataWave< TransferType, TrackingData >::patchData(), patchDataWave< TransferType, TrackingData >::patchDistance(), UPtrList::set(), and y.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.