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 word &, const icoTabulatedTransport &)
 Construct as named copy. More...
 
 icoTabulatedTransport (const dictionary &dict)
 Construct from 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 autoPtr< icoTabulatedTransportNew (const dictionary &dict)
 
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 93 of file icoTabulatedTransport.H.

Constructor & Destructor Documentation

◆ icoTabulatedTransport() [1/2]

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

Construct as named copy.

Definition at line 46 of file icoTabulatedTransportI.H.

◆ icoTabulatedTransport() [2/2]

icoTabulatedTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 33 of file icoTabulatedTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 59 of file icoTabulatedTransportI.H.

◆ New()

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

Definition at line 70 of file icoTabulatedTransportI.H.

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

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 154 of file icoTabulatedTransport.H.

References icoTabulatedTransport< Thermo >::kappa(), icoTabulatedTransport< Thermo >::mu(), p, Foam::T(), and icoTabulatedTransport< 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 icoTabulatedTransportI.H.

References icoTabulatedTransport< Thermo >::kappa(), and NonUniformTable< Type >::value().

Referenced by icoTabulatedTransport< Thermo >::New(), and icoTabulatedTransport< 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 icoTabulatedTransportI.H.

References NonUniformTable< Type >::value().

Referenced by icoTabulatedTransport< Thermo >::mu(), and icoTabulatedTransport< 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 icoTabulatedTransport.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 icoTabulatedTransport< 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 icoTabulatedTransport< Thermo > &   
)
friend

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