50 intf_(values().size()),
51 intfByT_(values().size())
56 for(
label i = 0; i<intf_.size() - 1; i++)
58 intf_[i + 1] = intfdT(values()[i + 1].
first());
59 intfByT_[i + 1] = intfByTdT(values()[i + 1].
first());
62 const scalar intfStd = intfdT(
Tstd);
63 const scalar intfByTStd = intfByTdT(
Tstd);
68 intfByT_[i] -= intfByTStd;
80 const label i = index(T);
81 const scalar Ti = values()[i].first();
82 const scalar fi = values()[i].second();
83 const scalar dT = T - Ti;
84 const scalar
lambda = dT/(values()[i + 1].first() - Ti);
88 + (fi + 0.5*lambda*(values()[i + 1].second() - fi))*dT;
97 const label i = index(T);
98 const scalar Ti = values()[i].first();
99 const scalar fi = values()[i].second();
101 (values()[i + 1].second() - fi)/(values()[i + 1].first() - Ti);
104 intfByT_[i] + ((fi - gradf*Ti)*
log(T/Ti) + gradf*(T - Ti));
labelList first(const UList< labelPair > &p)
#define forAll(list, i)
Loop across all elements in list.
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionedScalar Tstd
Standard temperature.
dimensionedScalar lambda(viscosity->lookup("lambda"))
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
word name(const complex &)
Return a string representation of a complex.
makeScalarFunction1(laminarBL)