API function for vapour mass diffusivity. More...
#include <APIdiffCoefFunc.H>


Public Member Functions | |
| TypeName ("APIdiffCoefFunc") | |
| Runtime type information. | |
| APIdiffCoefFunc (const scalar a, const scalar b, const scalar wf, const scalar wa) | |
| Construct from components. | |
| APIdiffCoefFunc (const dictionary &dict) | |
| Construct from dictionary. | |
| 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)) | |
| declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict)) | |
| thermophysicalFunction () | |
| Construct null. | |
| virtual | ~thermophysicalFunction ()=default |
| Destructor. | |
Friends | |
| Ostream & | operator<< (Ostream &os, const APIdiffCoefFunc &f) |
Additional Inherited Members | |
| Static Public Member Functions inherited from thermophysicalFunction | |
| static autoPtr< thermophysicalFunction > | New (Istream &is) |
| Return pointer to new thermophysicalFunction created from input. | |
| static autoPtr< thermophysicalFunction > | New (const dictionary &dict) |
| Return pointer to new thermophysicalFunction created from dict. | |
API function for vapour mass diffusivity.
Source:
API (American Petroleum Institute)
Technical Data Book
Definition at line 47 of file APIdiffCoefFunc.H.
| APIdiffCoefFunc | ( | const scalar | a, |
| const scalar | b, | ||
| const scalar | wf, | ||
| const scalar | wa ) |
Construct from components.
Definition at line 39 of file APIdiffCoefFunc.C.
References b, Foam::cbrt(), Foam::sqr(), and Foam::sqrt().
Referenced by operator<<.


| APIdiffCoefFunc | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 56 of file APIdiffCoefFunc.C.
References Foam::cbrt(), dict, Foam::sqr(), and Foam::sqrt().

|
inlinevirtual |
API vapour mass diffusivity function using properties from.
construction
Implements thermophysicalFunction.
Definition at line 94 of file APIdiffCoefFunc.H.
References p, Foam::pow(), and Foam::T().
Referenced by operator<<.


|
inline |
API vapour mass diffusivity function using properties from.
construction - with specified binary pair
Definition at line 104 of file APIdiffCoefFunc.H.
References p, Foam::pow(), Foam::sqrt(), and Foam::T().

|
inlinevirtual |
Write the function coefficients.
Implements thermophysicalFunction.
Definition at line 113 of file APIdiffCoefFunc.H.
References os(), and token::SPACE.

|
friend |
Definition at line 124 of file APIdiffCoefFunc.H.
References APIdiffCoefFunc(), f(), and os().