87 #ifndef lookupProfile_H 88 #define lookupProfile_H 158 virtual void Cdl(
const scalar
alpha, scalar& Cd, scalar& Cl)
const;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
List< scalar > AOA_
List of angle-of-attack values [deg] on input, converted to [rad].
TypeName("lookup")
Runtime type information.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
List< scalar > Cd_
List of drag coefficient values.
lookupProfile(const dictionary &dict, const word &modelName)
Constructor from dictionary and model name.
A class for handling words, derived from Foam::string.
virtual void Cdl(const scalar alpha, scalar &Cd, scalar &Cl) const
Return the Cd and Cl for a given angle-of-attack.
Profile model where polar lift and drag coefficients are linearly interpolated from a polar table by ...
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.
void operator=(const lookupProfile &)=delete
No copy assignment.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
~lookupProfile()=default
Destructor.