All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
constTransport< Thermo > Class Template Reference

Constant properties Transport package. Templated into a given thermodynamics package (needed for thermal conductivity). More...

Inheritance diagram for constTransport< Thermo >:
Collaboration diagram for constTransport< Thermo >:

Public Member Functions

 constTransport (const word &, const constTransport &)
 Construct as named copy. More...
 
 constTransport (const dictionary &dict)
 Construct from dictionary. More...
 
autoPtr< constTransportclone () const
 Construct and return a clone. More...
 
scalar mu (const scalar p, const scalar T) const
 Dynamic viscosity [kg/m/s]. More...
 
scalar kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/m/K]. More...
 
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/m/s]. More...
 
void write (Ostream &os) const
 Write to Ostream. More...
 
void operator+= (const constTransport &)
 
void operator*= (const scalar)
 

Static Public Member Functions

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

Friends

constTransport operator+ (const constTransport &, const constTransport &)
 
constTransport operator* (const scalar, const constTransport &)
 
Ostreamoperator (Ostream &, const constTransport &)
 

Detailed Description

template<class Thermo>
class Foam::constTransport< Thermo >

Constant properties Transport package. Templated into a given thermodynamics package (needed for thermal conductivity).

Source files

Definition at line 47 of file constTransport.H.

Constructor & Destructor Documentation

◆ constTransport() [1/2]

constTransport ( const word name,
const constTransport< Thermo > &  ct 
)
inline

Construct as named copy.

Definition at line 44 of file constTransportI.H.

◆ constTransport() [2/2]

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::constTransport< Thermo > > clone ( ) const
inline

Construct and return a clone.

Definition at line 57 of file constTransportI.H.

References constTransport< Thermo >::New().

Here is the call graph for this function:

◆ New()

Foam::autoPtr< Foam::constTransport< Thermo > > New ( const dictionary dict)
inlinestatic

Definition at line 69 of file constTransportI.H.

References dict, and constTransport< Thermo >::mu().

Referenced by constTransport< Thermo >::clone().

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

◆ typeName()

static word typeName ( )
inlinestatic

◆ mu()

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

Dynamic viscosity [kg/m/s].

Definition at line 84 of file constTransportI.H.

References constTransport< Thermo >::kappa().

Referenced by constTransport< Thermo >::alphah(), constTransport< Thermo >::kappa(), constTransport< Thermo >::New(), and constTransport< Thermo >::typeName().

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

◆ kappa()

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

Thermal conductivity [W/m/K].

Definition at line 95 of file constTransportI.H.

References constTransport< Thermo >::alphah(), Cp(), and constTransport< Thermo >::mu().

Referenced by constTransport< Thermo >::mu(), and constTransport< Thermo >::typeName().

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

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/m/s].

Definition at line 106 of file constTransportI.H.

References constTransport< Thermo >::mu().

Referenced by constTransport< Thermo >::kappa(), and constTransport< Thermo >::typeName().

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

◆ write()

void write ( Ostream os) const

Write to Ostream.

Referenced by constTransport< Thermo >::typeName().

Here is the caller graph for this function:

◆ operator+=()

void operator+= ( const constTransport< Thermo > &  )
inline

Definition at line 119 of file constTransportI.H.

References Foam::mag(), and Y.

Referenced by constTransport< Thermo >::typeName().

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

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 140 of file constTransportI.H.

References Foam::mag(), and s().

Referenced by constTransport< Thermo >::typeName().

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

Friends And Related Function Documentation

◆ operator+

constTransport operator+ ( const constTransport< Thermo > &  ,
const constTransport< Thermo > &   
)
friend

◆ operator*

constTransport operator* ( const scalar  ,
const constTransport< Thermo > &   
)
friend

◆ operator

Ostream& operator ( Ostream ,
const constTransport< Thermo > &   
)
friend

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