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 additional modulo in IfW_FlowField #1769

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

deslaughter
Copy link
Collaborator

This pull request is ready to merge.

Feature or improvement description
This PR duplicates PR #1730 for the rc-3.5.1 branch to resolve an InflowWind bug where OpenFAST exits with an error indicating that the Grid3D wind field has been exhausted.

Related issue, if one exists
#1746

Impacted areas of the software
InflowWind

This should finally fix the issue raised in PR#1702 and PR#1501. A second
modulo was added because small negative values will cause the first
modulo to return a value equal to NSteps which then causes the code
to think the time is out of bounds.
@deslaughter deslaughter self-assigned this Sep 13, 2023
@deslaughter deslaughter added this to the v3.5.1 milestone Sep 13, 2023
@deslaughter deslaughter merged commit 8720f4f into OpenFAST:rc-3.5.1 Sep 13, 2023
19 checks passed
@deslaughter deslaughter deleted the bug/ifw-periodic-351 branch September 13, 2023 13:18
@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.

1 participant