Skip to content

feat: elastic anchor of an anchored armour wire (end-fitting compliance) - #6

Merged
SMI-Lab-Inha merged 1 commit into
devfrom
feat/anchor-compliance
Nov 16, 2026
Merged

SMI-Lab-Inha merged 1 commit into
devfrom
feat/anchor-compliance

Conversation

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner

Summary

Every anchored-wire route had a rigid anchor ($u = 0$) at the end-fitting face. A potted end fitting instead holds the wire end with a finite stiffness. This PR adds an elastic anchor: a spring $K$ per wire at the anchor node, in parallel with the friction on that node's half segment.

  • Default: the rigid anchor stays the default and runs the unchanged code path, bit for bit.
  • Not fitted: no stiffness is tuned to any data set.
  • SV11 result: across the whole range, from a rigid anchor to a free wire end, the SV11 rows do not move. At that rig, anchor compliance does not explain the termination over-prediction (see below).

Parameter

  • $K$ [N/m]: the axial force on the wire end per unit axial displacement of the wire end.
    • None/inf: rigid (the present path);
    • 0: free wire end.
  • Normalised: $k_a = K R/(EA\sin\alpha)$ ($\xi EA$ in the scaled convention). The anchor is as compliant as a length $EA/K$ of free wire.
  • Typical values: a shear-lag estimate for a potted fitting is derived in the local analysis guide (Section 5, Step 6). For a 5 × 12.5 mm tendon it gives about 1e8–2e9 N/m, i.e. $EA/K$ ≈ 0.007–0.16 m. It is stated as an order-of-magnitude estimate, not a value from a source.

Routes

Route API
One-way termination correction (clamp and along-wire solvers, with or without a curvature field) TerminationSpec(k_anchor_N_m=...)
Along-wire chain along_wire_history(anchor_stiffness_N_m=(K0, K1)), WireChain.build, WireChainLayer.anchor_stiffness_hat
Two-way along-wire bending test (with Jacobian and stored energy) AlongWireSpec(k_anchor_N_m=(KL, KR))
Clamp-layer solver normalised anchor_stiffness of anchored_wire_response, anchored_wire_field_response

Kernel changes:

  • The rigid projection _project is byte-identical.
  • The node-wise projection with free-end walls moved from along_wire.py to clamp_layer.py. It gained an elastic first and last node, still solved exactly, and the clamp solver's spring and free paths use it.
  • Reusing the uniform-bound projection instead missed the free-end limit by 4e-2.

Not carried, still rigid (stated in the glossary):

  • the test-rig clamp simulate_rig_test;
  • anchored_wire_node_dissipation of the frictional-heating route.

Records: the sea-state batch's TerminationSpec record carries the new key. Records without it load as a rigid anchor (tested).

Verification (tests/test_anchor_compliance.py, 36 tests; benchmark rows TA-V1 to TA-V7)

Closed form. A wire under a uniform imposed strain $A$ slips over a length $L$ next to the anchor:

$$ \tfrac{1}{2} k_a \rho L^2 + \rho,(1 + k_a/\beta),L + k_a\rho/\beta^2 + \rho/\beta = A. $$

  • Anchor force: $A - \rho/\beta - \rho L$.
  • Dissipation: $\rho^2\left(L^2/(2\beta) + L^3/6\right)$.
  • Without slip: the anchor force is $k_a A/(k_a + \beta)$.
ID Check Result
TA-V1 Closed form, $A = 3$, $k_a$ = 10, 1, 0.1, 0; clamp solver and chain (rigid stick and $\beta = 2$) force ≤ 1e-5 $A$; slip length within 1.2 $h$; dissipation 5e-4 (clamp), 4e-5 (chain)
TA-V2 Clamp solver vs chain, same spring anchor, cyclic curvature force 5e-15, dissipation 4e-16
TA-V3 Rigid limit in every route; free end; termination increment from 0 to 1e6 rigid limit bit-identical; free end bit-identical (chain) and 4e-15 (clamp); increment monotone, 3.7e-7 from rigid at 1e6, falling as $1/k_a$
TA-V4 Energy identity $W = \Delta U + D + R$ with elastic anchors 2e-13 of the work
TA-V5 Station Jacobian with two elastic anchors vs finite differences (stick) < 1e-7
TA-V6 Two-way bending test: $k_a = 0$ vs free ends; closed-cycle work bit-identical; 0.89 %
TA-V7 Spring-end projections vs a generic QP < 1e-5

Sævik (2011) sensitivity (reported, not gated)

These are the SV11-PLANE and SV11-GJ termination-corrected rows and the along-wire variant of gap T2, re-run with $K$ at both end fittings (validation/scripts/check_saevik2011_anchor.py, about 20 min on one thread).

$K$ per tendon [N/m] $EA/K$ [m] SV11-PLANE median R (in band) SV11-GJ T2-SV-PLANE T2-SV-GJ
rigid (registered) 0 1.62 (3 of 14) 1.80 3.11 (2 of 14) 4.19
2e9 – 1e8 0.0065 – 0.13 1.62 (3) 1.80 3.11 (2) 4.19
1e7 – 1e6 1.3 – 13 1.62 (3) 1.80 3.11 (2) 4.19
0 (free end) ∞ 1.62 (3) 1.80 3.11 (2) 4.19

Size of the changes. The largest change in any per-case ratio is 3e-15 for the termination correction and 4.5e-4 for the along-wire chain.

Why nothing moves. The end-fitting face lies 2.305 m before the curved section, inside the straight tube. The curvature there is about 1 % of the bellmouth peak (LC 14: 2e-4 against 0.025 1/m), so the wire next to the anchor stays in stick.

  • The rigid anchor in the chain carries 79 MPa of range, against 875 MPa at station 2.1.
  • The slip zones that drive the corrected ranges start in the bellmouth, where a stuck stretch of wire already holds them the way an anchor would.
  • At this rig, the over-prediction is therefore a curvature-gradient effect, and the SV11 and T2 decisions stand.

Where it does matter. On a Ménard layer with curvature at the anchor, the corrected range drops 13 % at $k_a = 1$ and 1 % at $k_a = 10$. A potted fitting ($k_a \approx 20$) changes it by under 1 %.

T2 values. The along-wire values here are a re-run with the signed capstan bound (#2). The T2 table's 3.36 and 4.62 used the former symmetric bound and have no script on record; the benchmark text says so.

Checks

Gate Result
Full suite, CI's Python 3.12 wheels 4197 passed, 1 skipped
Full suite, CABLEXSEC_DISABLE_NUMBA=1 4093 passed, 105 skipped
Touched files, Python 3.11 wheels, numba on / off 169 passed / 119 passed, 50 skipped
ruff check, ruff format --check (CI trees) clean
mypy the same 38 errors as dev
Coverage 97.20 %
Validation report taxonomy lines only; no registered row changed

Other changes:

  • Existing tests: two tests (test_clamp_layer.py, test_clamp_progressive_inputs.py) call the private kernels directly and now pass the new compliance=0.0 argument.
  • Docs: the local analysis guide (Step 6, Section 6.3), the API docstrings, the glossary, file_formats.md, benchmarks.md (TA section) and the CHANGELOG.

Every route that anchors a wire held it rigidly (u = 0 at the anchor). A
potted end fitting holds the wire end with a finite stiffness, so the
anchor can now be a spring K per wire [N/m] at the anchor node, in parallel
with the friction of the node's half segment:

- termination correction: TerminationSpec(k_anchor_N_m=K), clamp and
  along-wire solvers, with or without a curvature field (the far-field
  reference is unchanged);
- along-wire chain: along_wire_history(anchor_stiffness_N_m=(K0, K1)),
  WireChain.build, WireChainLayer.anchor_stiffness_hat;
- along-wire bending test (beam solved with the wires):
  AlongWireSpec(k_anchor_N_m=(K_left, K_right));
- clamp-layer solver: anchored_wire_response / anchored_wire_field_response
  (anchor_stiffness, normalised K R / (EA sin a)).

None (default) or inf is the rigid anchor on the unchanged code path; 0 is
a free wire end. The rigid projection of the clamp layer is untouched; the
spring and free ends use the node-wise projection of the along-wire solver,
moved to clamp_layer and extended with an elastic first and last node (a
convex soft term, still solved exactly).

Closed form (uniform imposed strain, spring anchor, slip zone next to the
anchor, rigid and elastic stick): anchor force within 1e-5 A, slip length
within 1.2 h, dissipation within 5e-4. Clamp solver and chain agree to
5e-15; k = 0 equals the free end; the termination increment tends to the
rigid one as 1/k; energy identity 2e-13 of the work; station Jacobian and
two-way closed-cycle work checked (doc/benchmarks.md, TA-V1 to TA-V7).

The guide derives a shear-lag estimate of K for a potted fitting (about
1e8 to 2e9 N/m per tendon, an order-of-magnitude estimate). The Saevik
(2011) termination rows are re-run over the range as a reported sensitivity
(validation/scripts/check_saevik2011_anchor.py): from the rigid anchor to
a free wire end SV11-PLANE stays at median 1.62 and SV11-GJ at 1.80
(round-off), the along-wire variant at 3.11 and 4.19 (below 5e-4). The
end fitting sits 2.3 m before the bellmouth at about 1% of its peak
curvature, so the wire next to it stays in stick and the anchor does not
reach the stations. No gate, default or registered value changes.
Sea-state batch section records carry the key;
records without it load with a rigid anchor.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T02:07:53.190639Z 318734b Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 CableXSec | 🛠️ Build #35915141 | 📁 Comparing 318734b against latest (240bf9c)

  🔍 Preview build  

16 files changed · ± 16 modified

± Modified

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 318734bfad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@SMI-Lab-Inha
SMI-Lab-Inha merged commit efef92a into dev Nov 16, 2026
12 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the feat/anchor-compliance branch November 16, 2026 02:32
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