APIdiffCoefFunc Class Reference

API function for vapour mass diffusivity. More...

Inheritance diagram for APIdiffCoefFunc:
Collaboration diagram for APIdiffCoefFunc:

Public Member Functions

 TypeName ("APIdiffCoefFunc")
 Runtime type information. More...
 
 APIdiffCoefFunc (const scalar a, const scalar b, const scalar wf, const scalar wa)
 Construct from components. More...
 
 APIdiffCoefFunc (const dictionary &dict)
 Construct from dictionary. More...
 
scalar f (scalar p, scalar T) const
 API vapour mass diffusivity function using properties from. More...
 
scalar f (scalar p, scalar T, scalar Wa) const
 API vapour mass diffusivity function using properties from. More...
 
void writeData (Ostream &os) const
 Write the function coefficients. More...
 
- Public Member Functions inherited from thermophysicalFunction
 TypeName ("thermophysicalFunction")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict))
 
 thermophysicalFunction ()
 Construct null. More...
 
virtual ~thermophysicalFunction ()
 Destructor. More...
 

Friends

Ostreamoperator<< (Ostream &os, const APIdiffCoefFunc &f)
 

Additional Inherited Members

- Static Public Member Functions inherited from thermophysicalFunction
static autoPtr< thermophysicalFunctionNew (const dictionary &dict)
 Return pointer to new thermophysicalFunction created from dict. More...
 

Detailed Description

API function for vapour mass diffusivity.

Source:

        API (American Petroleum Institute)
                Technical Data Book

Definition at line 51 of file APIdiffCoefFunc.H.

Constructor & Destructor Documentation

◆ APIdiffCoefFunc() [1/2]

APIdiffCoefFunc ( const scalar  a,
const scalar  b,
const scalar  wf,
const scalar  wa 
)

Construct from components.

Definition at line 45 of file APIdiffCoefFunc.C.

◆ APIdiffCoefFunc() [2/2]

APIdiffCoefFunc ( const dictionary dict)

Construct from dictionary.

Definition at line 61 of file APIdiffCoefFunc.C.

Member Function Documentation

◆ TypeName()

TypeName ( "APIdiffCoefFunc"  )

Runtime type information.

◆ f() [1/2]

scalar f ( scalar  p,
scalar  T 
) const
inlinevirtual

API vapour mass diffusivity function using properties from.

construction

Implements thermophysicalFunction.

Definition at line 89 of file APIdiffCoefFunc.H.

Referenced by C8H10::D(), H2O::D(), MB::D(), aC10H7CH3::D(), IC8H18::D(), C3H6O::D(), CH4N2O::D(), CH3OH::D(), C9H20::D(), C8H18::D(), C2H5OH::D(), C7H8::D(), C7H16::D(), Ar::D(), C6H14::D(), C4H10O::D(), C3H8::D(), C13H28::D(), C2H6O::D(), C2H6::D(), C10H22::D(), C16H34::D(), C14H30::D(), bC10H7CH3::D(), C12H26::D(), C6H6::D(), N2::D(), and IDEA::D().

Here is the caller graph for this function:

◆ f() [2/2]

scalar f ( scalar  p,
scalar  T,
scalar  Wa 
) const
inline

API vapour mass diffusivity function using properties from.

construction - with specified binary pair

Definition at line 96 of file APIdiffCoefFunc.H.

◆ writeData()

void writeData ( Ostream os) const
inlinevirtual

Write the function coefficients.

Implements thermophysicalFunction.

Definition at line 103 of file APIdiffCoefFunc.H.

References token::SPACE.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const APIdiffCoefFunc f 
)
friend

Definition at line 114 of file APIdiffCoefFunc.H.


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