WLFTransport< Thermo > Class Template Reference

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

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

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/m/s]. More...
 
scalar kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/m/K]. More...
 
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/m/s]. 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 61 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 32 of file WLFTransportI.H.

◆ WLFTransport() [2/2]

WLFTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 45 of file WLFTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 48 of file WLFTransportI.H.

References WLFTransport< Thermo >::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 60 of file WLFTransportI.H.

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

Referenced by WLFTransport< 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/m/s].

Definition at line 75 of file WLFTransportI.H.

References Foam::exp(), and WLFTransport< Thermo >::kappa().

Referenced by WLFTransport< Thermo >::New(), and WLFTransport< 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/m/K].

Definition at line 86 of file WLFTransportI.H.

References WLFTransport< Thermo >::alphah(), Cp(), and Foam::constant::physicoChemical::mu.

Referenced by WLFTransport< Thermo >::mu(), and WLFTransport< 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/m/s].

Definition at line 96 of file WLFTransportI.H.

References Foam::constant::physicoChemical::mu.

Referenced by WLFTransport< Thermo >::kappa(), and WLFTransport< Thermo >::typeName().

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 59 of file WLFTransport.C.

References dictionary::add(), token::BEGIN_BLOCK, Foam::decrIndent(), dict, dictionaryName::dictName(), token::END_BLOCK, Foam::endl(), Foam::incrIndent(), Foam::indent(), specie::name(), Foam::nl, Foam::blockMeshTools::write(), and Ostream::write().

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

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

◆ operator+=()

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

Definition at line 110 of file WLFTransportI.H.

References Foam::mag(), and Y.

Referenced by WLFTransport< 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 134 of file WLFTransportI.H.

References Foam::mag(), and s().

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

Here is the call graph for this function:
Here is the caller 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: