FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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.

Friends

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

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 [inline, virtual]

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:
  • src/thermophysicalModels/thermophysicalFunctions/APIfunctions/APIdiffCoefFunc/APIdiffCoefFunc.H