All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tabulatedTransport< Thermo > Class Template Reference

Transport properties package using non-uniform tabulated data for viscosity and thermal conductivity vs 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...
 
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/m/s]. 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 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 88 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 146 of file tabulatedTransport.H.

References tabulatedTransport< Thermo >::alphah(), 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 nonUniformTable::f(), and tabulatedTransport< Thermo >::kappa().

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 tabulatedTransport< Thermo >::alphah(), and nonUniformTable::f().

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

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

◆ alphah()

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

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

Definition at line 105 of file tabulatedTransportI.H.

References Cp(), and tabulatedTransport< Thermo >::kappa().

Referenced by tabulatedTransport< Thermo >::kappa(), 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: