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 42 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 33 of file absorptionEmissionModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), mesh, and Foam::nl.
|
inline |
Reference to the mesh.
Definition at line 113 of file absorptionEmissionModel.H.
References absorptionEmissionModel::mesh_.
|
inline |
Reference to the dictionary.
Definition at line 119 of file absorptionEmissionModel.H.
References absorptionEmissionModel::a(), absorptionEmissionModel::aCont(), absorptionEmissionModel::aDisp(), absorptionEmissionModel::bands(), absorptionEmissionModel::correct(), absorptionEmissionModel::dict_, absorptionEmissionModel::e(), absorptionEmissionModel::E(), absorptionEmissionModel::eCont(), absorptionEmissionModel::ECont(), absorptionEmissionModel::eDisp(), absorptionEmissionModel::EDisp(), absorptionEmissionModel::isGrey(), n, and absorptionEmissionModel::nBands().
|
virtual |
Absorption coefficient (net)
Definition at line 61 of file absorptionEmissionModel.C.
Referenced by wideBand::bands(), and absorptionEmissionModel::dict().
|
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< scalar, fvPatchField, volMesh >::New().
Referenced by absorptionEmissionModel::dict().
|
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< scalar, fvPatchField, volMesh >::New().
Referenced by absorptionEmissionModel::dict().
|
virtual |
Emission coefficient (net)
Definition at line 92 of file absorptionEmissionModel.C.
Referenced by absorptionEmissionModel::dict(), and radiationCoupledBase::emissivity().
|
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< scalar, fvPatchField, volMesh >::New().
Referenced by absorptionEmissionModel::dict().
|
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< scalar, fvPatchField, volMesh >::New().
Referenced by absorptionEmissionModel::dict().
|
virtual |
Emission contribution (net)
Definition at line 123 of file absorptionEmissionModel.C.
Referenced by absorptionEmissionModel::dict().
|
virtual |
Emission contribution for continuous phase.
Reimplemented in wideBand, greyMean, binary, constant, greyMeanCombustion, and wideBandCombustion.
Definition at line 130 of file absorptionEmissionModel.C.
References Foam::dimLength, Foam::dimMass, Foam::dimTime, GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::pow3().
Referenced by absorptionEmissionModel::dict(), 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< scalar, fvPatchField, volMesh >::New(), and Foam::pow3().
Referenced by absorptionEmissionModel::dict().
|
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.
Referenced by absorptionEmissionModel::dict().
|
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.
Referenced by absorptionEmissionModel::dict().
|
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.
References absorptionEmissionModel::correct().
Referenced by absorptionEmissionModel::dict().
|
virtual |
Correct absorption coefficients.
Reimplemented in wideBand.
Definition at line 173 of file absorptionEmissionModel.C.
Referenced by absorptionEmissionModel::dict(), and absorptionEmissionModel::isGrey().
|
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().