131 const List<scalar>&
values,
Blade model class calculates:
virtual ~bladeModel()=default
Destructor.
List< scalar > radius_
Radius [m].
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
void operator=(const bladeModel &)=delete
No copy assignment.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
bladeModel(const dictionary &dict)
Construct from dictionary.
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.