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

Top level model for radiation modelling. More...

#include <radiation/radiationModel.H>


Detailed Description

Top level model for radiation modelling.

Source files

Definition at line 66 of file radiationModel.H.

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< 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.

Constructor & Destructor Documentation

radiationModel ( const volScalarField &   T  )

Null constructor.

Definition at line 45 of file radiationModel.C.

radiationModel ( const word &   type,
const volScalarField &   T  
)

Construct from components.

Definition at line 70 of file radiationModel.C.

References Foam::max().

~radiationModel (  ) [virtual]

Destructor.

Definition at line 101 of file radiationModel.C.


Member Function Documentation

TypeName ( "radiationModel"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
radiationModel   ,
dictionary   ,
(const volScalarField &T)   ,
(T)    
)
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().


Member Data Documentation

const fvMesh& mesh_ [protected]

Reference to the mesh database.

Definition at line 75 of file radiationModel.H.

Referenced by fvDOM::fvDOM().

const Time& time_ [protected]

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.

Absorption/emission model.

Definition at line 97 of file radiationModel.H.

Referenced by fvDOM::fvDOM().

Scatter model.

Definition at line 100 of file radiationModel.H.


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