Skip to content

Add blade distributed load output to AeroDyn-InflowWind C bindings#2470

Merged
deslaughter merged 4 commits intoOpenFAST:devfrom
deslaughter:f/adi_line_mesh
Oct 17, 2024
Merged

Add blade distributed load output to AeroDyn-InflowWind C bindings#2470
deslaughter merged 4 commits intoOpenFAST:devfrom
deslaughter:f/adi_line_mesh

Conversation

@deslaughter
Copy link
Collaborator

This PR is ready to be merged.

Feature or improvement description

This PR adds a flag, PointLoadOutput, to the ADI_C_PreInit subroutine in the ADI C Bindings library AeroDyn_Inflow_C_Binding.f90 which allows the user to select between point load or distributed load output at the blade mesh points. Setting this value to 0 will cause distributed loads to be output and setting it to 1 will output point loads, which is the typical output from this library.

This PR also adds the parameter HHVel_C, a 3 element float array, to ADI_C_GetRotorLoads which will contain the hub height wind velocity components (X,Y,Z), if storeHHVel was set to 1 in ADI_C_Init; otherwise, it will contain zeros. Previously, the velocities would be stored, but were not accessible through the API.

The python library, aerodyn_inflow_library.py, was updated to reflect the changes in the API.

Impacted areas of the software

AeroDyn_Inflow_C_Binding.f90 and aerodyn_inflow_library.py

Additional supporting information

Test results, if applicable

Test results were unaffected.

Copy link
Collaborator

@andrew-platt andrew-platt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for making that change!

@deslaughter deslaughter merged commit 59fb293 into OpenFAST:dev Oct 17, 2024
@deslaughter deslaughter deleted the f/adi_line_mesh branch October 17, 2024 21:55
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments