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...
 
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

Return the instantiated type name.

Definition at line 120 of file constTransport.H.

References constTransport< Thermo >::kappa(), constTransport< Thermo >::mu(), constTransport< Thermo >::operator*=(), constTransport< Thermo >::operator+=(), p, Foam::T(), and constTransport< Thermo >::write().

Here is the call graph for this function:

◆ 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 >::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 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:

◆ 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 108 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 129 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: