Skip to content

fix: the normal wire curvature follows the wire's axial slip state - #58

Merged
SMI-Lab-Inha merged 1 commit into
devfrom
fix/normal-term-slip-state
Nov 21, 2026
Merged

SMI-Lab-Inha merged 1 commit into
devfrom
fix/normal-term-slip-state

Conversation

@SMI-Lab-Inha

@SMI-Lab-Inha SMI-Lab-Inha commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

The normal (out-of-surface, weak-axis) local bending of a helical wire now follows the wire's axial slip state. This is a correctness fix and the new default; it changes results (documented in the CHANGELOG under Unreleased).

Before, every recovery used $\cos^2\alpha\cos 2\alpha$ per unit projected curvature in every slip state. That is the curve curvature of the deformed helix (Out and von Morgen 1997, Eq. 41; Leroy and Estrier 2001, Eq. 13 without transverse slip), i.e. the value of a wire that carries no friction stress. A stuck wire was therefore low by $\cos^4\alpha/(\cos^2\alpha\cos 2\alpha) - 1$:

Lay angle Stuck ($\xi = 1$) / old Under-prediction of the stuck weak-axis bending stress
10° 0.9406 / 0.9114 3.2 %
20.1° 0.7777 / 0.6736 15.5 %
35° 0.4503 / 0.2295 96 %

The lateral (in-surface) term $\cos\alpha(1+\sin^2\alpha)$ is not changed.

Formulation

The bending strain of a wire is set by the rotation of its cross-section per unit material length, i.e. the curve curvature times the stretch $1 + \varepsilon_w$. The helix starts with the normal curvature $\sin^2\alpha / r$, so to first order

$$\Delta\kappa_n = \cos^2\alpha\cos 2\alpha, p_n + \frac{\sin^2\alpha}{r},\frac{\sigma_f}{E}, \qquad p_n = \kappa_x\cos\varphi + \kappa_y\sin\varphi,$$

with $\sigma_f$ the bending-induced axial (friction) stress the wire carries, including any termination clamp increment. Equivalently $\Delta\kappa_n = \cos^4\alpha,p_n + (\sin^2\alpha/r),\Delta\varepsilon_{\text{slip}}$ with $\Delta\varepsilon_{\text{slip}}$ the axial strain minus the plane-section strain. On the outer face the term is $(t/2)(\sin^2\alpha/r),\sigma_f$, independent of $E$.

State $\Delta\kappa_n / p_n$
Stuck, plane-section strain ($\xi = 1$) $\cos^4\alpha$
Stuck with the shear-lag coefficient $\xi$ ($k_f = \xi E\cos^2\alpha$) $\cos^2\alpha\cos 2\alpha + \xi\sin^2\alpha\cos^2\alpha$
No friction stress ($\mu = 0$) $\cos^2\alpha\cos 2\alpha$ (Ménard Eq. 14)
Coulomb slip slope $\cos^2\alpha\cos 2\alpha$, offset of the carried friction stress

The stick and slip normal terms were checked against an independent finite-element model of a wire on a bent support (not published).

Where it enters

New helper cablexsec.mechanics.wire_stress.slip_state_normal_curvature. local_bending_fibre_stress, local_bending_stress and local_bending_amplitude take friction_stress_Pa and r_helix_m as keywords; without them they return the slip-free value, unchanged. Every recovery found by search now passes the slip state:

Path Change
Fatigue field (wire_stress_field, _wire_stress_series) radial_Pa gains the term of the friction stress (with the termination increment); direction-tied, distributed and progressive laws; compiled kernel (fast_field) and NumPy path, same arithmetic (bit-equal where checked, tested to 1e-12 of scale)
compute_stress σ_B, the round-wire perimeter amplitude, the rectangular corner
Capacity (wire-yield usage) _local_bending_max with the slip-front friction stress; the root bracket keeps the frictionless value
compute_kinematics helix field station bending with its friction stress
Rig test gauges outer-face local bending with the friction strain of each run
Laid cores normal gradient of core_kinematics (cos⁴β stuck, cos²β cos2β free, frictional from $\sigma_c/E$); component states, resolved core rings, core_component_utilisation; tapes and core screens follow through the gradient
Tapes frictional state: flat-wise bending gains $(t/2)(\sin^2\beta/\rho),\sigma/E$ per fibre line (stuck bonded field and free state unchanged)
Conductor strand slip StrandSlipParameters.slip_state_factor (default 1); conductor_ring_parameters(fibre="outer") sets $1 + (d/2)\sin^2\alpha/R$, so the outer-fibre stick slope is $R\cos^2\alpha + (d/2)\cos^4\alpha$, the slip slope stays $(d/2)\cos^2\alpha\cos 2\alpha$, and the friction amplitude (and every quantity derived from it, e.g. the conductor onset curvature) is unchanged

Not changed: the section stiffness (individual wire bending keeps the slip value, which is exact for the full-slip $EI_{min}$; the stick-state share is negligible in $EI_{max}$) and the lateral term. The tendon_bending docstring now states that its normal coefficient is that of a slipping tendon.

Tests (analytical limits only)

tests/test_normal_term_slip_state.py (38 tests, analytical_sanity), at 10°, 20.1° and 35°:

  • stuck wire, $\xi = 1$: $\cos^4\alpha$ to 1e-12 (compiled and NumPy);
  • stuck with $\xi$ = 0.35, 0.8: $\cos^2\alpha\cos 2\alpha + \xi\sin^2\alpha\cos^2\alpha$ to 1e-12;
  • $\mu = 0$: Eq. 14 for all three friction laws, biaxial history;
  • partial slip (cyclic, biaxial, three laws, both paths): field − Eq. 14 = $(d/2)(\sin^2\alpha/r)\sigma_f$ to 1e-12 of scale, also with a termination increment;
  • stick steps take the slope $\cos^2\alpha\cos 2\alpha + \xi\sin^2\alpha\cos^2\alpha$, slip steps $\cos^2\alpha\cos 2\alpha$ (no transition on a sample);
  • lateral term unchanged; compiled assembly vs NumPy with friction, increment and a modulus history;
  • compute_stress, capacity (round and rectangular), laid-core gradient per state, strand-slip outer fibre (stick and slip branches of the operator).

Registered as section NT in doc/benchmarks.md.

Impact

Validation report. Only one row changes:

Row Before After Status
σ_B "vs Ménard Eq. 14 at φ = 0": 0.00e+00 % μ = 0 vs Eq. 14: 0.00e+00 %; stuck vs $\cos^2\alpha\cos 2\alpha + \xi\sin^2\alpha\cos^2\alpha$: 0.00e+00 %; slipping vs Eq. 14 + $(\sin^2\alpha/r)\sigma_f/E$: 0.00e+00 % PASS → PASS, target < 1e-6 % unchanged

