constTransport< Thermo > Class Template Reference

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

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/ms]. More...
 
scalar kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/mK]. More...
 
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/ms]. 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 53 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 46 of file constTransportI.H.

◆ constTransport() [2/2]

constTransport ( const dictionary dict)
explicit

Construct from dictionary.

Definition at line 34 of file constTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 59 of file constTransportI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 68 of file constTransportI.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 129 of file constTransport.H.

◆ mu()

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

Dynamic viscosity [kg/ms].

Definition at line 80 of file constTransportI.H.

◆ kappa()

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

Thermal conductivity [W/mK].

Definition at line 91 of file constTransportI.H.

References Cp, Foam::constant::physicoChemical::mu, p, and Foam::T().

Here is the call graph for this function:

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 102 of file constTransportI.H.

References Foam::constant::physicoChemical::mu, p, and Foam::T().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Write to Ostream.

◆ operator+=()

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

Definition at line 115 of file constTransportI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 136 of file constTransportI.H.

References s.

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: