greyMean Class Reference
Inheritance diagram for greyMean:
Collaboration diagram for greyMean:

Public Member Functions

 TypeName ("greyMean")
 Runtime type information. More...
 
 greyMean (const dictionary &dict, const fvMesh &mesh, const word &modelName=typeName)
 Construct from components. More...
 
virtual ~greyMean ()
 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...
 
- 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...
 
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...
 

Public Attributes

absorptionCoeffs coeffs_ [nSpecies_]
 

Static Public Attributes

static const int nSpecies_ = 5
 

Protected Attributes

dictionary coeffsDict_
 Absorption model dictionary. More...
 
HashTable< labelspeciesNames_
 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 fluidThermothermo_
 SLG thermo package. More...
 
UPtrList< volScalarFieldYj_
 Pointer list of species in the registry involved in the absorption. More...
 
- 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 110 of file greyMean.H.

Constructor & Destructor Documentation

◆ greyMean()

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

◆ ~greyMean()

~greyMean ( )
virtual

Destructor.

Definition at line 171 of file greyMean.C.

References greyMean::aCont().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "greyMean"  )

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 179 of file greyMean.C.

References Foam::constant::physicoChemical::b, Foam::dimLength, Foam::dimless, greyMean::eCont(), forAll, forAllConstIter(), mesh, n, Foam::name(), GeometricField< scalar, fvPatchField, volMesh >::New(), p, Foam::paToAtm(), tmp< T >::ref(), s(), basicMultiComponentMixture::species(), Foam::T(), basicSpecieMixture::Wi(), and basicMultiComponentMixture::Y().

Referenced by greyMean::~greyMean().

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 256 of file greyMean.C.

References greyMean::ECont().

Referenced by greyMean::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 266 of file greyMean.C.

References absorptionEmissionModel::ECont().

Referenced by greyMeanCombustion::ECont(), and greyMean::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 181 of file greyMean.H.

Member Data Documentation

◆ nSpecies_

const int nSpecies_ = 5
static

Definition at line 119 of file greyMean.H.

◆ coeffs_

Definition at line 122 of file greyMean.H.

◆ coeffsDict_

dictionary coeffsDict_
protected

Absorption model dictionary.

Definition at line 130 of file greyMean.H.

◆ speciesNames_

HashTable<label> speciesNames_
protected

Hash table of species names.

Definition at line 133 of file greyMean.H.

◆ specieIndex_

FixedList<label, nSpecies_> specieIndex_
protected

Indices of species in the look-up table.

Definition at line 136 of file greyMean.H.

◆ lookUpTablePtr_

autoPtr<interpolationLookUpTable<scalar> > lookUpTablePtr_
mutableprotected

Look-up table of species related to ft.

Definition at line 139 of file greyMean.H.

◆ thermo_

const fluidThermo& thermo_
protected

SLG thermo package.

Definition at line 142 of file greyMean.H.

◆ Yj_

UPtrList<volScalarField> Yj_
protected

Pointer list of species in the registry involved in the absorption.

Definition at line 145 of file greyMean.H.


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