63 coeffsDict_.
readEntry(
"absorptivity", aCoeffs_);
64 coeffsDict_.readEntry(
"emissivity", eCoeffs_);
65 nBands_ = aCoeffs_.size();
96 return aCoeffs_[bandI];
119 return eCoeffs_[bandI];
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())
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect,...
A patch is a list of labels that address the faces in the global face list.
multiBandAbsorption radiation transmissivity for solids.
tmp< scalarField > a(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const
absorptivity coefficient
tmp< scalarField > e(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const
Return emission coefficient.
virtual ~multiBandAbsorption()
Destructor.
multiBandAbsorption(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.
Namespace for radiation modelling.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< vector > vectorField
Specialisation of Field<T> for vector.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)