Public Member Functions | Static Public Member Functions | Friends | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for constTransport< Thermo >:
Collaboration graph
[legend]

Public Member Functions

 constTransport (const word &, const constTransport &)
 Construct as named copy. More...
 
 constTransport (Istream &)
 Construct from Istream. 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...
 
constTransportoperator= (const constTransport &)
 
void operator+= (const constTransport &)
 
void operator-= (const constTransport &)
 
void operator*= (const scalar)
 

Static Public Member Functions

static autoPtr< constTransportNew (Istream &is)
 
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 constTransport &, const constTransport &)
 
constTransport operator* (const scalar, const constTransport &)
 
constTransport operator== (const constTransport &, 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 ( const word name,
const constTransport< Thermo > &  ct 
)
inline

Construct as named copy.

Definition at line 44 of file constTransportI.H.

Construct from Istream.

Definition at line 32 of file constTransport.C.

References IOstream::check().

Here is the call graph for this function:

constTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 43 of file constTransport.C.

References dictionary::add(), token::BEGIN_BLOCK, IOstream::check(), Foam::decrIndent(), dict, dictionaryName::dictName(), token::END_BLOCK, Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, Foam::tab, and write().

Here is the call graph for this function:

Member Function Documentation

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:

Foam::autoPtr< Foam::constTransport< Thermo > > New ( Istream is)
inlinestatic

Definition at line 69 of file constTransportI.H.

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

Here is the caller graph for this function:

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

Definition at line 83 of file constTransportI.H.

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

Here is the call graph for this function:

static word typeName ( )
inlinestatic
Foam::scalar mu ( const scalar  p,
const scalar  T 
) const
inline

Dynamic viscosity [kg/ms].

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

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

Thermal conductivity [W/mK].

Definition at line 109 of file constTransportI.H.

References constTransport< Thermo >::alphah(), 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:

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 120 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:

void write ( Ostream os) const

Write to Ostream.

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

Here is the caller graph for this function:

Foam::constTransport< Thermo > & operator= ( const constTransport< Thermo > &  )
inline

Definition at line 133 of file constTransportI.H.

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

Here is the caller graph for this function:

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

Definition at line 148 of file constTransportI.H.

References Foam::mag().

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 169 of file constTransportI.H.

References Foam::mag().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void operator*= ( const scalar  s)
inline

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

constTransport operator+ ( const constTransport< Thermo > &  ,
const constTransport< Thermo > &   
)
friend
constTransport operator- ( const constTransport< Thermo > &  ,
const constTransport< Thermo > &   
)
friend
constTransport operator* ( const scalar  ,
const constTransport< Thermo > &   
)
friend
constTransport operator== ( const constTransport< Thermo > &  ,
const constTransport< Thermo > &   
)
friend
Ostream& operator ( Ostream ,
const constTransport< Thermo > &   
)
friend

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