FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

hPolynomialThermo< EquationOfState, PolySize > Class Template Reference

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

#include <specie/hPolynomialThermo.H>


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 96 of file hPolynomialThermo.H.

List of all members.

Public Member Functions

 hPolynomialThermo (Istream &is)
 Construct from dictionary.
 hPolynomialThermo (const hPolynomialThermo &)
 Construct as copy.
 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)].
hPolynomialThermo &  operator= (const hPolynomialThermo &)
void  operator+= (const hPolynomialThermo &)
void  operator-= (const hPolynomialThermo &)
void  operator*= (const scalar)

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 &)

Constructor & Destructor Documentation

hPolynomialThermo ( Istream &   is  )

Construct from dictionary.

Definition at line 33 of file hPolynomialThermo.C.

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

Construct as copy.

Definition at line 54 of file hPolynomialThermoI.H.

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

Construct as a named copy.

Definition at line 69 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 87 of file hPolynomialThermoI.H.

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

Enthalpy [J/kmol].

Definition at line 97 of file hPolynomialThermoI.H.

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

Sensible enthalpy [J/kmol].

Definition at line 107 of file hPolynomialThermoI.H.

References h.

Foam::scalar hc (  ) const [inline]

Chemical enthalpy [J/kmol].

Definition at line 116 of file hPolynomialThermoI.H.

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

Entropy [J/(kmol K)].

Definition at line 125 of file hPolynomialThermoI.H.

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

Definition at line 198 of file hPolynomialThermoI.H.


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: