Go to the documentation of this file.
38 #ifndef APIdiffCoefFunc_H
39 #define APIdiffCoefFunc_H
93 scalar
f(scalar
p, scalar
T)
const
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_);
Abstract base class for thermo-physical functions.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
APIdiffCoefFunc(const scalar a, const scalar b, const scalar wf, const scalar wa)
Construct from components.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
API function for vapour mass diffusivity.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void writeData(Ostream &os) const
Write the function coefficients.
friend Ostream & operator<<(Ostream &os, const APIdiffCoefFunc &f)
dimensionedScalar sqrt(const dimensionedScalar &ds)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar f(scalar p, scalar T) const
API vapour mass diffusivity function using properties from.
TypeName("APIdiffCoefFunc")
Runtime type information.