Go to the documentation of this file.
40 namespace patchDistMethods
54 Foam::patchDistMethods::directionalMeshWave::directionalMeshWave
90 volVectorField::Boundary& nbf =
n.boundaryFieldRef();
94 nbf[patchi] ==
patches[patchi].nf();
112 volVectorField::Boundary& nbf =
n.boundaryFieldRef();
116 patchData.set(patchi, &nbf[patchi]);
137 volScalarField::Boundary& ybf =
y.boundaryFieldRef();
143 if (!isA<emptyFvPatchScalarField>(ybf[patchi]))
145 ybf[patchi].transfer(waveFld);
149 nbf[patchi].
transfer(wavePatchData);
154 this->nUnset_ = wave.
nUnset();
156 return this->nUnset_ > 0;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
static constexpr const zero Zero
Global zero (0)
Takes a set of patches to start MeshWave from.
defineTypeNameAndDebug(advectionDiffusion, 0)
#define forAll(list, i)
Loop across all elements in list.
void transfer(UPtrList< T > &list)
Transfer contents into this list and annul the argument.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
const scalarField & distance() const
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const Field< Type > & cellData() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const fvMesh & mesh_
Reference to the mesh.
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
const labelHashSet patchIDs_
Set of patch IDs.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
addToRunTimeSelectionTable(patchDistMethod, advectionDiffusion, dictionary)
const FieldField< Field, Type > & patchData() const
virtual bool correct(volScalarField &y)
Correct the given distance-to-patch field.
const polyBoundaryMesh & patches
Fast topological mesh-wave method for calculating the distance to nearest patch for all cells and bou...
const FieldField< Field, scalar > & patchDistance() const
const dimensionSet dimless
Dimensionless.