All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
Public Member Functions | Static Public Member Functions | Friends | List of all members
powerLawTransport< Thermo > Class Template Reference

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

Inheritance diagram for powerLawTransport< Thermo >:
Inheritance graph
[legend]
Collaboration diagram for powerLawTransport< Thermo >:
Collaboration graph
[legend]

Public Member Functions

 powerLawTransport (const word &, const powerLawTransport &)
 Construct as named copy. More...
 
 powerLawTransport (Istream &)
 Construct from Istream. More...
 
 powerLawTransport (const dictionary &dict)
 Construct from dictionary. More...
 
autoPtr< powerLawTransportclone () 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...
 
powerLawTransportoperator= (const powerLawTransport &)
 
void operator+= (const powerLawTransport &)
 
void operator-= (const powerLawTransport &)
 
void operator*= (const scalar)
 

Static Public Member Functions

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

Friends

powerLawTransport operator+ (const powerLawTransport &, const powerLawTransport &)
 
powerLawTransport operator- (const powerLawTransport &, const powerLawTransport &)
 
powerLawTransport operator* (const scalar, const powerLawTransport &)
 
powerLawTransport operator== (const powerLawTransport &, const powerLawTransport &)
 
Ostream & operator (Ostream &, const powerLawTransport &)
 

Detailed Description

template<class Thermo>
class Foam::powerLawTransport< Thermo >

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

Source files

Description: Definition of templates

SourceFiles: powerLawTransportI.H powerLawTransport.C

Definition at line 48 of file powerLawTransport.H.

Constructor & Destructor Documentation

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

Construct as named copy.

Definition at line 58 of file powerLawTransportI.H.

powerLawTransport ( Istream &  is)

Construct from Istream.

Definition at line 33 of file powerLawTransport.C.

powerLawTransport ( const dictionary &  dict)

Construct from dictionary.

Definition at line 46 of file powerLawTransport.C.

Member Function Documentation

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

Construct and return a clone.

Definition at line 73 of file powerLawTransportI.H.

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

Definition at line 85 of file powerLawTransportI.H.

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

Definition at line 99 of file powerLawTransportI.H.

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 169 of file powerLawTransport.H.

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

Dynamic viscosity [kg/ms].

Definition at line 114 of file powerLawTransportI.H.

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

Thermal conductivity [W/mK].

Definition at line 125 of file powerLawTransportI.H.

References T.

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 136 of file powerLawTransportI.H.

References T.

void write ( Ostream &  os) const

Write to Ostream.

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

Definition at line 149 of file powerLawTransportI.H.

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

Definition at line 166 of file powerLawTransportI.H.

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

Definition at line 186 of file powerLawTransportI.H.

void operator*= ( const scalar  s)
inline

Definition at line 206 of file powerLawTransportI.H.

Friends And Related Function Documentation

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

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