Loading...
Searching...
No Matches
sutherlandTransport< Thermo > Class Template Reference

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

#include <sutherlandTransport.H>

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.
 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 (const dictionary &dict)
 Construct from dictionary.
 sutherlandTransport (const Thermo &t, const dictionary &dict)
 Construct from base thermo and dictionary.
autoPtr< sutherlandTransportclone () const
 Construct and return a clone.
scalar mu (const scalar p, const scalar T) const
 Dynamic viscosity [kg/ms].
scalar kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/mK].
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/ms].
void write (Ostream &os) const
 Write to Ostream.
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.

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 84 of file sutherlandTransport.H.

Constructor & Destructor Documentation

◆ sutherlandTransport() [1/5]

template<class Thermo>
sutherlandTransport ( const Thermo & t,
const scalar As,
const scalar Ts )
inline

Construct from components.

Definition at line 45 of file sutherlandTransportI.H.

Referenced by operator+=(), and sutherlandTransport().

Here is the caller graph for this function:

◆ sutherlandTransport() [2/5]

template<class Thermo>
sutherlandTransport ( const Thermo & t,
const scalar mu1,
const scalar T1,
const scalar mu2,
const scalar T2 )
inline

Construct from two viscosities.

Definition at line 59 of file sutherlandTransportI.H.

◆ sutherlandTransport() [3/5]

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

Construct as named copy.

Definition at line 73 of file sutherlandTransportI.H.

References Foam::name(), and sutherlandTransport().

Here is the call graph for this function:

◆ sutherlandTransport() [4/5]

template<class Thermo>
sutherlandTransport ( const dictionary & dict)
explicit

Construct from dictionary.

Definition at line 40 of file sutherlandTransport.C.

References dict.

◆ sutherlandTransport() [5/5]

template<class Thermo>
sutherlandTransport ( const Thermo & t,
const dictionary & dict )

Construct from base thermo and dictionary.

Definition at line 49 of file sutherlandTransport.C.

References dict.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 87 of file sutherlandTransportI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 95 of file sutherlandTransportI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

template<class Thermo>
word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 169 of file sutherlandTransport.H.

◆ mu()

template<class Thermo>
Foam::scalar mu ( const scalar p,
const scalar T ) const
inline

Dynamic viscosity [kg/ms].

Definition at line 107 of file sutherlandTransportI.H.

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

Here is the call graph for this function:

◆ kappa()

template<class Thermo>
Foam::scalar kappa ( const scalar p,
const scalar T ) const
inline

Thermal conductivity [W/mK].

Definition at line 118 of file sutherlandTransportI.H.

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

Referenced by alphah().

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

◆ alphah()

template<class Thermo>
Foam::scalar alphah ( const scalar p,
const scalar T ) const
inline

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 129 of file sutherlandTransportI.H.

References Cp, kappa(), p, and Foam::T().

Here is the call graph for this function:

◆ write()

template<class Thermo>
void write ( Ostream & os) const

Write to Ostream.

Definition at line 64 of file sutherlandTransport.C.

References specie::name(), and os().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 143 of file sutherlandTransportI.H.

References Foam::mag(), sutherlandTransport(), and Y.

Here is the call graph for this function:

◆ operator*=()

template<class Thermo>
void operator*= ( const scalar s)
inline

Definition at line 164 of file sutherlandTransportI.H.

References s().

Here is the call graph for this function:

◆ operator+

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

◆ operator*

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

◆ operator<<

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

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