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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ All notable changes to CableXSec are recorded in this file. The format follows

### Fixed

- The provenance of `compute_coiling` lists CH-CR as its only gate. It also named CH-EI, CH-P
and CH-D, rows that were removed before 0.1.0 and no longer exist in the validation report.
- `read_cabledyn_sections` reads a section placed on a deck node from that node's channels
alone: `CurvX`/`CurvY` on the components route, and `Ten`, `Twist` and `Torq` on every route.
Before, every section needed the channels of both nodes of its element, so a station written
Expand Down
2 changes: 1 addition & 1 deletion src/cablexsec/analysis/coiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"[LiVaz2021b]",
"[DNVGL-RP-0360]",
),
gates=("CH-EI", "CH-P", "CH-D", "CH-CR"),
gates=("CH-CR",),
limitations=(
"uniform curvature and twist; no transition into the coil, no tank-floor "
"or coil-on-coil contact, no weight of the coils above",
Expand Down
12 changes: 11 additions & 1 deletion tests/test_core_friction.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,17 @@ def test_coupling_and_provenance(cable):
plain = xsec_stiffness(cable, 0.002, tension_N=T)
cored = xsec_stiffness(cable, 0.002, tension_N=T, core_friction=SPEC)
assert cored.EI_max_Nm2 > plain.EI_max_Nm2
assert cored.EI_tangent_Nm2 >= plain.EI_tangent_Nm2
# At 0.002 1/m the section is in full slip with and without the cores:
# both tangents are EI_min, to round-off. They differ by 39 ulps
# (6.5e-15 relative), with a sign that changes with the NumPy build
# (+39 with 2.4.6, -39 with 2.5.4); the largest distance of a tangent
# from EI_min is 54 ulps (cored, 2.4.6). "The cores do not lower the
# tangent" therefore holds to round-off, not bit for bit: 128 ulps of
# EI_min (2.8e-14 relative).
noise = 128 * np.spacing(plain.EI_min_Nm2)
assert abs(plain.EI_tangent_Nm2 - plain.EI_min_Nm2) <= noise
assert abs(cored.EI_tangent_Nm2 - cored.EI_min_Nm2) <= noise
assert cored.EI_tangent_Nm2 >= plain.EI_tangent_Nm2 - noise
res = cx.compute_mkappa(cable, _loop(0.1), tension_N=T, core_friction=SPEC)
assert "laid-core stick-slip" in res.provenance.method
assert "[KarlsenHusoy2026]" in res.provenance.citations
Expand Down
Loading