Public Member Functions | Static Public Member Functions | Friends | List of all members
polynomialTransport< Thermo, PolySize > Class Template Reference

Transport package using polynomial functions for mu and kappa. More...

Inheritance diagram for polynomialTransport< Thermo, PolySize >:
Inheritance graph
[legend]
Collaboration diagram for polynomialTransport< Thermo, PolySize >:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

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

Friends

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

Detailed Description

template<class Thermo, int PolySize = 8>
class Foam::polynomialTransport< Thermo, PolySize >

Transport package using polynomial functions for mu and kappa.

Source files

Definition at line 47 of file polynomialTransport.H.

Constructor & Destructor Documentation

polynomialTransport ( const polynomialTransport< Thermo, PolySize > &  pt)
inline

Construct copy.

Definition at line 32 of file polynomialTransportI.H.

polynomialTransport ( const word name,
const polynomialTransport< Thermo, PolySize > &  pt 
)
inline

Construct as named copy.

Definition at line 58 of file polynomialTransportI.H.

Construct from Istream.

Definition at line 32 of file polynomialTransport.C.

polynomialTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 45 of file polynomialTransport.C.

Member Function Documentation

Foam::autoPtr< Foam::polynomialTransport< Thermo, PolySize > > clone ( ) const
inline

Construct and return a clone.

Definition at line 71 of file polynomialTransportI.H.

Foam::autoPtr< Foam::polynomialTransport< Thermo, PolySize > > New ( Istream is)
inlinestatic

Definition at line 82 of file polynomialTransportI.H.

Foam::autoPtr< Foam::polynomialTransport< Thermo, PolySize > > New ( const dictionary dict)
inlinestatic

Definition at line 93 of file polynomialTransportI.H.

References dict, and polynomialTransport< Thermo, PolySize >::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 106 of file polynomialTransportI.H.

References polynomialTransport< Thermo, PolySize >::kappa().

Referenced by polynomialTransport< Thermo, PolySize >::New(), and polynomialTransport< Thermo, PolySize >::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 117 of file polynomialTransportI.H.

References polynomialTransport< Thermo, PolySize >::alphah().

Referenced by polynomialTransport< Thermo, PolySize >::mu(), and polynomialTransport< Thermo, PolySize >::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 128 of file polynomialTransportI.H.

References Foam::constant::electromagnetic::kappa.

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

Here is the caller graph for this function:

void write ( Ostream os) const

Write to Ostream.

Definition at line 73 of file polynomialTransport.C.

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

Referenced by polynomialTransport< Thermo, PolySize >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

void operator= ( const polynomialTransport< Thermo, PolySize > &  )
inline

Definition at line 140 of file polynomialTransportI.H.

Referenced by polynomialTransport< Thermo, PolySize >::typeName().

Here is the caller graph for this function:

void operator+= ( const polynomialTransport< Thermo, PolySize > &  )
inline

Definition at line 153 of file polynomialTransportI.H.

Referenced by polynomialTransport< Thermo, PolySize >::typeName().

Here is the caller graph for this function:

void operator-= ( const polynomialTransport< Thermo, PolySize > &  )
inline

Definition at line 171 of file polynomialTransportI.H.

Referenced by polynomialTransport< Thermo, PolySize >::typeName().

Here is the caller graph for this function:

void operator*= ( const scalar  s)
inline

Definition at line 189 of file polynomialTransportI.H.

References s().

Referenced by polynomialTransport< Thermo, PolySize >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

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

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