Public Member Functions | Data Fields | Static Public Attributes | Private Attributes
wideBandAbsorptionEmission Class Reference

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

Inheritance diagram for wideBandAbsorptionEmission:
Inheritance graph
[legend]
Collaboration diagram for wideBandAbsorptionEmission:
Collaboration graph
[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 i) 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< 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...
 

Data Fields

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

Private Attributes

dictionary coeffsDict_
 Absorption model dictionary. More...
 
HashTable< labelspeciesNames_
 Hash table with species names. More...
 
FixedList< label, nSpecies_specieIndex_
 Indices of species in the look-up table. More...
 
FixedList< Vector2D< scalar >, maxBands_iBands_
 Bands. More...
 
FixedList< scalar, maxBands_iEhrrCoeffs_
 Proportion of the heat released rate emitted. More...
 
interpolationLookUpTable< scalar > lookUpTable_
 Lookup table of species related to ft. More...
 
const fluidThermothermo_
 Thermo package. More...
 
label nBands_
 Bands. More...
 
UPtrList< volScalarFieldYj_
 Pointer list of species being solved involved in the absorption. More...
 
scalar totalWaveLength_
 

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 in the lookup 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.

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 121 of file wideBandAbsorptionEmission.H.

Constructor & Destructor Documentation

◆ wideBandAbsorptionEmission()

wideBandAbsorptionEmission ( const dictionary dict,
const fvMesh mesh 
)

Construct from components.

Definition at line 50 of file wideBandAbsorptionEmission.C.

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

Here is the call graph for this function:

◆ ~wideBandAbsorptionEmission()

Destructor.

Definition at line 148 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 155 of file wideBandAbsorptionEmission.C.

References Foam::constant::physicoChemical::b, Foam::dimLength, Foam::dimless, forAll, mesh, n, IOobject::NO_READ, IOobject::NO_WRITE, p, Foam::T(), and timeName.

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 226 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 233 of file wideBandAbsorptionEmission.C.

References Foam::dimEnergy, Foam::dimLength, Foam::dimMass, Foam::dimTime, Foam::dimVolume, dQ, Foam::endl(), mesh, IOobject::NO_READ, IOobject::NO_WRITE, Foam::pow3(), timeName, and WarningInFunction.

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 212 of file wideBandAbsorptionEmission.H.

◆ nBands()

label nBands ( ) const
inlinevirtual

Number of bands.

Reimplemented from absorptionEmissionModel.

Definition at line 218 of file wideBandAbsorptionEmission.H.

References wideBandAbsorptionEmission::nBands_.

◆ bands()

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

Lower and upper limit of band i.

Reimplemented from absorptionEmissionModel.

Definition at line 224 of file wideBandAbsorptionEmission.H.

References wideBandAbsorptionEmission::iBands_.

◆ correct()

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

Correct rays.

Reimplemented from absorptionEmissionModel.

Definition at line 285 of file wideBandAbsorptionEmission.C.

References Foam::dimLength, Foam::dimless, and GeometricField::internalField().

Here is the call graph for this function:

Field Documentation

◆ nSpecies_

const int nSpecies_ = 5
static

Maximum number of species considered for absorptivity.

Definition at line 130 of file wideBandAbsorptionEmission.H.

◆ maxBands_

const int maxBands_ = 10
static

Maximum number of bands.

Definition at line 133 of file wideBandAbsorptionEmission.H.

◆ coeffs_

Absorption coefficients.

Definition at line 136 of file wideBandAbsorptionEmission.H.

◆ coeffsDict_

dictionary coeffsDict_
private

Absorption model dictionary.

Definition at line 144 of file wideBandAbsorptionEmission.H.

◆ speciesNames_

HashTable<label> speciesNames_
private

Hash table with species names.

Definition at line 147 of file wideBandAbsorptionEmission.H.

◆ specieIndex_

FixedList<label, nSpecies_> specieIndex_
private

Indices of species in the look-up table.

Definition at line 150 of file wideBandAbsorptionEmission.H.

◆ iBands_

FixedList<Vector2D<scalar>, maxBands_> iBands_
private

Bands.

Definition at line 153 of file wideBandAbsorptionEmission.H.

Referenced by wideBandAbsorptionEmission::bands().

◆ iEhrrCoeffs_

FixedList<scalar, maxBands_> iEhrrCoeffs_
private

Proportion of the heat released rate emitted.

Definition at line 156 of file wideBandAbsorptionEmission.H.

◆ lookUpTable_

interpolationLookUpTable<scalar> lookUpTable_
mutableprivate

Lookup table of species related to ft.

Definition at line 159 of file wideBandAbsorptionEmission.H.

◆ thermo_

const fluidThermo& thermo_
private

Thermo package.

Definition at line 162 of file wideBandAbsorptionEmission.H.

◆ nBands_

label nBands_
private

Bands.

Definition at line 165 of file wideBandAbsorptionEmission.H.

Referenced by wideBandAbsorptionEmission::nBands().

◆ Yj_

UPtrList<volScalarField> Yj_
private

Pointer list of species being solved involved in the absorption.

Definition at line 168 of file wideBandAbsorptionEmission.H.

◆ totalWaveLength_

scalar totalWaveLength_
private

Definition at line 171 of file wideBandAbsorptionEmission.H.


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