38 #ifndef APIdiffCoefFunc_H 39 #define APIdiffCoefFunc_H 59 scalar a_, b_, wf_, wa_;
93 scalar
f(scalar
p, scalar
T)
const 95 return 3.6059e-3*(
pow(1.8*T, 1.75))*alpha_/(p*beta_);
100 scalar
f(scalar
p, scalar
T, scalar Wa)
const 102 const scalar alphaBinary =
sqrt(1/wf_ + 1/Wa);
103 return 3.6059e-3*(
pow(1.8*T, 1.75))*alphaBinary/(p*beta_);
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
dimensionedScalar sqrt(const dimensionedScalar &ds)
APIdiffCoefFunc(const scalar a, const scalar b, const scalar wf, const scalar wa)
Construct from components.
Abstract base class for thermo-physical functions.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
void writeData(Ostream &os) const
Write the function coefficients.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
TypeName("APIdiffCoefFunc")
Runtime type information.
API function for vapour mass diffusivity.
friend Ostream & operator<<(Ostream &os, const APIdiffCoefFunc &f)
scalar f(scalar p, scalar T) const
API vapour mass diffusivity function using properties from.