hPowerThermo< EquationOfState > Class Template Reference
Inheritance diagram for hPowerThermo< EquationOfState >:
Collaboration diagram for hPowerThermo< EquationOfState >:

Public Member Functions

 hPowerThermo (const EquationOfState &st, const scalar c0, const scalar n0, const scalar Tref, const scalar Hf)
 Construct from components. More...
 
 hPowerThermo (const word &name, const dictionary &dict)
 Construct from name and dictionary. More...
 
 hPowerThermo (const word &, const hPowerThermo &)
 Construct as a named copy. More...
 
autoPtr< hPowerThermoclone () 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/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 Hf () const
 Enthalpy of formation [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 operator+= (const hPowerThermo &)
 

Static Public Member Functions

static word typeName ()
 Return the instantiated type name. More...
 

Friends

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

Detailed Description

template<class EquationOfState>
class Foam::hPowerThermo< EquationOfState >

Definition at line 123 of file hPowerThermo.H.

Constructor & Destructor Documentation

◆ hPowerThermo() [1/3]

hPowerThermo ( const EquationOfState &  st,
const scalar  c0,
const scalar  n0,
const scalar  Tref,
const scalar  Hf 
)
inline

Construct from components.

Definition at line 50 of file hPowerThermoI.H.

◆ hPowerThermo() [2/3]

hPowerThermo ( const word name,
const dictionary dict 
)

Construct from name and dictionary.

Definition at line 32 of file hPowerThermo.C.

◆ hPowerThermo() [3/3]

hPowerThermo ( const word name,
const hPowerThermo< EquationOfState > &  jt 
)
inline

Construct as a named copy.

Definition at line 68 of file hPowerThermoI.H.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 84 of file hPowerThermoI.H.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 172 of file hPowerThermo.H.

◆ limit()

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

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

Definition at line 96 of file hPowerThermoI.H.

References Foam::T().

Here is the call graph for this function:

◆ Cp()

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

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

Definition at line 106 of file hPowerThermoI.H.

References Cp(), p, Foam::pow(), and Foam::T().

Here is the call graph for this function:

◆ Ha()

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

Absolute enthalpy [J/kg].

Definition at line 130 of file hPowerThermoI.H.

References Hs(), p, and Foam::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 117 of file hPowerThermoI.H.

References p, Foam::pow(), Foam::T(), and Foam::constant::standard::Tstd.

Here is the call graph for this function:

◆ Hf()

Foam::scalar Hf
inline

Enthalpy of formation [J/kg].

Definition at line 141 of file hPowerThermoI.H.

◆ S()

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

Entropy [J/kg/K].

Definition at line 148 of file hPowerThermoI.H.

References p, Foam::pow(), Foam::fvc::Sp(), Foam::T(), and Foam::constant::standard::Tstd.

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 161 of file hPowerThermoI.H.

References Foam::pow(), Foam::T(), and Foam::constant::standard::Tstd.

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 174 of file hPowerThermoI.H.

References NotImplemented.

◆ operator+=()

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

Definition at line 189 of file hPowerThermoI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator+

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

◆ operator*

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

◆ operator==

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

◆ operator

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

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