33 #ifndef absorptionEmissionModel_H 34 #define absorptionEmissionModel_H 46 namespace radiationModels
171 virtual bool isGrey()
const;
virtual tmp< volScalarField > aCont(const label bandI=0) const
Absorption coefficient for continuous phase.
const fvMesh & mesh_
Reference to the fvMesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > E(const label bandI=0) const
Emission contribution (net)
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< volScalarField > ECont(const label bandI=0) const
Emission contribution for continuous phase.
const dictionary dict_
Radiation model dictionary.
declareRunTimeSelectionTable(autoPtr, absorptionEmissionModel, dictionary,(const dictionary &dict, const fvMesh &mesh),(dict, mesh))
Declare runtime constructor selection table.
virtual label nBands() const
Const access to the number of bands - defaults to 1 for grey.
virtual const Vector2D< scalar > & bands(const label n) const
Const access to the bands - defaults to Vector2D::one for grey.
virtual tmp< volScalarField > e(const label bandI=0) const
Emission coefficient (net)
TypeName("absorptionEmissionModel")
Runtime type information.
static autoPtr< absorptionEmissionModel > New(const dictionary &dict, const fvMesh &mesh)
Selector.
virtual bool isGrey() const
Flag for whether the absorption/emission is for a grey gas.
virtual tmp< volScalarField > a(const label bandI=0) const
Absorption coefficient (net)
virtual ~absorptionEmissionModel()
Destructor.
virtual tmp< volScalarField > eDisp(const label bandI=0) const
Return emission coefficient for dispersed phase.
virtual tmp< volScalarField > aDisp(const label bandI=0) const
Absorption coefficient for dispersed phase.
absorptionEmissionModel(const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual void correct(volScalarField &a, PtrList< volScalarField > &aj) const
Correct absorption coefficients.
virtual tmp< volScalarField > EDisp(const label bandI=0) const
Emission contribution for dispersed phase.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Reference to the mesh.
virtual tmp< volScalarField > eCont(const label bandI=0) const
Return emission coefficient for continuous phase.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
Model to supply absorption and emission coefficients for radiation modelling.
A class for managing temporary objects.
const dictionary & dict() const
Reference to the dictionary.