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

Constant properties Transport package. Templated into a given thermodynamics package (needed for thermal conductivity). More...

#include <constTransport.H>

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

Public Member Functions

 constTransport (const word &, const constTransport &)
 Construct as named copy.
 constTransport (const dictionary &dict)
 Construct from dictionary.
autoPtr< constTransport > clone () const
 Construct and return a clone.
scalar mu (const scalar p, const scalar T) const
 Dynamic viscosity [kg/ms].
scalar kappa (const scalar p, const scalar T) const
 Thermal conductivity [W/mK].
scalar alphah (const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/ms].
void write (Ostream &os) const
 Write to Ostream.
void operator+= (const constTransport &)
void operator*= (const scalar)

Static Public Member Functions

static autoPtr< constTransport > New (const dictionary &dict)
static word typeName ()
 Return the instantiated type name.

Friends

constTransport operator+ (const constTransport &, const constTransport &)
constTransport operator* (const scalar, const constTransport &)
Ostreamoperator<< (Ostream &, const constTransport &)

Detailed Description

template<class Thermo>
class Foam::constTransport< Thermo >

Constant properties Transport package. Templated into a given thermodynamics package (needed for thermal conductivity).

Source files

Definition at line 78 of file constTransport.H.

Constructor & Destructor Documentation

◆ constTransport() [1/2]

template<class Thermo>
constTransport ( const word & name,
const constTransport< Thermo > & ct )
inline

Construct as named copy.

Definition at line 38 of file constTransportI.H.

References Foam::name().

Here is the call graph for this function:

◆ constTransport() [2/2]

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

Construct from dictionary.

Definition at line 27 of file constTransport.C.

References dict.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 52 of file constTransportI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

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

Definition at line 60 of file constTransportI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

template<class Thermo>
word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 139 of file constTransport.H.

◆ mu()

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

Dynamic viscosity [kg/ms].

Definition at line 72 of file constTransportI.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/mK].

Definition at line 83 of file constTransportI.H.

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

Here is the call graph for this function:

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 94 of file constTransportI.H.

References mu, p, and Foam::T().

Here is the call graph for this function:

◆ write()

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

Write to Ostream.

◆ operator+=()

template<class Thermo>
void operator+= ( const constTransport< Thermo > & )
inline

Definition at line 107 of file constTransportI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

template<class Thermo>
void operator*= ( const scalar s)
inline

Definition at line 128 of file constTransportI.H.

References s().

Here is the call graph for this function:

◆ operator+

template<class Thermo>
constTransport operator+ ( const constTransport< Thermo > & ,
const constTransport< Thermo > &  )
friend

◆ operator*

template<class Thermo>
constTransport operator* ( const scalar ,
const constTransport< Thermo > &  )
friend

◆ operator<<

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

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