Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
absorptionEmissionModel Class Reference

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

Inheritance diagram for absorptionEmissionModel:
Inheritance graph
[legend]
Collaboration diagram for absorptionEmissionModel:
Collaboration graph
[legend]

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 ( const dictionary dict,
const fvMesh mesh 
)

Construct from components.

Definition at line 42 of file absorptionEmissionModel.C.

Destructor.

Definition at line 54 of file absorptionEmissionModel.C.

Member Function Documentation

TypeName ( "absorptionEmissionModel"  )

Runtime type information.

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

Declare runtime constructor selection table.

Foam::autoPtr< Foam::radiation::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, FatalErrorIn, Foam::Info, dictionary::lookup(), mesh, and Foam::nl.

Here is the call graph for this function:

const fvMesh& mesh ( ) const
inline

Reference to the mesh.

Definition at line 113 of file absorptionEmissionModel.H.

References absorptionEmissionModel::mesh_.

const dictionary& dict ( ) const
inline
Foam::tmp< Foam::volScalarField > a ( const label  bandI = 0) const
virtual

Absorption coefficient (net)

Definition at line 61 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict(), noPyrolysis::kappaRad(), thermalBaffle::kappaRad(), and reactingOneDim::kappaRad().

Here is the caller graph for this function:

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

Absorption coefficient for continuous phase.

Reimplemented in wideBandAbsorptionEmission, greyMeanAbsorptionEmission, greyMeanSolidAbsorptionEmission, constantAbsorptionEmission, and binaryAbsorptionEmission.

Definition at line 68 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

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

Absorption coefficient for dispersed phase.

Reimplemented in binaryAbsorptionEmission, and cloudAbsorptionEmission.

Definition at line 91 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

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

Emission coefficient (net)

Definition at line 114 of file absorptionEmissionModel.C.

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

Here is the caller graph for this function:

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

Return emission coefficient for continuous phase.

Reimplemented in wideBandAbsorptionEmission, greyMeanAbsorptionEmission, greyMeanSolidAbsorptionEmission, constantAbsorptionEmission, and binaryAbsorptionEmission.

Definition at line 121 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

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

Return emission coefficient for dispersed phase.

Reimplemented in binaryAbsorptionEmission, and cloudAbsorptionEmission.

Definition at line 144 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

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

Emission contribution (net)

Definition at line 167 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

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

Emission contribution for continuous phase.

Reimplemented in wideBandAbsorptionEmission, greyMeanAbsorptionEmission, binaryAbsorptionEmission, and constantAbsorptionEmission.

Definition at line 174 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::pow3().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Emission contribution for dispersed phase.

Reimplemented in binaryAbsorptionEmission, and cloudAbsorptionEmission.

Definition at line 197 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::pow3().

Referenced by absorptionEmissionModel::dict().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::label nBands ( ) const
virtual

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

absorption/emission

Reimplemented in wideBandAbsorptionEmission.

Definition at line 219 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

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

Definition at line 226 of file absorptionEmissionModel.C.

Referenced by absorptionEmissionModel::dict().

Here is the caller graph for this function:

bool isGrey ( ) const
virtual

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

Reimplemented in wideBandAbsorptionEmission, greyMeanAbsorptionEmission, greyMeanSolidAbsorptionEmission, and constantAbsorptionEmission.

Definition at line 232 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:

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

Correct absorption coefficients.

Reimplemented in wideBandAbsorptionEmission.

Definition at line 239 of file absorptionEmissionModel.C.

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

Here is the caller graph for this function:

Member Data Documentation

const dictionary dict_
protected

Radiation model dictionary.

Definition at line 60 of file absorptionEmissionModel.H.

Referenced by absorptionEmissionModel::dict().

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: