Public Member Functions | Friends | List of all members
APIdiffCoefFunc Class Reference

API function for vapour mass diffusivity. More...

Inheritance diagram for APIdiffCoefFunc:
Inheritance graph
[legend]
Collaboration diagram for APIdiffCoefFunc:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("APIdiffCoefFunc")
 
 APIdiffCoefFunc (const scalar a, const scalar b, const scalar wf, const scalar wa)
 
 APIdiffCoefFunc (const dictionary &dict)
 
scalar f (scalar p, scalar T) const
 
scalar f (scalar p, scalar T, scalar Wa) const
 
void writeData (Ostream &os) const
 
- Public Member Functions inherited from thermophysicalFunction
 TypeName ("thermophysicalFunction")
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is))
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict))
 
 thermophysicalFunction ()
 
virtual ~thermophysicalFunction ()=default
 

Friends

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

Additional Inherited Members

- Static Public Member Functions inherited from thermophysicalFunction
static autoPtr< thermophysicalFunctionNew (Istream &is)
 
static autoPtr< thermophysicalFunctionNew (const dictionary &dict)
 

Detailed Description

API function for vapour mass diffusivity.

Source:

        API (American Petroleum Institute)
                Technical Data Book

Definition at line 47 of file APIdiffCoefFunc.H.

Constructor & Destructor Documentation

◆ APIdiffCoefFunc() [1/2]

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

Definition at line 40 of file APIdiffCoefFunc.C.

◆ APIdiffCoefFunc() [2/2]

APIdiffCoefFunc ( const dictionary dict)

Definition at line 56 of file APIdiffCoefFunc.C.

Member Function Documentation

◆ TypeName()

TypeName ( "APIdiffCoefFunc"  )

◆ f() [1/2]

scalar f ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements thermophysicalFunction.

Definition at line 85 of file APIdiffCoefFunc.H.

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

Here is the call graph for this function:

◆ f() [2/2]

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

Definition at line 92 of file APIdiffCoefFunc.H.

References p, Foam::pow(), Foam::sqrt(), and Foam::T().

Here is the call graph for this function:

◆ writeData()

void writeData ( Ostream os) const
inlinevirtual

Implements thermophysicalFunction.

Definition at line 99 of file APIdiffCoefFunc.H.

References os(), and token::SPACE.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 110 of file APIdiffCoefFunc.H.


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