Transport package using polynomial functions for mu and kappa. More...
Public Member Functions | |
polynomialTransport (const polynomialTransport &) | |
Construct copy. More... | |
polynomialTransport (const word &, const polynomialTransport &) | |
Construct as named copy. More... | |
polynomialTransport (Istream &is) | |
Construct from Istream. 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... | |
polynomialTransport & | operator= (const polynomialTransport &) |
void | operator+= (const polynomialTransport &) |
void | operator-= (const polynomialTransport &) |
void | operator*= (const scalar) |
Static Public Member Functions | |
static autoPtr< polynomialTransport > | New (Istream &is) |
static autoPtr< polynomialTransport > | New (const dictionary &dict) |
static word | typeName () |
Return the instantiated type name. More... | |
Private Member Functions | |
polynomialTransport (const Thermo &t, const Polynomial< PolySize > &muPoly, const Polynomial< PolySize > &kappaPoly) | |
Construct from components. More... | |
Private Attributes | |
Polynomial< PolySize > | muCoeffs_ |
Dynamic viscosity polynomial coefficients. More... | |
Polynomial< PolySize > | kappaCoeffs_ |
Thermal conductivity polynomial coefficients. More... | |
Friends | |
polynomialTransport | operator+ (const polynomialTransport &, const polynomialTransport &) |
polynomialTransport | operator- (const polynomialTransport &, const polynomialTransport &) |
polynomialTransport | operator* (const scalar, const polynomialTransport &) |
polynomialTransport | operator== (const polynomialTransport &, const polynomialTransport &) |
Ostream & | operator (Ostream &, const polynomialTransport &) |
Transport package using polynomial functions for mu and kappa.
Definition at line 47 of file polynomialTransport.H.
|
inlineprivate |
Construct from components.
|
inline |
Construct copy.
|
inline |
Construct as named copy.
polynomialTransport | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 32 of file polynomialTransport.C.
References polynomialTransport::kappaCoeffs_, and polynomialTransport::muCoeffs_.
polynomialTransport | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 45 of file polynomialTransport.C.
|
inline |
Construct and return a clone.
Definition at line 71 of file polynomialTransportI.H.
|
inlinestatic |
Definition at line 82 of file polynomialTransportI.H.
|
inlinestatic |
Definition at line 93 of file polynomialTransportI.H.
References dict.
|
inlinestatic |
Return the instantiated type name.
Definition at line 145 of file polynomialTransport.H.
|
inline |
Dynamic viscosity [kg/ms].
Definition at line 106 of file polynomialTransportI.H.
References Foam::T().
|
inline |
Thermal conductivity [W/mK].
Definition at line 117 of file polynomialTransportI.H.
References Foam::T().
|
inline |
Thermal diffusivity of enthalpy [kg/ms].
Definition at line 128 of file polynomialTransportI.H.
References Foam::constant::electromagnetic::kappa, p, and Foam::T().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 73 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, PolySize, and write().
|
inline |
Definition at line 141 of file polynomialTransportI.H.
|
inline |
Definition at line 156 of file polynomialTransportI.H.
|
inline |
Definition at line 174 of file polynomialTransportI.H.
|
inline |
Definition at line 192 of file polynomialTransportI.H.
References s().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Dynamic viscosity polynomial coefficients.
Note: input in [Pa.s], but internally uses [Pa.s/kmol]
Definition at line 98 of file polynomialTransport.H.
Referenced by polynomialTransport::polynomialTransport().
|
private |
Thermal conductivity polynomial coefficients.
Note: input in [W/m/K], but internally uses [W/m/K/kmol]
Definition at line 102 of file polynomialTransport.H.
Referenced by polynomialTransport::polynomialTransport().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.