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

OLAF out of bounds #2581

Merged
merged 1 commit into from
Dec 23, 2024
Merged

OLAF out of bounds #2581

merged 1 commit into from
Dec 23, 2024

Conversation

andrew-platt
Copy link
Collaborator

Ready to merge

Feature or improvement description
If OLAF is used, the wakes may move out of bounds of the wind box (i.e. TurbSim .bts format). When this happens, wind for OLAF points outside the box should be extrapolated beyond the box as described here: https://openfast.readthedocs.io/en/dev/source/user/inflowwind/driver.html#boxexceedallow-flag.

In both the AeroDyn_Driver and in OpenFAST, the InflowWind module is initialized before AeroDyn so we don't know at that time if OLAF will be used. This PR sets the BoxExceedAllow flag if AD is used in either context, which can be a computational waste if OLAF is not used. Ideally we would initialize the data structure for the extrapolation the first time it is accessed to avoid the unnecessary computation ahead of time if it isn't needed.

Related issue, if one exists
#2518
#1748
#1516

This particular issue was reported in a conversation outside of GH.

Impacted areas of the software
AeroDyn only

Additional supporting information

Test results, if applicable
No results change with this case -- we don't run an OLAF cases with turbulent wind flow for long in enough to see this issue in the regression testing.

Ideally, we would set this after we initialize AD and decide based on if OLAF is used.  But IfW is initialized before AD now, so we don't know if OLAF will need this info.
Copy link
Contributor

@mayankchetan mayankchetan 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 to me! thank you Andy!

@andrew-platt andrew-platt merged commit fafeb6e into OpenFAST:dev Dec 23, 2024
42 checks passed
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
@andrew-platt andrew-platt deleted the b/OLAF_bounds branch January 2, 2025 22:15
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.

3 participants