Blade model class calculates: Linear interpolated blade twist and chord based on radial position Inte...
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 class for handling file names.
List< scalar > radius_
Radius [m].
A list of keyword definitions, which are a keyword followed by any number of values (e...
const List< scalar > & radius() const
Return const access to the radius list.
List< scalar > chord_
Chord [m].
List< scalar > twist_
Twist [deg] on input, converted to [rad].
virtual void interpolate(const scalar radius, scalar &twist, scalar &chord, label &i1, label &i2, scalar &invDr) const
Return the twist and chord for a given radius.
virtual ~bladeModel()
Destructor.
bladeModel(const dictionary &dict)
Constructor.
const List< scalar > & twist() const
Return const access to the twist list.
List< word > profileName_
Corresponding profile name per section.
const List< label > & profileID() const
Return const access to the profile ID list.
bool readFromFile() const
Return true if file name is set.
const List< scalar > & chord() const
Return const access to the chord list.
List< label > profileID_
Corresponding profile ID per section.
void interpolateWeights(const scalar &xIn, const List< scalar > &values, label &i1, label &i2, scalar &ddx) const
Return the interpolation indices and gradient.
fileName fName_
File name (optional)
const List< word > & profileName() const
Return const access to the profile name list.