Functions | |
TiglReturnCode | tiglRotorBladeGetAzimuthAngle (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *azimuthAnglePtr) |
Returns the azimuth angle of a rotor blade in degrees. More... | |
TiglReturnCode | tiglRotorBladeGetLocalChord (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, int segmentIndex, double eta, double *chordPtr) |
Returns the local chord length of a rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetLocalRadius (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, int segmentIndex, double eta, double *radiusPtr) |
Returns the local radius of a rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetLocalTwistAngle (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, int segmentIndex, double eta, double *twistAnglePtr) |
Returns the local twist angle [deg] of a rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetPlanformArea (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *planformAreaPtr) |
Returns the planform area of the rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetRadius (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *radiusPtr) |
Returns the radius of a rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetSurfaceArea (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *surfaceAreaPtr) |
Returns the surface area of the rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetTipSpeed (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *tipSpeedPtr) |
Returns the tip speed of a rotor blade [m/s]. More... | |
TiglReturnCode | tiglRotorBladeGetVolume (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *volumePtr) |
Returns the volume of the rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetWingIndex (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, int *wingIndexPtr) |
Returns the index of the parent wing definition of a rotor blade. More... | |
TiglReturnCode | tiglRotorBladeGetWingUID (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, char **wingUIDPtr) |
Returns the UID of the parent wing definition of a rotor blade. More... | |
TiglReturnCode | tiglRotorGetRotorBladeCount (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int *rotorBladeCountPtr) |
Returns the total number of rotor blades attached to a rotor. More... | |
Functions to handle rotor blade geometries with TIGL.
TiglReturnCode tiglRotorBladeGetAzimuthAngle | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
double * | azimuthAnglePtr | ||
) |
Returns the azimuth angle of a rotor blade in degrees.
Returns the azimuth angle in degrees of the rotor blade with the index rotorBladeIndex attached to the rotor with the index rotorIndex.
Fortran syntax:
tigl_get_rotor_blade_azimuth(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, real azimuthAngle, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[out] | azimuthAnglePtr | Pointer to the azimuth angle |
TiglReturnCode tiglRotorBladeGetLocalChord | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
int | segmentIndex, | ||
double | eta, | ||
double * | chordPtr | ||
) |
Returns the local chord length of a rotor blade.
Returns the local chord length of the section at the relative spanwise coordinate eta of the segment segmentIndex of the rotor blade with the index rotorBladeIndex attached to the rotor with the index rotorIndex.
Fortran syntax:
tigl_get_rotor_blade_local_chord(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, integer segmentIndex, real eta, real chordPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[in] | segmentIndex | Index of the segment of the referenced wing definition |
[in] | eta | Relative spanwise segment coordinate: eta in the range 0.0 <= eta <= 1.0; eta = 0 for inner section , eta = 1 for outer section |
[out] | chordPtr | Pointer to the local chord length |
TiglReturnCode tiglRotorBladeGetLocalRadius | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
int | segmentIndex, | ||
double | eta, | ||
double * | radiusPtr | ||
) |
Returns the local radius of a rotor blade.
Returns the local radius of the rotor blade with the index rotorBladeIndex attached to the rotor with the index rotorIndex. The distance of the point with relative spanwise coordinate eta on the quarter chord line of the rotor blade segment segmentIndex from the z axis of the rotor coordinate system is taken as the local radius. It is calculated for the rotor blade at azimuth=0 and with no hinge transformations applied.
Fortran syntax:
tigl_get_rotor_blade_local_radius(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, integer segmentIndex, real eta, real radiusPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[in] | segmentIndex | Index of the segment of the referenced wing definition |
[in] | eta | Relative spanwise segment coordinate: eta in the range 0.0 <= eta <= 1.0; eta = 0 for inner section , eta = 1 for outer section |
[out] | radiusPtr | Pointer to the local radius |
TiglReturnCode tiglRotorBladeGetLocalTwistAngle | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
int | segmentIndex, | ||
double | eta, | ||
double * | twistAnglePtr | ||
) |
Returns the local twist angle [deg] of a rotor blade.
Returns the twist angle in degrees of the section at the relative spanwise coordinate eta of the segment segmentIndex of the rotor blade with the index rotorBladeIndex attached to the rotor with the index rotorIndex.
Fortran syntax:
tigl_get_rotor_blade_local_twist_angle(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, integer segmentIndex, real eta, real twistAnglePtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[in] | segmentIndex | Index of the segment of the referenced wing definition |
[in] | eta | Relative spanwise segment coordinate: eta in the range 0.0 <= eta <= 1.0; eta = 0 for inner section , eta = 1 for outer section |
[out] | twistAnglePtr | Pointer to the local twist angle |
TiglReturnCode tiglRotorBladeGetPlanformArea | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
double * | planformAreaPtr | ||
) |
Returns the planform area of the rotor blade.
Fortran syntax:
tigl_rotor_blade_get_planform_area(integer cpacsHandle, int rotorIndex, int rotorBladeIndex, real planformAreaPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade to calculate the area, starting at 1 |
[out] | planformAreaPtr | The planform area of the rotor blade |
TiglReturnCode tiglRotorBladeGetRadius | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
double * | radiusPtr | ||
) |
Returns the radius of a rotor blade.
Returns the radius of the rotor blade with the index rotorBladeIndex attached to the rotor with the index rotorIndex. The maximum distance of a point on the quarter chord line of the rotor blade from the z axis of the rotor coordinate system is taken as the rotor blade radius. It is calculated for the rotor blade at azimuth=0 and with no hinge transformations applied.
Fortran syntax:
tigl_get_rotor_blade_radius(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, real radiusPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[out] | radiusPtr | Pointer to the radius |
TiglReturnCode tiglRotorBladeGetSurfaceArea | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
double * | surfaceAreaPtr | ||
) |
Returns the surface area of the rotor blade.
Fortran syntax:
tigl_rotor_blade_get_surface_area(integer cpacsHandle, int rotorIndex, int rotorBladeIndex, real surfaceAreaPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade to calculate the area, starting at 1 |
[out] | surfaceAreaPtr | The surface area of the rotor blade |
TiglReturnCode tiglRotorBladeGetTipSpeed | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
double * | tipSpeedPtr | ||
) |
Returns the tip speed of a rotor blade [m/s].
The rotor blade tip speed is calculated using the nominal rotation speed of the rotor and the rotor blade radius.
Fortran syntax:
tigl_get_rotor_blade_tip_speed(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, real tipSpeedPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[out] | tipSpeedPtr | Pointer to the radius |
TiglReturnCode tiglRotorBladeGetVolume | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
double * | volumePtr | ||
) |
Returns the volume of the rotor blade.
Fortran syntax:
tigl_rotor_blade_get_volume(integer cpacsHandle, int rotorIndex, int rotorBladeIndex, real volumePtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade to calculate the volume, starting at 1 |
[out] | volumePtr | The volume of the rotor blade |
TiglReturnCode tiglRotorBladeGetWingIndex | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
int * | wingIndexPtr | ||
) |
Returns the index of the parent wing definition of a rotor blade.
Returns the index of the wing definition referenced by the parent rotor blade attachment of the rotor blade with the index rotorBladeIndex.
Fortran syntax:
tigl_get_rotor_blade_wing_index(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, integer wingIndexPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[out] | wingIndexPtr | Pointer to the wing index |
TiglReturnCode tiglRotorBladeGetWingUID | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int | rotorBladeIndex, | ||
char ** | wingUIDPtr | ||
) |
Returns the UID of the parent wing definition of a rotor blade.
Returns the UID of the wing definition referenced by the parent rotor blade attachment of the rotor blade with the index rotorBladeIndex.
Fortran syntax:
tigl_get_rotor_blade_wing_uid(integer cpacsHandle, integer rotorIndex, integer rotorBladeIndex, character*n wingUIDPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor |
[in] | rotorBladeIndex | Index of the rotor blade |
[out] | wingUIDPtr | Pointer to the wing index |
TiglReturnCode tiglRotorGetRotorBladeCount | ( | TiglCPACSConfigurationHandle | cpacsHandle, |
int | rotorIndex, | ||
int * | rotorBladeCountPtr | ||
) |
Returns the total number of rotor blades attached to a rotor.
Fortran syntax:
tigl_get_rotor_blade_count(integer cpacsHandle, integer rotorIndex, integer rotorBladeCountPtr, integer returnCode)
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | rotorIndex | Index of the rotor to count the attached rotor blades |
[out] | rotorBladeCountPtr | Pointer to the number of rotor blades |