54const Foam::fvMesh& Foam::radiation::solidAbsorption::nbrRegion()
const
56 const mappedPatchBase& mpp = refCast<const mappedPatchBase>(
pp_);
57 return (refCast<const fvMesh>(mpp.sampleMesh()));
61Foam::label Foam::radiation::solidAbsorption::nbrPatchIndex()
const
63 const mappedPatchBase& mpp = refCast<const mappedPatchBase>(pp_);
64 return (mpp.samplePolyPatch().index());
78 if (!isA<mappedPatchBase>(pp))
81 <<
"\n patch type '" << pp.type()
83 <<
"\n for patch " << pp.
name()
109 const fvMesh& nbrMesh = nbrRegion();
114 "radiationProperties"
147 return a(bandI,
nullptr,
nullptr)()[faceI];
163 const fvMesh& nbrMesh = nbrRegion();
168 "radiationProperties"
201 return e(bandI,
nullptr,
nullptr)()[faceI];
207 const fvMesh& nbrMesh = nbrRegion();
212 "radiationProperties"
215 return (
radiation.absorptionEmission().nBands());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
const STLpoint & a() const
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
static int & msgType() noexcept
Message tag of standard messages.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
const Type & lookupObject(const word &name, const bool recursive=false) const
const word & name() const noexcept
The patch name.
A patch is a list of labels that address the faces in the global face list.
Top level model for radiation modelling.
Radiation absorptivity-emissivity model to be used on walls on inter-region patches when the solid op...
virtual ~solidAbsorption()
Destructor.
label nBands() const
Number of bands.
Based class for wall absorption emission models.
const polyPatch & pp_
Reference to the polyPatch.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionedScalar e
Elementary charge.
errorManip< error > abort(error &err)
static const char *const typeName
The type name used in ensight case files.