hConstThermo< EquationOfState > Class Template Reference

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

Inheritance diagram for hConstThermo< EquationOfState >:
[legend]
Collaboration diagram for hConstThermo< EquationOfState >:
[legend]

Public Member Functions

 hConstThermo (const dictionary &dict)
 Construct from dictionary. More...
 
 hConstThermo (const word &, const hConstThermo &)
 Construct as named copy. More...
 
autoPtr< hConstThermoclone () const
 Construct and return a clone. More...
 
scalar limit (const scalar T) const
 Limit temperature to be within the range. More...
 
scalar Cp (const scalar p, const scalar T) const
 Heat capacity at constant pressure [J/(kg K)]. More...
 
scalar Ha (const scalar p, const scalar T) const
 Absolute Enthalpy [J/kg]. More...
 
scalar Hs (const scalar p, const scalar T) const
 Sensible enthalpy [J/kg]. More...
 
scalar Hc () const
 Chemical enthalpy [J/kg]. More...
 
scalar S (const scalar p, const scalar T) const
 Entropy [J/(kg K)]. More...
 
scalar Gstd (const scalar T) const
 Gibbs free energy of the mixture in the standard state [J/kg]. More...
 
scalar dCpdT (const scalar p, const scalar T) const
 Temperature derivative of heat capacity at constant pressure. More...
 
void write (Ostream &os) const
 Write to Ostream. More...
 
void operator+= (const hConstThermo &)
 

Static Public Member Functions

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

Friends

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

Detailed Description

template<class EquationOfState>
class Foam::hConstThermo< EquationOfState >

Constant properties thermodynamics package templated into the EquationOfState.

Source files

Definition at line 88 of file hConstThermo.H.

Constructor & Destructor Documentation

◆ hConstThermo() [1/2]

hConstThermo ( const dictionary dict)

Construct from dictionary.

Definition at line 35 of file hConstThermo.C.

◆ hConstThermo() [2/2]

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

Construct as named copy.

Definition at line 51 of file hConstThermoI.H.

References Foam::name().

Here is the call graph for this function:

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::hConstThermo< EquationOfState > > clone
inline

Construct and return a clone.

Definition at line 67 of file hConstThermoI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Selector from dictionary.

Definition at line 75 of file hConstThermoI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 137 of file hConstThermo.H.

◆ limit()

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

Limit temperature to be within the range.

Definition at line 84 of file hConstThermoI.H.

References T.

◆ Cp()

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

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

Definition at line 94 of file hConstThermoI.H.

References p, and T.

◆ Ha()

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

Absolute Enthalpy [J/kg].

Definition at line 105 of file hConstThermoI.H.

References Hs(), p, and T.

Here is the call graph for this function:

◆ Hs()

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

Sensible enthalpy [J/kg].

Definition at line 115 of file hConstThermoI.H.

References p, and T.

◆ Hc()

Foam::scalar Hc
inline

Chemical enthalpy [J/kg].

Definition at line 125 of file hConstThermoI.H.

◆ S()

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

Entropy [J/(kg K)].

Definition at line 132 of file hConstThermoI.H.

References Foam::log(), p, and T.

Here is the call graph for this function:

◆ Gstd()

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

Gibbs free energy of the mixture in the standard state [J/kg].

Definition at line 142 of file hConstThermoI.H.

References Foam::log(), and T.

Here is the call graph for this function:

◆ dCpdT()

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

Temperature derivative of heat capacity at constant pressure.

Definition at line 152 of file hConstThermoI.H.

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 48 of file hConstThermo.C.

References Ostream::beginBlock(), Ostream::endBlock(), os(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 163 of file hConstThermoI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator+

hConstThermo operator+ ( const hConstThermo< EquationOfState > &  ,
const hConstThermo< EquationOfState > &   
)
friend

◆ operator*

hConstThermo operator* ( const  scalar,
const hConstThermo< EquationOfState > &   
)
friend

◆ operator==

hConstThermo operator== ( const hConstThermo< EquationOfState > &  ,
const hConstThermo< EquationOfState > &   
)
friend

◆ operator

Ostream & operator ( Ostream ,
const hConstThermo< EquationOfState > &   
)
friend

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