Transport package using Sutherland's formula. More...
Public Member Functions | |
sutherlandTransport (const Thermo &t, const scalar As, const scalar Ts) | |
Construct from components. More... | |
sutherlandTransport (const Thermo &t, const scalar mu1, const scalar T1, const scalar mu2, const scalar T2) | |
Construct from two viscosities. More... | |
sutherlandTransport (const word &, const sutherlandTransport &) | |
Construct as named copy. More... | |
sutherlandTransport (Istream &) | |
Construct from Istream. More... | |
sutherlandTransport (const dictionary &dict) | |
Construct from dictionary. More... | |
sutherlandTransport (const Thermo &t, const dictionary &dict) | |
Construct from base thermo and dictionary. More... | |
autoPtr< sutherlandTransport > | 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... | |
sutherlandTransport & | operator= (const sutherlandTransport &) |
void | operator+= (const sutherlandTransport &) |
void | operator-= (const sutherlandTransport &) |
void | operator*= (const scalar) |
Static Public Member Functions | |
static autoPtr< sutherlandTransport > | New (Istream &is) |
static autoPtr< sutherlandTransport > | New (const dictionary &dict) |
static word | typeName () |
Return the instantiated type name. More... | |
Private Member Functions | |
void | calcCoeffs (const scalar mu1, const scalar T1, const scalar mu2, const scalar T2) |
Calculate the Sutherland coefficients. More... | |
scalar | readCoeff (const word &coeffName, const dictionary &dict) |
Read coefficient from dictionary. More... | |
Private Attributes | |
scalar | As_ |
scalar | Ts_ |
Friends | |
sutherlandTransport | operator+ (const sutherlandTransport &, const sutherlandTransport &) |
sutherlandTransport | operator- (const sutherlandTransport &, const sutherlandTransport &) |
sutherlandTransport | operator* (const scalar, const sutherlandTransport &) |
sutherlandTransport | operator== (const sutherlandTransport &, const sutherlandTransport &) |
Ostream & | operator (Ostream &, const sutherlandTransport &) |
Transport package using Sutherland's formula.
Templated into a given thermodynamics package (needed for thermal conductivity).
Dynamic viscosity [kg/m.s]
Definition at line 53 of file sutherlandTransport.H.
|
inline |
Construct from components.
Definition at line 51 of file sutherlandTransportI.H.
|
inline |
Construct from two viscosities.
Definition at line 65 of file sutherlandTransportI.H.
|
inline |
Construct as named copy.
sutherlandTransport | ( | Istream & | ) |
Construct from Istream.
sutherlandTransport | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 56 of file sutherlandTransport.C.
sutherlandTransport | ( | const Thermo & | t, |
const dictionary & | dict | ||
) |
Construct from base thermo and dictionary.
Definition at line 66 of file sutherlandTransport.C.
|
inlineprivate |
Calculate the Sutherland coefficients.
given two viscosities and temperatures
Definition at line 32 of file sutherlandTransportI.H.
References Foam::sqrt().
|
private |
Read coefficient from dictionary.
Definition at line 33 of file sutherlandTransport.C.
References dict, and readScalar.
|
inline |
Construct and return a clone.
Definition at line 92 of file sutherlandTransportI.H.
|
inlinestatic |
Definition at line 104 of file sutherlandTransportI.H.
|
inlinestatic |
Definition at line 118 of file sutherlandTransportI.H.
References dict.
|
inlinestatic |
Return the instantiated type name.
Definition at line 165 of file sutherlandTransport.H.
|
inline |
Dynamic viscosity [kg/ms].
Definition at line 133 of file sutherlandTransportI.H.
References Foam::sqrt(), and Foam::T().
|
inline |
Thermal conductivity [W/mK].
Definition at line 144 of file sutherlandTransportI.H.
References Foam::constant::physicoChemical::mu, p, R, and Foam::T().
|
inline |
Thermal diffusivity of enthalpy [kg/ms].
Definition at line 155 of file sutherlandTransportI.H.
References Foam::constant::electromagnetic::kappa, p, and Foam::T().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 80 of file sutherlandTransport.C.
References dictionary::add(), token::BEGIN_BLOCK, Foam::decrIndent(), dict, dictionaryName::dictName(), token::END_BLOCK, Foam::endl(), Foam::incrIndent(), Foam::indent(), specie::name(), Foam::nl, and write().
|
inline |
Definition at line 170 of file sutherlandTransportI.H.
|
inline |
Definition at line 185 of file sutherlandTransportI.H.
|
inline |
Definition at line 203 of file sutherlandTransportI.H.
|
inline |
Definition at line 221 of file sutherlandTransportI.H.
References s().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 103 of file sutherlandTransport.H.
|
private |
Definition at line 103 of file sutherlandTransport.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.