Transport package using polynomial functions of ln(T) for mu and kappa:
More...
#include <logPolynomialTransport.H>


Public Member Functions | |
| logPolynomialTransport (const word &, const logPolynomialTransport &) | |
| Construct as named copy. | |
| logPolynomialTransport (const dictionary &dict) | |
| Construct from dictionary. | |
| autoPtr< logPolynomialTransport > | 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 logPolynomialTransport &) |
| void | operator*= (const scalar) |
Static Public Member Functions | |
| static autoPtr< logPolynomialTransport > | New (const dictionary &dict) |
| static word | typeName () |
| Return the instantiated type name. | |
Friends | |
| logPolynomialTransport | operator+ (const logPolynomialTransport &, const logPolynomialTransport &) |
| logPolynomialTransport | operator* (const scalar, const logPolynomialTransport &) |
| Ostream & | operator (Ostream &, const logPolynomialTransport &) |
Transport package using polynomial functions of ln(T) for mu and kappa:
![\[ ln(mu) = \sum_{i=1}^N \left( a[i] * ln(T)^{i-1} \right)
\]](form_957.png)
![\[ ln(kappa) = \sum_{i=1}^N \left( b[i] * ln(T)^{i-1} \right)
\]](form_958.png)
| 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 ln(T) + 0.003 ln(T)^2
\]](form_959.png)
![\[ \kappa = 2000 - 0.15 ln(T) + 0.023 ln(T)^2
\]](form_960.png)
Definition at line 132 of file logPolynomialTransport.H.
|
inline |
Construct as named copy.
Definition at line 40 of file logPolynomialTransportI.H.
References Foam::name().

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

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

|
inlinestatic |
Return the instantiated type name.
Definition at line 212 of file logPolynomialTransport.H.
|
inline |
Dynamic viscosity [kg/ms].
Definition at line 71 of file logPolynomialTransportI.H.
References Foam::exp(), Foam::log(), p, and Foam::T().

|
inline |
Thermal conductivity [W/mK].
Definition at line 82 of file logPolynomialTransportI.H.
References Foam::exp(), Foam::log(), p, and Foam::T().
Referenced by alphah().


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

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

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