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_);
virtual void write(Ostream &os) const
Write the function coefficients.
virtual scalar value(scalar p, scalar T) const
API vapour mass diffusivity function using properties from.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
const word const dictionary & dict
const word & name() const
Return the name of the entry.
APIdiffCoef(const word &name, const scalar a, const scalar b, const scalar wf, const scalar wa)
Construct from components.
A class for handling words, derived from string.
TypeName("APIdiffCoef")
Runtime type information.
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)
virtual tmp< Function2< scalar > > clone() const
Construct and return a clone.
A class for managing temporary objects.