Skip to content

feat: distributed laid-core law and core contact loads that follow the tension - #43

Merged
SMI-Lab-Inha merged 7 commits into
devfrom
feat/core-friction-distributed
Nov 19, 2026
Merged

SMI-Lab-Inha merged 7 commits into
devfrom
feat/core-friction-distributed

Conversation

@SMI-Lab-Inha

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

Copy link
Copy Markdown
Owner

Summary

Two inconsistencies of the laid-core law (cores, their wire rings, filler profiles) against the armour:

  1. Friction model. The core law was direction-tied only. Under rotating curvature its Papailiou cap turns with the bending direction, so it takes too little friction work, while the armour already had the distributed helix model (and "auto" for non-planar paths). On the 66 kV template (cores and profiles, μ 0.46) the distributed core law takes 1.29× the direction-tied friction work on a biaxial random walk and 2.33× on a circular orbit.
  2. Contact loads under a tension history. The armour contact pressure followed the tension history; the core and profile contact loads stayed at the first sample. A section with a 10–70 kN tension cycle then missed a law whose sliders all scale with the tension (the slip-scaled exported law) by up to 20 % of the moment range.

What changes

Distributed core law

core_friction_history(model, kx, ky, friction_model=...):

  • "direction_tied" (default, unchanged bit for bit);
  • "distributed": each population (cores, filler profiles) is solved with the armour's distributed helix model (distributed_friction_history). The axial force of a core is a field along its pitch with the shear-lag interface of $\xi$ ($\hat k = \xi/(1-\xi)$), the Coulomb bound of its contact pressure and the signed capstan term $\lambda = \mu_{eff},|\sin\beta|$; every helix node slips in the direction of its own traction, with no bending direction. The stress unit is the same $\sigma_0$, so the planar full-slip field is $\sigma_0,(C e^{\lambda x} - 1)$ with $C = \lambda\pi / (2\sinh(\lambda\pi/2))$. Needs $\xi < 1$;
  • "auto": direction-tied on planar paths (PLANAR_PATH_TOLERANCE, as the fatigue route), distributed otherwise; a rigid population falls back with FrictionModelFallbackWarning.

The internal rings keep the strand-slip operator in every model.

Routes:

  • compute_neutral_axes(..., friction_model="auto") is now accepted for the armour (resolved per layer). The cores take the armour's model unless core_friction_model= says otherwise ("progressive" armour → direction-tied cores).
  • SectionLaw.from_cable(friction_model="distributed") solves the cores with the distributed law too.

Core loads that follow the tension

  • core_load_history(cable, model, tension_N, contact_model=...) → CoreLoadHistory. Bounded estimate: exact (affine, two evaluations). Solved model: exact up to 33 tensions, interpolated beyond (as the armour histories). The core bound level follows the population's full-slip friction moment, so a changing load mix (unequal coefficients) enters as it enters the slip-scale group cap.
  • compute_neutral_axes(..., core_loads="follow" | "reference") and compute_mkappa(..., core_loads=...) (with contact_tension_history_N). Default "follow"; "reference" keeps the earlier behaviour.

Checks (registered in doc/benchmarks.md before the run, first commit of this PR)

Case: 66 kV template, bounded contact, cores and filler profiles, μ 0.46, 50 kN, default stations and nodes.

ID Target Result Status
CF-D-planar "auto" = direction-tied on planar paths (law and compute_neutral_axes): ≤ 1e-12 0 PASS
CF-D-rot lattice rotation ≤ 1e-9; 0.3 rad ≤ 1e-3 5.7e-15; 2.2e-4 PASS
CF-D-diss increments ≥ −1e-12, residual ≤ 1e-9 of the work −9.5e-20; 4.4e-15 PASS
CF-D-mu0 μ = 0: armour-only section bit for bit 0 PASS
CF-D-stick μ = 1e3: tangent = stick stiffness, ≤ 1e-5 2.0e-6 PASS
CF-D-slip full-slip moment vs continuous closed form, ≤ 1e-4 1.02e-4 / 1.03e-4 FAIL (see below)
CF-D-numba compiled vs reference kernel, ≤ 1e-10 3.4e-16 PASS
CF-T-const "follow" at constant reference tension = "reference", ≤ 1e-12 0 PASS
CF-T-level loads at 120 kN on a 50 kN model = law built at 120 kN (0, 20 MPa); tied ≤ 1e-12, distributed ≤ 2e-3 0, 2.4e-16; 1.7e-4, 6.7e-5 PASS
CF-T-cycle tension cycle vs slip-scaled law: ≤ 1.25× fixed-tension residual and < 5e-3 0.49–1.19×, ≤ 1.9e-3 PASS

CF-D-slip. The model reproduces the station sum of the closed-form field to 1e-10. The residual against the continuous integral is the station quadrature of a field whose slope changes sign at the extreme fibres: second order (120 stations per core: 2.6e-5). The target is not loosened. The test pins the documented deviation and the convergence order. The default station count is unchanged.

