Skip to content

Patch the points below seabed errors and #384#387

Merged
sanguinariojoe merged 2 commits into
FloatingArrayDesign:devfrom
core-marine-dev:patches
Jun 9, 2026
Merged

Patch the points below seabed errors and #384#387
sanguinariojoe merged 2 commits into
FloatingArrayDesign:devfrom
core-marine-dev:patches

Conversation

@sanguinariojoe

Copy link
Copy Markdown
Collaborator

Regarding #384, not much else to say, it was just a bug.

Regarding the points below seabed, the rationale was wrong. First, a check on the position set on the config file is already done during the configuration read stage:

https://github.com/FloatingArrayDesign/MoorDyn/blob/master/source/MoorDyn2.cpp#L1154

And that stage just a warning is triggered. On top of that, it might be the case that someone would call MoorDyn_Init() on an already initialized system. However, if the line was slack, then inner points most probably fall slightly below the seabed (as long as the seabed is a spring).

Thus I am just demoting the error to a warning (without throwing an exception)

@sanguinariojoe sanguinariojoe self-assigned this Jun 9, 2026
@sanguinariojoe sanguinariojoe mentioned this pull request Jun 9, 2026
@sanguinariojoe sanguinariojoe merged commit a98c3a7 into FloatingArrayDesign:dev Jun 9, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant