Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
thermophysicalPropertiesSelector< ThermophysicalProperties > Class Template Reference

Wrapper class providing run-time selection of thermophysicalProperties for the templated thermodynamics packages. More...

Public Member Functions

 thermophysicalPropertiesSelector (const word &name)
 
 thermophysicalPropertiesSelector (const dictionary &dict)
 
const ThermophysicalProperties & properties () const
 
scalar W () const
 
scalar limit (const scalar T) const
 
scalar rho (scalar p, scalar T) const
 
scalar psi (scalar p, scalar T) const
 
scalar CpMCv (scalar p, 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 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 S (const scalar p, const scalar T) const
 
scalar mu (scalar p, scalar T) const
 
scalar kappa (scalar p, scalar T) const
 
scalar alphah (const scalar p, const scalar T) const
 

Static Public Member Functions

static word typeName ()
 

Static Public Attributes

static const bool incompressible
 
static const bool isochoric
 

Detailed Description

template<class ThermophysicalProperties>
class Foam::thermophysicalPropertiesSelector< ThermophysicalProperties >

Wrapper class providing run-time selection of thermophysicalProperties for the templated thermodynamics packages.

Source files

Definition at line 49 of file thermophysicalPropertiesSelector.H.

Constructor & Destructor Documentation

◆ thermophysicalPropertiesSelector() [1/2]

Definition at line 28 of file thermophysicalPropertiesSelector.C.

◆ thermophysicalPropertiesSelector() [2/2]

Definition at line 39 of file thermophysicalPropertiesSelector.C.

References dict, Foam::name(), and Foam::New().

Here is the call graph for this function:

Member Function Documentation

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 81 of file thermophysicalPropertiesSelector.H.

◆ properties()

const ThermophysicalProperties & properties
inline

Definition at line 26 of file thermophysicalPropertiesSelectorI.H.

◆ W()

Foam::scalar W
inline

Definition at line 34 of file thermophysicalPropertiesSelectorI.H.

◆ limit()

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

Definition at line 43 of file thermophysicalPropertiesSelectorI.H.

References T.

◆ rho()

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

Definition at line 54 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ psi()

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

Definition at line 66 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ CpMCv()

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

Definition at line 78 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ Cp()

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

Definition at line 90 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ Ha()

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

Definition at line 102 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ Hs()

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

Definition at line 114 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ Hc()

Foam::scalar Hc
inline

Definition at line 125 of file thermophysicalPropertiesSelectorI.H.

◆ Cv()

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

Definition at line 134 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ Es()

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

Definition at line 146 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ Ea()

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

Definition at line 158 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ S()

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

Definition at line 170 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ mu()

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

Definition at line 182 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ kappa()

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

Definition at line 194 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

◆ alphah()

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

Definition at line 206 of file thermophysicalPropertiesSelectorI.H.

References p, and T.

Member Data Documentation

◆ incompressible

const bool incompressible
static
Initial value:
=
ThermophysicalProperties::incompressible

Definition at line 70 of file thermophysicalPropertiesSelector.H.

◆ isochoric

const bool isochoric
static
Initial value:
=
ThermophysicalProperties::isochoric

Definition at line 74 of file thermophysicalPropertiesSelector.H.


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