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

basicRhoThermo Class Reference

Basic thermodynamic properties based on density. More...

Inheritance diagram for basicRhoThermo:
Collaboration diagram for basicRhoThermo:

List of all members.


Public Member Functions

 TypeName ("basicRhoThermo")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, basicRhoThermo, fvMesh,(const fvMesh &mesh),(mesh))
 Declare run-time constructor selection table.
 basicRhoThermo (const fvMesh &)
 Construct from mesh.
virtual ~basicRhoThermo ()
 Destructor.
virtual tmp< volScalarFieldrho () const
 Density [kg/m^3].
virtual volScalarFieldrho ()
 Return non-const access to the local density field [kg/m^3].

Static Public Member Functions

static autoPtr< basicRhoThermoNew (const fvMesh &)
 Selector.

Protected Member Functions

 basicRhoThermo (const basicRhoThermo &)
 Construct as copy (not implemented).

Protected Attributes

volScalarField rho_
 Density field [kg/m^3].

Detailed Description

Basic thermodynamic properties based on density.

Source files

Definition at line 46 of file basicRhoThermo.H.


Constructor & Destructor Documentation

basicRhoThermo ( const basicRhoThermo  )  [protected]

Construct as copy (not implemented).

basicRhoThermo ( const fvMesh mesh  ) 

Construct from mesh.

Definition at line 31 of file basicRhoThermo.C.

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

Here is the call graph for this function:

~basicRhoThermo (  )  [virtual]

Destructor.

Definition at line 52 of file basicRhoThermo.C.


Member Function Documentation

TypeName ( "basicRhoThermo"   ) 

Runtime type information.

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

Declare run-time constructor selection table.

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

Selector.

Reimplemented in hReactionThermo.

Definition at line 27 of file newBasicRhoThermo.C.

References TimePaths::constant(), Foam::endl(), Foam::exit(), Foam::FatalError, 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::tmp< Foam::volScalarField > rho (  )  const [virtual]

Density [kg/m^3].

Implements basicThermo.

Definition at line 58 of file basicRhoThermo.C.

Foam::volScalarField & rho (  )  [virtual]

Return non-const access to the local density field [kg/m^3].

Definition at line 64 of file basicRhoThermo.C.

References basicRhoThermo::rho_.


Member Data Documentation

volScalarField rho_ [protected]

Density field [kg/m^3].

Named 'rhoThermo' to avoid (potential) conflict with solver density

Definition at line 59 of file basicRhoThermo.H.

Referenced by basicRhoThermo::rho().


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