Transport package using polynomial functions for mu and kappa.
More...
#include <polynomialTransport.H>


Public Member Functions | |
| polynomialTransport (const word &, const polynomialTransport &) | |
| Construct as named copy. | |
| polynomialTransport (const dictionary &dict) | |
| Construct from dictionary. | |
| autoPtr< polynomialTransport > | clone () 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]. | |
| 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 polynomialTransport &) |
| void | operator*= (const scalar) |
Static Public Member Functions | |
| static autoPtr< polynomialTransport > | New (const dictionary &dict) |
| static word | typeName () |
| Return the instantiated type name. | |
Friends | |
| polynomialTransport | operator+ (const polynomialTransport &, const polynomialTransport &) |
| polynomialTransport | operator* (const scalar, const polynomialTransport &) |
| Ostream & | operator (Ostream &, const polynomialTransport &) |
Transport package using polynomial functions for mu and kappa.
| Property | Description |
|---|---|
muCoeffs<8> | Dynamic viscosity polynomial coefficients |
kappaCoeffs<8> | Thermal conductivity polynomial coefficients |
Example of the specification of the transport properties:
transport
{
muCoeffs<8> ( 1000 -0.05 0.003 0 0 0 0 0 );
kappaCoeffs<8> ( 2000 -0.15 0.023 0 0 0 0 0 );
}
The polynomial expressions are evaluated as so:
![\[ \mu = 1000 - 0.05 T + 0.003 T^2
\]](form_961.png)
![\[ \kappa = 2000 - 0.15 T + 0.023 T^2
\]](form_962.png)
Definition at line 123 of file polynomialTransport.H.
|
inline |
Construct as named copy.
Definition at line 40 of file polynomialTransportI.H.
References Foam::name().

|
explicit |
|
inline |
Construct and return a clone.
Definition at line 54 of file polynomialTransportI.H.
References Foam::New().

|
inlinestatic |
Definition at line 62 of file polynomialTransportI.H.
References dict, and Foam::New().

|
inlinestatic |
Return the instantiated type name.
Definition at line 192 of file polynomialTransport.H.
|
inline |
Dynamic viscosity [kg/ms].
Definition at line 71 of file polynomialTransportI.H.

|
inline |
Thermal conductivity [W/mK].
Definition at line 82 of file polynomialTransportI.H.
Referenced by alphah().


|
inline |
| void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 41 of file polynomialTransport.C.

|
inline |
Definition at line 105 of file polynomialTransportI.H.
References Foam::mag(), operator, and Y.

|
inline |
|
friend |
|
friend |
|
friend |
Referenced by operator*=(), and operator+=().