42namespace patchDistMethods
59 correctWalls_(
dict.getOrDefault(
"correctWalls", true)),
68 const bool correctWalls
72 correctWalls_(correctWalls),
84 patchWave wave(mesh_, patchIDs_, correctWalls_);
94 if (!isA<emptyFvPatchScalarField>(ybf[patchi]))
124 patchData.
set(patchi, &nbf[patchi]);
148 if (!isA<emptyFvPatchScalarField>(ybf[patchi]))
154 nbf[patchi].
transfer(wavePatchData);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void transfer(PtrList< T > &list)
Transfer into this list and annul the argument list.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const T * set(const label i) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Takes a set of patches to start MeshWave from.
const FieldField< Field, scalar > & patchDistance() const
const Field< Type > & cellData() const
const FieldField< Field, Type > & patchData() const
const scalarField & distance() const
Specialisation of patchDist for wall distance calculation.
Fast topological mesh-wave method for calculating the distance to nearest patch for all cells and bou...
Takes a set of patches to start MeshWave from. After construction holds distance at cells and distanc...
const FieldField< Field, scalar > & patchDistance() const
const scalarField & distance() const
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.