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 41 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()

◆ mesh()

const fvMesh& mesh ( ) const
inline

Reference to the mesh.

Definition at line 113 of file absorptionEmissionModel.H.

References absorptionEmissionModel::mesh_.

Referenced by greyMean::greyMean(), absorptionEmissionModel::New(), and wideBand::wideBand().

Here is the caller graph for this function:

◆ dict()

const dictionary& dict ( ) const
inline

Reference to the dictionary.

Definition at line 119 of file absorptionEmissionModel.H.

References absorptionEmissionModel::dict_.

Referenced by greyMean::greyMean(), absorptionEmissionModel::New(), and wideBand::wideBand().

Here is the caller graph for this function:

◆ a()

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

Absorption coefficient (net)

Definition at line 61 of file absorptionEmissionModel.C.

◆ 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< Type, PatchField, GeoMesh >::New().

Here is the call 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< Type, PatchField, GeoMesh >::New().

Here is the call 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.

◆ 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< Type, PatchField, GeoMesh >::New().

Here is the call 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< Type, PatchField, GeoMesh >::New().

Here is the call 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.

◆ ECont()

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

Emission contribution for continuous phase.

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

Definition at line 130 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::pow3().

Referenced by 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< Type, PatchField, GeoMesh >::New(), and Foam::pow3().

Here is the call 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.

◆ 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.

◆ 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.

◆ correct()

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

Correct absorption coefficients.

Reimplemented in wideBand.

Definition at line 172 of file absorptionEmissionModel.C.

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: