TiGL  2.2.3
Functions for rotor blade calculations

Functions

TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetAzimuthAngle (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *azimuthAnglePtr)
 Returns the azimuth angle of a rotor blade in degrees. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetLocalChord (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, int segmentIndex, double eta, double *chordPtr)
 Returns the local chord length of a rotor blade. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetLocalRadius (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, int segmentIndex, double eta, double *radiusPtr)
 Returns the local radius of a rotor blade. More...
 
TIGL_COMMON_EXPORT 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...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetPlanformArea (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *planformAreaPtr)
 Returns the planform area of the rotor blade. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetRadius (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *radiusPtr)
 Returns the radius of a rotor blade. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetSurfaceArea (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *surfaceAreaPtr)
 Returns the surface area of the rotor blade. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetTipSpeed (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *tipSpeedPtr)
 Returns the tip speed of a rotor blade [m/s]. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetVolume (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, double *volumePtr)
 Returns the volume of the rotor blade. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetWingIndex (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, int *wingIndexPtr)
 Returns the index of the parent wing definition of a rotor blade. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorBladeGetWingUID (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int rotorBladeIndex, char **wingUIDPtr)
 Returns the UID of the parent wing definition of a rotor blade. More...
 
TIGL_COMMON_EXPORT TiglReturnCode tiglRotorGetRotorBladeCount (TiglCPACSConfigurationHandle cpacsHandle, int rotorIndex, int *rotorBladeCountPtr)
 Returns the total number of rotor blades attached to a rotor. More...
 

Detailed Description

Functions to handle rotor blade geometries with TIGL.

Function Documentation

TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[out]azimuthAnglePtrPointer to the azimuth angle
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if azimuthAnglePtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[in]segmentIndexIndex of the segment of the referenced wing definition
[in]etaRelative spanwise segment coordinate: eta in the range 0.0 <= eta <= 1.0; eta = 0 for inner section , eta = 1 for outer section
[out]chordPtrPointer to the local chord length
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle or no point was found
  • TIGL_INDEX_ERROR if rotorIndex, rotorBladeIndex or segmentIndex are invalid
  • TIGL_NULL_POINTER if chordPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[in]segmentIndexIndex of the segment of the referenced wing definition
[in]etaRelative spanwise segment coordinate: eta in the range 0.0 <= eta <= 1.0; eta = 0 for inner section , eta = 1 for outer section
[out]radiusPtrPointer to the local radius
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle or no point was found
  • TIGL_INDEX_ERROR if rotorIndex, rotorBladeIndex or segmentIndex are invalid
  • TIGL_NULL_POINTER if radiusPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[in]segmentIndexIndex of the segment of the referenced wing definition
[in]etaRelative spanwise segment coordinate: eta in the range 0.0 <= eta <= 1.0; eta = 0 for inner section , eta = 1 for outer section
[out]twistAnglePtrPointer to the local twist angle
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle or no point was found
  • TIGL_INDEX_ERROR if rotorIndex, rotorBladeIndex or segmentIndex are invalid
  • TIGL_NULL_POINTER if twistAnglePtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade to calculate the area, starting at 1
[out]planformAreaPtrThe planform area of the rotor blade
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if planformAreaPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[out]radiusPtrPointer to the radius
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if radiusPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade to calculate the area, starting at 1
[out]surfaceAreaPtrThe surface area of the rotor blade
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if surfaceAreaPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[out]tipSpeedPtrPointer to the radius
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if tipSpeedPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade to calculate the volume, starting at 1
[out]volumePtrThe volume of the rotor blade
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if volumePtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[out]wingIndexPtrPointer to the wing index
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if wingIndexPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor
[in]rotorBladeIndexIndex of the rotor blade
[out]wingUIDPtrPointer to the wing index
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_INDEX_ERROR if rotorIndex or rotorBladeIndex are invalid
  • TIGL_NULL_POINTER if wingUIDPtr is a null pointer
  • TIGL_ERROR if some other error occurred
TIGL_COMMON_EXPORT 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)

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]rotorIndexIndex of the rotor to count the attached rotor blades
[out]rotorBladeCountPtrPointer to the number of rotor blades
Returns
  • TIGL_SUCCESS if no error occurred
  • TIGL_NOT_FOUND if no configuration was found for the given handle
  • TIGL_NULL_POINTER if rotorBladeCountPtr is a null pointer
  • TIGL_ERROR if some other error occurred

Generated Tue Sep 24 2019 15:24:16, by Martin Siggel DLR