Not changed

  • Hot kernels (distributed_friction.py, fast_slip.py, papailiou.py) are untouched; the core law calls the public distributed_friction_history.
  • analysis/kinematics.py (helix fields of the components) keeps the direction-tied core stations.

Gates

  • Full suite with the CI wheels (numpy 2.4.6, scipy 1.17.1) on the branch rebased onto dev 0ffb0f1 (after feat: one exported bending law per friction group, each with its own scale table #42), NUMBA_NUM_THREADS=1: 4646 passed, 4 skipped. With CABLEXSEC_DISABLE_NUMBA=1: 4530 passed, 120 skipped.
  • python -m mypy: no issues.
  • ruff check / ruff format --check on src tests examples validation release doc: clean.
  • Taxonomy: analytical_sanity 1219 → 1245 (26 new collected IDs, tests/test_core_friction_distributed.py); independent_method 77 and full_scale 58 unchanged.
  • CHANGELOG: Added (distributed core law, core_load_history), Changed (core loads follow by default).

Review fixes and rebase

  • A zero reference coefficient no longer silences the core friction of later samples (Codex P2). An unloaded reference (zero tension, no clamping) takes the filler coefficient; when that is zero, the load history now carries the coefficient of the capstan term from the most loaded sample (CoreLoadHistory.core_mu_capstan) and normalises the bound level by the cap at that coefficient; a sample without frictional load gets a zero bound. Test test_zero_reference_coefficient_with_frictional_loads_later (direction-tied to 1e-12, distributed to 2e-3 against the law built at the loaded tension).
  • Rebased onto dev after the Yun shear-stack fix: SectionLaw.from_cable now has distributed_max_increment, which the cores receive too (core_friction_history(..., max_increment=...)). CF-D unchanged (cores only); CF-T-cycle rerun, 0.49–1.19 times the residual (PASS).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 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-19T15:51:50.011157Z 300706d 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 19, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 CableXSec | 🛠️ Build #36017842 | 📁 Comparing 300706d against latest (240bf9c)

  🔍 Preview build  

24 files changed · ± 24 modified

± Modified

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4b3d4505d8

ℹ️ 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 force-pushed the feat/core-friction-distributed branch from 4b3d450 to 0758f65 Compare November 19, 2026 13:57
@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. More of your lovely PRs please.

Reviewed commit: 0758f65440

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

…ion-following core loads (CF-D, CF-T)

Targets registered before any run: planar reduction of "auto" to the
direction-tied law, rotation equivariance, dissipation, mu = 0, stick
tangent, full-slip closed form and compiled-kernel agreement of the
distributed core law; constant-tension identities and a tension cycle
against the slip-scaled exported law for core loads that follow the
tension history.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…e tension

The laid-core law (cores, their wire rings, filler profiles) was
direction-tied only: under rotating curvature its cap turned with the
bending direction and took too little friction work, while the armour
already had the distributed helix model. core_friction_history now takes
friction_model "direction_tied", "distributed" or "auto" like the armour:
the distributed form solves the core and profile populations with the
armour's distributed helix model (field along the pitch, shear-lag
interface of xi, slip of every node in the direction of its traction),
"auto" keeps the direction-tied law on planar paths and falls back with a
warning on a rigid interface. compute_neutral_axes accepts
friction_model="auto" and gives the cores the armour's model unless
core_friction_model says otherwise; SectionLaw.from_cable with the
distributed model solves the cores with it too.

The core and profile contact loads followed the reference tension while
the armour pressure followed the history. core_load_history evaluates
them over a tension history (bounded estimate exact, solved model up to
33 tensions), and compute_neutral_axes and compute_mkappa (with
contact_tension_history_N) take core_loads="follow" (default) or
"reference" (the earlier behaviour).

Checks CF-D and CF-T, registered before the run: all PASS except
CF-D-slip, whose continuous closed form is missed by 1.02e-4 against the
registered 1e-4 at the default stations (station quadrature of the
kinked field; the model reproduces the station sum to 1e-10).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…of later samples

An unloaded reference (zero tension, no clamping) takes the filler
coefficient; when that is zero the core population kept mu = 0 over the
whole tension history, so core-core loads of later samples carried no
friction under core_loads="follow". The load history now carries the
coefficient of the capstan term: the reference one, or that of the most
loaded sample when the reference one is zero, and normalises the bound
level by the cap at that coefficient. A sample without frictional load
gets a zero bound instead of an unscaled one.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
core_friction_history passes max_increment to the distributed helix
model (default that of the model), and SectionLaw.from_cable gives the
cores its distributed_max_increment, as it gives the armour layers.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The registered CF checks were rerun on the rebased branch: CF-D is
unchanged (it holds the cores only), CF-T-cycle moves with the armour
stick coefficient to 0.49-1.19 times the fixed-tension residual (PASS).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha
SMI-Lab-Inha force-pushed the feat/core-friction-distributed branch from 0758f65 to 300706d Compare November 19, 2026 15:49
@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. Keep it up!

Reviewed commit: 300706df28

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

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