AndradeTransport< Thermo > Class Template Reference

Transport package using the Andrade function for the natural logarithm of dynamic viscosity and thermal conductivity of liquids: More...

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

Public Member Functions

 AndradeTransport (const Thermo &t, const coeffList &muCoeffs, const coeffList &kappaCoeffs)
 Construct from components. More...
 
 AndradeTransport (const word &, const AndradeTransport &)
 Construct as named copy. More...
 
 AndradeTransport (const word &name, const dictionary &dict)
 Construct from name and dictionary. More...
 
autoPtr< AndradeTransportclone () 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 word typeName ()
 Return the instantiated type name. More...
 

Friends

Ostreamoperator (Ostream &, const AndradeTransport &)
 

Detailed Description

template<class Thermo>
class Foam::AndradeTransport< Thermo >

Transport package using the Andrade function for the natural logarithm of dynamic viscosity and thermal conductivity of liquids:

    log(mu) = muCoeffs[0] + muCoeffs[1]*T + muCoeffs[2]*sqr(T)
      + muCoeffs_[3]/(muCoeffs_[4] + T)

    log(kappa) = kappaCoeffs[0] + kappaCoeffs[1]*T + kappaCoeffs[2]*sqr(T)
      + kappaCoeffs_[3]/(kappaCoeffs_[4] + T)
);

References:

    Andrade, E. D. C. (1934).
    XLI. A theory of the viscosity of liquids.—Part I.
    The London, Edinburgh, and Dublin Philosophical Magazine
    and Journal of Science, 17(112), 497-511.

    Andrade, E. D. C. (1934).
    LVIII. A theory of the viscosity of liquids.—Part II.
    The London, Edinburgh, and Dublin Philosophical Magazine
    and Journal of Science, 17(113), 698-732.
Usage
Property Description
muCoeffs Dynamic viscosity polynomial coefficients
kappaCoeffs Thermal conductivity polynomial coefficients

Example of the specification of the transport properties for water@200bar:

    transport
    {
        muCoeffs    (-25.8542 0.031256 -2.2e-05 3289.918 -11.4784);
        kappaCoeffs (-2.56543 0.008794 -9.8e-06 100.368 0);
    }
Source files

Definition at line 124 of file AndradeTransport.H.

Constructor & Destructor Documentation

◆ AndradeTransport() [1/3]

AndradeTransport ( const Thermo &  t,
const coeffList muCoeffs,
const coeffList kappaCoeffs 
)
inline

Construct from components.

Definition at line 31 of file AndradeTransportI.H.

◆ AndradeTransport() [2/3]

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

Construct as named copy.

Definition at line 45 of file AndradeTransportI.H.

◆ AndradeTransport() [3/3]

AndradeTransport ( const word name,
const dictionary dict 
)

Construct from name and dictionary.

Definition at line 32 of file AndradeTransport.C.

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::AndradeTransport< Thermo > > clone
inline

Construct and return a clone.

Definition at line 59 of file AndradeTransportI.H.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 173 of file AndradeTransport.H.

◆ mu()

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

Dynamic viscosity [kg/m/s].

Definition at line 71 of file AndradeTransportI.H.

References Foam::exp(), Foam::sqr(), and Foam::T().

Here is the call graph for this function:

◆ kappa()

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

Thermal conductivity [W/m/K].

Definition at line 88 of file AndradeTransportI.H.

References Foam::exp(), Foam::sqr(), and Foam::T().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const AndradeTransport< Thermo > &   
)
friend

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