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

Bug/bd conv #1482

Merged
merged 2 commits into from
Mar 8, 2023
Merged

Bug/bd conv #1482

merged 2 commits into from
Mar 8, 2023

Conversation

deslaughter
Copy link
Collaborator

This pull request is ready to merge.

Feature or improvement description

This pull request resolves an issue where the BeamDyn driver results were different from OpenFAST results. Specifically, OpenFAST failed to converge during initial correction steps whereas the driver succeeded because it didn't perform corrections. It was possible to make OpenFAST converge by specifying a smaller time step which is why the issue wasn't apparent. During the initial correction steps, the MiscVars variable vvv wasn't being reset between steps which caused velocity errors to accumulate and the solution to diverge. This was corrected by re-initializing m%vvv in BD_InitAcc which is only called during these initial correction steps.

Related issue, if one exists

Impacted areas of the software

  • BeamDyn
  • Regression Tests: 5MW_Land_BD_DLL_WTurb

Additional supporting information

Test results, if applicable

The 5MW_Land_BD_DLL_WTurb regression test results were updated because they were slightly different at the beginning of the simulation. A new test case, 5MW_Land_BD_Init was added to demonstrate that the model converges at a larger time step.

When using BeamDyn from OpenFAST, there was a convergence error during
the initial correction steps which was not present when using the
driver. After investigating, it turns out that the velocity in
MiscVars%vvv was not being reinitialized in BD_InitACC during each
correction and was accumulating offsets which caused the model to
not converge. This commit adds the call to initialize the velocity which
is present during the dynamic solve.
Copy link
Collaborator

@andrew-platt andrew-platt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the initialization test case! Good to see we have a large timestep there.

@deslaughter deslaughter merged commit 24c6bd8 into OpenFAST:dev Mar 8, 2023
@deslaughter deslaughter deleted the bug/BD_conv branch March 8, 2023 14:57
@deslaughter deslaughter restored the bug/BD_conv branch March 8, 2023 15:08
@andrew-platt andrew-platt mentioned this pull request May 12, 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