FreeFOAM The Cross-Platform CFD Toolkit
hConstThermo< equationOfState > Class Template Reference

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

#include <specie/hConstThermo.H>


Detailed Description

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

Constant properties thermodynamics package templated into the equationOfState.

Source files

Definition at line 90 of file hConstThermo.H.

List of all members.

Public Member Functions

 hConstThermo (Istream &)
 Construct from Istream.
 hConstThermo (const word &, const hConstThermo &)
 Construct as named copy.
autoPtr< hConstThermoclone () 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< hConstThermoNew (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 &)
Ostreamoperator (Ostream &, const hConstThermo &)

Constructor & Destructor Documentation

hConstThermo ( Istream is)

Construct from Istream.

Definition at line 32 of file hConstThermo.C.

References IOstream::check().

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

Construct as named copy.

Definition at line 46 of file hConstThermoI.H.


Member Function Documentation

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

Construct and return a clone.

Definition at line 59 of file hConstThermoI.H.

Foam::autoPtr< Foam::hConstThermo< equationOfState > > New ( Istream is)
inlinestatic

Selector from Istream.

Definition at line 70 of file hConstThermoI.H.

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

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

Definition at line 83 of file hConstThermoI.H.

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

Enthalpy [J/kmol].

Definition at line 93 of file hConstThermoI.H.

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

Sensible enthalpy [J/kmol].

Definition at line 103 of file hConstThermoI.H.

Foam::scalar hc ( ) const
inline

Chemical enthalpy [J/kmol].

Definition at line 112 of file hConstThermoI.H.

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

Entropy [J/(kmol K)].

Definition at line 120 of file hConstThermoI.H.

References notImplemented, and Foam::T().

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

Definition at line 136 of file hConstThermoI.H.

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

Definition at line 154 of file hConstThermoI.H.


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: