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

eConstThermo< equationOfState > Class Template Reference

Constant properties thermodynamics package templated on an equation of state. More...

Collaboration diagram for eConstThermo< equationOfState >:

List of all members.


Public Member Functions

 eConstThermo (Istream &)
 Construct from Istream.
 eConstThermo (const word &, const eConstThermo &)
 Construct as named copy.
autoPtr< eConstThermo > 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 eConstThermo &)
void operator-= (const eConstThermo &)

Static Public Member Functions

static autoPtr< eConstThermo > New (Istream &is)

Friends

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

Detailed Description

template<class equationOfState>
class Foam::eConstThermo< equationOfState >

Constant properties thermodynamics package templated on an equation of state.

Source files

Definition at line 87 of file eConstThermo.H.


Constructor & Destructor Documentation

eConstThermo ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 24 of file eConstThermo.C.

eConstThermo ( const word &  ,
const eConstThermo< equationOfState > &   
) [inline]

Construct as named copy.


Member Function Documentation

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

Construct and return a clone.

Definition at line 51 of file eConstThermoI.H.

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

Definition at line 62 of file eConstThermoI.H.

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

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

Definition at line 75 of file eConstThermoI.H.

Referenced by eConstThermo< equationOfState >::hs().

Here is the caller graph for this function:

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

Enthalpy [J/kmol].

Definition at line 85 of file eConstThermoI.H.

References specie::RR.

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

Sensible Enthalpy [J/kmol].

Definition at line 95 of file eConstThermoI.H.

References eConstThermo< equationOfState >::cp().

Here is the call graph for this function:

Foam::scalar hc (  )  const [inline]

Chemical enthalpy [J/kmol].

Definition at line 104 of file eConstThermoI.H.

References Foam::cp().

Here is the call graph for this function:

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

Entropy [J/(kmol K)].

Definition at line 112 of file eConstThermoI.H.

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

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


Friends And Related Function Documentation

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

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

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

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

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


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