Why: the old row compared the shipped σ_B with pure Eq. 14 at the φ = 0 wire, which slips at κ = 0.03 1/m and now carries $(d/2)(\sin^2\alpha/r)\sigma_f$ more. The row is redefined to the three states; Eq. 14 remains the reference of the frictionless state. Every other row is unchanged to every printed digit (moments, friction stresses and the mean and lateral fields that SV11 uses are not affected). Taxonomy (on top of #57, rebased on 4248862): analytical_sanity 1278 → 1316 (the 38 new tests); independent_method 92 and full_scale 59 unchanged (pytest --collect-only -q before and after).

66 kV template, record of doc/template_66kv.md Section 4 (2000 s at 0.1 s; $\kappa_x = 0.004\sin(2\pi t/10)$ + noise 4e-4 1/m, $\kappa_y = 0.002\sin(2\pi t/13 + 0.4)$, $T = 50 \pm 5$ kN), largest wire damage:

Friction / contact model Inner armour Outer armour
direction_tied / bounded 2.0736e-9 → 2.0784e-9 (+0.23 %) 4.8847e-10 → 4.8871e-10 (+0.05 %)
direction_tied / solved 2.2490e-9 → 2.2544e-9 (+0.24 %) 4.9787e-10 → 4.9812e-10 (+0.05 %)
distributed / bounded 2.8773e-9 → 2.8848e-9 (+0.26 %) 5.5235e-10 → 5.5268e-10 (+0.06 %)
distributed / solved 3.1371e-9 → 3.1454e-9 (+0.27 %) 5.6490e-10 → 5.6524e-10 (+0.06 %)

Same governing wire and fibre. The effect is small here because the wires slip in most of each cycle, where the term is $(t/2)\sin^2\alpha/r \approx 10^{-3}$ of the friction stress. A note is added to the template page; the table there keeps its record values.

Regenerated doc outputs (tests compare them with the scripts):

Output Before After
Tutorial 3, inner armour largest damage 1.383e-08 (1.3829e-08) 1.382e-08 (1.3816e-08), −0.09 %: the governing fibre is the inner face, where the term has the opposite sign
Tutorial 4, contact-fibre damage per year 9.597; 2.169 9.687; 2.149
How-to 4, inner armour peak stress 152.2 MPa 152.7 MPa
How-to 6, damage in 600 s (inner / outer) 5.619e-05 / 2.468e-06 5.749e-05 / 2.509e-06

Existing tests whose reference changed (the closed form now includes the slip-state term; no tolerance loosened): test_stress, test_capacity, test_helical_bending_geometry, test_kinematics, test_rig_test, test_section_history, test_rect_tendon_paths, test_restrictor_tapes_copper, test_validation_report. test_core_screens_sheaths: a stuck core now bends with $\cos^4\beta$ instead of $\cos^2\beta\cos 2\beta$, so the screen slip is between 1 and $\cos^2\beta/\cos 2\beta$ times the free-core slip (was: equal).

Gates

  • ruff check and ruff format --check on src tests examples validation release doc: clean
  • mypy: no issues (121 files)
  • full pytest with NUMBA_NUM_THREADS=1: passed; again with CABLEXSEC_DISABLE_NUMBA=1: passed
  • validation/scripts/run_validation.py regenerated (registered FAIL rows unchanged)
  • release metadata and release-tree audit: PASS

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 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-21T20:10:39.621927Z 87900e2 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.

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@read-the-docs-community

read-the-docs-community Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 31b4ccd48d

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

Every recovery used the curve curvature of the deformed helix,
cos^2(a) cos(2a) per unit projected curvature, in every slip state. That
is the normal curvature of a wire that carries no friction stress. The
bending strain of a wire is set by the rotation of its cross-section per
unit material length; the helix starts with the normal curvature
sin^2(a) / r, so the axial strain sigma_f / E the wire carries adds
(sin^2(a) / r) sigma_f / E. A stuck wire with the plane-section strain
takes cos^4(a), with the stick coefficient xi
cos^2(a) cos(2a) + xi sin^2(a) cos^2(a), a wire without friction stress
keeps cos^2(a) cos(2a), and a wire in Coulomb slip keeps that slope. A
stuck wire's weak-axis bending stress was low by 3.2 % at 10 deg, 15.5 %
at 20.1 deg and 96 % at 35 deg. The lateral term is unchanged.

The term (wire_stress.slip_state_normal_curvature) enters the fatigue
field (direction-tied, distributed and progressive friction, compiled
and NumPy paths, with any termination increment), compute_stress, the
wire-yield capacity, the kinematics helix field, the rig-test gauges,
the laid cores (core normal gradient, component states and
utilisation), the frictional tape state and the outer-fibre strand-slip
parameters (StrandSlipParameters.slip_state_factor). The local bending
helpers take the friction stress and helix radius as keywords and keep
the slip-free value without them.

Validation row sigma_B now checks the frictionless state against Menard
Eq. 14, a stuck wire and a slipping wire (target unchanged); no other
row changes. On the 66 kV template record of doc/template_66kv.md the
largest wire damage rises 0.23-0.27 % (inner) and 0.05-0.06 % (outer).
Tutorial and how-to outputs are regenerated. Tests:
tests/test_normal_term_slip_state.py (analytical limits).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha
SMI-Lab-Inha force-pushed the fix/normal-term-slip-state branch from 31b4ccd to 87900e2 Compare November 21, 2026 20:08
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 87900e2867

ℹ️ 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 936a35e into dev Nov 21, 2026
14 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the fix/normal-term-slip-state branch November 21, 2026 21:39
SMI-Lab-Inha added a commit that referenced this pull request Nov 23, 2026
Every recovery used the curve curvature of the deformed helix,
cos^2(a) cos(2a) per unit projected curvature, in every slip state. That
is the normal curvature of a wire that carries no friction stress. The
bending strain of a wire is set by the rotation of its cross-section per
unit material length; the helix starts with the normal curvature
sin^2(a) / r, so the axial strain sigma_f / E the wire carries adds
(sin^2(a) / r) sigma_f / E. A stuck wire with the plane-section strain
takes cos^4(a), with the stick coefficient xi
cos^2(a) cos(2a) + xi sin^2(a) cos^2(a), a wire without friction stress
keeps cos^2(a) cos(2a), and a wire in Coulomb slip keeps that slope. A
stuck wire's weak-axis bending stress was low by 3.2 % at 10 deg, 15.5 %
at 20.1 deg and 96 % at 35 deg. The lateral term is unchanged.

The term (wire_stress.slip_state_normal_curvature) enters the fatigue
field (direction-tied, distributed and progressive friction, compiled
and NumPy paths, with any termination increment), compute_stress, the
wire-yield capacity, the kinematics helix field, the rig-test gauges,
the laid cores (core normal gradient, component states and
utilisation), the frictional tape state and the outer-fibre strand-slip
parameters (StrandSlipParameters.slip_state_factor). The local bending
helpers take the friction stress and helix radius as keywords and keep
the slip-free value without them.

Validation row sigma_B now checks the frictionless state against Menard
Eq. 14, a stuck wire and a slipping wire (target unchanged); no other
row changes. On the 66 kV template record of doc/template_66kv.md the
largest wire damage rises 0.23-0.27 % (inner) and 0.05-0.06 % (outer).
Tutorial and how-to outputs are regenerated. Tests:
tests/test_normal_term_slip_state.py (analytical limits).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
SMI-Lab-Inha added a commit that referenced this pull request Nov 23, 2026
The slip-state normal curvature (#58) raised the largest damage of the
README quick start by 2.0 % (inner) and 1.5 % (outer armour); the
README and doc/quickstart.rst printed the 0.2.0 values. The changelog
entry of the correction records the change.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
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