33 #ifndef absorptionEmissionModel_H 34 #define absorptionEmissionModel_H 171 virtual bool isGrey()
const;
virtual tmp< volScalarField > EDisp(const label bandI=0) const
Emission contribution for dispersed phase.
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
const fvMesh & mesh() const
Reference to the mesh.
TypeName("absorptionEmissionModel")
Runtime type information.
const dictionary & dict() const
Reference to the dictionary.
virtual tmp< volScalarField > ECont(const label bandI=0) const
Emission contribution for continuous phase.
Model to supply absorption and emission coefficients for radiation modelling.
virtual bool isGrey() const
Flag for whether the absorption/emission is for a grey gas.
const fvMesh & mesh_
Reference to the fvMesh.
virtual const Vector2D< scalar > & bands(const label n) const
Const access to the bands - defaults to Vector2D::one for grey.
absorptionEmissionModel(const dictionary &dict, const fvMesh &mesh)
Construct from components.
static autoPtr< absorptionEmissionModel > New(const dictionary &dict, const fvMesh &mesh)
Selector.
virtual tmp< volScalarField > a(const label bandI=0) const
Absorption coefficient (net)
virtual void correct(volScalarField &a, PtrList< volScalarField > &aj) const
Correct absorption coefficients.
virtual tmp< volScalarField > e(const label bandI=0) const
Emission coefficient (net)
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 dictionary dict_
Radiation model dictionary.
virtual tmp< volScalarField > aCont(const label bandI=0) const
Absorption 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.
A class for managing temporary objects.
virtual tmp< volScalarField > eCont(const label bandI=0) const
Return emission coefficient for continuous phase.
virtual tmp< volScalarField > E(const label bandI=0) const
Emission contribution (net)
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))