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

HD: Reimplement the initialization of low-pass-filtered potential-flow body positions for ExctnDisp=2 #2444

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

luwang00
Copy link
Contributor

This pull request is ready to be merged.

Feature or improvement description
This new implementation moves the initialization of the low-pass-filtered potential-flow body positions for ExctnDisp=2 out of the glue-code and into HydroDyn_Init. The initial platform offset from Init%OutData_ED%PlatformPos is copied to Init%InData_HD%PlatformPos for HD initialization. This is more consistent with the OpenFAST modular structure and should help avoid some problems with tight coupling in the future.

This updated implementation should fix several issues:

  • ED%y is no longer modified in FAST_InitializeAll to avoid problems with tight coupling.
  • It does not rely on mesh mapping, so it works with ED+HD and ED+SD+HD.
  • SmllRotTrans is replaced with EulerConstructZYX to support large platform rotation.
  • It avoids some code duplication with initialization in the HD driver code.

Related issue, if one exists
This PR is a reimplementation of PR #2341 to address the issues raised in PR #2421 based on the discussions with @bjonkman and @andrew-platt.

Impacted areas of the software
Glue code, HydroDyn

Test results, if applicable
No change to existing test results. All tests passed.

…w body positions for ExctnDisp=2 without using mesh mapping

This new implementation moves the initialization out of the glue-code and into HydroDyn_Init. This is more consistent with the OpenFAST modular structure and should help avoid some future problems with tight coupling. The use of SmllRotTrans is also replaced with EulerConstructZYX for large platform rotation.
@andrew-platt andrew-platt merged commit 853ba8c into OpenFAST:dev Oct 3, 2024
21 checks passed
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