sutherlandTransport< Thermo > Class Template Reference

Transport package using Sutherland's formula for viscosity: More...

Inheritance diagram for sutherlandTransport< Thermo >:
Collaboration diagram for sutherlandTransport< Thermo >:

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 word &name, const dictionary &dict)
 Construct from name and 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/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 sutherlandTransport &)
 
void operator*= (const scalar)
 

Static Public Member Functions

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 for viscosity:

    mu = As*sqrt(T)/(1 + Ts/T)

and the thermal conductivity (for gases) is obtained from:

    kappa = mu*Cv*(1.32 + 1.77*R/Cv)
Usage
Property Description
As Sutherland constant kg/(ms K^1/2)
Ts Sutherland temperature [K]

Example specification of sutherlandTransport for air:

    transport
    {
        As              1.458e-06;
        Ts              110.4;
    }
Source files

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

◆ 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 66 of file sutherlandTransportI.H.

◆ sutherlandTransport() [3/5]

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

Construct as named copy.

Definition at line 82 of file sutherlandTransportI.H.

◆ sutherlandTransport() [4/5]

sutherlandTransport ( const word name,
const dictionary dict 
)

Construct from name and dictionary.

Definition at line 45 of file sutherlandTransport.C.

◆ sutherlandTransport() [5/5]

sutherlandTransport ( const Thermo &  t,
const dictionary dict 
)

Construct from base thermo and dictionary.

Definition at line 58 of file sutherlandTransport.C.

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::sutherlandTransport< Thermo > > clone
inline

Construct and return a clone.

Definition at line 96 of file sutherlandTransportI.H.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 173 of file sutherlandTransport.H.

◆ mu()

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

Dynamic viscosity [kg/m/s].

Definition at line 108 of file sutherlandTransportI.H.

References Foam::sqrt(), and Foam::T().

Here is the call graph for this function:

◆ kappa()

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

Thermal conductivity [W/m/K].

Definition at line 119 of file sutherlandTransportI.H.

References Cv(), Foam::constant::physicoChemical::mu, p, Foam::R(), and Foam::T().

Here is the call graph for this function:

◆ write()

◆ operator+=()

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

Definition at line 133 of file sutherlandTransportI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 154 of file sutherlandTransportI.H.

References s().

Here is the call 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: