hIcoTabulatedThermo< EquationOfState > Class Template Reference

Enthalpy based thermodynamics package using non-uniform tabulated data for heat capacity vs temperature. More...

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

Public Member Functions

 hIcoTabulatedThermo (const word &name, const dictionary &dict)
 Construct from name and dictionary. More...
 
 hIcoTabulatedThermo (const word &, const hIcoTabulatedThermo &)
 Construct as a named copy. More...
 
scalar limit (const scalar) 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 write (Ostream &os) const
 Write to Ostream. More...
 

Static Public Member Functions

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

Friends

Ostreamoperator (Ostream &, const hIcoTabulatedThermo &)
 

Detailed Description

template<class EquationOfState>
class Foam::hIcoTabulatedThermo< EquationOfState >

Enthalpy based thermodynamics package using non-uniform tabulated data for heat capacity vs temperature.

Usage
Property Description
Hf Heat of formation
Sf Standard entropy
Cp Specific heat at constant pressure vs temperature table

Example of the specification of the thermodynamic properties:

    thermodynamics
    {
        Hf              0;
        Sf              0;
        Cp
        {
            values
            (
                (200     1005)
                (350     1010)
                (400     1020)
            );
        }
    }
Source files
See also
Foam::Function1s::UniformTable

Definition at line 106 of file hIcoTabulatedThermo.H.

Constructor & Destructor Documentation

◆ hIcoTabulatedThermo() [1/2]

hIcoTabulatedThermo ( const word name,
const dictionary dict 
)

Construct from name and dictionary.

Definition at line 32 of file hIcoTabulatedThermo.C.

◆ hIcoTabulatedThermo() [2/2]

hIcoTabulatedThermo ( const word name,
const hIcoTabulatedThermo< EquationOfState > &  pt 
)
inline

Construct as a named copy.

Definition at line 31 of file hIcoTabulatedThermoI.H.

Member Function Documentation

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 142 of file hIcoTabulatedThermo.H.

◆ limit()

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

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

Definition at line 47 of file hIcoTabulatedThermoI.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 57 of file hIcoTabulatedThermoI.H.

References Cp(), p, 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 79 of file hIcoTabulatedThermoI.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 68 of file hIcoTabulatedThermoI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Hf()

Foam::scalar Hf
inline

Enthalpy of formation [J/kg].

Definition at line 90 of file hIcoTabulatedThermoI.H.

◆ S()

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

Entropy [J/kg/K].

Definition at line 98 of file hIcoTabulatedThermoI.H.

References p, Foam::fvc::Sp(), and Foam::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 109 of file hIcoTabulatedThermoI.H.

References Foam::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 119 of file hIcoTabulatedThermoI.H.

References Foam::T().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 48 of file hIcoTabulatedThermo.C.

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

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator

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

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