OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

basicThermo Class Reference

Inheritance diagram for basicThermo:

Inheritance graph
[legend]
Collaboration diagram for basicThermo:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 61 of file basicThermo.H.


Public Member Functions

 TypeName ("basicThermo")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, basicThermo, fvMesh,(const fvMesh &mesh),(mesh))
 basicThermo (const fvMesh &)
 Construct from mesh.
virtual ~basicThermo ()
virtual void correct ()=0
 Update properties.
volScalarField & p ()
 Pressure [Pa].
const volScalarField & p () const
 Pressure [Pa].
virtual volScalarField & h ()
 Enthalpy [J/kg].
virtual const volScalarField & h () const
 Enthalpy [J/kg].
virtual tmp< scalarField > h (const scalarField &T, const labelList &cells) const
 Enthalpy for cell-set [J/kg].
virtual tmp< scalarField > h (const scalarField &T, const label patchi) const
 Enthalpy for patch [J/kg].
virtual volScalarField & e ()
 Internal energy [J/kg].
virtual const volScalarField & e () const
 Internal energy [J/kg].
const volScalarField & T () const
 Temperature [K].
tmp< volScalarField > rho () const
 Density [kg/m^3].
const volScalarField & psi () const
 Compressibility [s^2/m^2].
virtual tmp< scalarField > Cp (const scalarField &T, const label patchi) const
 Heat capacity at constant pressure for patch [J/kg/K].
virtual tmp< volScalarField > Cp () const
 Heat capacity at constant pressure [J/kg/K].
virtual tmp< volScalarField > Cv () const
 Heat capacity at constant volume [J/kg/K].
const volScalarField & mu () const
 Dynamic viscosity of mixture [kg/ms].
const volScalarField & alpha () const
 Thermal diffusivity for enthalpy of mixture [kg/ms].
virtual bool read ()=0
 Read thermophysicalProperties dictionary.

Static Public Member Functions

static autoPtr< basicThermo > New (const fvMesh &)

Protected Member Functions

wordList hBoundaryTypes ()
void hBoundaryCorrection (volScalarField &h)
 basicThermo (const basicThermo &)
 Construct as copy (not implemented).

Protected Attributes

volScalarField p_
volScalarField T_
volScalarField psi_
volScalarField mu_
volScalarField alpha_

Constructor & Destructor Documentation

basicThermo ( const basicThermo &   )  [protected]

Construct as copy (not implemented).

basicThermo ( const fvMesh &   ) 

Construct from mesh.

virtual ~basicThermo (  )  [virtual]


Member Function Documentation

wordList hBoundaryTypes (  )  [protected]

void hBoundaryCorrection ( volScalarField &  h  )  [protected]

TypeName ( "basicThermo"   ) 

Runtime type information.

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

static autoPtr<basicThermo> New ( const fvMesh &   )  [static]

Reimplemented in hCombustionThermo, and hhuCombustionThermo.

virtual void correct (  )  [pure virtual]

Update properties.

Implemented in hThermo, hCombustionThermo, hhuCombustionThermo, hhuMixtureThermo, and hMixtureThermo.

volScalarField& p (  )  [inline]

Pressure [Pa].

Non-const access allowed for transport equations

Definition at line 133 of file basicThermo.H.

const volScalarField& p (  )  const [inline]

Pressure [Pa].

Definition at line 139 of file basicThermo.H.

virtual volScalarField& h (  )  [inline, virtual]

Enthalpy [J/kg].

Non-const access allowed for transport equations

Reimplemented in hThermo, and hCombustionThermo.

Definition at line 148 of file basicThermo.H.

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

Enthalpy [J/kg].

Reimplemented in hThermo, and hCombustionThermo.

Definition at line 155 of file basicThermo.H.

References notImplemented.

virtual tmp<scalarField> h ( const scalarField &  T,
const labelList &  cells 
) const [inline, virtual]

Enthalpy for cell-set [J/kg].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 163 of file basicThermo.H.

virtual tmp<scalarField> h ( const scalarField &  T,
const label  patchi 
) const [inline, virtual]

Enthalpy for patch [J/kg].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 178 of file basicThermo.H.

virtual volScalarField& e (  )  [inline, virtual]

Internal energy [J/kg].

Non-const access allowed for transport equations

Definition at line 195 of file basicThermo.H.

References basicThermo::T_.

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

Internal energy [J/kg].

Definition at line 202 of file basicThermo.H.

const volScalarField& T (  )  const [inline]

Temperature [K].

Definition at line 212 of file basicThermo.H.

References basicThermo::psi_.

tmp<volScalarField> rho (  )  const [inline]

Density [kg/m^3].

Definition at line 218 of file basicThermo.H.

References notImplemented.

const volScalarField& psi (  )  const [inline]

Compressibility [s^2/m^2].

Definition at line 224 of file basicThermo.H.

virtual tmp<scalarField> Cp ( const scalarField &  T,
const label  patchi 
) const [inline, virtual]

Heat capacity at constant pressure for patch [J/kg/K].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 231 of file basicThermo.H.

References notImplemented, and GeometricField::null().

Here is the call graph for this function:

virtual tmp<volScalarField> Cp (  )  const [inline, virtual]

Heat capacity at constant pressure [J/kg/K].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 245 of file basicThermo.H.

References basicThermo::mu_.

virtual tmp<volScalarField> Cv (  )  const [inline, virtual]

Heat capacity at constant volume [J/kg/K].

Reimplemented in hThermo.

Definition at line 252 of file basicThermo.H.

const volScalarField& mu (  )  const [inline]

Dynamic viscosity of mixture [kg/ms].

Definition at line 262 of file basicThermo.H.

const volScalarField& alpha (  )  const [inline]

Thermal diffusivity for enthalpy of mixture [kg/ms].

Definition at line 268 of file basicThermo.H.

Referenced by turbulenceModel::mu().

Here is the caller graph for this function:

virtual bool read (  )  [pure virtual]

Read thermophysicalProperties dictionary.

Reimplemented from regIOobject.

Implemented in hThermo, hhuMixtureThermo, and hMixtureThermo.


Member Data Documentation

volScalarField p_ [protected]

Definition at line 70 of file basicThermo.H.

Referenced by hhuCombustionThermo::Tu().

volScalarField T_ [protected]

Definition at line 71 of file basicThermo.H.

Referenced by basicThermo::e().

volScalarField psi_ [protected]

Definition at line 72 of file basicThermo.H.

Referenced by basicThermo::T().

volScalarField mu_ [protected]

Definition at line 74 of file basicThermo.H.

Referenced by basicThermo::Cp().

volScalarField alpha_ [protected]

Definition at line 75 of file basicThermo.H.


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