tabulatedTransport< Thermo > Class Template Reference

Transport properties package using uniform 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 word &, const tabulatedTransport &)
 Construct as named copy. More...
 
 tabulatedTransport (const dictionary &dict)
 Construct from 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 autoPtr< tabulatedTransportNew (const dictionary &dict)
 
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 uniform 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>
            (
                (..........)
                .
                .
                .
                (..........)
            );
        }
    }
Source files
See also
Foam::Function2s::uniformTable

Definition at line 112 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 46 of file tabulatedTransportI.H.

◆ tabulatedTransport() [2/2]

tabulatedTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 33 of file tabulatedTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 59 of file tabulatedTransportI.H.

◆ New()

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

Definition at line 70 of file tabulatedTransportI.H.

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

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 170 of file tabulatedTransport.H.

References tabulatedTransport< Thermo >::kappa(), tabulatedTransport< Thermo >::mu(), p, Foam::T(), and tabulatedTransport< Thermo >::write().

Here is the call graph for this function:

◆ mu()

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

Dynamic viscosity [kg/m/s].

Definition at line 83 of file tabulatedTransportI.H.

References tabulatedTransport< Thermo >::kappa(), and UniformTable< Type >::value().

Referenced by tabulatedTransport< Thermo >::New(), and tabulatedTransport< 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 94 of file tabulatedTransportI.H.

References UniformTable< Type >::value().

Referenced by tabulatedTransport< Thermo >::mu(), and tabulatedTransport< Thermo >::typeName().

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

◆ write()

void write ( Ostream os) const

Write to Ostream.

Definition at line 46 of file tabulatedTransport.C.

References dictionary::add(), Foam::decrIndent(), dict, dictionaryName::dictName(), Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, Foam::vtkWriteOps::write(), and Ostream::write().

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

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