icoTabulatedTransport< Thermo > Class Template Reference

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

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

Public Member Functions

 icoTabulatedTransport (const Thermo &t, const nonUniformTable &mu, const nonUniformTable &kappa)
 Construct from components. More...
 
 icoTabulatedTransport (const word &, const icoTabulatedTransport &)
 Construct as named copy. More...
 
 icoTabulatedTransport (const word &name, const dictionary &dict)
 Construct from name and dictionary. More...
 
autoPtr< icoTabulatedTransportclone () 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 icoTabulatedTransport &)
 

Detailed Description

template<class Thermo>
class Foam::icoTabulatedTransport< Thermo >

Transport properties package using non-uniformly-spaced 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
        {
            values
            (
                (200 1.82e-05)
                (350 2.61e-05)
                (400 3.93e-05)
            );
        }

        kappa
        {
            values
            (
                (200 2.56e-5)
                (350 3.33e-5)
                (400 4.72e-5)
            );
        }
    }
Source files
See also
Foam::Function1s::NonUniformTable

Definition at line 104 of file icoTabulatedTransport.H.

Constructor & Destructor Documentation

◆ icoTabulatedTransport() [1/3]

icoTabulatedTransport ( const Thermo &  t,
const nonUniformTable mu,
const nonUniformTable kappa 
)
inline

Construct from components.

Definition at line 31 of file icoTabulatedTransportI.H.

◆ icoTabulatedTransport() [2/3]

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

Construct as named copy.

Definition at line 45 of file icoTabulatedTransportI.H.

◆ icoTabulatedTransport() [3/3]

icoTabulatedTransport ( const word name,
const dictionary dict 
)

Construct from name and dictionary.

Definition at line 32 of file icoTabulatedTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 59 of file icoTabulatedTransportI.H.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 148 of file icoTabulatedTransport.H.

◆ mu()

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

Dynamic viscosity [kg/m/s].

Definition at line 71 of file icoTabulatedTransportI.H.

References 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 icoTabulatedTransportI.H.

References Foam::T().

Here is the call graph for this function:

◆ write()

Friends And Related Function Documentation

◆ operator

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

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