Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ All notable changes to CableXSec are recorded in this file. The format follows

### Added

- Reported rows SV11-SPLIT, SV11-REACH and SV11-EQ88: where the SV11 termination increment
comes from. With the bellmouth curvature imposed uniformly from the end-fitting face the
end-fitting anchor alone moves the SV11-PLANE median from 1.00 to 1.01 and SV11-GJ from 1.24
to 1.27 (registered correction 1.62 and 1.80); with the armour anchored 20 m upstream instead
the corrected ranges do not change. The increment is the anchored chain's response to the
curvature gradients at the bellmouth contact, with the stuck straight inlet as the anchor, on
a curvature field that does not carry the anchoring. At 0.5° and 1° the pipe sticks and the
correction is zero (R 0.45, 0.54), so SV11-PLANE cannot pass through any termination
correction. Eq. 88 confirms Sævik's bellmouth end (1.72 m: 3.90 m and 15.9°; Gjøsteen et al.'s
1.79 m gives 3.79 m and 17.0°). The benchmark page adds the rig, stick and shear-stack
sensitivities (`check_saevik2011.py OUTPUT --sensitivity`): the corrected median moves from
1.62 to 1.25 when the rocker turns about the end-fitting face, the sectional one by 9 %; with
the Yun shear stack cut at the nearest helical layer below (ξ 0.52 → 0.88) the small-angle
sectional ratios reach the band. No registered row, input or default is changed; the SV11
harness beam takes its rig as a `Rig` value (the registered rig by default).

- Validation rows Z-EI and Z-ID (targets registered before the runs): the four-point loops of
Zeidan (2025, PhD thesis, Ch. 5) and Zeidan et al. (2026, IJSS 338, 114089) on a 112 mm
three-core cable (`cables/zeidan2025.yaml`, 75 + 82 armour wires of 3.5 mm, zero tension),
Expand Down
7 changes: 6 additions & 1 deletion VALIDATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ afterwards: a comparison that misses its target is reported as failed.
| **WITZ-ID** | 300-bar loop predicted after identifying the initial pressure at 0 bar | Witz (1996), Figs 5–6 | width 1356 N·m vs 1990–2164; energy −14.2 % | width 1692–2489 N·m; energy ±15 % | **Fail** |
| **SV11-PLANE** | Inner-armour stress ranges at the bending-plane FBG stations, 14 load cases | Sævik (2011), Figs 17–23 | median ratio 1.62 (3 of 14 in band); sectional 1.00 (11 of 14) | median 0.85–1.18 and ≥12 of 14 in 0.70–1.43 | **Fail** |
| **SV11-GJ** | Absolute stress ranges near the termination, load case 14 | Gjøsteen et al. (2027), Figs 27–35 | mean ratio 1.80 (sectional 1.24) | 0.72–1.38 | **Fail** |
| **SV11-SPLIT** | Origin of the termination increment: end-fitting anchor alone (uniform curvature from the face); end fitting removed (anchor 20 m upstream) | Sævik (2011); Gjøsteen et al. (2027) | end fitting alone 1.01 / 1.27 (sectional 1.00 / 1.24); without end fitting unchanged (1.70, 1.80) | stated, not gated | Info |
| **SV11-REACH** | Small-angle slip demand and the cases outside the band whatever the correction does | Sævik (2011) | a_max below 1 at 0.5° and 1°; sectional outside: LC 4, 7, 8 | stated, not gated | Info |
| **AW-DONG25** | Armour wire anchored at both ends of one pitch at uniform curvature: stress at the anchor and peak, code-to-code | Dong et al. (2025), FE, Figs 14 and 25 | anchor 156.4 vs 156.9 MPa (source theory 147.8); peak 207.8 vs 204.5 MPa | stated, not gated | Info |
| **AW-ZT14** | Same at a = 4.92: normalised anchor and peak stress, code-to-code | Zhu and Tan (2014), FE, Figs 4–8 | 1.19 / 1.70 vs 2.22 (the FE far field is not in slip) | stated, not gated | Info |
| **DAI18-DIG** | Digitised friction loops of armour wire on anti-wear tape, Test 1: loop maximum against the printed static coefficient | Dai, Sævik and Ye (2018), Fig. 4a, p. 428 | 0.2237 / 0.2405 / 0.3786 vs 0.22 / 0.24 / 0.38 | within 0.005 + 0.0021 | Pass |
Expand Down Expand Up @@ -103,7 +105,10 @@ quantities are those of the passing rows. In particular:
shown by WITZ-ID and Z-ID.
- The termination-corrected (anchored-wire) armour stress is an upper estimate that the
published near-termination measurements do not support (SV11-PLANE, SV11-GJ); the sectional
result is the one that matches them.
result is the one that matches them. At this rig the end fitting contributes about 1 % of
the correction; the excess comes from the curvature gradients at the bellmouth contact on a
one-way curvature field (SV11-SPLIT), and SV11-PLANE cannot pass through any termination
correction because its small-angle cases stick (SV11-REACH).
- The static/dynamic friction law is compared with measured friction loops of armour wire on
anti-wear tape on one spring-slider, not on a cable section (DAI18 rows): the loops re-stick
at every reversal (`stick_time_s = 0`), the dynamic level is rate independent at 0.01–0.2 Hz,
Expand Down
100 changes: 100 additions & 0 deletions doc/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,106 @@ coordinates (figures only); the curvature distribution along the pipe; the
end-fitting position relative to the bellmouth (taken from the rig lengths);
Sævik and Igland (2002) and Andersen et al. (2001) are not held.

