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

Transport package using polynomial functions for solid kappa. More...

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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static const bool isotropic = true
 Is the thermal conductivity isotropic. More...
 

Friends

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

Detailed Description

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

Transport package using polynomial functions for solid kappa.

Source files

Definition at line 47 of file polynomialSolidTransport.H.

Constructor & Destructor Documentation

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

Construct copy.

Definition at line 33 of file polynomialSolidTransportI.H.

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

Construct as named copy.

Definition at line 58 of file polynomialSolidTransportI.H.

Construct from Istream.

Definition at line 33 of file polynomialSolidTransport.C.

Construct from dictionary.

Definition at line 45 of file polynomialSolidTransport.C.

Member Function Documentation

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

Construct and return a clone.

Definition at line 70 of file polynomialSolidTransportI.H.

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

Definition at line 81 of file polynomialSolidTransportI.H.

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

Definition at line 92 of file polynomialSolidTransportI.H.

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

Here is the call graph for this function:

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 147 of file polynomialSolidTransport.H.

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

Dynamic viscosity [kg/ms].

Definition at line 105 of file polynomialSolidTransportI.H.

References polynomialSolidTransport< Thermo, PolySize >::kappa(), and NotImplemented.

Referenced by polynomialSolidTransport< Thermo, PolySize >::New().

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

References polynomialSolidTransport< Thermo, PolySize >::Kappa().

Referenced by polynomialSolidTransport< Thermo, PolySize >::mu().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::vector Kappa ( const scalar  p,
const scalar  T 
) const
inline

Thermal conductivity [W/mK].

Definition at line 128 of file polynomialSolidTransportI.H.

References polynomialSolidTransport< Thermo, PolySize >::alphah(), and Foam::constant::electromagnetic::kappa.

Referenced by polynomialSolidTransport< Thermo, PolySize >::kappa().

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 140 of file polynomialSolidTransportI.H.

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

Referenced by polynomialSolidTransport< Thermo, PolySize >::Kappa().

Here is the caller graph for this function:

void write ( Ostream os) const

Write to Ostream.

Definition at line 64 of file polynomialSolidTransport.C.

References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), Foam::name(), Foam::tab, and write().

Here is the call graph for this function:

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

Definition at line 152 of file polynomialSolidTransportI.H.

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

Definition at line 164 of file polynomialSolidTransportI.H.

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

Definition at line 181 of file polynomialSolidTransportI.H.

void operator*= ( const scalar  s)
inline

Definition at line 198 of file polynomialSolidTransportI.H.

References s().

Here is the call graph for this function:

Friends And Related Function Documentation

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

Member Data Documentation

const bool isotropic = true
static

Is the thermal conductivity isotropic.

Definition at line 153 of file polynomialSolidTransport.H.


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