Loading...
Searching...
No Matches
tabulatedTransport< Thermo > Class Template Reference

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

#include <tabulatedTransport.H>

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

Public Member Functions

 tabulatedTransport (const word &, const tabulatedTransport &)
 Construct as named copy.
 tabulatedTransport (const dictionary &dict)
 Construct from dictionary.
autoPtr< tabulatedTransportclone () const
 Return a clone.
scalar mu (const scalar p, const scalar T) const
 Dynamic viscosity [kg/m/s].
scalar kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/m/K].
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/m/s].
void write (Ostream &os) const
 Write to Ostream.

Static Public Member Functions

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

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 96 of file tabulatedTransport.H.

Constructor & Destructor Documentation

◆ tabulatedTransport() [1/2]

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

Construct as named copy.

Definition at line 41 of file tabulatedTransportI.H.

References Foam::name().

Here is the call graph for this function:

◆ tabulatedTransport() [2/2]

template<class Thermo>
tabulatedTransport ( const dictionary & dict)
explicit

Construct from dictionary.

Definition at line 28 of file tabulatedTransport.C.

References dict.

Member Function Documentation

◆ clone()

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

Return a clone.

Definition at line 55 of file tabulatedTransportI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 63 of file tabulatedTransportI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

template<class Thermo>
word typeName ( )
inlinestatic

The instantiated type name.

Definition at line 154 of file tabulatedTransport.H.

◆ mu()

template<class Thermo>
Foam::scalar mu ( const scalar p,
const scalar T ) const
inline

Dynamic viscosity [kg/m/s].

Definition at line 72 of file tabulatedTransportI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappa()

template<class Thermo>
Foam::scalar kappa ( const scalar p,
const scalar T ) const
inline

Thermal conductivity [W/m/K].

Definition at line 83 of file tabulatedTransportI.H.

References p, and Foam::T().

Referenced by alphah().

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

◆ alphah()

template<class Thermo>
Foam::scalar alphah ( const scalar p,
const scalar T ) const
inline

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

Definition at line 94 of file tabulatedTransportI.H.

References Cp, kappa(), p, and Foam::T().

Here is the call graph for this function:

◆ write()

template<class Thermo>
void write ( Ostream & os) const

Write to Ostream.

Definition at line 42 of file tabulatedTransport.C.

References name, and os().

Here is the call graph for this function:

◆ operator<<

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

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