Transport package using polynomial functions of temperature for the dynamic viscosity and thermal conductivity: More...


Public Member Functions | |
| polynomialTransport (const Thermo &t, const Polynomial< PolySize > &muPoly, const Polynomial< PolySize > &kappaPoly) | |
| Construct from components. More... | |
| polynomialTransport (const word &, const polynomialTransport &) | |
| Construct as named copy. More... | |
| polynomialTransport (const word &name, const dictionary &dict) | |
| Construct from name and dictionary. More... | |
| autoPtr< polynomialTransport > | clone () const |
| Construct and return a clone. More... | |
| scalar | mu (const scalar p, const scalar T) const |
| Dynamic viscosity [kg/m/s]. More... | |
| scalar | kappa (const scalar p, const scalar T) const |
| Thermal conductivity [W/m/K]. More... | |
| void | write (Ostream &os) const |
| Write to Ostream. More... | |
| void | operator+= (const polynomialTransport &) |
| void | operator*= (const scalar) |
Static Public Member Functions | |
| 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 of temperature for the dynamic viscosity and thermal conductivity:
mu = muCoeffs[0] + muCoeffs[1]*T + muCoeffs[2]*sqr(T)
+ muCoeffs[3]*pow3(T) + muCoeffs[4]*pow4(T)
+ muCoeffs[5]*pow(T, 5) + muCoeffs[6]*pow(T, 6)
+ muCoeffs[7]*pow(T, 7)
kappa = kappaCoeffs[0] + kappaCoeffs[1]*T + kappaCoeffs[2]*sqr(T)
+ kappaCoeffs[3]*pow3(T) + kappaCoeffs[4]*pow4(T)
+ kappaCoeffs[5]*pow(T, 5) + kappaCoeffs[6]*pow(T, 6)
+ kappaCoeffs[7]*pow(T, 7)
The polynomial function is templated on the order of the polynomial which defaults to 8.
| 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);
}
Definition at line 120 of file polynomialTransport.H.
|
inline |
Construct from components.
Definition at line 31 of file polynomialTransportI.H.
|
inline |
Construct as named copy.
Definition at line 45 of file polynomialTransportI.H.
| polynomialTransport | ( | const word & | name, |
| const dictionary & | dict | ||
| ) |
Construct from name and dictionary.
Definition at line 32 of file polynomialTransport.C.
|
inline |
Construct and return a clone.
Definition at line 59 of file polynomialTransportI.H.
|
inlinestatic |
Return the instantiated type name.
Definition at line 158 of file polynomialTransport.H.
|
inline |
Dynamic viscosity [kg/m/s].
Definition at line 71 of file polynomialTransportI.H.
References Foam::T().

|
inline |
Thermal conductivity [W/m/K].
Definition at line 82 of file polynomialTransportI.H.
References Foam::T().

| void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 59 of file polynomialTransport.C.
References dictionary::add(), token::BEGIN_BLOCK, Foam::decrIndent(), dict, dictionaryName::dictName(), token::END_BLOCK, Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, and Foam::vtkWriteOps::write().

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

|
inline |
Definition at line 116 of file polynomialTransportI.H.
References s().

|
friend |
|
friend |
|
friend |