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

FF: fix bug with Mod_AmbWind=3 -- hub point wasn't shifted. #1648

Merged
merged 2 commits into from
Jun 24, 2023

Conversation

andrew-platt
Copy link
Collaborator

This PR is ready for merging.

Feature or improvement description
In v3.5.0 we added the hub point to AWAE at the center of the grid now that IfW calculates the disk average velocity every time IfW_CalcOutput gets called. But this point needs to be shifted by the turbine position so it is in the box.

This will all change in 4.0.0 when we switch to pointers for all this and don't call IfW_CalcOutput directly anymore.

Related issue, if one exists
See comment 2 and discussion in #1615 here: #1615 (comment)

Impacted areas of the software
The ModAmbWind=3 option in FAST.Farm should in theory now work correctly.

Additional supporting information
In v4.0.0, this will all be changed. So for now we will keep the calculations of disk average velocity in the InflowWind_CalcOutput routine.

Test results, if applicable
No test results change. We don't currently have a Mod_AmbWind=3 FAST.Farm test case. This would have been caught by it.

We added the hub point to AWAE at the center of the grid now that IfW calculates the disk average velocity every time IfW_CalcOutput gets called. But this point needs to be shifted by the turbine position so it is in the box.

This will all change in 4.0.0 when we switch to pointers for all this and don't call IfW_CalcOutput directly anymore.
@deslaughter deslaughter merged commit 1100ca7 into OpenFAST:rc-3.5.1 Jun 24, 2023
19 checks passed
@andrew-platt andrew-platt deleted the b/FF_mod_ambwind3 branch June 27, 2023 00:21
@andrew-platt andrew-platt mentioned this pull request Oct 19, 2023
19 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