Public Member Functions | Static Public Member Functions | Friends | List of all members
hRefConstThermo< EquationOfState > Class Template Reference

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

Inheritance diagram for hRefConstThermo< EquationOfState >:
Inheritance graph
[legend]
Collaboration diagram for hRefConstThermo< EquationOfState >:
Collaboration graph
[legend]

Public Member Functions

 hRefConstThermo (Istream &)
 Construct from Istream. More...
 
 hRefConstThermo (const dictionary &dict)
 Construct from dictionary. More...
 
 hRefConstThermo (const word &, const hRefConstThermo &)
 Construct as named copy. More...
 
autoPtr< hRefConstThermoclone () const
 Construct and return a clone. More...
 
scalar limit (const scalar T) const
 Limit the temperature to be in the range Tlow_ to Thigh_. More...
 
scalar cp (const scalar p, const scalar T) const
 Heat capacity at constant pressure [J/(kmol K)]. More...
 
scalar ha (const scalar p, const scalar T) const
 Absolute Enthalpy [J/kmol]. More...
 
scalar hs (const scalar p, const scalar T) const
 Sensible enthalpy [J/kmol]. More...
 
scalar hc () const
 Chemical enthalpy [J/kmol]. More...
 
scalar s (const scalar p, const scalar T) const
 Entropy [J/(kmol K)]. More...
 
void write (Ostream &os) const
 Write to Ostream. More...
 
void operator+= (const hRefConstThermo &)
 
void operator-= (const hRefConstThermo &)
 

Static Public Member Functions

static autoPtr< hRefConstThermoNew (Istream &is)
 Selector from Istream. More...
 
static autoPtr< hRefConstThermoNew (const dictionary &dict)
 Selector from dictionary. More...
 
static word typeName ()
 Return the instantiated type name. More...
 

Friends

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

Detailed Description

template<class EquationOfState>
class Foam::hRefConstThermo< EquationOfState >

Constant properties thermodynamics package templated into the EquationOfState.

Source files

Definition at line 46 of file hRefConstThermo.H.

Constructor & Destructor Documentation

Construct from Istream.

Definition at line 32 of file hRefConstThermo.C.

References IOstream::check().

Here is the call graph for this function:

hRefConstThermo ( const dictionary dict)

Construct from dictionary.

Definition at line 49 of file hRefConstThermo.C.

hRefConstThermo ( const word name,
const hRefConstThermo< EquationOfState > &  ct 
)
inline

Construct as named copy.

Definition at line 50 of file hRefConstThermoI.H.

Member Function Documentation

Foam::autoPtr< Foam::hRefConstThermo< EquationOfState > > clone ( ) const
inline

Construct and return a clone.

Definition at line 65 of file hRefConstThermoI.H.

Foam::autoPtr< Foam::hRefConstThermo< EquationOfState > > New ( Istream is)
inlinestatic

Selector from Istream.

Definition at line 76 of file hRefConstThermoI.H.

Foam::autoPtr< Foam::hRefConstThermo< EquationOfState > > New ( const dictionary dict)
inlinestatic

Selector from dictionary.

Definition at line 87 of file hRefConstThermoI.H.

References dict, and hRefConstThermo< EquationOfState >::limit().

Here is the call graph for this function:

static word typeName ( )
inlinestatic
Foam::scalar limit ( const scalar  T) const
inline

Limit the temperature to be in the range Tlow_ to Thigh_.

Definition at line 100 of file hRefConstThermoI.H.

References hRefConstThermo< EquationOfState >::cp(), and Foam::T().

Referenced by hRefConstThermo< EquationOfState >::New(), and hRefConstThermo< EquationOfState >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Definition at line 110 of file hRefConstThermoI.H.

References cp, and hRefConstThermo< EquationOfState >::ha().

Referenced by hRefConstThermo< EquationOfState >::limit(), and hRefConstThermo< EquationOfState >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar ha ( const scalar  p,
const scalar  T 
) const
inline

Absolute Enthalpy [J/kmol].

Definition at line 121 of file hRefConstThermoI.H.

References Foam::constant::universal::h, and hRefConstThermo< EquationOfState >::hs().

Referenced by hRefConstThermo< EquationOfState >::cp(), and hRefConstThermo< EquationOfState >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Sensible enthalpy [J/kmol].

Definition at line 131 of file hRefConstThermoI.H.

References Foam::constant::universal::h.

Referenced by hRefConstThermo< EquationOfState >::ha(), and hRefConstThermo< EquationOfState >::typeName().

Here is the caller graph for this function:

Foam::scalar hc ( ) const
inline

Chemical enthalpy [J/kmol].

Definition at line 140 of file hRefConstThermoI.H.

References hRefConstThermo< EquationOfState >::s().

Referenced by hRefConstThermo< EquationOfState >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Entropy [J/(kmol K)].

Definition at line 148 of file hRefConstThermoI.H.

References Foam::log(), s(), and Foam::constant::standard::Tstd.

Referenced by hRefConstThermo< EquationOfState >::hc(), hRefConstThermo< EquationOfState >::operator-=(), and hRefConstThermo< EquationOfState >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream os) const

Write to Ostream.

Definition at line 66 of file hRefConstThermo.C.

References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), Foam::tab, and write().

Referenced by hRefConstThermo< EquationOfState >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

void operator+= ( const hRefConstThermo< EquationOfState > &  )
inline

Definition at line 160 of file hRefConstThermoI.H.

Referenced by hRefConstThermo< EquationOfState >::typeName().

Here is the caller graph for this function:

void operator-= ( const hRefConstThermo< EquationOfState > &  )
inline

Definition at line 178 of file hRefConstThermoI.H.

References hRefConstThermo< EquationOfState >::s().

Referenced by hRefConstThermo< EquationOfState >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

hRefConstThermo operator+ ( const hRefConstThermo< EquationOfState > &  ,
const hRefConstThermo< EquationOfState > &   
)
friend
hRefConstThermo operator- ( const hRefConstThermo< EquationOfState > &  ,
const hRefConstThermo< EquationOfState > &   
)
friend
hRefConstThermo operator* ( const scalar  ,
const hRefConstThermo< EquationOfState > &   
)
friend
hRefConstThermo operator== ( const hRefConstThermo< EquationOfState > &  ,
const hRefConstThermo< EquationOfState > &   
)
friend
Ostream& operator ( Ostream ,
const hRefConstThermo< EquationOfState > &   
)
friend

The documentation for this class was generated from the following files: