polynomialSolidTransport< Thermo, PolySize > Class Template Reference

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

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

Public Member Functions

 polynomialSolidTransport (const word &, const polynomialSolidTransport &)
 Construct as named copy. 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 scalar)
 

Static Public Member Functions

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 scalar, 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.

Usage
Property Description
kappaCoeffs<8> Thermal conductivity polynomial coefficients

Example of the specification of the transport properties:

    transport
    {
        kappaCoeffs<8>     ( 1000 -0.05 0.003 0 0 0 0 0 );
    }

The polynomial expression is evaluated as so:

\[ \kappa = 1000 - 0.05 T + 0.003 T^2 \]

Note
Thermal conductivity polynomial coefficients evaluate to an expression in [W/m/K].
Source files
See also
Foam::Polynomial

Definition at line 113 of file polynomialSolidTransport.H.

Constructor & Destructor Documentation

◆ polynomialSolidTransport() [1/2]

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

Construct as named copy.

Definition at line 46 of file polynomialSolidTransportI.H.

References Foam::name().

Here is the call graph for this function:

◆ polynomialSolidTransport() [2/2]

polynomialSolidTransport ( const dictionary dict)
explicit

Construct from dictionary.

Definition at line 34 of file polynomialSolidTransport.C.

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::polynomialSolidTransport< Thermo, PolySize > > clone
inline

Construct and return a clone.

Definition at line 60 of file polynomialSolidTransportI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 68 of file polynomialSolidTransportI.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 170 of file polynomialSolidTransport.H.

◆ mu()

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

Dynamic viscosity [kg/ms].

Definition at line 77 of file polynomialSolidTransportI.H.

References NotImplemented.

◆ kappa()

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

Thermal conductivity [W/mK].

Definition at line 89 of file polynomialSolidTransportI.H.

References T, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ Kappa()

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

Thermal conductivity [W/mK].

Definition at line 100 of file polynomialSolidTransportI.H.

References T.

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 112 of file polynomialSolidTransportI.H.

References Cp, p, and T.

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 47 of file polynomialSolidTransport.C.

References Ostream::beginBlock(), Ostream::endBlock(), os(), and Ostream::writeEntry().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 124 of file polynomialSolidTransportI.H.

References Y.

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 141 of file polynomialSolidTransportI.H.

References s().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator+

polynomialSolidTransport operator+ ( const polynomialSolidTransport< Thermo, PolySize > &  ,
const polynomialSolidTransport< Thermo, PolySize > &   
)
friend

◆ operator*

polynomialSolidTransport operator* ( const  scalar,
const polynomialSolidTransport< Thermo, PolySize > &   
)
friend

◆ operator

Ostream & operator ( Ostream ,
const polynomialSolidTransport< Thermo, PolySize > &   
)
friend

Member Data Documentation

◆ isotropic

const bool isotropic = true
static

Is the thermal conductivity isotropic.

Definition at line 176 of file polynomialSolidTransport.H.


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