87#ifndef lookupProfile_H
88#define lookupProfile_H
126 const List<scalar>& values,
158 virtual void Cdl(
const scalar
alpha, scalar& Cd, scalar& Cl)
const;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Profile model where polar lift and drag coefficients are linearly interpolated from a polar table by ...
List< scalar > Cl_
List of lift coefficient values.
~lookupProfile()=default
Destructor.
TypeName("lookup")
Runtime type information.
void interpolateWeights(const scalar &xIn, const List< scalar > &values, label &i1, label &i2, scalar &ddx) const
Return the interpolation indices and gradient.
virtual void Cdl(const scalar alpha, scalar &Cd, scalar &Cl) const
Return the Cd and Cl for a given angle-of-attack.
lookupProfile(const lookupProfile &)=delete
No copy construct.
void operator=(const lookupProfile &)=delete
No copy assignment.
List< scalar > Cd_
List of drag coefficient values.
List< scalar > AOA_
List of angle-of-attack values [deg] on input, converted to [rad].
Base class for profile models for handling aerofoil lift and drag polar diagrams.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.