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

HydroDyn C-binding: Added mass matrix #2663

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

luwang00
Copy link
Contributor

@luwang00 luwang00 commented Mar 6, 2025

Feature or improvement description
This PR adds a new subroutine in HydroDyn C-binding called HydroDyn_C_CalcOutput_and_AddedMass that returns a 6N-by-6N added mass matrix, where N is the number nodes in the coupling mesh (input to the subroutine). It also returns the remainder of the hydrodynamic, hydrostatic, and other loads computed by HydroDyn with the added-mass component removed.

This subroutine is added to facilitate the coupling of HydroDyn with other structural solvers. It allows the added-mass loads to be treated as an unknown and solved for together with structure acceleration in the structural solver for stability. Note that added mass refers to not only hydrodynamic added mass, but also other inertial load components from internal ballast and marine growth.

Impacted areas of the software
HydroDyn C-binding only. No change to HydroDyn itself.

Test results, if applicable
No change to existing r-test results.

luwang00 added 2 commits March 5, 2025 13:54
…AddedMass that returns the instantaneous added-mass matrix for all input nodes and the reminder of the total hydro loads without added-mass contributions

The Python library is also updated to support the new C-binding subroutine
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