51 #ifndef lookupProfile_H 52 #define lookupProfile_H 112 virtual void Cdl(
const scalar
alpha, scalar& Cd, scalar& Cl)
const;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
List< scalar > AOA_
List of angle-of-attack values [deg] on input, converted to [rad].
TypeName("lookup")
Runtime type information.
List< scalar > Cd_
List of drag coefficient values.
lookupProfile(const dictionary &dict, const word &modelName)
Constructor.
A class for handling words, derived from string.
Base class for profile models.
virtual void Cdl(const scalar alpha, scalar &Cd, scalar &Cl) const
Return the Cd and Cl for a given angle-of-attack.
Look-up based profile data - drag and lift coefficients are linearly interpolated based on the suppli...
List< scalar > Cl_
List of lift coefficient values.
void interpolateWeights(const scalar &xIn, const List< scalar > &values, label &i1, label &i2, scalar &ddx) const
Return the interpolation indices and gradient.