OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

radiationModel Class Reference

Top level model for radiation modelling. More...

Inheritance diagram for radiationModel:
Collaboration diagram for radiationModel:

List of all members.


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< volScalarFieldRp () const =0
 Source term component (for power of T^4).
virtual tmp< DimensionedField
< scalar, volMesh > > 
Ru () const =0
 Source term component (constant).
virtual tmp< fvScalarMatrixSh (basicThermo &thermo) const
 Enthalpy source term.

Static Public Member Functions

static autoPtr< radiationModelNew (const volScalarField &T)
 Return a reference to the selected radiation model.

Protected Attributes

const fvMeshmesh_
 Reference to the mesh database.
const Timetime_
 Reference to the time database.
const volScalarFieldT_
 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< absorptionEmissionModelabsorptionEmission_
 Absorption/emission model.
autoPtr< scatterModelscatter_
 Scatter model.

Detailed Description

Top level model for radiation modelling.

Source files

Definition at line 62 of file radiationModel.H.


Constructor & Destructor Documentation

radiationModel ( const volScalarField T  ) 

Null constructor.

Definition at line 37 of file radiationModel.C.

References Foam::radiation::defineRunTimeSelectionTable(), and Foam::radiation::defineTypeNameAndDebug().

Here is the call graph for this function:

radiationModel ( const word type,
const volScalarField T 
)

Construct from components.

Definition at line 62 of file radiationModel.C.

~radiationModel (  )  [virtual]

Destructor.

Definition at line 93 of file radiationModel.C.

References Foam::max().

Here is the call graph for this function:


Member Function Documentation

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 31 of file newRadiationModel.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), DimensionedField< Type, GeoMesh >::mesh(), IOobject::MUST_READ, Foam::nl, IOobject::NO_WRITE, radiation(), and Foam::T().

Here is the call graph for this function:

void correct (  )  [virtual]

Main update/correction routine.

Definition at line 115 of file radiationModel.C.

virtual void calculate (  )  [pure virtual]

Solve radiation equation(s).

Implemented in fvDOM, noRadiation, and P1.

Referenced by radiationModel::Sh().

Here is the caller graph for this function:

bool read (  )  [pure virtual]

Read radiationProperties dictionary.

Reimplemented from regIOobject.

Implemented in fvDOM, noRadiation, and P1.

Definition at line 99 of file radiationModel.C.

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 130 of file radiationModel.C.

References radiationModel::calculate().

Here is the call graph for this function:


Member Data Documentation

const fvMesh& mesh_ [protected]

Reference to the mesh database.

Definition at line 71 of file radiationModel.H.

const Time& time_ [protected]

Reference to the time database.

Definition at line 74 of file radiationModel.H.

const volScalarField& T_ [protected]

Reference to the temperature field.

Definition at line 77 of file radiationModel.H.

Switch radiation_ [protected]

Model specific dictionary input parameters.

Definition at line 80 of file radiationModel.H.

dictionary coeffs_ [protected]

Radiation model dictionary.

Definition at line 83 of file radiationModel.H.

label solverFreq_ [protected]

Radiation solver frequency - number flow solver iterations per.

radiation solver iteration

Definition at line 89 of file radiationModel.H.

Absorption/emission model.

Definition at line 95 of file radiationModel.H.

Referenced by fvDOM::updateG().

Scatter model.

Definition at line 98 of file radiationModel.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd