Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

deslaughter
Copy link
Contributor

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
21 checks passed
@deslaughter deslaughter deleted the f/adi_line_mesh branch October 17, 2024 21:55
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