greyMeanAbsorptionEmission radiation absorption and emission coefficients for continuous phase More...
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< volScalarField > | aCont (const label bandI=0) const |
Absorption coefficient for continuous phase. More... | |
tmp< volScalarField > | eCont (const label bandI=0) const |
Emission coefficient for continuous phase. More... | |
tmp< volScalarField > | ECont (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... | |
![]() | |
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 fvMesh & | mesh () const |
Reference to the mesh. More... | |
const dictionary & | dict () const |
Reference to the dictionary. More... | |
virtual tmp< volScalarField > | a (const label bandI=0) const |
Absorption coefficient (net) More... | |
virtual tmp< volScalarField > | aDisp (const label bandI=0) const |
Absorption coefficient for dispersed phase. More... | |
virtual tmp< volScalarField > | e (const label bandI=0) const |
Emission coefficient (net) More... | |
virtual tmp< volScalarField > | eDisp (const label bandI=0) const |
Return emission coefficient for dispersed phase. More... | |
virtual tmp< volScalarField > | E (const label bandI=0) const |
Emission contribution (net) More... | |
virtual tmp< volScalarField > | EDisp (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... | |
Data Fields | |
absorptionCoeffs | coeffs_ [nSpecies_] |
Static Public Attributes | |
static const int | nSpecies_ = 5 |
Private Attributes | |
dictionary | coeffsDict_ |
Absorption model dictionary. More... | |
HashTable< label > | speciesNames_ |
Hash table of species names. More... | |
FixedList< label, nSpecies_ > | specieIndex_ |
Indices of species in the look-up table. More... | |
autoPtr< interpolationLookUpTable< scalar > > | lookUpTablePtr_ |
Look-up table of species related to ft. More... | |
const fluidThermo & | thermo_ |
SLG thermo package. More... | |
const scalar | EhrrCoeff_ |
Emission constant coefficient. More... | |
UPtrList< volScalarField > | Yj_ |
Pointer list of species in the registry involved in the absorption. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< absorptionEmissionModel > | New (const dictionary &dict, const fvMesh &mesh) |
Selector. More... | |
![]() | |
const dictionary | dict_ |
Radiation model dictionary. More... | |
const fvMesh & | mesh_ |
Reference to the fvMesh. More... | |
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 ); }
Definition at line 104 of file greyMeanAbsorptionEmission.H.
greyMeanAbsorptionEmission | ( | const dictionary & | dict, |
const fvMesh & | mesh | ||
) |
Construct from components.
Definition at line 53 of file greyMeanAbsorptionEmission.C.
References Foam::abort(), dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter(), found, Foam::Info, mesh, Foam::name(), Foam::nl, and Y.
|
virtual |
Destructor.
Definition at line 181 of file greyMeanAbsorptionEmission.C.
TypeName | ( | "greyMeanAbsorptionEmission" | ) |
Runtime type information.
|
virtual |
Absorption coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 188 of file greyMeanAbsorptionEmission.C.
References Foam::constant::physicoChemical::b, Foam::dimLength, Foam::dimless, forAll, forAllConstIter(), mesh, n, Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, p, Foam::paToAtm(), s(), Foam::T(), and timeName.
|
virtual |
Emission coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 269 of file greyMeanAbsorptionEmission.C.
|
virtual |
Emission contribution for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 276 of file greyMeanAbsorptionEmission.C.
References Foam::dimEnergy, Foam::dimLength, Foam::dimMass, Foam::dimTime, Foam::dimVolume, dQ, Foam::endl(), Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::pow3(), and WarningInFunction.
|
inlinevirtual |
Flag for whether the absorption/emission is for a grey gas.
Reimplemented from absorptionEmissionModel.
Definition at line 185 of file greyMeanAbsorptionEmission.H.
|
static |
Definition at line 113 of file greyMeanAbsorptionEmission.H.
absorptionCoeffs coeffs_[nSpecies_] |
Definition at line 116 of file greyMeanAbsorptionEmission.H.
|
private |
Absorption model dictionary.
Definition at line 124 of file greyMeanAbsorptionEmission.H.
Hash table of species names.
Definition at line 127 of file greyMeanAbsorptionEmission.H.
Indices of species in the look-up table.
Definition at line 130 of file greyMeanAbsorptionEmission.H.
|
mutableprivate |
Look-up table of species related to ft.
Definition at line 133 of file greyMeanAbsorptionEmission.H.
|
private |
SLG thermo package.
Definition at line 136 of file greyMeanAbsorptionEmission.H.
|
private |
Emission constant coefficient.
Definition at line 139 of file greyMeanAbsorptionEmission.H.
|
private |
Pointer list of species in the registry involved in the absorption.
Definition at line 142 of file greyMeanAbsorptionEmission.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.