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 (const dictionary &dict)
 Construct from dictionary. More...
 
 sutherlandTransport (const Thermo &t, const dictionary &dict)
 Construct from base thermo and 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...
 
void operator= (const sutherlandTransport &)
 
void operator+= (const sutherlandTransport &)
 
void operator*= (const scalar)
 

Static Public Member Functions

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 scalar, 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() [1/5]

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() [2/5]

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() [3/5]

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

Construct as named copy.

Definition at line 79 of file sutherlandTransportI.H.

◆ sutherlandTransport() [4/5]

sutherlandTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 45 of file sutherlandTransport.C.

References sutherlandTransport< Thermo >::sutherlandTransport().

Here is the call graph for this function:

◆ sutherlandTransport() [5/5]

sutherlandTransport ( const Thermo &  t,
const dictionary dict 
)

Construct from base thermo and dictionary.

Definition at line 55 of file sutherlandTransport.C.

Member Function Documentation

◆ clone()

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:

◆ New()

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

Definition at line 104 of file sutherlandTransportI.H.

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

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

◆ mu()

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

Dynamic viscosity [kg/ms].

Definition at line 119 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:

◆ kappa()

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

Thermal conductivity [W/mK].

Definition at line 130 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:

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 141 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:

◆ write()

void write ( Ostream os) const

◆ operator=()

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

Definition at line 155 of file sutherlandTransportI.H.

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

Here is the caller graph for this function:

◆ operator+=()

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

Definition at line 168 of file sutherlandTransportI.H.

References Foam::mag(), and Y.

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 189 of file sutherlandTransportI.H.

References Foam::mag(), and 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

◆ operator+

sutherlandTransport operator+ ( const sutherlandTransport< Thermo > &  ,
const sutherlandTransport< Thermo > &   
)
friend

◆ operator*

sutherlandTransport operator* ( const scalar  ,
const sutherlandTransport< Thermo > &   
)
friend

◆ operator

Ostream& operator ( Ostream ,
const sutherlandTransport< Thermo > &   
)
friend

The documentation for this class was generated from the following files: