Model to supply absorption and emission coefficients for radiation modelling. More...
Public Member Functions | |
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 > | aCont (const label bandI=0) const |
Absorption coefficient for continuous phase. 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 > | eCont (const label bandI=0) const |
Return emission coefficient for continuous phase. 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 > | ECont (const label bandI=0) const |
Emission contribution for continuous phase. More... | |
virtual tmp< volScalarField > | EDisp (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 bool | isGrey () const |
Flag for whether the absorption/emission is for a grey gas. More... | |
virtual void | correct (volScalarField &a, PtrList< volScalarField > &aj) const |
Correct absorption coefficients. More... | |
Static Public Member Functions | |
static autoPtr< absorptionEmissionModel > | New (const dictionary &dict, const fvMesh &mesh) |
Selector. More... | |
Protected Attributes | |
const dictionary | dict_ |
Radiation model dictionary. More... | |
const fvMesh & | mesh_ |
Reference to the fvMesh. More... | |
Model to supply absorption and emission coefficients for radiation modelling.
Definition at line 52 of file absorptionEmissionModel.H.
absorptionEmissionModel | ( | const dictionary & | dict, |
const fvMesh & | mesh | ||
) |
Construct from components.
Definition at line 41 of file absorptionEmissionModel.C.
|
virtual |
Destructor.
Definition at line 54 of file absorptionEmissionModel.C.
TypeName | ( | "absorptionEmissionModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
absorptionEmissionModel | , | ||
dictionary | , | ||
(const dictionary &dict, const fvMesh &mesh) | , | ||
(dict, mesh) | |||
) |
Declare runtime constructor selection table.
|
static |
Selector.
Definition at line 32 of file absorptionEmissionModelNew.C.
References absorptionEmissionModel::dict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), absorptionEmissionModel::mesh(), and Foam::nl.
|
inline |
Reference to the mesh.
Definition at line 113 of file absorptionEmissionModel.H.
References absorptionEmissionModel::mesh_.
Referenced by greyMean::greyMean(), absorptionEmissionModel::New(), and wideBand::wideBand().
|
inline |
Reference to the dictionary.
Definition at line 119 of file absorptionEmissionModel.H.
References absorptionEmissionModel::dict_.
Referenced by greyMean::greyMean(), absorptionEmissionModel::New(), and wideBand::wideBand().
|
virtual |
Absorption coefficient (net)
Definition at line 61 of file absorptionEmissionModel.C.
|
virtual |
Absorption coefficient for continuous phase.
Reimplemented in wideBand, greyMean, constant, and binary.
Definition at line 68 of file absorptionEmissionModel.C.
References Foam::dimLength, Foam::dimless, and GeometricField< Type, PatchField, GeoMesh >::New().
|
virtual |
Absorption coefficient for dispersed phase.
Reimplemented in binary, and cloud.
Definition at line 80 of file absorptionEmissionModel.C.
References Foam::dimLength, Foam::dimless, and GeometricField< Type, PatchField, GeoMesh >::New().
|
virtual |
Emission coefficient (net)
Definition at line 92 of file absorptionEmissionModel.C.
|
virtual |
Return emission coefficient for continuous phase.
Reimplemented in wideBand, greyMean, constant, and binary.
Definition at line 99 of file absorptionEmissionModel.C.
References Foam::dimLength, Foam::dimless, and GeometricField< Type, PatchField, GeoMesh >::New().
|
virtual |
Return emission coefficient for dispersed phase.
Reimplemented in binary, and cloud.
Definition at line 111 of file absorptionEmissionModel.C.
References Foam::dimLength, Foam::dimless, and GeometricField< Type, PatchField, GeoMesh >::New().
|
virtual |
Emission contribution (net)
Definition at line 123 of file absorptionEmissionModel.C.
|
virtual |
Emission contribution for continuous phase.
Reimplemented in wideBand, greyMean, constant, binary, wideBandCombustion, and greyMeanCombustion.
Definition at line 130 of file absorptionEmissionModel.C.
References Foam::dimLength, Foam::dimMass, Foam::dimTime, GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::pow3().
Referenced by greyMean::ECont(), and wideBand::ECont().
|
virtual |
Emission contribution for dispersed phase.
Reimplemented in binary, and cloud.
Definition at line 142 of file absorptionEmissionModel.C.
References Foam::dimLength, Foam::dimMass, Foam::dimTime, GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::pow3().
|
virtual |
Const access to the number of bands - defaults to 1 for grey.
absorption/emission
Reimplemented in wideBand.
Definition at line 153 of file absorptionEmissionModel.C.
|
virtual |
Const access to the bands - defaults to Vector2D::one for grey.
absorption/emission
Reimplemented in wideBand.
Definition at line 160 of file absorptionEmissionModel.C.
|
virtual |
Flag for whether the absorption/emission is for a grey gas.
Reimplemented in wideBand, greyMean, and constant.
Definition at line 166 of file absorptionEmissionModel.C.
|
virtual |
Correct absorption coefficients.
Reimplemented in wideBand.
Definition at line 172 of file absorptionEmissionModel.C.
|
protected |
Radiation model dictionary.
Definition at line 60 of file absorptionEmissionModel.H.
Referenced by absorptionEmissionModel::dict().
|
protected |
Reference to the fvMesh.
Definition at line 63 of file absorptionEmissionModel.H.
Referenced by absorptionEmissionModel::mesh().