API function for vapour mass diffusivity. More...
Public Member Functions | |
TypeName ("APIdiffCoefFunc") | |
Runtime type information. More... | |
APIdiffCoefFunc (const scalar a, const scalar b, const scalar wf, const scalar wa) | |
Construct from components. More... | |
APIdiffCoefFunc (const dictionary &dict) | |
Construct from dictionary. More... | |
scalar | f (scalar p, scalar T) const |
API vapour mass diffusivity function using properties from. More... | |
scalar | f (scalar p, scalar T, scalar Wa) const |
API vapour mass diffusivity function using properties from. More... | |
void | writeData (Ostream &os) const |
Write the function coefficients. More... | |
Public Member Functions inherited from thermophysicalFunction | |
TypeName ("thermophysicalFunction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is)) | |
declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict)) | |
thermophysicalFunction () | |
Construct null. More... | |
virtual | ~thermophysicalFunction ()=default |
Destructor. More... | |
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. More... | |
static autoPtr< thermophysicalFunction > | New (const dictionary &dict) |
Return pointer to new thermophysicalFunction created from dict. More... | |
API function for vapour mass diffusivity.
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 40 of file APIdiffCoefFunc.C.
APIdiffCoefFunc | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 56 of file APIdiffCoefFunc.C.
TypeName | ( | "APIdiffCoefFunc" | ) |
Runtime type information.
|
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().
|
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.