**Where the termination increment comes from (SV11-SPLIT, SV11-REACH,
SV11-EQ88; reported, not gated).** The registered correction anchors the
armour at the end-fitting face and gives each station the beam's peak
curvature profile as the shape of a proportional field. Two variants of the
same solver separate the end fitting from the profile
(`check_saevik2011.split_values`; computed after the registered rows, no
target):

| Variant | SV11-PLANE median R (in band) | SV11-GJ |
| --- | --- | --- |
| sectional (no correction) | 1.00 (11 of 14) | 1.24 |
| registered correction | 1.62 (3 of 14) | 1.80 |
| end-fitting anchor alone: uniform curvature from the face | 1.01 (11 of 14) | 1.27 |
| no end fitting: anchor 20 m upstream of the face, profile unchanged (LC 14) | LC 14 1.70 (registered 1.70) | 1.80 |

- *The end fitting contributes about 1 %.* Even with the bellmouth curvature
imposed uniformly from the face, the anchor 1.7–5.2 m from the stations
moves the median by +0.011 and the GJ ratio by +0.024. With the end
fitting removed from the solved chain the corrected ranges do not change
(largest station change below 1e-12). The SV11 rows therefore do not test
the end-fitting mechanics of the correction at all.
- *The increment is a curvature-gradient effect.* The pipe in the straight
inlet carries at most 5 % of the bellmouth curvature, so its wires stay
stuck and the inlet acts as an anchor at the start of the curved section;
with the inlet curvature set to zero the result is nearly the same (table
below). Across the contact zone the curvature rises from 0.008 to
0.146 1/m within 0.7 m and falls back to 0.008 1/m within the next 0.8 m
(LC 14), against a clamp boundary layer of 1.86 m at the largest slip
demand `a = κ/κ_c ≈ 27`; the anchored-wire law amplifies the peak friction
force by about `1 + 0.54 √a ≈ 3.8` there. Holding the inlet at the
curvature of the start of the curved section (removing the step, not the
contact) leaves the median at 1.61 and lowers GJ only to 1.57 (table
below): the step at the start of the curved section is not the main source;
the gradients across the contact zone are.
- *The beam does not carry it.* The profile is taken from a beam with the
sectional backbone, so the wire forces that the anchored chain builds next
to the inlet never stiffen the pipe there. The consistent two-way solution
(TC-1 to TC-3 above) spreads the bend into the bellmouth and lowers the
along-wire median from 3.09 to 1.18 and GJ from 4.2 to 1.46, still outside
both gates.
- *SV11-PLANE cannot be reached by a termination correction.* At 0.5° and
1° the slip demand of the correction stays at a_max 0.26 and 0.36: the
pipe sticks, the correction is zero and R = 0.45 and 0.54, outside
[0.70, 1.43] whatever the correction does. Twelve of 14 then requires every
other case in the band, including LC 4 (250 kN, 17 MPa), whose sectional
ratio is already 2.17 (corrected 3.59). Passing needs the small-angle
(stick) curvature and the low-pressure cases fixed first; both are
section and beam questions, not termination ones.
- *Rig and stick sensitivities* (`check_saevik2011.py OUTPUT --sensitivity`,
none registered):

| Variant | median R corrected (in band) | sectional (in band) | GJ corrected / sectional |
| --- | --- | --- | --- |
| registered | 1.62 (3) | 1.00 (11) | 1.80 / 1.24 |
| gap 10 mm | 1.62 (2) | 0.96 (10) | 1.70 / 1.24 |
| bellmouth end 1.79 m | 1.62 (3) | 1.00 (11) | 1.80 / 1.24 |
| rotation at the end-fitting face | 1.25 (6) | 1.09 (11) | 1.50 / 1.26 |
| inlet curvature zero | 1.61 (3) | 1.00 (11) | 1.86 / 1.24 |
| inlet held at the curved-start curvature | 1.61 (3) | 1.00 (11) | 1.57 / 1.24 |
| rigid stick in the correction | 2.30 (2) | 1.00 (11) | 2.24 / 1.24 |
| shear stack to the nearest helix | 2.17 (3) | 1.19 (12) | 2.07 / 1.27 |

The correction is fragile: turning the rocker about the end-fitting face
instead of the start of the curved section (15 % longer lever arm) moves
LC 14 from 1.70 to 1.17, while the sectional result changes by a
few per cent. The rigid stick raises it, as in T2. With the shear stack of
the Yun coefficient cut at the nearest helical layer below (the 8.7 mm
pressure sheath lies under the steel pressure armour and is the larger part
of the compliance in the packaged section: ξ 0.52 → 0.88), the small-angle
ratios become 0.79, 0.86 and 1.21 (0.5°, 1°, 1.5°) and the sectional
SV11-PLANE reads median 1.19 with 12 of 14 in band (the gate's median bound
is 1.18), while the corrected median rises to 2.17 because the stiffer stick
raises the slip demand. The stick-regime deficit is therefore mostly the
assumed shear compliance of the section, not the rig. This is a sensitivity of an
unreported section property (the tape and sheath assumptions A5–A6 of
`saevik2011.yaml`), not a registered input, and changes no row.
- *Mesh and solver tolerance* (`check_saevik2011.profile_convergence`). The
beam solves to a projected gradient of 1e-9 relative to the initial one. At
20 mm, solving to 1e-13 instead changes the station curvatures by at most
0.5 % (LC 7, 14 and 18), and halving the mesh at 1e-13 by at most
1.0 %. The 5 % (11 % at one station) quoted above was measured with the
1e-9 tolerance on both meshes; on the finer mesh that tolerance stops short
of convergence (`EI/h⁴` inflates the initial gradient), so most of it is
the solve, not the mesh.
- *The rig as published.* Eq. 88 at Sævik's end, 1.72 m, gives 3.90 m and
15.9°, both printed values; at Gjøsteen et al.'s 1.79 m it gives 3.79 m and
17.0° (SV11-EQ88), so 1.72 m is kept; the radius of 3.9 m is reached at
1.722 m. Gjøsteen et al.'s 10 mm gap is their model's value "according to
Lukassen", Sævik's 5 mm is the test description; the harness keeps 5 mm.
Sævik's 14.5 m specimen and Gjøsteen et al.'s 16.55 m sample are
compatible if the 14.5 m counts the bare fittings (12.18 m of pipe plus
about 1.16 m each) and the 16.55 m the full rigid arrangements. Sævik's
Fig. 15, scaled with the station abscissae of Figs 17–23 (about 0.56 px per
mm on a 600 dpi render), draws the straight inlet back to about 2.35 m
before the curved section, consistent with the assumed end-fitting face at
2.305 m. LC 14 is a 15° range in Sævik's Table 2 and ±8° in Gjøsteen et
al.; the two papers' measured ranges at the same stations imply static
stresses of 238–341 MPa (above), a ±18 % inconsistency between the two
plots of one test.

## Measured wire-on-tape friction loops (DAI18-DIG, DAI18-RS, DAI18-T1, DAI18-T3)

Source: Dai, Sævik and Ye, "An anisotropic friction model in non-bonded
Expand Down
17 changes: 11 additions & 6 deletions src/cablexsec/analysis/termination.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@
"the anchored-wire Coulomb correction (TerminationSpec anchor='clamped', "
"clamp or along_wire solver) is an upper estimate that is not supported "
"by the only published near-termination measurements (Saevik 2011 / "
"Gjosteen 2027 bellmouth FBG ranges: corrected ranges 1.65-3.4 times "
"measured, sectional 1.03 times; doc/benchmarks.md SV11 and T2). Report "
"it as a sensitivity bound beside the sectional result."
"Gjosteen 2027 bellmouth FBG ranges: corrected ranges 1.6-3.4 times "
"measured, sectional 1.0 times; the excess there comes from the bellmouth "
"curvature profile, not from the end-fitting anchor; doc/benchmarks.md "
"SV11 and T2). Report it as a sensitivity bound beside the sectional result."
)


