tabulatedTransport< Thermo > Class Template Reference

Transport properties package using non-uniform tabulated data for viscosity and thermal conductivity vs temperature. More...

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

Public Member Functions

 tabulatedTransport (const word &, const tabulatedTransport &)
 Construct as named copy. More...
 
 tabulatedTransport (const dictionary &dict)
 Construct from dictionary. More...
 
autoPtr< tabulatedTransportclone () const
 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...
 

Static Public Member Functions

static autoPtr< tabulatedTransportNew (const dictionary &dict)
 
static word typeName ()
 The instantiated type name. More...
 

Friends

Ostreamoperator (Ostream &, const tabulatedTransport &)
 

Detailed Description

template<class Thermo>
class Foam::tabulatedTransport< Thermo >

Transport properties package using non-uniform tabulated data for viscosity and thermal conductivity vs temperature.

Usage
Property Description
mu Dynamic viscosity vs temperature table
kappa Thermal conductivity vs temperature table

Example of the specification of the transport properties:

    transport
    {
        mu
        (
            (200 1.82e-05)
            (350 2.61e-05)
            (400 3.93e-05)
        );

        kappa
        (
            (200 2.56e-5)
            (350 3.33e-5)
            (400 4.72e-5)
        );
    }
Source files
See also
Foam::thermophysicalFunctions::nonUniformTable

Definition at line 100 of file tabulatedTransport.H.

Constructor & Destructor Documentation

◆ tabulatedTransport() [1/2]

tabulatedTransport ( const word name,
const tabulatedTransport< Thermo > &  pt 
)
inline

Construct as named copy.

Definition at line 48 of file tabulatedTransportI.H.

References Foam::name().

Here is the call graph for this function:

◆ tabulatedTransport() [2/2]

tabulatedTransport ( const dictionary dict)
explicit

Construct from dictionary.

Definition at line 35 of file tabulatedTransport.C.

Member Function Documentation

◆ clone()

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

Return a clone.

Definition at line 62 of file tabulatedTransportI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 70 of file tabulatedTransportI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

The instantiated type name.

Definition at line 144 of file tabulatedTransport.H.

◆ mu()

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

Dynamic viscosity [kg/m/s].

Definition at line 79 of file tabulatedTransportI.H.

References p, and T.

◆ kappa()

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

Thermal conductivity [W/m/K].

Definition at line 90 of file tabulatedTransportI.H.

References p, and T.

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/m/s].

Definition at line 101 of file tabulatedTransportI.H.

References Cp, p, and T.

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 49 of file tabulatedTransport.C.

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

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator

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

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