Public Member Functions | |
TypeName ("wideBand") | |
Runtime type information. More... | |
wideBand (const dictionary &dict, const fvMesh &mesh, const word &modelName=typeName) | |
Construct from components. More... | |
virtual | ~wideBand () |
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 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 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... | |
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... | |
Protected 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... | |
autoPtr< interpolationLookUpTable > | lookUpTablePtr_ |
Look-up 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_ |
Protected Attributes inherited from absorptionEmissionModel | |
const dictionary | dict_ |
Radiation model dictionary. More... | |
const fvMesh & | mesh_ |
Reference to the fvMesh. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from absorptionEmissionModel | |
static autoPtr< absorptionEmissionModel > | New (const dictionary &dict, const fvMesh &mesh) |
Selector. More... | |
Definition at line 122 of file wideBand.H.
wideBand | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const word & | modelName = typeName |
||
) |
Construct from components.
Definition at line 53 of file wideBand.C.
References Foam::abort(), wideBand::coeffs_, wideBand::coeffsDict_, TimePaths::constant(), absorptionEmissionModel::dict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, found, HashTable< T, Key, Hash >::found(), dictionary::found(), objectRegistry::foundObject(), wideBand::iBands_, Foam::Info, HashTable< T, Key, Hash >::insert(), dictionary::lookup(), objectRegistry::lookupObjectRef(), wideBand::lookUpTablePtr_, absorptionEmissionModel::mesh(), Foam::name(), wideBand::nBands_, Foam::nl, wideBand::specieIndex_, wideBand::speciesNames_, dictionary::subDict(), wideBand::thermo_, fvMesh::time(), wideBand::totalWaveLength_, and wideBand::Yj_.
|
virtual |
Destructor.
Definition at line 192 of file wideBand.C.
TypeName | ( | "wideBand" | ) |
Runtime type information.
|
virtual |
Absorption coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 199 of file wideBand.C.
References b, Foam::dimLength, Foam::dimless, forAll, forAllConstIter, n, GeometricField< Type, PatchField, GeoMesh >::New(), p, tmp< T >::ref(), s(), multicomponentThermo::species(), Foam::T(), unitConversion::toUser(), Foam::units(), multicomponentThermo::WiValue(), and multicomponentThermo::Y().
|
virtual |
Emission coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 280 of file wideBand.C.
|
virtual |
Emission contribution for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 290 of file wideBand.C.
References absorptionEmissionModel::ECont().
Referenced by wideBandCombustion::ECont().
|
inlinevirtual |
Flag for whether the absorption/emission is for a grey gas.
Reimplemented from absorptionEmissionModel.
Definition at line 205 of file wideBand.H.
|
inlinevirtual |
Number of bands.
Reimplemented from absorptionEmissionModel.
Definition at line 211 of file wideBand.H.
References wideBand::nBands_.
Lower and upper limit of band i.
Reimplemented from absorptionEmissionModel.
Definition at line 217 of file wideBand.H.
References wideBand::iBands_.
|
virtual |
Correct rays.
Reimplemented from absorptionEmissionModel.
Definition at line 299 of file wideBand.C.
References Foam::dimLength, Foam::dimless, and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().
|
static |
Maximum number of species considered for absorptivity.
Definition at line 131 of file wideBand.H.
|
static |
Maximum number of bands.
Definition at line 134 of file wideBand.H.
FixedList<FixedList<absorptionCoeffs, nSpecies_>, maxBands_> coeffs_ |
Absorption coefficients.
Definition at line 137 of file wideBand.H.
Referenced by wideBand::wideBand().
|
protected |
Absorption model dictionary.
Definition at line 145 of file wideBand.H.
Referenced by wideBand::wideBand(), and wideBandCombustion::wideBandCombustion().
Hash table with species names.
Definition at line 148 of file wideBand.H.
Referenced by wideBand::wideBand().
Indices of species in the look-up table.
Definition at line 151 of file wideBand.H.
Referenced by wideBand::wideBand().
Bands.
Definition at line 154 of file wideBand.H.
Referenced by wideBand::bands(), and wideBand::wideBand().
|
mutableprotected |
Look-up table of species related to ft.
Definition at line 157 of file wideBand.H.
Referenced by wideBand::wideBand().
|
protected |
|
protected |
Bands.
Definition at line 163 of file wideBand.H.
Referenced by wideBand::nBands(), and wideBand::wideBand().
|
protected |
Pointer list of species being solved involved in the absorption.
Definition at line 166 of file wideBand.H.
Referenced by wideBand::wideBand().
|
protected |
Definition at line 169 of file wideBand.H.
Referenced by wideBand::wideBand().