Skip to content

Conversation

@akeeste
Copy link
Contributor

@akeeste akeeste commented May 6, 2025

This PR fixes a minor issue (only in dev) from the library merge in #1411. It reverts the nonhydro and drag body blocks back to using body.mass instead of body.hydroForce.hf1.mass. body.hydroforce is limited for those body types and doesn't contain all of the necessary information. Also variable hydro is not used for those bodies, so we may as well use body.mass directly

@akeeste akeeste requested a review from jtgrasb May 6, 2025 18:44
@akeeste akeeste added the Bug bug in WEC-Sim source, high priority label May 6, 2025
@akeeste
Copy link
Contributor Author

akeeste commented May 6, 2025

Tagging you @jtgrasb since this builds on #1411 which you reviewed

@akeeste
Copy link
Contributor Author

akeeste commented May 13, 2025

Will wait on this pending @jtgrasb's upcoming PR on allowing variable masses which will likely absorb this on dev

@jtgrasb
Copy link
Contributor

jtgrasb commented May 13, 2025

Upcoming PR is completely different. I checked this one with the nonhydro body Applications case and it worked as expected. Merging now.

@jtgrasb jtgrasb merged commit 1368234 into WEC-Sim:dev May 13, 2025
10 checks passed
@akeeste akeeste deleted the minor_vh_fix branch July 28, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug bug in WEC-Sim source, high priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants