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

hConstThermo< equationOfState > Class Template Reference

Constant properties thermodynamics package templated into the equationOfState. More...

Collaboration diagram for hConstThermo< equationOfState >:

List of all members.


Public Member Functions

 hConstThermo (Istream &)
 Construct from Istream.
 hConstThermo (const word &, const hConstThermo &)
 Construct as named copy.
autoPtr< hConstThermo > clone () const
 Construct and return a clone.
scalar cp (const scalar T) const
 Heat capacity at constant pressure [J/(kmol K)].
scalar h (const scalar T) const
 Enthalpy [J/kmol].
scalar hs (const scalar T) const
 Sensible enthalpy [J/kmol].
scalar hc () const
 Chemical enthalpy [J/kmol].
scalar s (const scalar T) const
 Entropy [J/(kmol K)].
void operator+= (const hConstThermo &)
void operator-= (const hConstThermo &)

Static Public Member Functions

static autoPtr< hConstThermo > New (Istream &is)
 Selector from Istream.

Friends

hConstThermo operator+ (const hConstThermo &, const hConstThermo &)
hConstThermo operator- (const hConstThermo &, const hConstThermo &)
hConstThermo operator* (const scalar, const hConstThermo &)
hConstThermo operator== (const hConstThermo &, const hConstThermo &)
Ostream & operator (Ostream &, const hConstThermo &)

Detailed Description

template<class equationOfState>
class Foam::hConstThermo< equationOfState >

Constant properties thermodynamics package templated into the equationOfState.

Source files

Definition at line 85 of file hConstThermo.H.


Constructor & Destructor Documentation

hConstThermo ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 24 of file hConstThermo.C.

hConstThermo ( const word &  name,
const hConstThermo< equationOfState > &  ct 
) [inline]

Construct as named copy.

Definition at line 38 of file hConstThermoI.H.


Member Function Documentation

Foam::autoPtr< Foam::hConstThermo< equationOfState > > clone (  )  const [inline]

Construct and return a clone.

Definition at line 51 of file hConstThermoI.H.

Foam::autoPtr< Foam::hConstThermo< equationOfState > > New ( Istream &  is  )  [inline, static]

Selector from Istream.

Definition at line 62 of file hConstThermoI.H.

Foam::scalar cp ( const scalar  T  )  const [inline]

Heat capacity at constant pressure [J/(kmol K)].

Definition at line 75 of file hConstThermoI.H.

Foam::scalar h ( const scalar  T  )  const [inline]

Enthalpy [J/kmol].

Definition at line 85 of file hConstThermoI.H.

Foam::scalar hs ( const scalar  T  )  const [inline]

Sensible enthalpy [J/kmol].

Definition at line 95 of file hConstThermoI.H.

Foam::scalar hc (  )  const [inline]

Chemical enthalpy [J/kmol].

Definition at line 104 of file hConstThermoI.H.

Foam::scalar s ( const scalar  T  )  const [inline]

Entropy [J/(kmol K)].

Definition at line 112 of file hConstThermoI.H.

void operator+= ( const hConstThermo< equationOfState > &   )  [inline]

void operator-= ( const hConstThermo< equationOfState > &   )  [inline]


Friends And Related Function Documentation

hConstThermo operator+ ( const hConstThermo< equationOfState > &  ,
const hConstThermo< equationOfState > &   
) [friend]

hConstThermo operator- ( const hConstThermo< equationOfState > &  ,
const hConstThermo< equationOfState > &   
) [friend]

hConstThermo operator* ( const   scalar,
const hConstThermo< equationOfState > &   
) [friend]

hConstThermo operator== ( const hConstThermo< equationOfState > &  ,
const hConstThermo< equationOfState > &   
) [friend]

Ostream& operator ( Ostream &  ,
const hConstThermo< equationOfState > &   
) [friend]


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