Go to the documentation of this file.
53 #ifndef lookupProfile_H
54 #define lookupProfile_H
114 virtual void Cdl(
const scalar
alpha, scalar& Cd, scalar& Cl)
const;
void interpolateWeights(const scalar &xIn, const List< scalar > &values, label &i1, label &i2, scalar &ddx) const
Return the interpolation indices and gradient.
A class for handling words, derived from Foam::string.
lookupProfile(const dictionary &dict, const word &modelName)
Constructor.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
List< scalar > Cd_
List of drag coefficient values.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< scalar > AOA_
List of angle-of-attack values [deg] on input, converted to [rad].
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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 lineraly interpolated based on the suppli...
TypeName("lookup")
Runtime type information.
~lookupProfile()=default
Destructor.
Base class for profile models.
List< scalar > Cl_
List of lift coefficient values.