eConstThermo< EquationOfState > Class Template Reference

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

Public Member Functions

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

Static Public Member Functions

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

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 54 of file eConstThermo.H.

Constructor & Destructor Documentation

◆ eConstThermo() [1/2]

eConstThermo ( const dictionary dict)

Construct from dictionary.

Definition at line 35 of file eConstThermo.C.

◆ eConstThermo() [2/2]

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

Construct as named copy.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 67 of file eConstThermoI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 75 of file eConstThermoI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 144 of file eConstThermo.H.

◆ limit()

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

Limit temperature to be within the range.

Definition at line 85 of file eConstThermoI.H.

References Foam::T().

Here is the call graph for this function:

◆ Cv()

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

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

Definition at line 95 of file eConstThermoI.H.

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

Here is the call graph for this function:

◆ Es()

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

Sensible internal energy [J/kg].

Definition at line 106 of file eConstThermoI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Ea()

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

Absolute internal energy [J/kg].

Definition at line 117 of file eConstThermoI.H.

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

Here is the call graph for this function:

◆ Hc()

Foam::scalar Hc ( ) const
inline

Chemical enthalpy [J/kg].

Definition at line 127 of file eConstThermoI.H.

◆ S()

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

Entropy [J/(kg K)].

Definition at line 135 of file eConstThermoI.H.

References Cp, Foam::log(), p, 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 146 of file eConstThermoI.H.

References Foam::constant::standard::Pstd, rho, and 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 158 of file eConstThermoI.H.

References NotImplemented.

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 48 of file eConstThermo.C.

References Ostream::beginBlock(), Ostream::endBlock(), os(), Foam::constant::standard::Tstd, Foam::vtk::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 171 of file eConstThermoI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator+

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

◆ operator*

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

◆ operator==

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

◆ operator

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

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