50 intf_(values().size()),
51 intfByT_(values().size())
56 for(
label i = 0; i<intf_.size() - 1; i++)
58 intf_[i + 1] = intf_[i] + intfdT(values()[i + 1].first());
59 intfByT_[i + 1] = intfByT_[i] + 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));
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar log(const dimensionedScalar &ds)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionedScalar Tstd
Standard temperature.
Macros for easy insertion into run-time selection tables.
makeScalarFunction1(halfCosineRamp)
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.