tabulatedTransport< Thermo > Class Template Reference

Transport properties package using uniformly-spaced tabulated data for viscosity and thermal conductivity vs pressure and temperature. More...

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

Public Member Functions

 tabulatedTransport (const Thermo &t, const table2D &muPoly, const table2D &kappaPoly)
 Construct from components. More...
 
 tabulatedTransport (const word &, const tabulatedTransport &)
 Construct as named copy. More...
 
 tabulatedTransport (const word &name, const dictionary &dict)
 Construct from name and dictionary. More...
 
autoPtr< tabulatedTransportclone () 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...
 
void write (Ostream &os) const
 Write to Ostream. More...
 

Static Public Member Functions

static word typeName ()
 Return the instantiated type name. More...
 

Friends

Ostreamoperator (Ostream &, const tabulatedTransport &)
 

Detailed Description

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

Transport properties package using uniformly-spaced tabulated data for viscosity and thermal conductivity vs pressure and temperature.

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

Example of the specification of the transport properties:

    transport
    {
        mu
        {
            pLow    1e3;
            pHigh   1e6;

            Tlow    200;
            Thigh   1500;

            values
            <m> <n>
            (
                (..........)
                .
                .
                .
                (..........)
            );
        }

        kappa
        {
            pLow    1e3;
            pHigh   1e6;

            Tlow    200;
            Thigh   1500;

            values
            <m> <n>
            (
                (..........)
                .
                .
                .
                (..........)
            );
        }
    }

See also tutorials/resources/thermoData/wallBoiling*

Source files
See also
Foam::Function2s::uniformTable

Definition at line 124 of file tabulatedTransport.H.

Constructor & Destructor Documentation

◆ tabulatedTransport() [1/3]

tabulatedTransport ( const Thermo &  t,
const table2D muPoly,
const table2D kappaPoly 
)
inline

Construct from components.

Definition at line 31 of file tabulatedTransportI.H.

◆ tabulatedTransport() [2/3]

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

Construct as named copy.

Definition at line 45 of file tabulatedTransportI.H.

◆ tabulatedTransport() [3/3]

tabulatedTransport ( const word name,
const dictionary dict 
)

Construct from name and dictionary.

Definition at line 32 of file tabulatedTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 59 of file tabulatedTransportI.H.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 168 of file tabulatedTransport.H.

◆ mu()

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

Dynamic viscosity [kg/m/s].

Definition at line 71 of file tabulatedTransportI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappa()

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

Thermal conductivity [W/m/K].

Definition at line 82 of file tabulatedTransportI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Friends And Related Function Documentation

◆ operator

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

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