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

greyMeanAbsorptionEmission radiation absorption and emission coefficients for continuous phase More...

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

Public Member Functions

 TypeName ("greyMeanAbsorptionEmission")
 Runtime type information. More...
 
 greyMeanAbsorptionEmission (const dictionary &dict, const fvMesh &mesh)
 Construct from components. More...
 
virtual ~greyMeanAbsorptionEmission ()
 Destructor. More...
 
tmp< volScalarFieldaCont (const label bandI=0) const
 Absorption coefficient for continuous phase. More...
 
tmp< volScalarFieldeCont (const label bandI=0) const
 Emission coefficient for continuous phase. More...
 
tmp< volScalarFieldECont (const label bandI=0) const
 Emission contribution for continuous phase. More...
 
bool isGrey () const
 Flag for whether the absorption/emission is for a grey gas. More...
 
- Public Member Functions inherited from absorptionEmissionModel
 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< 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< 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< 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 void correct (volScalarField &a, PtrList< volScalarField > &aj) const
 Correct absorption coefficients. More...
 

Public Attributes

absorptionCoeffs coeffs_ [nSpecies_]
 

Static Public Attributes

static const int nSpecies_ = 5
 

Additional Inherited Members

- Static Public Member Functions inherited from absorptionEmissionModel
static autoPtr< absorptionEmissionModelNew (const dictionary &dict, const fvMesh &mesh)
 Selector. More...
 
- Protected Attributes inherited from absorptionEmissionModel
const dictionary dict_
 Radiation model dictionary. More...
 
const fvMeshmesh_
 Reference to the fvMesh. More...
 

Detailed Description

greyMeanAbsorptionEmission radiation absorption and emission coefficients for continuous phase

The coefficients for the species in the Look up table have to be specified for use in moles x P [atm], i.e. (k[i] = species[i]*p*9.869231e-6).

The coefficients for CO and soot or any other added are multiplied by the respective mass fraction being solved

All the species in the dictionary need either to be in the look-up table or being solved. Conversely, all the species solved do not need to be included in the calculation of the absorption coefficient

The names of the species in the absorption dictionary must match exactly the name in the look-up table or the name of the field being solved

The look-up table ("speciesTable") file should be in constant

i.e. dictionary

    LookUpTableFileName     "speciesTable";

    EhrrCoeff       0.0;

    CO2
    {
        Tcommon     300.;   // Common Temp
        invTemp     true;   // Is the polynomial using inverse temperature?
        Tlow        300.;   // Low Temp
        Thigh       2500.;  // High Temp

        loTcoeffs           // coeffs for T < Tcommon
        (
            0               //  a0            +
            0               //  a1*T          +
            0               //  a2*T^(+/-)2   +
            0               //  a3*T^(+/-)3   +
            0               //  a4*T^(+/-)4   +
            0               //  a5*T^(+/-)5   +
        );
        hiTcoeffs           // coeffs for T > Tcommon
        (
            18.741
            -121.31e3
            273.5e6
            -194.05e9
            56.31e12
            -5.8169e15
        );
    }
Source files

Definition at line 104 of file greyMeanAbsorptionEmission.H.

Constructor & Destructor Documentation

greyMeanAbsorptionEmission ( const dictionary dict,
const fvMesh mesh 
)

Destructor.

Definition at line 197 of file greyMeanAbsorptionEmission.C.

Member Function Documentation

TypeName ( "greyMeanAbsorptionEmission"  )

Runtime type information.

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

Emission coefficient for continuous phase.

Reimplemented from absorptionEmissionModel.

Definition at line 285 of file greyMeanAbsorptionEmission.C.

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

Emission contribution for continuous phase.

Reimplemented from absorptionEmissionModel.

Definition at line 292 of file greyMeanAbsorptionEmission.C.

References Foam::dimEnergy, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimLength, Foam::dimMass, Foam::dimTime, Foam::dimVolume, dQ, Foam::endl(), Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::pow3(), and WarningIn.

Here is the call graph for this function:

bool isGrey ( ) const
inlinevirtual

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

Reimplemented from absorptionEmissionModel.

Definition at line 185 of file greyMeanAbsorptionEmission.H.

Member Data Documentation

const int nSpecies_ = 5
static

Definition at line 113 of file greyMeanAbsorptionEmission.H.

Definition at line 116 of file greyMeanAbsorptionEmission.H.


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