Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
constTransport Class Reference

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

Public Member Functions

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

Static Public Member Functions

static autoPtr< constTransportNew (Istream &is)
 
static autoPtr< constTransportNew (const dictionary &dict)
 
static word typeName ()
 Return the instantiated type name. More...
 

Private Member Functions

 constTransport (const Thermo &t, const scalar mu, const scalar Pr)
 Construct from components. More...
 

Private Attributes

scalar mu_
 Constant dynamic viscosity [Pa.s]. More...
 
scalar rPr_
 Reciprocal Prandtl Number []. More...
 

Friends

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

Detailed Description

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

Source files

Definition at line 47 of file constTransport.H.

Constructor & Destructor Documentation

◆ constTransport() [1/4]

constTransport ( const Thermo &  t,
const scalar  mu,
const scalar  Pr 
)
inlineprivate

Construct from components.

Definition at line 30 of file constTransportI.H.

◆ constTransport() [2/4]

constTransport ( const word ,
const constTransport  
)
inline

Construct as named copy.

◆ constTransport() [3/4]

Construct from Istream.

◆ constTransport() [4/4]

constTransport ( const dictionary dict)

Construct from dictionary.

Definition at line 43 of file constTransport.C.

Member Function Documentation

◆ clone()

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

Construct and return a clone.

Definition at line 57 of file constTransportI.H.

◆ New() [1/2]

Foam::autoPtr< Foam::constTransport< Thermo > > New ( Istream is)
inlinestatic

Definition at line 69 of file constTransportI.H.

◆ New() [2/2]

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

Definition at line 83 of file constTransportI.H.

References dict.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 140 of file constTransport.H.

◆ mu()

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

Dynamic viscosity [kg/ms].

Definition at line 98 of file constTransportI.H.

◆ kappa()

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

Thermal conductivity [W/mK].

Definition at line 109 of file constTransportI.H.

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

Here is the call graph for this function:

◆ alphah()

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

Thermal diffusivity of enthalpy [kg/ms].

Definition at line 120 of file constTransportI.H.

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

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Write to Ostream.

◆ operator=()

Foam::constTransport< Thermo > & operator= ( const constTransport )
inline

Definition at line 133 of file constTransportI.H.

◆ operator+=()

void operator+= ( const constTransport )
inline

Definition at line 148 of file constTransportI.H.

References Foam::mag().

Here is the call graph for this function:

◆ operator-=()

void operator-= ( const constTransport )
inline

Definition at line 169 of file constTransportI.H.

References Foam::mag().

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 190 of file constTransportI.H.

References s().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator+

constTransport operator+ ( const constTransport ,
const constTransport  
)
friend

◆ operator-

constTransport operator- ( const constTransport ,
const constTransport  
)
friend

◆ operator*

constTransport operator* ( const  scalar,
const constTransport  
)
friend

◆ operator==

constTransport operator== ( const constTransport ,
const constTransport  
)
friend

◆ operator

Ostream& operator ( Ostream ,
const constTransport  
)
friend

Field Documentation

◆ mu_

scalar mu_
private

Constant dynamic viscosity [Pa.s].

Definition at line 97 of file constTransport.H.

◆ rPr_

scalar rPr_
private

Reciprocal Prandtl Number [].

Definition at line 100 of file constTransport.H.


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