34 #ifndef Foam_radiation_wallAbsorptionEmissionModel_H 35 #define Foam_radiation_wallAbsorptionEmissionModel_H 66 TypeName(
"wallAbsorptionEmissionModel");
110 const label bandI = 0,
120 const label bandI = 0,
129 const label bandI = 0,
139 const label bandI = 0,
145 virtual bool isGrey()
const = 0;
148 virtual label
nBands()
const = 0;
Based class for wall absorption emission models.
virtual tmp< scalarField > e(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const =0
Return emissivity on patch.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static autoPtr< wallAbsorptionEmissionModel > New(const dictionary &dict, const polyPatch &pp)
virtual tmp< scalarField > a(const label bandI=0, const vectorField *incomingDirection=nullptr, const scalarField *T=nullptr) const =0
Return absorptivity on patch.
TypeName("wallAbsorptionEmissionModel")
Runtime type information.
virtual label nBands() const =0
Number of bands.
declareRunTimeSelectionTable(autoPtr, wallAbsorptionEmissionModel, dictionary,(const dictionary &dict, const polyPatch &pp),(dict, pp))
virtual ~wallAbsorptionEmissionModel()
Destructor.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const polyPatch & pp_
Reference to the polyPatch.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
wallAbsorptionEmissionModel(const dictionary &dict, const polyPatch &pp)
Construct from components.
virtual bool isGrey() const =0
Is Grey.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
static constexpr const zero Zero
Global zero (0)