FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Model to supply absorption and emission coefficients for radiation modelling. More...

#include <radiation/absorptionEmissionModel.H>


Detailed Description

Model to supply absorption and emission coefficients for radiation modelling.

Definition at line 53 of file absorptionEmissionModel.H.

Inheritance diagram for absorptionEmissionModel:
Collaboration diagram for absorptionEmissionModel:

List of all members.

Public Member Functions

 TypeName ("absorptionEmissionModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, absorptionEmissionModel, dictionary,(const dictionary &dict, const fvMesh &mesh),(dict, mesh))
 Declare runtime constructor selection table.
 absorptionEmissionModel (const dictionary &dict, const fvMesh &mesh)
 Construct from components.
virtual  ~absorptionEmissionModel ()
 Destructor.
const fvMesh &  mesh () const
 Reference to the mesh.
const dictionary &  dict () const
 Reference to the dictionary.
virtual tmp< volScalarField >  a (const label bandI=0) const
 Absorption coefficient (net)
virtual tmp< volScalarField >  aCont (const label bandI=0) const
 Absorption coefficient for continuous phase.
virtual tmp< volScalarField >  aDisp (const label bandI=0) const
 Absorption coefficient for dispersed phase.
virtual tmp< volScalarField >  e (const label bandI=0) const
 Emission coefficient (net)
virtual tmp< volScalarField >  eCont (const label bandI=0) const
 Return emission coefficient for continuous phase.
virtual tmp< volScalarField >  eDisp (const label bandI=0) const
 Return emission coefficient for dispersed phase.
virtual tmp< volScalarField >  E (const label bandI=0) const
 Emission contribution (net)
virtual tmp< volScalarField >  ECont (const label bandI=0) const
 Emission contribution for continuous phase.
virtual tmp< volScalarField >  EDisp (const label bandI=0) const
 Emission contribution for dispersed phase.
virtual label  nBands () const
 Const access to the number of bands - defaults to 1 for grey.
virtual const Vector2D< scalar > &  bands (const label n) const
 Const access to the bands - defaults to Vector2D::one for grey.
virtual bool  isGrey () const
 Flag for whether the absorption/emission is for a grey gas.
virtual tmp< volScalarField >  addIntensity (const label rayI, const volScalarField &ILambda) const
 Add radiative intensity for ray i.
virtual void  correct (volScalarField &a, PtrList< volScalarField > &aj) const
 Correct absorption coefficients.

Static Public Member Functions

static autoPtr
< absorptionEmissionModel >  
New (const dictionary &dict, const fvMesh &mesh)
 Selector.

Protected Attributes

const dictionary  dict_
 Radiation model dictionary.
const fvMesh &  mesh_
 Reference to the fvMesh.

Constructor & Destructor Documentation

absorptionEmissionModel ( const dictionary &   dict,
const fvMesh &   mesh  
)

Construct from components.

Definition at line 42 of file absorptionEmissionModel.C.

~absorptionEmissionModel (  ) [virtual]

Destructor.

Definition at line 54 of file absorptionEmissionModel.C.


Member Function Documentation

TypeName ( "absorptionEmissionModel"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
absorptionEmissionModel   ,
dictionary   ,
(const dictionary &dict, const fvMesh &mesh)   ,
(dict, mesh)    
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::radiation::absorptionEmissionModel > New ( const dictionary &   dict,
const fvMesh &   mesh  
) [static]
const fvMesh& mesh (  ) const [inline]

Reference to the mesh.

Definition at line 114 of file absorptionEmissionModel.H.

References absorptionEmissionModel::mesh_.

const dictionary& dict (  ) const [inline]

Reference to the dictionary.

Definition at line 120 of file absorptionEmissionModel.H.

References absorptionEmissionModel::dict_.

Foam::tmp< Foam::volScalarField > a ( const label   bandI = 0  ) const [virtual]

Absorption coefficient (net)

Definition at line 61 of file absorptionEmissionModel.C.

Foam::tmp< Foam::volScalarField > aCont ( const label   bandI = 0  ) const [virtual]

Absorption coefficient for continuous phase.

Reimplemented in binaryAbsorptionEmission, constantAbsorptionEmission, greyMeanAbsorptionEmission, and wideBandAbsorptionEmission.

Definition at line 68 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Foam::tmp< Foam::volScalarField > aDisp ( const label   bandI = 0  ) const [virtual]

Absorption coefficient for dispersed phase.

Reimplemented in cloudAbsorptionEmission, and binaryAbsorptionEmission.

Definition at line 91 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Foam::tmp< Foam::volScalarField > e ( const label   bandI = 0  ) const [virtual]

Emission coefficient (net)

Definition at line 114 of file absorptionEmissionModel.C.

Foam::tmp< Foam::volScalarField > eCont ( const label   bandI = 0  ) const [virtual]

Return emission coefficient for continuous phase.

Reimplemented in binaryAbsorptionEmission, constantAbsorptionEmission, greyMeanAbsorptionEmission, and wideBandAbsorptionEmission.

Definition at line 121 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Foam::tmp< Foam::volScalarField > eDisp ( const label   bandI = 0  ) const [virtual]

Return emission coefficient for dispersed phase.

Reimplemented in cloudAbsorptionEmission, and binaryAbsorptionEmission.

Definition at line 144 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimless, IOobject::NO_READ, and IOobject::NO_WRITE.

Foam::tmp< Foam::volScalarField > E ( const label   bandI = 0  ) const [virtual]

Emission contribution (net)

Definition at line 167 of file absorptionEmissionModel.C.

Foam::tmp< Foam::volScalarField > ECont ( const label   bandI = 0  ) const [virtual]
Foam::tmp< Foam::volScalarField > EDisp ( const label   bandI = 0  ) const [virtual]

Emission contribution for dispersed phase.

Reimplemented in cloudAbsorptionEmission, and binaryAbsorptionEmission.

Definition at line 197 of file absorptionEmissionModel.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::pow3().

Foam::label nBands (  ) const [virtual]

Const access to the number of bands - defaults to 1 for grey.

absorption/emission

Reimplemented in wideBandAbsorptionEmission.

Definition at line 219 of file absorptionEmissionModel.C.

const Foam::Vector2D< Foam::scalar > & bands ( const label   n  ) const [virtual]

Const access to the bands - defaults to Vector2D::one for grey.

absorption/emission

Reimplemented in wideBandAbsorptionEmission.

Definition at line 226 of file absorptionEmissionModel.C.

bool isGrey (  ) const [virtual]

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

Reimplemented in constantAbsorptionEmission, greyMeanAbsorptionEmission, and wideBandAbsorptionEmission.

Definition at line 232 of file absorptionEmissionModel.C.

Foam::tmp< Foam::volScalarField > addIntensity ( const label   rayI,
const volScalarField &   ILambda  
) const [virtual]

Add radiative intensity for ray i.

Reimplemented in wideBandAbsorptionEmission.

Definition at line 240 of file absorptionEmissionModel.C.

void correct ( volScalarField &   a,
PtrList< volScalarField > &   aj  
) const [virtual]

Correct absorption coefficients.

Reimplemented in wideBandAbsorptionEmission.

Definition at line 250 of file absorptionEmissionModel.C.

References GeometricField< Type, PatchField, GeoMesh >::internalField().


Member Data Documentation

const dictionary dict_ [protected]

Radiation model dictionary.

Definition at line 61 of file absorptionEmissionModel.H.

Referenced by absorptionEmissionModel::dict().

const fvMesh& mesh_ [protected]

Reference to the fvMesh.

Definition at line 64 of file absorptionEmissionModel.H.

Referenced by absorptionEmissionModel::mesh().


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