Public Member Functions | Static Public Member Functions | Friends | List of all members
hPowerThermo Class Reference

Power-function based thermodynamics package templated on EquationOfState. More...

Public Member Functions

 hPowerThermo (const dictionary &)
 
 hPowerThermo (const word &, const hPowerThermo &)
 
autoPtr< hPowerThermoclone () const
 
scalar limit (const scalar T) const
 
scalar Cp (const scalar p, const scalar T) const
 
scalar Ha (const scalar p, const scalar T) const
 
scalar Hs (const scalar p, const scalar T) const
 
scalar Hc () const
 
scalar S (const scalar p, const scalar T) const
 
scalar Gstd (const scalar T) const
 
scalar dCpdT (const scalar p, const scalar T) const
 
void operator+= (const hPowerThermo &)
 

Static Public Member Functions

static autoPtr< hPowerThermoNew (const dictionary &dict)
 
static word typeName ()
 

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

Power-function based thermodynamics package templated on EquationOfState.

In this thermodynamics package the heat capacity is a simple power of temperature:

Cp(T) = c0*(T/Tref)^n0;

which is particularly suitable for solids.

Source files

Definition at line 56 of file hPowerThermo.H.

Constructor & Destructor Documentation

◆ hPowerThermo() [1/2]

hPowerThermo ( const dictionary )

◆ hPowerThermo() [2/2]

hPowerThermo ( const word ,
const hPowerThermo  
)
inline

Member Function Documentation

◆ clone()

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

Definition at line 80 of file hPowerThermoI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 88 of file hPowerThermoI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 146 of file hPowerThermo.H.

◆ limit()

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

Definition at line 98 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

Definition at line 108 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

Definition at line 118 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

Definition at line 128 of file hPowerThermoI.H.

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

Here is the call graph for this function:

◆ Hc()

Foam::scalar Hc ( ) const
inline

Definition at line 139 of file hPowerThermoI.H.

◆ S()

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

Definition at line 147 of file hPowerThermoI.H.

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

Here is the call graph for this function:

◆ Gstd()

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

Definition at line 159 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

Definition at line 172 of file hPowerThermoI.H.

References NotImplemented.

◆ operator+=()

void operator+= ( const hPowerThermo )
inline

Definition at line 186 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 ,
const hPowerThermo  
)
friend

◆ operator*

hPowerThermo operator* ( const  scalar,
const hPowerThermo  
)
friend

◆ operator==

hPowerThermo operator== ( const hPowerThermo ,
const hPowerThermo  
)
friend

◆ operator

Ostream& operator ( Ostream ,
const hPowerThermo  
)
friend

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