82 const labelHashSet patchIDs(mesh().boundaryMesh().patchSet(patchNames_));
84 if (patchNames_.size())
101 mesh().boundary()[
patchi].faceCells();
103 forAll(patchCells, patchFacei)
105 y.boundaryFieldRef()[
patchi][patchFacei] =
108 mesh().Cf().boundaryField()[
patchi][patchFacei]
109 - mesh().
C()[patchCells[patchFacei]]
static const Foam::dimensionedScalar C("C", Foam::dimTemperature, 234.5)
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
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,.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
Inverse distance to the given patches motion diffusivity.
virtual tmp< surfaceScalarField > operator()() const
Return diffusivity field.
inverseFaceDistanceDiffusivity(const fvMesh &mesh, Istream &mdData)
Construct for the given fvMesh and data Istream.
virtual ~inverseFaceDistanceDiffusivity()
Destructor.
Abstract base class for cell-centre mesh motion diffusivity.
A class for managing temporary objects.
label calculate(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance)
Calculate distance data from patches.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
dimensioned< scalar > mag(const dimensioned< Type > &)
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)