40 void Foam::nearWallDist::resize()
51 calculatedFvPatchScalarField::typeName,
60 void Foam::nearWallDist::correct()
67 mesh().boundaryMesh().findPatchIDs<wallPolyPatch>(),
78 y_[
patchi][patchFacei] = yVf[faceCells[patchFacei]];
93 calculatedFvPatchScalarField::typeName
#define forAll(list, i)
Loop across all elements in list.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
void correct(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance)
Correct distance data from patches.
virtual bool movePoints()
Update the y-field when the mesh moves.
UList< label > labelUList
const dimensionSet dimLength
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static tmp< fvPatchField< Type > > New(const word &, const fvPatch &, const DimensionedField< Type, volMesh > &)
Return a pointer to a new patchField created on freestore given.
Distance calculation for cells with face on a wall. Searches pointNeighbours to find closest...
faceListList boundary(nPatches)
virtual ~nearWallDist()
Destructor.
virtual void topoChange(const polyTopoChangeMap &)
Update the y-field when the mesh changes.
defineTypeNameAndDebug(combustionModel, 0)
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
nearWallDist(const fvMesh &mesh)
Construct from components.