39 namespace patchDistMethods
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)
meshWave(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs)
Construct from coefficients dictionary, mesh.
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/any.
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 dimensionSet dimLength
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.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(advectionDiffusion, 0)
void correctBoundaryConditions()
Correct boundary field.
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.