63 const Type& alphaBeta,
69 const scalar expTerm =
exp(
min(50, -beta*dt));
71 if (beta > ROOTVSMALL)
74 retValue.
average() = alpha + (phi -
alpha)*(1 - expTerm)/(beta*dt);
75 retValue.
value() = alpha + (phi -
alpha)*expTerm;
A list of keyword definitions, which are a keyword followed by any number of values (e...
Helper class to supply results of integration.
virtual ~Analytical()
Destructor.
Type average() const
Return const access to the average.
dimensionedScalar exp(const dimensionedScalar &ds)
Type value() const
Return const access to the value.
A class for handling words, derived from string.
virtual IntegrationScheme< Type >::integrationResult integrate(const Type &phi, const scalar dt, const Type &alphaBeta, const scalar beta) const
Perform the integration.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
Top level model for Integration schemes.
Analytical(const word &phiName, const dictionary &dict)
Construct from components.
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].