OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

APIdiffCoefFunc Class Reference

API function for vapour mass diffusivity. More...

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.
void writeData (Ostream &os) const
 Write the function coefficients.

Friends

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

Detailed Description

API function for vapour mass diffusivity.

Source:

        API (American Petroleum Institute)
                Technical Data Book

Definition at line 44 of file APIdiffCoefFunc.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 66 of file APIdiffCoefFunc.H.

APIdiffCoefFunc ( Istream is  )  [inline]

Construct from Istream.

Definition at line 77 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 94 of file APIdiffCoefFunc.H.

void writeData ( Ostream os  )  const [inline, virtual]

Write the function coefficients.

Implements thermophysicalFunction.

Definition at line 100 of file APIdiffCoefFunc.H.

References Foam::pow().

Here is the call graph for this function:


Friends And Related Function Documentation

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

Definition at line 111 of file APIdiffCoefFunc.H.


The documentation for this class was generated from the following file:
  • src/thermophysicalModels/thermophysicalFunctions/APIfunctions/APIdiffCoefFunc/APIdiffCoefFunc.H
Copyright © 2000-2009 OpenCFD Ltd