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

Constant properties thermodynamics package templated on an equation of state. More...

#include <eConstThermo.H>

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

Public Member Functions

 eConstThermo (const dictionary &dict)
 Construct from dictionary.
 eConstThermo (const word &, const eConstThermo &)
 Construct as named copy.
autoPtr< eConstThermoclone () const
 Construct and return a clone.
scalar limit (const scalar T) const
 Limit temperature to be within the range.
scalar Cv (const scalar p, const scalar T) const
 Heat capacity at constant volume [J/(kg K)].
scalar Es (const scalar p, const scalar T) const
 Sensible internal energy [J/kg].
scalar Ea (const scalar p, const scalar T) const
 Absolute internal energy [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 Cp (const scalar p, const scalar T) const
scalar Hs (const scalar p, const scalar T) const
scalar Ha (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 eConstThermo &)

Static Public Member Functions

static autoPtr< eConstThermoNew (const dictionary &dict)
static word typeName ()
 Return the instantiated type name.

Friends

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

Detailed Description

template<class EquationOfState>
class Foam::eConstThermo< EquationOfState >

Constant properties thermodynamics package templated on an equation of state.

Source files

Definition at line 86 of file eConstThermo.H.

Constructor & Destructor Documentation

◆ eConstThermo() [1/2]

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

Construct from dictionary.

Definition at line 28 of file eConstThermo.C.

References dict, and Foam::constant::thermodynamic::Tstd.

◆ eConstThermo() [2/2]

template<class EquationOfState>
eConstThermo ( const word & ,
const eConstThermo< EquationOfState > &  )
inline

Construct as named copy.

References dict.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 60 of file eConstThermoI.H.

References New().

Here is the call graph for this function:

◆ New()

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

Definition at line 68 of file eConstThermoI.H.

References dict, and New().

Referenced by clone(), and New().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ typeName()

template<class EquationOfState>
word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 160 of file eConstThermo.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 eConstThermoI.H.

References Foam::T().

Here is the call graph for this function:

◆ Cv()

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

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

Definition at line 87 of file eConstThermoI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Es()

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

Sensible internal energy [J/kg].

Definition at line 98 of file eConstThermoI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Ea()

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

Absolute internal energy [J/kg].

Definition at line 109 of file eConstThermoI.H.

References Es(), Hc(), 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 120 of file eConstThermoI.H.

Referenced by Ea(), and Gstd().

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 127 of file eConstThermoI.H.

References Cp, Foam::log(), p, Foam::T(), and Foam::constant::thermodynamic::Tstd.

Referenced by Gstd().

Here is the call graph for this function:
Here is the caller 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 138 of file eConstThermoI.H.

References Hc(), Foam::constant::thermodynamic::Pstd, S(), and Foam::T().

Here is the call graph for this function:

◆ Cp()

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

Definition at line 2 of file eConstThermo.H.

◆ Hs()

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

Definition at line 17 of file eConstThermo.H.

◆ Ha()

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

Definition at line 32 of file eConstThermo.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 150 of file eConstThermoI.H.

References NotImplemented, 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 eConstThermo.C.

References os(), and Foam::constant::thermodynamic::Tstd.

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 163 of file eConstThermoI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator+

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

◆ operator*

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

◆ operator==

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

◆ operator<<

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

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