Loading...
Searching...
No Matches
hConstThermo< EquationOfState > Class Template Reference

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

#include <hConstThermo.H>

Inheritance diagram for hConstThermo< EquationOfState >:
Collaboration diagram for hConstThermo< EquationOfState >:

Public Member Functions

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

Static Public Member Functions

static autoPtr< hConstThermo > New (const dictionary &dict)
 Selector from dictionary.
static word typeName ()
 Return the instantiated type name.

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 84 of file hConstThermo.H.

Constructor & Destructor Documentation

◆ hConstThermo() [1/2]

template<class EquationOfState>
hConstThermo ( const dictionary & dict)

Construct from dictionary.

Definition at line 28 of file hConstThermo.C.

References dict.

◆ hConstThermo() [2/2]

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

Construct as named copy.

Definition at line 44 of file hConstThermoI.H.

References Foam::name().

Here is the call graph for this function:

Member Function Documentation

◆ clone()

template<class EquationOfState>
Foam::autoPtr< Foam::hConstThermo< EquationOfState > > clone ( ) const
inline

Construct and return a clone.

Definition at line 60 of file hConstThermoI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Selector from dictionary.

Definition at line 68 of file hConstThermoI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

template<class EquationOfState>
word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 149 of file hConstThermo.H.

◆ limit()

template<class EquationOfState>
Foam::scalar limit ( const scalar T) const
inline

Limit temperature to be within the range.

Definition at line 77 of file hConstThermoI.H.

References Foam::T().

Here is the call graph for this function:

◆ Cp()

template<class EquationOfState>
Foam::scalar Cp ( const scalar p,
const scalar T ) const
inline

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

Definition at line 87 of file hConstThermoI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Ha()

template<class EquationOfState>
Foam::scalar Ha ( const scalar p,
const scalar T ) const
inline

Absolute Enthalpy [J/kg].

Definition at line 98 of file hConstThermoI.H.

References Hc(), Hs(), p, and Foam::T().

Here is the call graph for this function:

◆ Hs()

template<class EquationOfState>
Foam::scalar Hs ( const scalar p,
const scalar T ) const
inline

Sensible enthalpy [J/kg].

Definition at line 108 of file hConstThermoI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Hc()

template<class EquationOfState>
Foam::scalar Hc ( ) const
inline

Chemical enthalpy [J/kg].

Definition at line 118 of file hConstThermoI.H.

Referenced by Gstd(), and Ha().

Here is the caller graph for this function:

◆ S()

template<class EquationOfState>
Foam::scalar S ( const scalar p,
const scalar T ) const
inline

Entropy [J/(kg K)].

Definition at line 125 of file hConstThermoI.H.

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

Here is the call graph for this function:

◆ Gstd()

template<class EquationOfState>
Foam::scalar Gstd ( const scalar T) const
inline

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

Definition at line 135 of file hConstThermoI.H.

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

Here is the call graph for this function:

◆ Cv()

template<class EquationOfState>
scalar Cv ( const scalar p,
const scalar T ) const
inline

Definition at line 2 of file hConstThermo.H.

◆ Es()

template<class EquationOfState>
scalar Es ( const scalar p,
const scalar T ) const
inline

Definition at line 17 of file hConstThermo.H.

◆ Ea()

template<class EquationOfState>
scalar Ea ( const scalar p,
const scalar T ) const
inline

Definition at line 32 of file hConstThermo.H.

◆ dCpdT()

template<class EquationOfState>
Foam::scalar dCpdT ( const scalar p,
const scalar T ) const
inline

Temperature derivative of heat capacity at constant pressure.

Definition at line 145 of file hConstThermoI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ write()

template<class EquationOfState>
void write ( Ostream & os) const

Write to Ostream.

Definition at line 41 of file hConstThermo.C.

References os().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 156 of file hConstThermoI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator+

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

◆ operator*

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

◆ operator==

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

◆ operator<<

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

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