wideBandAbsorptionEmission radiation absorption and emission coefficients for continuous phase. More...
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< 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... | |
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... | |
![]() | |
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... | |
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< label > | speciesNames_ |
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 fluidThermo & | thermo_ |
Thermo package. More... | |
label | nBands_ |
Bands. More... | |
UPtrList< volScalarField > | Yj_ |
Pointer list of species being solved involved in the absorption. More... | |
scalar | totalWaveLength_ |
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... | |
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); } } }
Definition at line 121 of file wideBandAbsorptionEmission.H.
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.
|
virtual |
Destructor.
Definition at line 148 of file wideBandAbsorptionEmission.C.
TypeName | ( | "wideBandAbsorptionEmission" | ) |
Runtime type information.
|
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.
|
virtual |
Emission coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 226 of file wideBandAbsorptionEmission.C.
|
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.
|
inlinevirtual |
Flag for whether the absorption/emission is for a grey gas.
Reimplemented from absorptionEmissionModel.
Definition at line 212 of file wideBandAbsorptionEmission.H.
|
inlinevirtual |
Number of bands.
Reimplemented from absorptionEmissionModel.
Definition at line 218 of file wideBandAbsorptionEmission.H.
References wideBandAbsorptionEmission::nBands_.
Lower and upper limit of band i.
Reimplemented from absorptionEmissionModel.
Definition at line 224 of file wideBandAbsorptionEmission.H.
References wideBandAbsorptionEmission::iBands_.
|
virtual |
Correct rays.
Reimplemented from absorptionEmissionModel.
Definition at line 285 of file wideBandAbsorptionEmission.C.
References Foam::dimLength, Foam::dimless, and GeometricField::internalField().
|
static |
Maximum number of species considered for absorptivity.
Definition at line 130 of file wideBandAbsorptionEmission.H.
|
static |
Maximum number of bands.
Definition at line 133 of file wideBandAbsorptionEmission.H.
FixedList<FixedList<absorptionCoeffs, nSpecies_>, maxBands_> coeffs_ |
Absorption coefficients.
Definition at line 136 of file wideBandAbsorptionEmission.H.
|
private |
Absorption model dictionary.
Definition at line 144 of file wideBandAbsorptionEmission.H.
Hash table with species names.
Definition at line 147 of file wideBandAbsorptionEmission.H.
Indices of species in the look-up table.
Definition at line 150 of file wideBandAbsorptionEmission.H.
Bands.
Definition at line 153 of file wideBandAbsorptionEmission.H.
Referenced by wideBandAbsorptionEmission::bands().
Proportion of the heat released rate emitted.
Definition at line 156 of file wideBandAbsorptionEmission.H.
|
mutableprivate |
Lookup table of species related to ft.
Definition at line 159 of file wideBandAbsorptionEmission.H.
|
private |
Thermo package.
Definition at line 162 of file wideBandAbsorptionEmission.H.
|
private |
Bands.
Definition at line 165 of file wideBandAbsorptionEmission.H.
Referenced by wideBandAbsorptionEmission::nBands().
|
private |
Pointer list of species being solved involved in the absorption.
Definition at line 168 of file wideBandAbsorptionEmission.H.
|
private |
Definition at line 171 of file wideBandAbsorptionEmission.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.