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

hReactionThermo Class Reference

Foam::hReactionThermo. More...

Inheritance diagram for hReactionThermo:
Collaboration diagram for hReactionThermo:

List of all members.


Public Member Functions

 TypeName ("hReactionThermo")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, hReactionThermo, fvMesh,(const fvMesh &mesh),(mesh))
 Declare run-time constructor selection tables.
 hReactionThermo (const fvMesh &)
 Construct from dictionary and mesh.
virtual ~hReactionThermo ()
 Destructor.
virtual
basicMultiComponentMixture & 
composition ()=0
 Return the composition of the multi-component mixture.
virtual const
basicMultiComponentMixture & 
composition () const =0
 Return the composition of the multi-component mixture.
virtual volScalarField & h ()
 Enthalpy [J/kg].
virtual const volScalarField & h () const
 Enthalpy [J/kg].
virtual tmp< volScalarField > hs () const =0
 Sensible enthalpy [J/kg].
virtual tmp< volScalarField > hc () const =0
 Chemical enthalpy [J/kg].
virtual void correct ()=0
 Update properties.

Static Public Member Functions

static autoPtr< hReactionThermo > New (const fvMesh &)
 Standard selection based on fvMesh.
static autoPtr< hReactionThermo > NewType (const fvMesh &, const word &thermoType)
 Select and check that package contains 'thermoType'.

Protected Attributes

volScalarField h_
 Enthalpy field.

Detailed Description

Foam::hReactionThermo.

Source files

Definition at line 47 of file hReactionThermo.H.


Constructor & Destructor Documentation

hReactionThermo ( const fvMesh &  mesh  ) 

Construct from dictionary and mesh.

Definition at line 31 of file hReactionThermo.C.

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

Here is the call graph for this function:

~hReactionThermo (  )  [virtual]

Destructor.

Definition at line 54 of file hReactionThermo.C.


Member Function Documentation

TypeName ( "hReactionThermo"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
hReactionThermo  ,
fvMesh  ,
(const fvMesh &mesh)  ,
(mesh)   
)

Declare run-time constructor selection tables.

Foam::autoPtr< Foam::hReactionThermo > New ( const fvMesh &  mesh  )  [static]

Standard selection based on fvMesh.

Reimplemented from basicRhoThermo.

Definition at line 24 of file newhReactionThermo.C.

References TimePaths::constant(), Foam::endl(), FatalErrorIn, Foam::Info, dictionary::lookup(), IOobject::MUST_READ, Foam::nl, IOobject::NO_WRITE, and fvMesh::time().

Here is the call graph for this function:

Foam::autoPtr< Foam::hReactionThermo > NewType ( const fvMesh &  mesh,
const word &  thermoType 
) [static]

Select and check that package contains 'thermoType'.

Definition at line 70 of file newhReactionThermo.C.

virtual basicMultiComponentMixture& composition (  )  [pure virtual]

Return the composition of the multi-component mixture.

Implemented in hRhoMixtureThermo< MixtureType >.

virtual const basicMultiComponentMixture& composition (  )  const [pure virtual]

Return the composition of the multi-component mixture.

Implemented in hRhoMixtureThermo< MixtureType >.

virtual volScalarField& h (  )  [inline, virtual]

Enthalpy [J/kg].

Non-const access allowed for transport equations

Reimplemented from basicThermo.

Definition at line 115 of file hReactionThermo.H.

virtual const volScalarField& h (  )  const [inline, virtual]

Enthalpy [J/kg].

Reimplemented from basicThermo.

Definition at line 121 of file hReactionThermo.H.

virtual tmp<volScalarField> hs (  )  const [pure virtual]

Sensible enthalpy [J/kg].

Implemented in hRhoMixtureThermo< MixtureType >.

virtual tmp<volScalarField> hc (  )  const [pure virtual]

Chemical enthalpy [J/kg].

Implemented in hRhoMixtureThermo< MixtureType >.

virtual void correct (  )  [pure virtual]

Update properties.

Implements basicThermo.

Implemented in hRhoMixtureThermo< MixtureType >.


Member Data Documentation

volScalarField h_ [protected]

Enthalpy field.

Definition at line 57 of file hReactionThermo.H.


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