Loading...
Searching...
No Matches
polynomialSolidTransport< Thermo, PolySize > Class Template Reference

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

#include <polynomialSolidTransport.H>

Inheritance diagram for polynomialSolidTransport< Thermo, PolySize >:
Collaboration diagram for polynomialSolidTransport< Thermo, PolySize >:

Public Member Functions

 polynomialSolidTransport (const word &, const polynomialSolidTransport &)
 Construct as named copy.
 polynomialSolidTransport (const dictionary &dict)
 Construct from dictionary.
autoPtr< polynomialSolidTransportclone () const
 Construct and return a clone.
scalar mu (const scalar p, const scalar T) const
 Dynamic viscosity [kg/ms].
scalar kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/mK].
vector Kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/mK].
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/ms].
void write (Ostream &os) const
 Write to Ostream.
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.

Static Public Attributes

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

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 109 of file polynomialSolidTransport.H.

Constructor & Destructor Documentation

◆ polynomialSolidTransport() [1/2]

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

Construct as named copy.

Definition at line 39 of file polynomialSolidTransportI.H.

References Foam::name().

Here is the call graph for this function:

◆ polynomialSolidTransport() [2/2]

template<class Thermo, int PolySize>
polynomialSolidTransport ( const dictionary & dict)
explicit

Construct from dictionary.

Definition at line 27 of file polynomialSolidTransport.C.

References dict.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 53 of file polynomialSolidTransportI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 61 of file polynomialSolidTransportI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

template<class Thermo, int PolySize = 8>
word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 181 of file polynomialSolidTransport.H.

◆ mu()

template<class Thermo, int PolySize>
Foam::scalar mu ( const scalar p,
const scalar T ) const
inline

Dynamic viscosity [kg/ms].

Definition at line 70 of file polynomialSolidTransportI.H.

References NotImplemented, p, and Foam::T().

Here is the call graph for this function:

◆ kappa()

template<class Thermo, int PolySize>
Foam::scalar kappa ( const scalar p,
const scalar T ) const
inline

Thermal conductivity [W/mK].

Definition at line 82 of file polynomialSolidTransportI.H.

References p, and Foam::T().

Referenced by alphah(), and Kappa().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Kappa()

template<class Thermo, int PolySize>
Foam::vector Kappa ( const scalar p,
const scalar T ) const
inline

Thermal conductivity [W/mK].

Definition at line 93 of file polynomialSolidTransportI.H.

References kappa(), p, and Foam::T().

Here is the call graph for this function:

◆ alphah()

template<class Thermo, int PolySize>
Foam::scalar alphah ( const scalar p,
const scalar T ) const
inline

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 105 of file polynomialSolidTransportI.H.

References Cp, kappa(), p, and Foam::T().

Here is the call graph for this function:

◆ write()

template<class Thermo, int PolySize>
void write ( Ostream & os) const

Write to Ostream.

Definition at line 40 of file polynomialSolidTransport.C.

References os().

Here is the call graph for this function:

◆ operator+=()

template<class Thermo, int PolySize = 8>
void operator+= ( const polynomialSolidTransport< Thermo, PolySize > & )
inline

Definition at line 117 of file polynomialSolidTransportI.H.

References operator, and Y.

Here is the call graph for this function:

◆ operator*=()

template<class Thermo, int PolySize>
void operator*= ( const scalar s)
inline

Definition at line 134 of file polynomialSolidTransportI.H.

References operator, and s().

Here is the call graph for this function:

◆ operator+

template<class Thermo, int PolySize = 8>
polynomialSolidTransport operator+ ( const polynomialSolidTransport< Thermo, PolySize > & ,
const polynomialSolidTransport< Thermo, PolySize > &  )
friend

◆ operator*

template<class Thermo, int PolySize = 8>
polynomialSolidTransport operator* ( const scalar ,
const polynomialSolidTransport< Thermo, PolySize > &  )
friend

◆ operator

template<class Thermo, int PolySize = 8>
Ostream & operator ( Ostream & ,
const polynomialSolidTransport< Thermo, PolySize > &  )
friend

Referenced by operator*=(), and operator+=().

Member Data Documentation

◆ isotropic

template<class Thermo, int PolySize = 8>
const bool isotropic = true
static

Is the thermal conductivity isotropic.

Definition at line 189 of file polynomialSolidTransport.H.


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