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

hPolynomialThermo< EquationOfState, PolySize > Class Template Reference

Thermodynamics package templated on the equation of state, using polynomial functions for cp, h and s. More...

Collaboration diagram for hPolynomialThermo< EquationOfState, PolySize >:

List of all members.


Public Member Functions

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

Friends

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

Detailed Description

template<class EquationOfState, int PolySize>
class Foam::hPolynomialThermo< EquationOfState, PolySize >

Thermodynamics package templated on the equation of state, using polynomial functions for cp, h and s.

Polynomials for h and s derived from cp

Source files

Definition at line 91 of file hPolynomialThermo.H.


Constructor & Destructor Documentation

hPolynomialThermo ( Istream &  is  )  [inline]

Construct from dictionary.

Definition at line 25 of file hPolynomialThermo.C.

hPolynomialThermo ( const word &  name,
const hPolynomialThermo< EquationOfState, PolySize > &  pt 
) [inline]

Construct as a named copy.

Definition at line 46 of file hPolynomialThermoI.H.


Member Function Documentation

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

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

Definition at line 64 of file hPolynomialThermoI.H.

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

Enthalpy [J/kmol].

Definition at line 74 of file hPolynomialThermoI.H.

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

Sensible enthalpy [J/kmol].

Definition at line 84 of file hPolynomialThermoI.H.

Foam::scalar hc (  )  const [inline]

Chemical enthalpy [J/kmol].

Definition at line 93 of file hPolynomialThermoI.H.

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

Entropy [J/(kmol K)].

Definition at line 102 of file hPolynomialThermoI.H.

void operator+= ( const hPolynomialThermo< EquationOfState, PolySize > &   )  [inline]

void operator-= ( const hPolynomialThermo< EquationOfState, PolySize > &   )  [inline]


Friends And Related Function Documentation

hPolynomialThermo operator+ ( const hPolynomialThermo< EquationOfState, PolySize > &  ,
const hPolynomialThermo< EquationOfState, PolySize > &   
) [friend]

hPolynomialThermo operator- ( const hPolynomialThermo< EquationOfState, PolySize > &  ,
const hPolynomialThermo< EquationOfState, PolySize > &   
) [friend]

hPolynomialThermo operator* ( const   scalar,
const hPolynomialThermo< EquationOfState, PolySize > &   
) [friend]

hPolynomialThermo operator== ( const hPolynomialThermo< EquationOfState, PolySize > &  ,
const hPolynomialThermo< EquationOfState, PolySize > &   
) [friend]

Ostream& operator ( Ostream &  ,
const hPolynomialThermo< EquationOfState, PolySize > &   
) [friend]


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