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 55 of file wideBand.C.
References TimePaths::constant(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, objectRegistry::foundObject(), Foam::Info, dictionary::lookup(), objectRegistry::lookupObjectRef(), mesh, Foam::name(), Foam::nl, dictionary::subDict(), and fvMesh::time().
|
virtual |
Destructor.
Definition at line 186 of file wideBand.C.
References wideBand::aCont().
TypeName | ( | "wideBand" | ) |
Runtime type information.
|
virtual |
Absorption coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 194 of file wideBand.C.
References Foam::constant::physicoChemical::b, Foam::dimLength, Foam::dimless, wideBand::eCont(), forAll, forAllConstIter, mesh, n, GeometricField< scalar, fvPatchField, volMesh >::New(), p, Foam::paToAtm(), tmp< T >::ref(), s(), basicSpecieMixture::species(), Foam::T(), basicSpecieMixture::Wi(), and basicSpecieMixture::Y().
Referenced by wideBand::~wideBand().
|
virtual |
Emission coefficient for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 273 of file wideBand.C.
References wideBand::ECont().
Referenced by wideBand::aCont().
|
virtual |
Emission contribution for continuous phase.
Reimplemented from absorptionEmissionModel.
Definition at line 283 of file wideBand.C.
References wideBand::correct(), and absorptionEmissionModel::ECont().
Referenced by wideBandCombustion::ECont(), and wideBand::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 absorptionEmissionModel::a(), and wideBand::correct().
|
virtual |
Correct rays.
Reimplemented from absorptionEmissionModel.
Definition at line 292 of file wideBand.C.
References Foam::dimLength, Foam::dimless, and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().
Referenced by wideBand::bands(), and wideBand::ECont().
|
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.
|
protected |
Absorption model dictionary.
Definition at line 145 of file wideBand.H.
Hash table with species names.
Definition at line 148 of file wideBand.H.
Indices of species in the look-up table.
Definition at line 151 of file wideBand.H.
Bands.
Definition at line 154 of file wideBand.H.
|
mutableprotected |
Look-up table of species related to ft.
Definition at line 157 of file wideBand.H.
|
protected |
Thermo package.
Definition at line 160 of file wideBand.H.
|
protected |
|
protected |
Pointer list of species being solved involved in the absorption.
Definition at line 166 of file wideBand.H.
|
protected |
Definition at line 169 of file wideBand.H.