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

hPsiThermo< MixtureType > Class Template Reference

Enthalpy for a mixture based on compressibility. More...

Inheritance diagram for hPsiThermo< MixtureType >:
Collaboration diagram for hPsiThermo< MixtureType >:

List of all members.


Public Member Functions

 TypeName ("hPsiThermo")
 Runtime type information.
 hPsiThermo (const fvMesh &)
 Construct from mesh.
virtual ~hPsiThermo ()
 Destructor.
virtual basicMixture & composition ()
 Return the compostion of the mixture.
virtual const basicMixture & composition () const
 Return the compostion of the mixture.
virtual void correct ()
 Update properties.
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 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< scalarField > Cv (const scalarField &T, const label patchi) const
 Heat capacity at constant volume for patch [J/kg/K].
virtual tmp< volScalarField > Cv () const
 Heat capacity at constant volume [J/kg/K].
virtual bool read ()
 Read thermophysicalProperties dictionary.

Detailed Description

template<class MixtureType>
class Foam::hPsiThermo< MixtureType >

Enthalpy for a mixture based on compressibility.

Enthalpy for a mixture based on density.

Source files
Source files

Definition at line 46 of file hPsiThermo.H.


Constructor & Destructor Documentation

hPsiThermo ( const fvMesh &  mesh  )  [inline]

Construct from mesh.

Definition at line 91 of file hPsiThermo.C.

~hPsiThermo (  )  [inline, virtual]

Destructor.

Definition at line 137 of file hPsiThermo.C.


Member Function Documentation

TypeName ( "hPsiThermo< MixtureType >"   ) 

Runtime type information.

virtual basicMixture& composition (  )  [inline, virtual]

Return the compostion of the mixture.

Definition at line 85 of file hPsiThermo.H.

virtual const basicMixture& composition (  )  const [inline, virtual]

Return the compostion of the mixture.

Definition at line 91 of file hPsiThermo.H.

void correct (  )  [inline, virtual]

Update properties.

Implements basicThermo.

Definition at line 144 of file hPsiThermo.C.

virtual volScalarField& h (  )  [inline, virtual]

Enthalpy [J/kg].

Non-const access allowed for transport equations

Reimplemented from basicThermo.

Definition at line 106 of file hPsiThermo.H.

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

Enthalpy [J/kg].

Reimplemented from basicThermo.

Definition at line 112 of file hPsiThermo.H.

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

Enthalpy for cell-set [J/kg].

Reimplemented from basicThermo.

Definition at line 165 of file hPsiThermo.C.

References Foam::endl(), and Foam::Info.

Here is the call graph for this function:

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

Enthalpy for patch [J/kg].

Reimplemented from basicThermo.

Definition at line 184 of file hPsiThermo.C.

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

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

Reimplemented from basicThermo.

Definition at line 203 of file hPsiThermo.C.

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

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

Reimplemented from basicThermo.

Definition at line 221 of file hPsiThermo.C.

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

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

Reimplemented from basicThermo.

Definition at line 267 of file hPsiThermo.C.

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

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

Reimplemented from basicThermo.

Definition at line 285 of file hPsiThermo.C.

bool read (  )  [inline, virtual]

Read thermophysicalProperties dictionary.

Reimplemented from basicThermo.

Definition at line 324 of file hPsiThermo.C.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/basic/psiThermo/hPsiThermo/hPsiThermo.H
  • src/thermophysicalModels/basic/psiThermo/hPsiThermo/hPsiThermo.C
Copyright © 2000-2009 OpenCFD Ltd