41 wallAbsorptionEmissionModel,
63 coeffsDict_.
readEntry(
"absorptivity", aCoeffs_);
65 nBands_ = aCoeffs_.
size();
96 return aCoeffs_[bandI];
119 return eCoeffs_[bandI];
Based class for wall absorption emission models.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
defineTypeNameAndDebug(cloudAbsorptionEmission, 0)
multiBandAbsorption(const dictionary &dict, const polyPatch &pp)
Construct from components.
virtual ~multiBandAbsorption()
Destructor.
Macros for easy insertion into run-time selection tables.
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...
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
tmp< scalarField > e(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const
Return emission coefficient.
addToRunTimeSelectionTable(absorptionEmissionModel, cloudAbsorptionEmission, dictionary)
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.
tmp< scalarField > a(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const
absorptivity coefficient
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())