Fix Bug in FAST.Farm Causing Wake Bounce-Back #839
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request is ready to be merged.
All tests are expected to pass.
Feature or improvement description
For wake planes that are skewed relative to domain boundaries (e.g., due to nacelle-yaw), the weighting used in the spatial averaging to calculate the meandering velocity of wake planes when
Mod_Meander
= 3 could end up being negative as wake planes were leaving the domain. But the code always assumed that the weighting was positive. This bug fixes that.Related issue, if one exists
This solves the issue reported on our forum dated July 06, 2021: https://wind.nrel.gov/forum/wind/viewtopic.php?f=13&t=2117&start=225.
Impacted areas of the software
The Ambient Wind and Wake Effects (AWAE) module of FAST.Farm.