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

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

#include <hTabulatedThermo.H>

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

Public Member Functions

 hTabulatedThermo (const dictionary &dict)
 Construct from dictionary.
 hTabulatedThermo (const word &, const hTabulatedThermo &)
 Construct as a named copy.
scalar limit (const scalar T) const
 Limit the temperature to be in the temperature 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.

Static Public Member Functions

static word typeName ()
 The instantiated type name.

Friends

Ostreamoperator<< (Ostream &, const hTabulatedThermo &)

Detailed Description

template<class EquationOfState>
class Foam::hTabulatedThermo< 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
        (
            (200     1005)
            (350     1010)
            (400     1020)
        );
    }
Source files
See also
Foam::thermophysicalFunctions::nonUniformTable

Definition at line 101 of file hTabulatedThermo.H.

Constructor & Destructor Documentation

◆ hTabulatedThermo() [1/2]

template<class EquationOfState>
hTabulatedThermo ( const dictionary & dict)
explicit

Construct from dictionary.

Definition at line 28 of file hTabulatedThermo.C.

References dict.

Referenced by Ea(), hTabulatedThermo(), and operator<<.

Here is the caller graph for this function:

◆ hTabulatedThermo() [2/2]

template<class EquationOfState>
hTabulatedThermo ( const word & name,
const hTabulatedThermo< EquationOfState > & pt )
inline

Construct as a named copy.

Definition at line 26 of file hTabulatedThermoI.H.

References hTabulatedThermo(), and Foam::name().

Here is the call graph for this function:

Member Function Documentation

◆ typeName()

template<class EquationOfState>
word typeName ( )
inlinestatic

The instantiated type name.

Definition at line 149 of file hTabulatedThermo.H.

◆ limit()

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

Limit the temperature to be in the temperature range.

Currently no limit applied

Definition at line 42 of file hTabulatedThermoI.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 52 of file hTabulatedThermoI.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 63 of file hTabulatedThermoI.H.

References 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 74 of file hTabulatedThermoI.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 85 of file hTabulatedThermoI.H.

◆ S()

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

Entropy [J/kg/K].

Definition at line 93 of file hTabulatedThermoI.H.

References 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 104 of file hTabulatedThermoI.H.

References 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 hTabulatedThermo.H.

◆ Es()

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

Definition at line 17 of file hTabulatedThermo.H.

◆ Ea()

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

Definition at line 32 of file hTabulatedThermo.H.

References hTabulatedThermo().

Here is the call graph for this function:

◆ 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 114 of file hTabulatedThermoI.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 43 of file hTabulatedThermo.C.

References os().

Here is the call graph for this function:

◆ operator<<

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

References hTabulatedThermo().


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