wideBandAbsorptionEmission radiation absorption and emission coefficients for continuous phase. More...
#include <radiation/wideBandAbsorptionEmission.H>
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 LookUpTable 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.; Tlow300.; Thigh 2500.; invTemp false; loTcoeffs (0 0 0 0 0 0) ; hiTcoeffs (.1 0 0 0 0 0); } CO2 { Tcommon 300.; Tlow300.; Thigh 2500.; invTemp false; loTcoeffs (0 0 0 0 0 0) ; hiTcoeffs (.1 0 0 0 0 0); }
H2O { Tcommon 300.; Tlow300.; Thigh 2500.; invTemp false; loTcoeffs (0 0 0 0 0 0) ; hiTcoeffs (.1 0 0 0 0 0); }
Ysoot { Tcommon 300.; Tlow300.; Thigh 2500.; invTemp false; loTcoeffs (0 0 0 0 0 0) ; hiTcoeffs (.1 0 0 0 0 0); } } }
Definition at line 123 of file wideBandAbsorptionEmission.H.
Public Member Functions | |
TypeName ("wideBandAbsorptionEmission") | |
Runtime type information.
| |
wideBandAbsorptionEmission (const dictionary &dict, const fvMesh &mesh) | |
Construct from components.
| |
virtual | ~wideBandAbsorptionEmission () |
tmp< volScalarField > | aCont (const label bandI=0) const |
Absorption coefficient for continuous phase.
| |
tmp< volScalarField > | eCont (const label bandI=0) const |
Emission coefficient for continuous phase.
| |
tmp< volScalarField > | ECont (const label bandI=0) const |
Emission contribution for continuous phase.
| |
bool | isGrey () const |
Flag for whether the absorption/emission is for a grey gas.
| |
label | nBands () const |
Number of bands.
| |
const Vector2D< scalar > & | bands (const label i) const |
Lower and upper limit of band i.
| |
tmp< volScalarField > | addIntensity (const label i, const volScalarField &ILambda) const |
Add contribution of ILambda to the total radiative intensity in.
| |
void | correct (volScalarField &a_, PtrList< volScalarField > &aLambda) const |
Correct absorption coefficients.
| |
Public Attributes | |
FixedList< FixedList < absorptionCoeffs, nSpecies_ > , maxBands_ > | coeffs_ |
Absorption coefficients.
| |
Static Public Attributes | |
static const int | nSpecies_ = 5 |
Maximum number of species considered for absorptivity.
| |
static const int | maxBands_ = 10 |
Maximum number of bands.
|
wideBandAbsorptionEmission | ( | const dictionary & | dict, |
const fvMesh & | mesh | ||
) |
Construct from components.
Definition at line 50 of file wideBandAbsorptionEmission.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAllConstIter, objectRegistry::foundObject(), Foam::Info, dictionary::lookup(), objectRegistry::lookupObject(), Foam::nl, dictionary::subDict(), and Y.
~wideBandAbsorptionEmission | ( | ) | [virtual]
|
Definition at line 154 of file wideBandAbsorptionEmission.C.
TypeName | ( | "wideBandAbsorptionEmission" | ) |
Runtime type information.
Foam::tmp< Foam::volScalarField > aCont | ( | const label | bandI = 0
) |
const [virtual]
|
Absorption coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 161 of file wideBandAbsorptionEmission.C.
References b, Foam::dimLength, Foam::dimless, forAll, ft, mesh, IOobject::NO_READ, IOobject::NO_WRITE, p, List< T >::size(), Foam::T(), and timeName.
Foam::tmp< Foam::volScalarField > eCont | ( | const label | bandI = 0
) |
const [virtual]
|
Emission coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 232 of file wideBandAbsorptionEmission.C.
References Foam::dimLength, Foam::dimless, e, mesh, IOobject::NO_READ, IOobject::NO_WRITE, and timeName.
Foam::tmp< Foam::volScalarField > ECont | ( | const label | bandI = 0
) |
const [virtual]
|
Emission contribution for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 256 of file wideBandAbsorptionEmission.C.
References Foam::dimLength, Foam::dimMass, Foam::dimTime, E(), GeometricField< Type, PatchField, GeoMesh >::internalField(), objectRegistry::lookupObject(), mesh, IOobject::NO_READ, IOobject::NO_WRITE, Foam::pow3(), and timeName.
bool isGrey | ( | ) | const [inline, virtual]
|
Flag for whether the absorption/emission is for a grey gas.
Reimplemented from absorptionEmissionModel.
Definition at line 218 of file wideBandAbsorptionEmission.H.
label nBands | ( | ) | const [inline, virtual]
|
Number of bands.
Reimplemented from absorptionEmissionModel.
Definition at line 224 of file wideBandAbsorptionEmission.H.
const Vector2D<scalar>& bands | ( | const label | i ) | const [inline, virtual]
|
Lower and upper limit of band i.
Reimplemented from absorptionEmissionModel.
Definition at line 230 of file wideBandAbsorptionEmission.H.
Foam::tmp< Foam::volScalarField > addIntensity | ( | const label | i, |
const volScalarField & | ILambda | ||
) | const [virtual]
|
Add contribution of ILambda to the total radiative intensity in.
direction i
Reimplemented from absorptionEmissionModel.
Definition at line 290 of file wideBandAbsorptionEmission.C.
void correct | ( | volScalarField & | a, |
PtrList< volScalarField > & | aj | ||
) | const [virtual]
|
Correct absorption coefficients.
Reimplemented from absorptionEmissionModel.
Definition at line 300 of file wideBandAbsorptionEmission.C.
References Foam::dimLength, Foam::dimless, Foam::endl(), Foam::Info, and GeometricField< Type, PatchField, GeoMesh >::internalField().
const int nSpecies_ = 5 [static]
|
Maximum number of species considered for absorptivity.
Definition at line 132 of file wideBandAbsorptionEmission.H.
const int maxBands_ = 10 [static]
|
Maximum number of bands.
Definition at line 135 of file wideBandAbsorptionEmission.H.
Absorption coefficients.
Definition at line 138 of file wideBandAbsorptionEmission.H.