54const Foam::fvMesh& Foam::radiation::solidAbsorption::nbrRegion()
const
61Foam::label Foam::radiation::solidAbsorption::nbrPatchIndex()
const
81 <<
"\n patch type '" <<
pp.type()
82 <<
"' not type '" << mappedPatchBase::typeName <<
"'"
83 <<
"\n for patch " <<
pp.name()
108 const fvMesh& nbrMesh = nbrRegion();
113 "radiationProperties"
145 return a(bandI,
nullptr,
nullptr)()[faceI];
160 const fvMesh& nbrMesh = nbrRegion();
165 "radiationProperties"
197 return e(bandI,
nullptr,
nullptr)()[faceI];
203 const fvMesh& nbrMesh = nbrRegion();
208 "radiationProperties"
211 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.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
static int & msgType() noexcept
Message tag of standard messages.
static int incrMsgType(int val=1) noexcept
Increment the message tag for 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 ...
const polyMesh & sampleMesh() const
Get the region mesh.
const polyPatch & samplePolyPatch() const
Get the patch on the region.
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
label index() const noexcept
The index of this patch in the boundaryMesh.
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...
tmp< scalarField > a(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const
absorptivity coefficient
virtual ~solidAbsorption()
Destructor.
label nBands() const
Number of bands.
tmp< scalarField > e(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const
Return emission coefficient.
solidAbsorption(const dictionary &dict, const polyPatch &pp)
Construct from components.
Based class for wall absorption emission models.
wallAbsorptionEmissionModel(const dictionary &dict, const polyPatch &pp)
Construct from components.
const polyPatch & pp_
Reference to the polyPatch.
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Namespace for radiation modelling.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
errorManip< error > abort(error &err)
Field< vector > vectorField
Specialisation of Field<T> for vector.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)