61 scalar a_, b_, wf_, wa_;
107 virtual scalar
value(scalar
p, scalar
T)
const
109 return 3.6059e-3*(
pow(1.8*
T, 1.75))*alpha_/(
p*beta_);
114 scalar
value(scalar
p, scalar
T, scalar Wa)
const
116 const scalar alphaBinary =
sqrt(1/wf_ + 1/Wa);
117 return 3.6059e-3*(
pow(1.8*
T, 1.75))*alphaBinary/(
p*beta_);
const word & name() const
Return the name of the entry.
virtual scalar value(scalar p, scalar T) const
API vapour mass diffusivity function using properties from.
TypeName("APIdiffCoef")
Runtime type information.
virtual void write(Ostream &os, const unitConversions &units) const
Write the function coefficients.
APIdiffCoef(const word &name, const scalar a, const scalar b, const scalar wf, const scalar wa)
Construct from components.
virtual tmp< Function2< scalar > > clone() const
Construct and return a clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
A class for handling words, derived from string.
const HashTable< unitConversion > & units()
Get the table of unit conversions.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)