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

ePsiThermo< MixtureType > Class Template Reference

Internal energy for a mixture based on compressibility. More...

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

List of all members.


Public Member Functions

 TypeName ("ePsiThermo")
 Runtime type information.
 ePsiThermo (const fvMesh &)
 Construct from mese.
virtual ~ePsiThermo ()
 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 & e ()
 Internal energy [J/kg].
virtual const volScalarField & e () const
 Internal energy [J/kg].
virtual tmp< scalarField > e (const scalarField &T, const labelList &cells) const
 Internal energy for cell-set [J/kg].
virtual tmp< scalarField > e (const scalarField &T, const label patchi) const
 Internal energy 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::ePsiThermo< MixtureType >

Internal energy for a mixture based on compressibility.

Source files

Definition at line 46 of file ePsiThermo.H.


Constructor & Destructor Documentation

ePsiThermo ( const fvMesh &  mesh  )  [inline]

Construct from mese.

Definition at line 93 of file ePsiThermo.C.

~ePsiThermo (  )  [inline, virtual]

Destructor.

Definition at line 139 of file ePsiThermo.C.


Member Function Documentation

TypeName ( "ePsiThermo< MixtureType >"   ) 

Runtime type information.

virtual basicMixture& composition (  )  [inline, virtual]

Return the compostion of the mixture.

Definition at line 85 of file ePsiThermo.H.

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

Return the compostion of the mixture.

Definition at line 91 of file ePsiThermo.H.

void correct (  )  [inline, virtual]

Update properties.

Implements basicThermo.

Definition at line 146 of file ePsiThermo.C.

virtual volScalarField& e (  )  [inline, virtual]

Internal energy [J/kg].

Non-const access allowed for transport equations

Reimplemented from basicThermo.

Definition at line 106 of file ePsiThermo.H.

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

Internal energy [J/kg].

Reimplemented from basicThermo.

Definition at line 112 of file ePsiThermo.H.

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

Internal energy for cell-set [J/kg].

Reimplemented from basicThermo.

Definition at line 167 of file ePsiThermo.C.

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

Here is the call graph for this function:

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

Internal energy for patch [J/kg].

Reimplemented from basicThermo.

Definition at line 186 of file ePsiThermo.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 205 of file ePsiThermo.C.

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

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

Reimplemented from basicThermo.

Definition at line 223 of file ePsiThermo.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 269 of file ePsiThermo.C.

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

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

Reimplemented from basicThermo.

Definition at line 287 of file ePsiThermo.C.

bool read (  )  [inline, virtual]

Read thermophysicalProperties dictionary.

Reimplemented from basicThermo.

Definition at line 326 of file ePsiThermo.C.


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