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/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 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:
Definition at line 86 of file polynomialTransport.H.
|
inline |
Construct as named copy.
Definition at line 46 of file polynomialTransportI.H.
polynomialTransport | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 33 of file polynomialTransport.C.
|
inline |
Construct and return a clone.
Definition at line 59 of file polynomialTransportI.H.
|
inlinestatic |
Definition at line 70 of file polynomialTransportI.H.
References dict, and polynomialTransport< Thermo, PolySize >::mu().
|
inlinestatic |
Return the instantiated type name.
Definition at line 159 of file polynomialTransport.H.
References polynomialTransport< Thermo, PolySize >::kappa(), polynomialTransport< Thermo, PolySize >::mu(), polynomialTransport< Thermo, PolySize >::operator*=(), polynomialTransport< Thermo, PolySize >::operator+=(), p, Foam::T(), and polynomialTransport< Thermo, PolySize >::write().
|
inline |
Dynamic viscosity [kg/m/s].
Definition at line 83 of file polynomialTransportI.H.
References polynomialTransport< Thermo, PolySize >::kappa().
Referenced by polynomialTransport< Thermo, PolySize >::New(), and polynomialTransport< Thermo, PolySize >::typeName().
|
inline |
Thermal conductivity [W/m/K].
Definition at line 94 of file polynomialTransportI.H.
Referenced by polynomialTransport< Thermo, PolySize >::mu(), and polynomialTransport< Thermo, PolySize >::typeName().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 58 of file polynomialTransport.C.
References dictionary::add(), Foam::decrIndent(), dict, dictionaryName::dictName(), Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, Foam::vtkWriteOps::write(), and Ostream::write().
Referenced by polynomialTransport< Thermo, PolySize >::typeName().
|
inline |
Definition at line 107 of file polynomialTransportI.H.
References Foam::mag(), and Y.
Referenced by polynomialTransport< Thermo, PolySize >::typeName().
|
inline |
Definition at line 128 of file polynomialTransportI.H.
References Foam::mag(), and s().
Referenced by polynomialTransport< Thermo, PolySize >::typeName().
|
friend |
|
friend |
|
friend |