wideBand Class Reference
Inheritance diagram for wideBand:
Collaboration diagram for wideBand:

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< volScalarFieldaCont (const label bandi=0) const
 Absorption coefficient for continuous phase. More...
 
tmp< volScalarFieldeCont (const label bandi=0) const
 Emission coefficient for continuous phase. More...
 
tmp< volScalarFieldECont (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 fvMeshmesh () const
 Reference to the mesh. More...
 
const dictionarydict () const
 Reference to the dictionary. More...
 
virtual tmp< volScalarFielda (const label bandI=0) const
 Absorption coefficient (net) More...
 
virtual tmp< volScalarFieldaDisp (const label bandI=0) const
 Absorption coefficient for dispersed phase. More...
 
virtual tmp< volScalarFielde (const label bandI=0) const
 Emission coefficient (net) More...
 
virtual tmp< volScalarFieldeDisp (const label bandI=0) const
 Return emission coefficient for dispersed phase. More...
 
virtual tmp< volScalarFieldE (const label bandI=0) const
 Emission contribution (net) More...
 
virtual tmp< volScalarFieldEDisp (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< labelspeciesNames_
 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< interpolationLookUpTablelookUpTablePtr_
 Look-up table of species related to ft. More...
 
const fluidThermothermo_
 Thermo package. More...
 
label nBands_
 Bands. More...
 
UPtrList< volScalarFieldYj_
 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 fvMeshmesh_
 Reference to the fvMesh. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from absorptionEmissionModel
static autoPtr< absorptionEmissionModelNew (const dictionary &dict, const fvMesh &mesh)
 Selector. More...
 

Detailed Description

Definition at line 122 of file wideBand.H.

Constructor & Destructor Documentation

◆ wideBand()

wideBand ( const dictionary dict,
const fvMesh mesh,
const word modelName = typeName 
)

◆ ~wideBand()

~wideBand ( )
virtual

Destructor.

Definition at line 186 of file wideBand.C.

References wideBand::aCont().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "wideBand"  )

Runtime type information.

◆ aCont()

Foam::tmp< Foam::volScalarField > aCont ( const label  bandi = 0) const
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ eCont()

Foam::tmp< Foam::volScalarField > eCont ( const label  bandi = 0) const
virtual

Emission coefficient for continuous phase.

Reimplemented from absorptionEmissionModel.

Definition at line 273 of file wideBand.C.

References wideBand::ECont().

Referenced by wideBand::aCont().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ECont()

Foam::tmp< Foam::volScalarField > ECont ( const label  bandi = 0) const
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isGrey()

bool isGrey ( ) const
inlinevirtual

Flag for whether the absorption/emission is for a grey gas.

Reimplemented from absorptionEmissionModel.

Definition at line 205 of file wideBand.H.

◆ nBands()

label nBands ( ) const
inlinevirtual

Number of bands.

Reimplemented from absorptionEmissionModel.

Definition at line 211 of file wideBand.H.

References wideBand::nBands_.

◆ bands()

const Vector2D<scalar>& bands ( const label  bandi) const
inlinevirtual

Lower and upper limit of band i.

Reimplemented from absorptionEmissionModel.

Definition at line 217 of file wideBand.H.

References absorptionEmissionModel::a(), and wideBand::correct().

Here is the call graph for this function:

◆ correct()

void correct ( volScalarField a,
PtrList< volScalarField > &  aLambda 
) const
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().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ nSpecies_

const int nSpecies_ = 5
static

Maximum number of species considered for absorptivity.

Definition at line 131 of file wideBand.H.

◆ maxBands_

const int maxBands_ = 10
static

Maximum number of bands.

Definition at line 134 of file wideBand.H.

◆ coeffs_

Absorption coefficients.

Definition at line 137 of file wideBand.H.

◆ coeffsDict_

dictionary coeffsDict_
protected

Absorption model dictionary.

Definition at line 145 of file wideBand.H.

◆ speciesNames_

HashTable<label> speciesNames_
protected

Hash table with species names.

Definition at line 148 of file wideBand.H.

◆ specieIndex_

FixedList<label, nSpecies_> specieIndex_
protected

Indices of species in the look-up table.

Definition at line 151 of file wideBand.H.

◆ iBands_

FixedList<Vector2D<scalar>, maxBands_> iBands_
protected

Bands.

Definition at line 154 of file wideBand.H.

◆ lookUpTablePtr_

autoPtr<interpolationLookUpTable> lookUpTablePtr_
mutableprotected

Look-up table of species related to ft.

Definition at line 157 of file wideBand.H.

◆ thermo_

const fluidThermo& thermo_
protected

Thermo package.

Definition at line 160 of file wideBand.H.

◆ nBands_

label nBands_
protected

Bands.

Definition at line 163 of file wideBand.H.

Referenced by wideBand::nBands().

◆ Yj_

UPtrList<volScalarField> Yj_
protected

Pointer list of species being solved involved in the absorption.

Definition at line 166 of file wideBand.H.

◆ totalWaveLength_

scalar totalWaveLength_
protected

Definition at line 169 of file wideBand.H.


The documentation for this class was generated from the following files: