WLFTransport< Thermo > Class Template Reference

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

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...


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) \]


    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 64 of file WLFTransport.H.

Constructor & Destructor Documentation

◆ WLFTransport() [1/2]

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

Construct as named copy.

Definition at line 34 of file WLFTransportI.H.

◆ WLFTransport() [2/2]

WLFTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 35 of file WLFTransport.C.

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::WLFTransport< Thermo > > clone ( ) const

Construct and return a clone.

Definition at line 50 of file WLFTransportI.H.

◆ New()

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

Definition at line 62 of file WLFTransportI.H.

References dict.

◆ typeName()

static word typeName ( )

Return the instantiated type name.

Definition at line 147 of file WLFTransport.H.

◆ mu()

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

Dynamic viscosity [kg/ms].

Definition at line 77 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

Thermal conductivity [W/mK].

Definition at line 88 of file WLFTransportI.H.

References Cp, Foam::constant::physicoChemical::mu, p, and T.

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 98 of file WLFTransportI.H.

References Foam::constant::physicoChemical::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(), Foam::vtk::write(), and Ostream::writeEntry().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 112 of file WLFTransportI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)

Definition at line 136 of file WLFTransportI.H.

References s.

Friends And Related Function Documentation

◆ operator+

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

◆ operator*

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

◆ operator

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

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