Blade model class calculates: More...
#include <bladeModel.H>

Public Member Functions | |
| bladeModel (const dictionary &dict) | |
| Construct from dictionary. | |
| bladeModel (const bladeModel &)=delete | |
| No copy construct. | |
| void | operator= (const bladeModel &)=delete |
| No copy assignment. | |
| virtual | ~bladeModel ()=default |
| Destructor. | |
| const List< word > & | profileName () const |
| Return const access to the profile name list. | |
| const List< label > & | profileID () const |
| Return const access to the profile ID list. | |
| const List< scalar > & | radius () const |
| Return const access to the radius list. | |
| const List< scalar > & | twist () const |
| Return const access to the twist list. | |
| const List< scalar > & | chord () const |
| Return const access to the chord list. | |
| List< label > & | profileID () |
| Return non-const access to the profile ID list. | |
| 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. | |
Protected Member Functions | |
| bool | readFromFile () const |
| Return true if file name is set. | |
| void | interpolateWeights (const scalar &xIn, const List< scalar > &values, label &i1, label &i2, scalar &ddx) const |
| Return the interpolation indices and gradient. | |
Protected Attributes | |
| List< word > | profileName_ |
| Corresponding profile name per section. | |
| List< label > | profileID_ |
| Corresponding profile ID per section. | |
| List< scalar > | radius_ |
| Radius [m]. | |
| List< scalar > | twist_ |
| Twist [deg] on input, converted to [rad]. | |
| List< scalar > | chord_ |
| Chord [m]. | |
| fileName | fName_ |
| File name (optional). | |
Blade model class calculates:
constant/fvOptions: rotorDiskSource1 { Mandatory/Optional (inherited) entries ...Mandatory entries (runtime modifiable) blade { Mandatory entries (runtime modifiable) data ( (profile1 (radius1 twist1 chord1)) (profile1 (radius2 twist2 chord2)) ... ([0] ([1] [2] [3])) );
Optional entries (runtime modifiable) file <fileName>; } }
where the entries mean:
| Property | Description | Type | Reqd | Dflt |
|---|---|---|---|---|
blade | Dictionary name: blade | word | yes | - |
data | Blade characteristics in list format | list | yes | - |
[0] (profile) | Corresponding profile name per section | word | yes | - |
[1] (radius) | Radial position of the blade section [m] | scalar | yes | - |
[2] (twist) | Twist angle of the blade section [deg] | scalar | yes | - |
[3] (chord) | Chord length of the blade section [m] | scalar | yes | - |
file | Name of file containing blade characteristics | word | no | - |
twist is internally converted from [deg] to [rad].Definition at line 140 of file bladeModel.H.
| bladeModel | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 85 of file bladeModel.C.
References chord_, dict, fName_, profileID_, profileName_, radius_, readFromFile(), UList< T >::size(), and twist_.
Referenced by bladeModel(), and operator=().


|
delete |
|
virtualdefault |
|
protected |
Return true if file name is set.
Definition at line 30 of file bladeModel.C.
References fName_.
Referenced by bladeModel().

|
protected |
Return the interpolation indices and gradient.
Definition at line 36 of file bladeModel.C.
Referenced by interpolate().

|
delete |
| const Foam::List< Foam::word > & profileName | ( | ) | const |
Return const access to the profile name list.
Definition at line 133 of file bladeModel.C.
References profileName_.
| const Foam::List< Foam::label > & profileID | ( | ) | const |
Return const access to the profile ID list.
Definition at line 139 of file bladeModel.C.
References profileID_.
| const Foam::List< Foam::scalar > & radius | ( | ) | const |
Return const access to the radius list.
Definition at line 145 of file bladeModel.C.
References radius_.
Referenced by interpolate(), and ~bladeModel().

| const Foam::List< Foam::scalar > & twist | ( | ) | const |
Return const access to the twist list.
Definition at line 151 of file bladeModel.C.
References twist_.
Referenced by interpolate(), and ~bladeModel().

| const Foam::List< Foam::scalar > & chord | ( | ) | const |
Return const access to the chord list.
Definition at line 157 of file bladeModel.C.
References chord_.
Referenced by interpolate(), and ~bladeModel().

| Foam::List< Foam::label > & profileID | ( | ) |
Return non-const access to the profile ID list.
Definition at line 163 of file bladeModel.C.
References profileID_.
|
virtual |
Return the twist and chord for a given radius.
Definition at line 169 of file bladeModel.C.
References chord(), chord_, interpolateWeights(), radius(), radius_, twist(), and twist_.

Corresponding profile name per section.
Definition at line 149 of file bladeModel.H.
Referenced by bladeModel(), and profileName().
|
protected |
Corresponding profile ID per section.
Definition at line 154 of file bladeModel.H.
Referenced by bladeModel(), profileID(), and profileID().
|
protected |
Radius [m].
Definition at line 159 of file bladeModel.H.
Referenced by bladeModel(), interpolate(), and radius().
|
protected |
Twist [deg] on input, converted to [rad].
Definition at line 164 of file bladeModel.H.
Referenced by bladeModel(), interpolate(), and twist().
|
protected |
Chord [m].
Definition at line 169 of file bladeModel.H.
Referenced by bladeModel(), chord(), and interpolate().
|
protected |
File name (optional).
Definition at line 174 of file bladeModel.H.
Referenced by bladeModel(), and readFromFile().