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]];
98 calculatedFvPatchScalarField::typeName
#define forAll(list, i)
Loop across all elements in list.
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
const fvMesh & mesh() const
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &)
Return a temporary field constructed from name,.
bool set(const label) const
Is element set.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
Mesh data needed to do the Finite Volume discretisation.
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.
virtual bool movePoints()
Update the y-field when the mesh moves.
virtual void topoChange(const polyTopoChangeMap &)
Update the y-field when the mesh changes.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual ~nearWallDist()
Destructor.
nearWallDist(const fvMesh &mesh)
Construct from mesh.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void correct(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su)
void correct(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance)
Correct distance data from patches.
const dimensionSet dimLength
VolField< scalar > volScalarField
defineTypeNameAndDebug(combustionModel, 0)
UList< label > labelUList
faceListList boundary(nPatches)
triSurfaceToAgglom resize(surfacesMesh.size())