Transport package using polynomial functions for mu
and kappa
.
More...
Public Member Functions | |
polynomialTransport (const word &, const polynomialTransport &) | |
Construct as named copy. More... | |
polynomialTransport (const dictionary &dict) | |
Construct from dictionary. More... | |
autoPtr< polynomialTransport > | clone () 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... | |
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 polynomialTransport &) |
void | operator*= (const scalar) |
Static Public Member Functions | |
static autoPtr< polynomialTransport > | New (const dictionary &dict) |
static word | typeName () |
Return the instantiated type name. More... | |
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 \]
\[ \kappa = 2000 - 0.15 T + 0.023 T^2 \]
Definition at line 98 of file polynomialTransport.H.
|
inline |
Construct as named copy.
Definition at line 48 of file polynomialTransportI.H.
|
explicit |
Construct from dictionary.
Definition at line 35 of file polynomialTransport.C.
|
inline |
Construct and return a clone.
Definition at line 61 of file polynomialTransportI.H.
References Foam::New().
|
inlinestatic |
Definition at line 69 of file polynomialTransportI.H.
References dict, and Foam::New().
|
inlinestatic |
Return the instantiated type name.
Definition at line 180 of file polynomialTransport.H.
|
inline |
Dynamic viscosity [kg/ms].
Definition at line 79 of file polynomialTransportI.H.
References Foam::T().
|
inline |
Thermal conductivity [W/mK].
Definition at line 90 of file polynomialTransportI.H.
References Foam::T().
|
inline |
Thermal diffusivity of enthalpy [kg/ms].
Definition at line 101 of file polynomialTransportI.H.
References Cp, Foam::constant::electromagnetic::kappa, p, and Foam::T().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 48 of file polynomialTransport.C.
References Ostream::beginBlock(), Ostream::endBlock(), Foam::name(), Foam::vtk::write(), and Ostream::writeEntry().
|
inline |
Definition at line 113 of file polynomialTransportI.H.
References Foam::mag(), and Y.
|
inline |
Definition at line 134 of file polynomialTransportI.H.
References s.
|
friend |
|
friend |
|
friend |