absorptionEmissionModel Class Reference

Model to supply absorption and emission coefficients for radiation modelling. More...

Inheritance diagram for absorptionEmissionModel:
Collaboration diagram for absorptionEmissionModel:

Public Member Functions

 TypeName ("absorptionEmissionModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, absorptionEmissionModel, dictionary,(const dictionary &dict, const fvMesh &mesh),(dict, mesh))
 Declare runtime constructor selection table. More...
 
 absorptionEmissionModel (const dictionary &dict, const fvMesh &mesh)
 Construct from components. More...
 
virtual ~absorptionEmissionModel ()
 Destructor. More...
 
const fvMeshmesh () const
 Reference to the mesh. More...
 
const dictionarydict () const
 Reference to the dictionary. More...
 
virtual tmp< volScalarFielda (const label bandI=0) const
 Absorption coefficient (net) More...
 
virtual tmp< volScalarFieldaCont (const label bandI=0) const
 Absorption coefficient for continuous phase. More...
 
virtual tmp< volScalarFieldaDisp (const label bandI=0) const
 Absorption coefficient for dispersed phase. More...
 
virtual tmp< volScalarFielde (const label bandI=0) const
 Emission coefficient (net) More...
 
virtual tmp< volScalarFieldeCont (const label bandI=0) const
 Return emission coefficient for continuous phase. More...
 
virtual tmp< volScalarFieldeDisp (const label bandI=0) const
 Return emission coefficient for dispersed phase. More...
 
virtual tmp< volScalarFieldE (const label bandI=0) const
 Emission contribution (net) More...
 
virtual tmp< volScalarFieldECont (const label bandI=0) const
 Emission contribution for continuous phase. More...
 
virtual tmp< volScalarFieldEDisp (const label bandI=0) const
 Emission contribution for dispersed phase. More...
 
virtual label nBands () const
 Const access to the number of bands - defaults to 1 for grey. More...
 
virtual const Vector2D< scalar > & bands (const label n) const
 Const access to the bands - defaults to Vector2D::one for grey. More...
 
virtual bool isGrey () const
 Flag for whether the absorption/emission is for a grey gas. More...
 
virtual void correct (volScalarField &a, PtrList< volScalarField > &aj) const
 Correct absorption coefficients. More...
 

Static Public Member Functions

static autoPtr< absorptionEmissionModelNew (const dictionary &dict, const fvMesh &mesh)
 Selector. More...
 

Protected Attributes

const dictionary dict_
 Radiation model dictionary. More...
 
const fvMeshmesh_
 Reference to the fvMesh. More...
 

Detailed Description

Model to supply absorption and emission coefficients for radiation modelling.

Definition at line 52 of file absorptionEmissionModel.H.

Constructor & Destructor Documentation

◆ absorptionEmissionModel()

absorptionEmissionModel ( const dictionary dict,
const fvMesh mesh 
)

Construct from components.

Definition at line 42 of file absorptionEmissionModel.C.

◆ ~absorptionEmissionModel()

Destructor.

Definition at line 54 of file absorptionEmissionModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "absorptionEmissionModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
absorptionEmissionModel  ,
dictionary  ,
(const dictionary &dict, const fvMesh &mesh ,
(dict, mesh  
)

Declare runtime constructor selection table.

◆ New()

Foam::autoPtr< Foam::radiationModels::absorptionEmissionModel > New ( const dictionary dict,
const fvMesh mesh 
)
static

Selector.

Definition at line 33 of file absorptionEmissionModelNew.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), mesh, and Foam::nl.

Here is the call graph for this function:

◆ mesh()

const fvMesh& mesh ( ) const
inline

Reference to the mesh.

Definition at line 113 of file absorptionEmissionModel.H.

References absorptionEmissionModel::mesh_.

◆ dict()

◆ a()

Foam::tmp< Foam::volScalarField > a ( const label  bandI = 0) const
virtual

Absorption coefficient (net)

Definition at line 61 of file absorptionEmissionModel.C.

Referenced by wideBand::bands(), and absorptionEmissionModel::dict().

Here is the caller graph for this function:

◆ aCont()

Foam::tmp< Foam::volScalarField > aCont ( const label  bandI = 0) const
virtual

Absorption coefficient for continuous phase.

Reimplemented in wideBand, greyMean, constant, and binary.

Definition at line 68 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, and GeometricField< scalar, fvPatchField, volMesh >::New().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aDisp()

Foam::tmp< Foam::volScalarField > aDisp ( const label  bandI = 0) const
virtual

Absorption coefficient for dispersed phase.

Reimplemented in binary, and cloud.

Definition at line 80 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, and GeometricField< scalar, fvPatchField, volMesh >::New().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ e()

Foam::tmp< Foam::volScalarField > e ( const label  bandI = 0) const
virtual

Emission coefficient (net)

Definition at line 92 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict(), and radiationCoupledBase::emissivity().

Here is the caller graph for this function:

◆ eCont()

Foam::tmp< Foam::volScalarField > eCont ( const label  bandI = 0) const
virtual

Return emission coefficient for continuous phase.

Reimplemented in wideBand, greyMean, constant, and binary.

Definition at line 99 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, and GeometricField< scalar, fvPatchField, volMesh >::New().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ eDisp()

Foam::tmp< Foam::volScalarField > eDisp ( const label  bandI = 0) const
virtual

Return emission coefficient for dispersed phase.

Reimplemented in binary, and cloud.

Definition at line 111 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, and GeometricField< scalar, fvPatchField, volMesh >::New().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ E()

Foam::tmp< Foam::volScalarField > E ( const label  bandI = 0) const
virtual

Emission contribution (net)

Definition at line 123 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

◆ ECont()

Foam::tmp< Foam::volScalarField > ECont ( const label  bandI = 0) const
virtual

Emission contribution for continuous phase.

Reimplemented in wideBand, greyMean, binary, constant, greyMeanCombustion, and wideBandCombustion.

Definition at line 130 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::pow3().

Referenced by absorptionEmissionModel::dict(), greyMean::ECont(), and wideBand::ECont().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EDisp()

Foam::tmp< Foam::volScalarField > EDisp ( const label  bandI = 0) const
virtual

Emission contribution for dispersed phase.

Reimplemented in binary, and cloud.

Definition at line 142 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::pow3().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nBands()

Foam::label nBands ( ) const
virtual

Const access to the number of bands - defaults to 1 for grey.

absorption/emission

Reimplemented in wideBand.

Definition at line 153 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

◆ bands()

const Foam::Vector2D< Foam::scalar > & bands ( const label  n) const
virtual

Const access to the bands - defaults to Vector2D::one for grey.

absorption/emission

Reimplemented in wideBand.

Definition at line 160 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

◆ isGrey()

bool isGrey ( ) const
virtual

Flag for whether the absorption/emission is for a grey gas.

Reimplemented in wideBand, greyMean, and constant.

Definition at line 166 of file absorptionEmissionModel.C.

References absorptionEmissionModel::correct().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correct()

void correct ( volScalarField a,
PtrList< volScalarField > &  aj 
) const
virtual

Correct absorption coefficients.

Reimplemented in wideBand.

Definition at line 173 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict(), and absorptionEmissionModel::isGrey().

Here is the caller graph for this function:

Member Data Documentation

◆ dict_

const dictionary dict_
protected

Radiation model dictionary.

Definition at line 60 of file absorptionEmissionModel.H.

Referenced by absorptionEmissionModel::dict().

◆ mesh_

const fvMesh& mesh_
protected

Reference to the fvMesh.

Definition at line 63 of file absorptionEmissionModel.H.

Referenced by absorptionEmissionModel::mesh().


The documentation for this class was generated from the following files: