Top level model for radiation modelling. More...
#include <radiation/radiationModel.H>
Top level model for radiation modelling.
Definition at line 66 of file radiationModel.H.
Inheritance diagram for radiationModel:
Collaboration diagram for radiationModel:Public Member Functions | |
| TypeName ("radiationModel") | |
| Runtime type information.
| |
| declareRunTimeSelectionTable (autoPtr, radiationModel, dictionary,(const volScalarField &T),(T)) | |
| radiationModel (const volScalarField &T) | |
| Null constructor.
| |
| radiationModel (const word &type, const volScalarField &T) | |
| Construct from components.
| |
| virtual | ~radiationModel () |
| Destructor.
| |
| virtual void | correct () |
| Main update/correction routine.
| |
| virtual void | calculate ()=0 |
| Solve radiation equation(s)
| |
| virtual bool | read ()=0 |
| Read radiationProperties dictionary.
| |
| virtual tmp< volScalarField > | Rp () const =0 |
| Source term component (for power of T^4)
| |
| virtual tmp< DimensionedField < scalar, volMesh > > | Ru () const =0 |
| Source term component (constant)
| |
| virtual tmp< fvScalarMatrix > | Sh (basicThermo &thermo) const |
| Enthalpy source term.
| |
| virtual tmp< fvScalarMatrix > | Shs (basicThermo &thermo) const |
| Sensible enthalpy source term.
| |
Static Public Member Functions | |
| static autoPtr< radiationModel > | New (const volScalarField &T) |
| Return a reference to the selected radiation model.
| |
Protected Attributes | |
| const fvMesh & | mesh_ |
| Reference to the mesh database.
| |
| const Time & | time_ |
| Reference to the time database.
| |
| const volScalarField & | T_ |
| Reference to the temperature field.
| |
| Switch | radiation_ |
| Model specific dictionary input parameters.
| |
| dictionary | coeffs_ |
| Radiation model dictionary.
| |
| label | solverFreq_ |
| Radiation solver frequency - number flow solver iterations per.
| |
| autoPtr< absorptionEmissionModel > | absorptionEmission_ |
| Absorption/emission model.
| |
| autoPtr< scatterModel > | scatter_ |
| Scatter model.
| |
| radiationModel | ( | const volScalarField & | T ) |
Null constructor.
Definition at line 45 of file radiationModel.C.
| radiationModel | ( | const word & | type, |
| const volScalarField & | T | ||
| ) |
| ~radiationModel | ( | ) | [virtual]
|
Destructor.
Definition at line 101 of file radiationModel.C.
| TypeName | ( | "radiationModel" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| radiationModel | , | ||
| dictionary | , | ||
| (const volScalarField &T) | , | ||
| (T) | |||
| ) |
| autoPtr< radiationModel > New | ( | const volScalarField & | T ) | [static]
|
Return a reference to the selected radiation model.
Definition at line 39 of file newRadiationModel.C.
References TimePaths::constant(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), DimensionedField< Type, GeoMesh >::mesh(), IOobject::MUST_READ, Foam::nl, IOobject::NO_WRITE, Foam::T(), and IOobject::time().
| void correct | ( | ) | [virtual]
|
Main update/correction routine.
Definition at line 123 of file radiationModel.C.
| virtual void calculate | ( | ) | [pure virtual]
|
Solve radiation equation(s)
Implemented in fvDOM, noRadiation, and P1.
| bool read | ( | ) | [pure virtual]
|
Read radiationProperties dictionary.
Reimplemented from regIOobject.
Implemented in fvDOM, noRadiation, and P1.
Definition at line 107 of file radiationModel.C.
References regIOobject::read(), and Foam::type().
Referenced by P1::read(), noRadiation::read(), and fvDOM::read().
| virtual tmp<volScalarField> Rp | ( | ) | const [pure virtual]
|
Source term component (for power of T^4)
Implemented in fvDOM, noRadiation, and P1.
| virtual tmp<DimensionedField<scalar, volMesh> > Ru | ( | ) | const [pure virtual]
|
Source term component (constant)
Implemented in fvDOM, noRadiation, and P1.
| Foam::tmp< Foam::fvScalarMatrix > Sh | ( | basicThermo & | thermo ) | const [virtual]
|
Enthalpy source term.
Definition at line 138 of file radiationModel.C.
References basicThermo::Cp(), Foam::cp(), basicThermo::h(), h, Foam::pow3(), and Foam::fvm::Sp().
| Foam::tmp< Foam::fvScalarMatrix > Shs | ( | basicThermo & | thermo ) | const [virtual]
|
Sensible enthalpy source term.
Definition at line 155 of file radiationModel.C.
References basicThermo::Cp(), Foam::cp(), basicThermo::hs(), hs, Foam::pow3(), and Foam::fvm::Sp().
Reference to the mesh database.
Definition at line 75 of file radiationModel.H.
Referenced by fvDOM::fvDOM().
Reference to the time database.
Definition at line 78 of file radiationModel.H.
const volScalarField& T_ [protected]
|
Reference to the temperature field.
Definition at line 81 of file radiationModel.H.
Switch radiation_ [protected]
|
Model specific dictionary input parameters.
Definition at line 84 of file radiationModel.H.
dictionary coeffs_ [protected]
|
Radiation model dictionary.
Definition at line 87 of file radiationModel.H.
label solverFreq_ [protected]
|
Radiation solver frequency - number flow solver iterations per.
radiation solver iteration
Definition at line 91 of file radiationModel.H.
autoPtr<absorptionEmissionModel> absorptionEmission_ [protected]
|
Absorption/emission model.
Definition at line 97 of file radiationModel.H.
Referenced by fvDOM::fvDOM().
autoPtr<scatterModel> scatter_ [protected]
|
Scatter model.
Definition at line 100 of file radiationModel.H.