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

[BugFix] Incorrect value of AirDens passed to ExtInfw_Init from FAST_Subs.f90 #2478

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

andrew-platt
Copy link
Collaborator

Ready to merge

Feature or improvement description
Due to a logic error, the AirDens value passed to ServoDyn and External-Inflow was set to zero. The logic around zeroing out the AirDens value was corrected.

Also I noticed that AeroDisk was not returning a value for AirDens during initialization. Since AeroDisk can use its own value instead of the value set in the main .fst file, this value should be returned so that ServoDyn has the correct air density.

Related issue, if one exists
None (issue found by @marchdf and notified us internally)

Impacted areas of the software
This primarily affects the ExtInfw module used for actuator line coupling with Nalu-Wind, but could potentially show up with any controller that uses the air density (none of our test controllers use it).

Test results, if applicable
None: our test controllers do not use the air density.

@andrew-platt andrew-platt added this to the v4.0.0 milestone Oct 23, 2024
@andrew-platt andrew-platt self-assigned this Oct 23, 2024
ExtInfw was incorrectly receiving a 0 for the air density due to a logic error introduced when ExtInfw_Init was relocated to after AeroDyn

Also add AirDens initialization output from AeroDisk (this gets passed to ServoDyn)
@andrew-platt andrew-platt merged commit 2bea688 into OpenFAST:dev Oct 24, 2024
21 checks passed
@andrew-platt
Copy link
Collaborator Author

Error introduced by either PR #1932 or PR #2445

@andrew-platt andrew-platt deleted the b/AirDens_ExtInfw branch November 1, 2024 20:15
@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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants