OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

sutherlandTransport< thermo > Class Template Reference

Transport package using Sutherland's formula. More...

Collaboration diagram for sutherlandTransport< thermo >:

List of all members.


Public Member Functions

 sutherlandTransport (const thermo &t, const scalar as, const scalar ts)
 Construct from components.
 sutherlandTransport (const thermo &t, const scalar mu1, const scalar T1, const scalar mu2, const scalar T2)
 Construct from two viscosities.
 sutherlandTransport (const word &, const sutherlandTransport &)
 Construct as named copy.
 sutherlandTransport (Istream &)
 Construct from Istream.
autoPtr< sutherlandTransport > clone () const
 Construct and return a clone.
scalar mu (const scalar T) const
 Dynamic viscosity [kg/ms].
scalar kappa (const scalar T) const
 Thermal conductivity [W/mK].
scalar alpha (const scalar T) const
 Thermal diffusivity for enthalpy [kg/ms].
sutherlandTransport & operator= (const sutherlandTransport &)

Static Public Member Functions

static autoPtr
< sutherlandTransport > 
New (Istream &is)

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 &)

Detailed Description

template<class thermo>
class Foam::sutherlandTransport< thermo >

Transport package using Sutherland's formula.

Templated into a given thermodynamics package (needed for thermal conductivity).

Dynamic viscosity [kg/m.s]

\[ \mu = A_s \frac{\sqrt{T}}{1 + T_s / T} \]

Source files

Definition at line 92 of file sutherlandTransport.H.


Constructor & Destructor Documentation

sutherlandTransport ( const thermo &  t,
const scalar  as,
const scalar  ts 
) [inline]

Construct from components.

Definition at line 49 of file sutherlandTransportI.H.

Referenced by sutherlandTransport< thermo >::sutherlandTransport().

Here is the caller graph for this function:

sutherlandTransport ( const thermo &  t,
const scalar  mu1,
const scalar  T1,
const scalar  mu2,
const scalar  T2 
) [inline]

Construct from two viscosities.

Definition at line 64 of file sutherlandTransportI.H.

sutherlandTransport ( const word &  name,
const sutherlandTransport< thermo > &  st 
) [inline]

Construct as named copy.

Definition at line 79 of file sutherlandTransportI.H.

sutherlandTransport ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 29 of file sutherlandTransport.C.

References Foam::readScalar(), sutherlandTransport< thermo >::sutherlandTransport(), and thermo.

Here is the call graph for this function:


Member Function Documentation

autoPtr< sutherlandTransport< thermo > > clone (  )  const [inline]

Construct and return a clone.

Definition at line 93 of file sutherlandTransportI.H.

autoPtr< sutherlandTransport< thermo > > New ( Istream &  is  )  [inline, static]

Definition at line 105 of file sutherlandTransportI.H.

scalar mu ( const scalar  T  )  const [inline]

Dynamic viscosity [kg/ms].

Definition at line 120 of file sutherlandTransportI.H.

Referenced by sutherlandTransport< thermo >::alpha().

Here is the caller graph for this function:

scalar kappa ( const scalar  T  )  const [inline]

Thermal conductivity [W/mK].

Definition at line 128 of file sutherlandTransportI.H.

References Foam::sqrt().

Here is the call graph for this function:

scalar alpha ( const scalar  T  )  const [inline]

Thermal diffusivity for enthalpy [kg/ms].

Definition at line 137 of file sutherlandTransportI.H.

References sutherlandTransport< thermo >::mu(), and R.

Here is the call graph for this function:

sutherlandTransport& operator= ( const sutherlandTransport< thermo > &   )  [inline]


Friends And Related Function Documentation

sutherlandTransport operator+ ( const sutherlandTransport< thermo > &  ,
const sutherlandTransport< thermo > &   
) [friend]

sutherlandTransport operator- ( const sutherlandTransport< thermo > &  ,
const sutherlandTransport< thermo > &   
) [friend]

sutherlandTransport operator* ( const   scalar,
const sutherlandTransport< thermo > &   
) [friend]

sutherlandTransport operator== ( const sutherlandTransport< thermo > &  ,
const sutherlandTransport< thermo > &   
) [friend]

Ostream& operator ( Ostream &  ,
const sutherlandTransport< thermo > &   
) [friend]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd