Go to the documentation of this file.
41 inversePointDistanceDiffusivity,
76 label nPatchEdges = 0;
80 nPatchEdges += bdry[iter.key()].nEdges();
87 int dummyTrackData = 0;
99 const polyPatch& patch = bdry[iter.key()];
105 label pointI = meshPoints[i];
107 if (!pointWallDist[pointI].valid(dummyTrackData))
115 seedPoints[nPatchEdges] = pointI;
116 pointWallDist[pointI] = seedInfo[nPatchEdges];
123 seedPoints.
setSize(nPatchEdges);
134 mesh().globalData().nTotalPoints(),
148 dist +=
sqrt(pointWallDist[
f[fp]].distSqr());
152 faceDiffusivity_[faceI] = 1.0/dist;
155 forAll(faceDiffusivity_.boundaryField(), patchI)
159 if (patchSet.
found(patchI))
171 forAll(ownFaces, ownFaceI)
179 dist +=
sqrt(pointWallDist[
f[fp]].distSqr());
183 dist /= cPoints.
size();
200 dist +=
sqrt(pointWallDist[
f[fp]].distSqr());
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Wave propagation of information through grid. Every iteration information goes through one layer of e...
const cellList & cells() const
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
label size() const
Return number of elements in table.
label nInternalFaces() const
Macros for easy insertion into run-time selection tables.
bool found(const Key &) const
Return true if hashedEntry is found in table.
Mesh data needed to do the Finite Volume discretisation.
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave)...
void setSize(const label)
Reset size of List.
virtual void correct()
Correct the motion diffusivity.
virtual const faceList & faces() const
Return raw faces.
const fvPatch & patch() const
Return patch.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensionedScalar sqrt(const dimensionedScalar &ds)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label start() const
Return start label of this patch in the polyMesh face list.
bool insert(const Key &key)
Insert a new entry.
virtual const labelUList & faceCells() const
Return faceCells.
A face is a list of labels corresponding to mesh vertices.
void size(const label)
Override size to be inconsistent with allocated storage.
labelHashSet patchSet(const UList< wordRe > &patchNames, const bool warnNotFound=true, const bool usePatchGroups=true) const
Return the set of patch IDs corresponding to the given names.
const labelList & meshPoints() const
Return labelList of mesh points in patch.
defineTypeNameAndDebug(combustionModel, 0)
inversePointDistanceDiffusivity(const inversePointDistanceDiffusivity &)
Disallow default bitwise copy construct.
A cell is defined as a list of faces with extra functionality.
virtual ~inversePointDistanceDiffusivity()
Destructor.