WLFTransport< Thermo > Class Template Reference

Transport package using the Williams-Landel-Ferry model. More...

Inheritance diagram for WLFTransport< Thermo >:
[legend]
Collaboration diagram for WLFTransport< Thermo >:
[legend]

Public Member Functions

 WLFTransport (const word &, const WLFTransport &)
 Construct as named copy. More...
 
 WLFTransport (const dictionary &dict)
 Construct from dictionary. More...
 
autoPtr< WLFTransportclone () 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 WLFTransport &)
 
void operator*= (const scalar)
 

Static Public Member Functions

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

Friends

WLFTransport operator+ (const WLFTransport &, const WLFTransport &)
 
WLFTransport operator* (const scalar, const WLFTransport &)
 
Ostreamoperator (Ostream &, const WLFTransport &)
 

Detailed Description

template<class Thermo>
class Foam::WLFTransport< Thermo >

Transport package using the Williams-Landel-Ferry model.

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

Dynamic viscosity [kg/m.s]

\[ \mu = \mu_0 \exp \left(\frac{-C_1 ( T - T_r )}{C_2 + T - T_r}\right) \]

References:

    Williams, M. L., Landel, R. F., & Ferry, J. D. (1955).
    The temperature dependence of relaxation mechanisms
    in amorphous polymers and other glass-forming liquids.
    Journal of the American Chemical society, 77(14), 3701-3707.
Source files

Definition at line 93 of file WLFTransport.H.

Constructor & Destructor Documentation

◆ WLFTransport() [1/2]

WLFTransport ( const word name,
const WLFTransport< Thermo > &  wlft 
)
inline

Construct as named copy.

Definition at line 33 of file WLFTransportI.H.

References Foam::name().

Here is the call graph for this function:

◆ WLFTransport() [2/2]

WLFTransport ( const dictionary dict)
explicit

Construct from dictionary.

Definition at line 35 of file WLFTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 50 of file WLFTransportI.H.

◆ New()

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

Definition at line 61 of file WLFTransportI.H.

References dict.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 147 of file WLFTransport.H.

◆ mu()

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

Dynamic viscosity [kg/ms].

Definition at line 76 of file WLFTransportI.H.

References Foam::exp(), and T.

Here is the call graph for this function:

◆ kappa()

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

Thermal conductivity [W/mK].

Definition at line 87 of file WLFTransportI.H.

References Cp, mu, p, and T.

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 97 of file WLFTransportI.H.

References mu, p, and T.

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 49 of file WLFTransport.C.

References Ostream::beginBlock(), Ostream::endBlock(), specie::name(), os(), and Ostream::writeEntry().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 111 of file WLFTransportI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 135 of file WLFTransportI.H.

References s().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator+

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

◆ operator*

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

◆ operator

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

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