61 scalar a_, b_, wf_, wa_;
106 virtual scalar
value(scalar
p, scalar
T)
const
108 return 3.6059e-3*(
pow(1.8*
T, 1.75))*alpha_/(
p*beta_);
113 scalar
value(scalar
p, scalar
T, scalar Wa)
const
115 const scalar alphaBinary =
sqrt(1/wf_ + 1/Wa);
116 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.
APIdiffCoef(const word &name, const scalar a, const scalar b, const scalar wf, const scalar wa)
Construct from components.
virtual void write(Ostream &os) const
Write the function coefficients.
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.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)