wideBandAbsorptionEmission Class Reference

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

Inheritance diagram for wideBandAbsorptionEmission:
[legend]
Collaboration diagram for wideBandAbsorptionEmission:
[legend]

Public Member Functions

 TypeName ("wideBandAbsorptionEmission")
 Runtime type information. More...
 
 wideBandAbsorptionEmission (const dictionary &dict, const fvMesh &mesh)
 Construct from components. More...
 
virtual ~wideBandAbsorptionEmission ()
 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...
 
label nBands () const
 Number of bands. More...
 
const Vector2D< scalar > & bands (const label bandi) const
 Lower and upper limit of band i. More...
 
void correct (volScalarField &a, PtrList< volScalarField > &aLambda) const
 Correct rays. 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< 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...
 

Public Attributes

FixedList< FixedList< absorptionCoeffs, nSpecies_ >, maxBands_coeffs_
 Absorption coefficients. More...
 

Static Public Attributes

static const int nSpecies_ = 5
 Maximum number of species considered for absorptivity. More...
 
static const int maxBands_ = 10
 Maximum number of bands. More...
 

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

wideBandAbsorptionEmission radiation absorption and emission coefficients for continuous phase.

All the bands should have the same number of species and have to be entered in the same order.

There is no check of continuity of the bands. They should not ovelap or have gaps.

The emission constant proportionality is specified per band (EhrrCoeff).

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

The look Up table file should be in the constant directory.

band dictionary:

    band0
    {
        bandLimits (1.0e-6 2.63e-6);
        EhrrCoeff       0.0;
        species
        {
            CH4
            {
                Tcommon         300.;
                Tlow            300.;
                Thigh           2500.;
                invTemp         false;
                loTcoeffs (0 0 0 0 0 0) ;
                hiTcoeffs (.1 0 0 0 0 0);
            }
            CO2
            {
                Tcommon         300.;
                Tlow            300.;
                Thigh           2500.;
                invTemp         false;
                loTcoeffs (0 0 0 0 0 0) ;
                hiTcoeffs (.1 0 0 0 0 0);
            }
            H2O
            {
                Tcommon         300.;
                Tlow            300.;
                Thigh           2500.;
                invTemp         false;
                loTcoeffs (0 0 0 0 0 0) ;
                hiTcoeffs (.1 0 0 0 0 0);
            }
            Ysoot
            {
                Tcommon         300.;
                Tlow            300.;
                Thigh           2500.;
                invTemp         false;
                loTcoeffs (0 0 0 0 0 0) ;
                hiTcoeffs (.1 0 0 0 0 0);
            }
        }
    }
Source files

Definition at line 123 of file wideBandAbsorptionEmission.H.

Constructor & Destructor Documentation

◆ wideBandAbsorptionEmission()

◆ ~wideBandAbsorptionEmission()

Destructor.

Definition at line 194 of file wideBandAbsorptionEmission.C.

Member Function Documentation

◆ TypeName()

TypeName ( "wideBandAbsorptionEmission"  )

Runtime type information.

◆ aCont()

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

Absorption coefficient for continuous phase.

Reimplemented from absorptionEmissionModel.

Definition at line 201 of file wideBandAbsorptionEmission.C.

References b, Foam::dimLength, Foam::dimless, UList< T >::find(), forAll, forAllConstIters, mesh, n, IOobject::NO_READ, IOobject::NO_WRITE, p, Foam::paToAtm(), tmp< T >::ref(), s(), T, timeName, and Foam::Zero.

Here is the call graph for this function:

◆ eCont()

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

Emission coefficient for continuous phase.

Reimplemented from absorptionEmissionModel.

Definition at line 284 of file wideBandAbsorptionEmission.C.

◆ ECont()

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

Emission contribution for continuous phase.

Reimplemented from absorptionEmissionModel.

Definition at line 291 of file wideBandAbsorptionEmission.C.

References Foam::dimEnergy, Foam::dimLength, Foam::dimMass, Foam::dimTime, Foam::dimVolume, Foam::endl(), mesh, IOobject::NO_READ, IOobject::NO_WRITE, Foam::pow3(), Qdot, tmp< T >::ref(), timeName, WarningInFunction, and Foam::Zero.

Here is the call graph for this function:

◆ isGrey()

bool isGrey ( ) const
inlinevirtual

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

Reimplemented from absorptionEmissionModel.

Definition at line 204 of file wideBandAbsorptionEmission.H.

◆ nBands()

label nBands ( ) const
inlinevirtual

Number of bands.

Reimplemented from absorptionEmissionModel.

Definition at line 210 of file wideBandAbsorptionEmission.H.

◆ bands()

const Vector2D< scalar > & bands ( const label  bandi) const
inlinevirtual

Lower and upper limit of band i.

Reimplemented from absorptionEmissionModel.

Definition at line 216 of file wideBandAbsorptionEmission.H.

◆ correct()

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

Correct rays.

Reimplemented from absorptionEmissionModel.

Definition at line 344 of file wideBandAbsorptionEmission.C.

References Foam::dimLength, Foam::dimless, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), and Foam::Zero.

Here is the call graph for this function:

Member Data Documentation

◆ nSpecies_

const int nSpecies_ = 5
static

Maximum number of species considered for absorptivity.

Definition at line 132 of file wideBandAbsorptionEmission.H.

◆ maxBands_

const int maxBands_ = 10
static

Maximum number of bands.

Definition at line 135 of file wideBandAbsorptionEmission.H.

◆ coeffs_


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