39 namespace patchDistMethods
48 Foam::patchDistMethods::meshWave::meshWave
61 Foam::patchDistMethods::meshWave::meshWave
65 const bool correctWalls
69 correctWalls_(correctWalls),
81 patchWave wave(mesh_, patchIDs_, correctWalls_);
91 if (!isA<emptyFvPatchScalarField>(ybf[
patchi]))
95 ybf[
patchi].transfer(waveFld);
145 if (!isA<emptyFvPatchScalarField>(ybf[
patchi]))
147 ybf[
patchi].transfer(waveFld);
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(patchDistMethod, advectionDiffusion, dictionary)
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
virtual bool correct(volScalarField &y)
Correct the given distance-to-patch field.
Macros for easy insertion into run-time selection tables.
Takes a set of patches to start MeshWave from.
const FieldField< Field, scalar > & patchDistance() const
Takes a set of patches to start MeshWave from. After construction holds distance at cells and distanc...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const FieldField< Field, Type > & patchData() const
const scalarField & distance() const
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(advectionDiffusion, 0)
void transfer(UPtrList< T > &)
Transfer the contents of the argument UPtrList into this.
const FieldField< Field, scalar > & patchDistance() const
Specialisation of patchDist for wall distance calculation.
const scalarField & distance() const
const Field< Type > & cellData() const
void transfer(List< T > &)
Transfer the contents of the argument List into this list.