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

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

#include <specie/eConstThermo.H>


Detailed Description

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

Constant properties thermodynamics package templated on an equation of state.

Source files

Definition at line 92 of file eConstThermo.H.

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

eConstThermo ( Istream is)

Construct from Istream.

Definition at line 32 of file eConstThermo.C.

References IOstream::check().

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 59 of file eConstThermoI.H.

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

Definition at line 70 of file eConstThermoI.H.

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

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

Definition at line 83 of file eConstThermoI.H.

References specie::RR.

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

Enthalpy [J/kmol].

Definition at line 93 of file eConstThermoI.H.

References Foam::cp().

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

Sensible Enthalpy [J/kmol].

Definition at line 103 of file eConstThermoI.H.

References Foam::cp(), and Foam::T().

Foam::scalar hc ( ) const
inline

Chemical enthalpy [J/kmol].

Definition at line 112 of file eConstThermoI.H.

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

Entropy [J/(kmol K)].

Definition at line 120 of file eConstThermoI.H.

References notImplemented, and Foam::T().

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

Definition at line 133 of file eConstThermoI.H.

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

Definition at line 151 of file eConstThermoI.H.


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: