Skip to content

Conversation

@luwang00
Copy link
Contributor

@luwang00 luwang00 commented Aug 2, 2025

This PR is ready to be merged.

Feature or improvement description
The previous expression for the hydrostatic moment on a circular member endplate can occasionally give inaccurate/incorrect results due to a numerical precision problem caused by dividing a number that is very close to zero. This PR replaces the old expression with an equivalent but more reliable one that completely avoids the possibility of division by zero.

Impacted areas of the software
HydroDyn

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

…n for the hydrostatic moment on (partially wetted) circular endplates
@andrew-platt andrew-platt added this to the v4.1.2 milestone Aug 4, 2025
@andrew-platt andrew-platt self-assigned this Aug 4, 2025
@andrew-platt andrew-platt changed the base branch from dev to rc-4.1.2 August 4, 2025 15:23
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.

Approving after our conversation about the method of derivation (I haven't verified it myself).

@andrew-platt andrew-platt merged commit ec9992f into OpenFAST:rc-4.1.2 Aug 4, 2025
12 checks passed
@andrew-platt andrew-platt mentioned this pull request Aug 5, 2025
37 tasks
@luwang00 luwang00 deleted the b/HD_Hst branch August 11, 2025 18:25
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