Repository navigation
fix: one slow strain at a Syrope rope's running maximum - #191
Merged
Merged
Conversation
The Syrope kernel recovered the mean tension on the OWC by interpolating the slow strains of the table rows, while the working curve's top sample used the exact fast-spring strain at the running maximum. Between the two (up to 9e-7 of strain on the shipped 30-row table) the recovered tension did not change, so every slow strain of that band was a rest point of a rope at its running maximum. A static start took the one its rounding chose: two starts of the composite example whose tensions agreed to 1e-10 put all elements at one edge of the band, or half of them at each, and the runs differed by 3.8e-5 to 2.3e-4 of the channel maxima, more at finer time steps. The OWC recovery is now the exact inverse of eps_owc(T) - eps_fast(T) (Newton from the row's upper end, monotone because the residual is convex in T), and the working curve's top sample is the divider to the bit. Two starts then agree to 4e-8 at every step size, and the result no longer depends on the spacing of the OWC rows. The former program converges to it as its table is refined: 1.4e-4, 5.2e-6, 9.5e-7 and 9.5e-8 at 1, 4, 16 and 64 times the rows. On the OWC the recovery differs from MoorDyn's, which interpolates the rows; on the working curve and for a length change at rest the kernel keeps MoorDyn's tension. The inverse needs the slow strain to rise along the whole row. The check at init compared the row ends only, so a row steeper than the fast spring at its start now stops with a named error. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Owner
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A Syrope rope at its running maximum had a band of slow strains, up to 9e-7 wide on the shipped 30-row table, over which its recovered mean tension did not change. Every slow strain of the band was a rest point, so a static start took the one its rounding chose. Two starts of
composite_chain_syrope_chainwhose tensions agreed to 1e-10 put all 40 elements at one edge of the band, or 20 at each edge, and the runs differed by 3.8e-5 to 2.3e-4 of the channel maxima, more at finer time steps.Cause
On the OWC the kernel recovered the mean tension by interpolating the slow strains of the table rows. The top sample of the working curve used the exact fast-spring strain at
Tmax. The two differ by the fast spring's curvature over a row.Implementation
owc_tension_at_slowis the exact inverse ofeps_owc(T) - eps_fast(T). The residual of a row is convex inTand its chord rises, so Newton from the row's upper end falls monotonically to the root.CD_Syrope_Branch_Divideris the exact slow strain atTmax, and the working curve's top sample is the divider to the bit.owc_tension_slope).case_fail_closed).Effect on results
syrope_polyester_mooringis unchanged.syrope_hydrocomparison with MoorDyn-C is unchanged to the printed digits.Evidence
The former program converges to the new one as its table is refined, and the new one does not change:
Two starts now agree to 4e-8 at every step size (0.05, 0.025 and 0.0125 s).
Checks
case_branches_join(syrope): at 200 running maxima the branches meet at one slow strain, the OWC returnsTmaxthere to 8e-16, the tension changes on both sides, and eight times the rows differ by 9e-16.syropeOWC references are recomputed by bisection in Python. Thesyrope_controloracle inverts the OWC by bisection.