Skip to content

Conversation

@KylerF229
Copy link

Tests md_float, md_waterkin2 and md_waterkin3 will fail due to the new submergence calculation.

Feature or improvement description
Submergence calculation change from length wise (h0/RodLength) to average (VOFsum/RodLength) due to some orientations not being consider submerged.

Added more outputs for rods in the input file for additional analysis of data to compare with C version:
Tangential drag forces (Ap)
Axial fluid inertia force (Aq)
Transverse drag forces (Dp)
Tangential drag forces (Dq)

Related issue, if one exists

Impacted areas of the software
MoorDyn
Additional supporting information

Test results, if applicable

image

…Length) to average (VOFsum/RodLength) due to some orientations not being consider submerged. Added more outputs for rods in the input file for additional analysis of data (Dp, Ap …).
@RyanDavies19 RyanDavies19 self-requested a review August 6, 2025 16:47
@RyanDavies19 RyanDavies19 self-assigned this Aug 6, 2025
@andrew-platt
Copy link
Collaborator

This is a re-opening of the #2943 pull request, but with a cleaner history.

IF ( scan( LineOutString, 'd') > 0 ) m%RodList(l)%OutFlagList(15) = 1 ! Segment strain rate
! Extended flags outputs
IF ( scan( LineOutString, 'A') > 0 ) m%RodList(l)%OutFlagList(16) = 1 ! Tangential fluid inertia force (Ap)
IF ( scan( LineOutString, 'a') > 0 ) m%RodList(l)%OutFlagList(17) = 1 ! Axial fluid inertia force (Aq)
Copy link
Contributor

Choose a reason for hiding this comment

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

Change from axial to tangential to stay consistent

IF ( scan( LineOutString, 's') > 0 ) m%RodList(l)%OutFlagList(14) = 1 ! Segment strain
IF ( scan( LineOutString, 'd') > 0 ) m%RodList(l)%OutFlagList(15) = 1 ! Segment strain rate
! Extended flags outputs
IF ( scan( LineOutString, 'A') > 0 ) m%RodList(l)%OutFlagList(16) = 1 ! Tangential fluid inertia force (Ap)
Copy link
Contributor

Choose a reason for hiding this comment

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

Ap is the transverse fluid inertia force, not tangential

Copy link
Contributor

Choose a reason for hiding this comment

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

Resolved by 13b1f2a

IF ( scan( LineOutString, 's') > 0 ) m%RodList(l)%OutFlagList(14) = 1 ! Segment strain
IF ( scan( LineOutString, 'd') > 0 ) m%RodList(l)%OutFlagList(15) = 1 ! Segment strain rate
! Extended flags outputs
IF ( scan( LineOutString, 'A') > 0 ) m%RodList(l)%OutFlagList(16) = 1 ! Tangential fluid inertia force (Ap)
Copy link
Contributor

Choose a reason for hiding this comment

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

Ap is the transverse fluid inertia force, not tangential

Copy link
Contributor

Choose a reason for hiding this comment

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

Resolved by 13b1f2a

END DO
END IF

! Node Axial fluid inertia force
Copy link
Contributor

Choose a reason for hiding this comment

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

Change from axial to tangential in comment

Copy link
Contributor

Choose a reason for hiding this comment

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

Resolved by 13b1f2a

END DO
END IF

! Node Tangential fluid inertia force
Copy link
Contributor

Choose a reason for hiding this comment

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

Change comment to transverse fluid inertial force. The p in Ap indicates the transverse direction

Copy link
Contributor

Choose a reason for hiding this comment

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

Resolved by 13b1f2a

END DO
END IF

! Node Axial fluid inertia force
Copy link
Contributor

Choose a reason for hiding this comment

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

These forces seem to be indented compared to the code above, if so can you remove the extra space to have them align?

Copy link
Contributor

Choose a reason for hiding this comment

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

Resolved by 13b1f2a

Copy link
Contributor

@RyanDavies19 RyanDavies19 left a comment

Choose a reason for hiding this comment

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

Need to update r-test for new submergence output. Do not merge until r-test updates are complete

@RyanDavies19
Copy link
Contributor

r-test pr: OpenFAST/r-test#165

@andrew-platt
Copy link
Collaborator

MD regression tests are failing due to the r-test pointer being out of date. Since that is on @KylerF229's branch, we'll merge this with failing tests, then update the pointer.

@andrew-platt andrew-platt merged commit 31689dd into OpenFAST:dev Aug 11, 2025
10 of 12 checks passed
andrew-platt added a commit that referenced this pull request Aug 11, 2025
@andrew-platt andrew-platt added this to the v4.2.0 milestone Sep 2, 2025
@andrew-platt andrew-platt mentioned this pull request Jan 23, 2026
36 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