FreeFOAM The Cross-Platform CFD Toolkit
APIdiffCoefFunc Class Reference

API function for vapour mass diffusivity. More...

#include <thermophysicalFunctions/APIdiffCoefFunc.H>


Detailed Description

API function for vapour mass diffusivity.

Source:

API (American Petroleum Institute)
Technical Data Book

Definition at line 52 of file APIdiffCoefFunc.H.

+ Inheritance diagram for APIdiffCoefFunc:
+ Collaboration diagram for APIdiffCoefFunc:

List of all members.

Public Member Functions

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

Friends

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

Additional Inherited Members

- Static Public Member Functions inherited from thermophysicalFunction
static autoPtr
< thermophysicalFunction
New (Istream &is)
 Return a pointer to a new thermophysicalFunction created from input.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 74 of file APIdiffCoefFunc.H.

APIdiffCoefFunc ( Istream is)
inline

Construct from Istream.

Definition at line 85 of file APIdiffCoefFunc.H.


Member Function Documentation

TypeName ( "APIdiffCoefFunc"  )

Runtime type information.

scalar f ( scalar  p,
scalar  T 
) const
inlinevirtual

API vapour mass diffusivity function using properties from.

construction

Implements thermophysicalFunction.

Definition at line 100 of file APIdiffCoefFunc.H.

References Foam::pow().

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 107 of file APIdiffCoefFunc.H.

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


Friends And Related Function Documentation

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

Definition at line 125 of file APIdiffCoefFunc.H.


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