Transport package with constant properties. More...


Public Member Functions | |
| constTransport (const Thermo &t, const scalar mu, const bool constPr, const scalar rPr, const scalar kappa) | |
| Construct from components. More... | |
| constTransport (const word &, const constTransport &) | |
| Construct as named copy. More... | |
| constTransport (const word &name, const dictionary &dict) | |
| Construct from name and dictionary. More... | |
| autoPtr< constTransport > | 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 constTransport &) |
| void | operator*= (const scalar) |
Static Public Member Functions | |
| static word | typeName () |
| Return the instantiated type name. More... | |
Friends | |
| constTransport | operator+ (const constTransport &, const constTransport &) |
| constTransport | operator* (const scalar, const constTransport &) |
| Ostream & | operator (Ostream &, const constTransport &) |
Transport package with constant properties.
| Property | Description |
|---|---|
mu | Constant dynamic viscosity [Pa.s] |
Pr | Constant Prandtl number [] |
Example specification of constTransport for air:
transport
{
mu 1.82e-05;
Pr 0.71;
}Definition at line 99 of file constTransport.H.
|
inline |
Construct from components.
Definition at line 29 of file constTransportI.H.
|
inline |
Construct as named copy.
Definition at line 47 of file constTransportI.H.
| constTransport | ( | const word & | name, |
| const dictionary & | dict | ||
| ) |
Construct from name and dictionary.
Definition at line 32 of file constTransport.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::found(), and dictionary::lookup().

|
inline |
Construct and return a clone.
Definition at line 63 of file constTransportI.H.
|
inlinestatic |
Return the instantiated type name.
Definition at line 145 of file constTransport.H.
|
inline |
Dynamic viscosity [kg/m/s].
Definition at line 75 of file constTransportI.H.
|
inline |
Thermal conductivity [W/m/K].
Definition at line 86 of file constTransportI.H.
References Cp(), Foam::constant::physicoChemical::mu, p, and Foam::T().

|
inline |
Definition at line 99 of file constTransportI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::mag(), Foam::name(), Foam::operator+=(), and Y.

|
inline |
Definition at line 135 of file constTransportI.H.
References s().

|
friend |
|
friend |
|
friend |