Public Member Functions | Static Public Member Functions | Friends | List of all members
sutherlandTransport< Thermo > Class Template Reference

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

Inheritance diagram for sutherlandTransport< Thermo >:
Inheritance graph
[legend]
Collaboration diagram for sutherlandTransport< Thermo >:
Collaboration graph
[legend]

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...
 
autoPtr< sutherlandTransportclone () 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...
 
sutherlandTransportoperator= (const sutherlandTransport &)
 
void operator+= (const sutherlandTransport &)
 
void operator-= (const sutherlandTransport &)
 
void operator*= (const scalar)
 

Static Public Member Functions

static autoPtr< sutherlandTransportNew (Istream &is)
 
static autoPtr< sutherlandTransportNew (const dictionary &dict)
 
static word typeName ()
 Return the instantiated type name. More...
 

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 &)
 
Ostreamoperator (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 53 of file sutherlandTransport.H.

Constructor & Destructor Documentation

sutherlandTransport ( const Thermo &  t,
const scalar  As,
const scalar  Ts 
)
inline

Construct from components.

Definition at line 51 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 65 of file sutherlandTransportI.H.

References sutherlandTransport< Thermo >::sutherlandTransport().

Here is the call graph for this function:

sutherlandTransport ( const word name,
const sutherlandTransport< Thermo > &  st 
)
inline

Construct as named copy.

Definition at line 79 of file sutherlandTransportI.H.

Construct from Istream.

Definition at line 32 of file sutherlandTransport.C.

References IOstream::check().

Here is the call graph for this function:

sutherlandTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 43 of file sutherlandTransport.C.

Member Function Documentation

Foam::autoPtr< Foam::sutherlandTransport< Thermo > > clone ( ) const
inline

Construct and return a clone.

Definition at line 92 of file sutherlandTransportI.H.

References sutherlandTransport< Thermo >::New().

Here is the call graph for this function:

Foam::autoPtr< Foam::sutherlandTransport< Thermo > > New ( Istream is)
inlinestatic

Definition at line 104 of file sutherlandTransportI.H.

Referenced by sutherlandTransport< Thermo >::clone().

Here is the caller graph for this function:

Foam::autoPtr< Foam::sutherlandTransport< Thermo > > New ( const dictionary dict)
inlinestatic

Definition at line 118 of file sutherlandTransportI.H.

References dict, and sutherlandTransport< Thermo >::mu().

Here is the call graph for this function:

static word typeName ( )
inlinestatic
Foam::scalar mu ( const scalar  p,
const scalar  T 
) const
inline

Dynamic viscosity [kg/ms].

Definition at line 133 of file sutherlandTransportI.H.

References sutherlandTransport< Thermo >::kappa(), Foam::sqrt(), and T.

Referenced by sutherlandTransport< Thermo >::New(), and sutherlandTransport< Thermo >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar kappa ( const scalar  p,
const scalar  T 
) const
inline

Thermal conductivity [W/mK].

Definition at line 144 of file sutherlandTransportI.H.

References sutherlandTransport< Thermo >::alphah(), Foam::constant::physicoChemical::mu, and R.

Referenced by sutherlandTransport< Thermo >::mu(), and sutherlandTransport< Thermo >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar alphah ( const scalar  p,
const scalar  T 
) const
inline

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 155 of file sutherlandTransportI.H.

References Foam::constant::electromagnetic::kappa.

Referenced by sutherlandTransport< Thermo >::kappa(), and sutherlandTransport< Thermo >::typeName().

Here is the caller graph for this function:

void write ( Ostream os) const

Write to Ostream.

Definition at line 54 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, Foam::tab, and write().

Referenced by sutherlandTransport< Thermo >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::sutherlandTransport< Thermo > & operator= ( const sutherlandTransport< Thermo > &  )
inline

Definition at line 170 of file sutherlandTransportI.H.

Referenced by sutherlandTransport< Thermo >::typeName().

Here is the caller graph for this function:

void operator+= ( const sutherlandTransport< Thermo > &  )
inline

Definition at line 185 of file sutherlandTransportI.H.

Referenced by sutherlandTransport< Thermo >::typeName().

Here is the caller graph for this function:

void operator-= ( const sutherlandTransport< Thermo > &  )
inline

Definition at line 203 of file sutherlandTransportI.H.

Referenced by sutherlandTransport< Thermo >::typeName().

Here is the caller graph for this function:

void operator*= ( const scalar  s)
inline

Definition at line 221 of file sutherlandTransportI.H.

References s().

Referenced by sutherlandTransport< Thermo >::typeName().

Here is the call graph for this function:

Here is the caller graph for this function:

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: