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: fix NBody>1 & NBodyMod=1 WAMIT2 bug #1480

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

andrew-platt
Copy link
Collaborator

This is ready for merging.

Feature or improvement description
An outside user reported issues with a multibody potential flow HydroDyn model with a .12d input file. We traced this to some arrays in WAMIT2 were not initialized to the correct dimensions for multiple WAMIT bodies in the second order files.

Related issue, if one exists
None

Impacted areas of the software
HydroDyn 2nd order potential flow only (WAMIT2)

Additional supporting information
This bug was introduced in v2.5.0 when flexible multibody hydrodynamics was introduced.

Test results, if applicable
We have no publicly sharable models available that demonstrate this issue.

Some arrays in WAMIT2 were not initialized to the correct dimensions for multiple WAMIT bodies in the second order files.
@andrew-platt
Copy link
Collaborator Author

@luwang00, could you review this?

Copy link
Collaborator

@jjonkman jjonkman left a comment

Choose a reason for hiding this comment

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

I can't comment on the specific code changes, but they look correct at a high level. I'm glad to also hear that this change solves Alvaro's issue.

@andrew-platt andrew-platt merged commit 9949363 into OpenFAST:dev Mar 7, 2023
@luwang00
Copy link
Contributor

luwang00 commented Mar 7, 2023

@andrew-platt
I think I'm a bit late, but the changes make sense. Thanks for fixing this, Andy!

@andrew-platt andrew-platt deleted the b/HD_nbodymod branch March 13, 2023 17:33
@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.

3 participants