Expand Down Expand Up @@ -262,9 +263,13 @@ class TerminationSpec:
With ``anchor="clamped"`` the anchored-wire Coulomb correction, with
either solver, is an upper estimate. It is not supported by the only
published near-termination measurements: on the bellmouth FBG ranges of
Saevik (2011) and Gjosteen et al. (2027) the corrected ranges are 1.65-3.4
times the measured ones, the sectional ranges 1.03 times
(doc/benchmarks.md, SV11 and T2). :func:`compute_fatigue` therefore
Saevik (2011) and Gjosteen et al. (2027) the corrected ranges are 1.6-3.4
times the measured ones, the sectional ranges 1.0 times
(doc/benchmarks.md, SV11 and T2). There the end fitting lies 2.3 m before
the curved bellmouth and adds about 1 %; the excess comes from the steep
curvature gradients at the ends of the bellmouth contact (the uncurved,
stuck inlet acts as the anchor) on a beam curvature that does not carry
the anchoring (row SV11-SPLIT). :func:`compute_fatigue` therefore
issues :class:`~cablexsec.provenance.UnvalidatedModelWarning` for it;
``anchor="none"`` does not warn.
"""
Expand Down
136 changes: 136 additions & 0 deletions tests/test_saevik2011_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@

import math
from collections import defaultdict
from dataclasses import replace

import check_saevik2011 as sv
import numpy as np
import pytest
import run_validation

Expand Down Expand Up @@ -134,3 +136,137 @@ def test_registered_targets_and_results_are_pinned(rows):
# Former symmetric cap: 1.90 (sectional 1.32).
assert gj.value == "1.80 (sectional 1.24); static stress 271 MPa"
assert gj.status == "FAIL"


def test_rig_defaults_are_the_registered_rig():
rig = sv.sv11_rig()
assert (rig.x_anchor_m, rig.free_length_m, rig.rigid_right_m) == (
sv.X_ANCHOR_M,
sv.FREE_LENGTH_M,
sv.RIGID_RIGHT_M,
)
assert (rig.gap_m, rig.bell_end_m, rig.kappa_b0, rig.kappa_b1) == (
sv.GAP_M,
sv.BELL_END_M,
sv.KAPPA_B0,
sv.KAPPA_B1,
)
assert rig.inlet_bounded and rig.x_rotation_m == 0.0
moment, _ei_max, ei_min = sv.backbone(sv.load_cases()[0], sv.MU_DECLARED)
default = sv.Beam(moment, ei_min, 500e3)
explicit = sv.Beam(moment, ei_min, 500e3, rig=rig)
assert (default.lower == explicit.lower).all()
assert (default.upper == explicit.upper).all()
a = default.solve(math.radians(2.0))[1]
b = explicit.solve(math.radians(2.0))[1]
assert (a == b).all()


def test_rotation_point_only_changes_the_lever_arm():
# Turning the rocker about the clamp instead of x = 0 moves the far pin
# by the lever-arm ratio, nothing else.
moment, _ei_max, ei_min = sv.backbone(sv.load_cases()[0], sv.MU_DECLARED)
rig = sv.sv11_rig()
turned = sv.Beam(
moment, ei_min, 500e3, rig=replace(rig, x_rotation_m=rig.x_anchor_m)
)
w = turned.solve(math.radians(1.0))[0]
lever = turned.x[-1] - rig.x_anchor_m
assert w[-1] == pytest.approx(-lever * math.sin(math.radians(1.0)), rel=1e-15)


def test_eq88_consistency_favours_the_1p72_m_end():
eq = sv.eq88_consistency()
# Saevik (2011): 3.9 m at s = 1.72 m and a 16 deg slope; Gjosteen et al.
# (2027) the same radius at 1.79 m.
assert eq["1.72"]["radius_m"] == pytest.approx(3.90, abs=0.005)
assert eq["1.72"]["slope_deg"] == pytest.approx(15.9, abs=0.05)
assert eq["1.79"]["radius_m"] == pytest.approx(3.79, abs=0.005)
assert eq["1.79"]["slope_deg"] == pytest.approx(17.0, abs=0.05)
assert eq["radius_3.9"]["s_m"] == pytest.approx(1.722, abs=5e-4)


@needs_numba
def test_split_rows_are_pinned():
rows = {r.ident: r for r in run_validation._saevik_split_rows()}
split = rows["SV11-SPLIT"]
assert split.target == "stated, not gated"
assert split.value == (
"(a) median R 1.01 (11 of 14 in band), GJ 1.27; (b) LC 14 R 1.70, GJ "
"1.80, largest change against the registered correction below 1e-12; "
"registered 1.62 and 1.80, sectional 1.00 and 1.24"
)
reach = rows["SV11-REACH"]
assert reach.value == (
"a_max 0.26 and 0.36; R corrected 0.45 and 0.54 (sectional 0.45 and "
"0.54); sectional outside the band: LC 4 2.17, LC 7 0.45, LC 8 0.54"
)
eq = rows["SV11-EQ88"]
assert eq.value == (
"1.72 m: 3.90 m, 15.9 deg; 1.79 m: 3.79 m, 17.0 deg; 3.9 m at s = 1.722 m"
)
assert {r.status for r in rows.values()} == {"INFO"}


def test_free_inlet_needs_a_node_at_the_entrance():
moment, _ei_max, ei_min = sv.backbone(sv.load_cases()[0], sv.MU_DECLARED)
rig = replace(sv.sv11_rig(), inlet_bounded=False) # x_anchor -2.305 m
with pytest.raises(ValueError, match="no node at the bellmouth entrance"):
sv.Beam(moment, ei_min, 500e3, rig=rig)
on_grid = replace(rig, x_anchor_m=-2.3)
beam = sv.Beam(moment, ei_min, 500e3, rig=on_grid)
inlet = beam.x < -1e-9
assert np.isinf(beam.upper[inlet]).all()


def test_rig_anchor_sets_the_termination_coordinates():
# A rig with another end-fitting position moves the profile coordinates
# and the station distances together (the anchor is at the rig's face).
case = next(c for c in sv.load_cases() if c.lc == 14)
rig = replace(sv.sv11_rig(), x_anchor_m=-3.0, free_length_m=12.875)
res = sv.predict_case(case, sv.MU_DECLARED, only=("2.1",), rig=rig)
term = res["stations"]["2.1"]["termination"]
assert term["termination_applied"] == 1.0
assert term["axial_p"] > 0.0


def test_setting_changes_clear_the_split_cache(monkeypatch):
# split_values is cached by mu only: changing the tendon definition or the
# anchor stiffness must drop it together with gate_values.
cleared = []

class Spy:
def __init__(self, name):
self.name = name

def cache_clear(self):
cleared.append(self.name)

monkeypatch.setattr(sv, "gate_values", Spy("gate"))
monkeypatch.setattr(sv, "split_values", Spy("split"))
monkeypatch.setattr(sv, "cable", Spy("cable"))
monkeypatch.setattr(sv, "TENDONS", sv.TENDONS)
monkeypatch.setattr(sv, "K_ANCHOR_N_M", sv.K_ANCHOR_N_M)
sv.use_anchor(None)
assert cleared == ["gate", "split"]
cleared.clear()
sv.use_tendons("round")
assert cleared == ["cable", "gate", "split"]


def test_held_inlet_keeps_the_contact_zone_curvature():
# A station in the held inlet takes the held curvature as its history, so
# the normalised shape reproduces the beam's contact-zone curvature.
case = next(c for c in sv.load_cases() if c.lc == 14)
held = sv.predict_case(
case, sv.MU_DECLARED, only=("1.1", "2.1"), variant=sv.TermVariant(inlet="hold")
)
moment, _ei_max, ei_min = sv.backbone(case, sv.MU_DECLARED)
beam = sv.Beam(moment, ei_min, case.tension_N)
_w, k = beam.peak_profile(case.angle_range_deg / 2)
st = held["stations"]
assert st["1.1"]["kappa_peak_termination"] == pytest.approx(
np.interp(0.0, beam.x, k), rel=1e-12
)
assert st["1.1"]["kappa_peak_termination"] != st["1.1"]["kappa_peak"]
assert st["2.1"]["kappa_peak_termination"] == st["2.1"]["kappa_peak"]
Loading
Loading