Skip to content
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@ All notable changes to CableXSec are recorded in this file. The format follows

### Added

- Distributed form of the laid-core law: `core_friction_history(...,
friction_model="distributed" | "auto")` solves the cores and the filler profiles with the
distributed helix model of the armour (the axial force of each core as a field along its
pitch, slip of every helix node in the direction of its own traction, no bending direction);
`"auto"` keeps the direction-tied law on planar paths, as in the fatigue route, and falls back
with `FrictionModelFallbackWarning` on a rigid interface. `compute_neutral_axes` takes
`friction_model="auto"` for the armour and gives the cores the armour's model unless
`core_friction_model` says otherwise; `SectionLaw.from_cable(friction_model="distributed")`
solves the cores with it too. Checks CF-D (targets registered before the run): planar
reduction of `"auto"` 0, lattice rotation 5.7e-15, dissipation and balance, μ = 0 bit for bit,
stick tangent 2.0e-6, compiled kernel 3.4e-16; the full-slip moment misses the continuous
closed form by 1.02e-4 against the registered 1e-4 at the default stations (FAIL, documented:
station quadrature; the model reproduces the station sum to 1e-10). Under non-proportional
curvature the distributed core law takes 1.3 (random walk) to 2.3 (circular orbit) times the
friction work of the direction-tied one on the 66 kV template.
- `core_load_history`: the core and filler-profile contact loads of the contact model over a
tension history (bounded estimate exact, solved model exact up to 33 tensions).

- One exported bending law per friction group, each with its own scale table
(`BendingLawExport.slip_group_laws()`, `SlipGroupLaw`, `to_group_csv`), for a global model
that sums the group laws `s_g(T) B_g(κ / s_g(T))` instead of carrying one scale. Rows
Expand Down Expand Up @@ -348,6 +366,14 @@ All notable changes to CableXSec are recorded in this file. The format follows

### Changed

- The laid-core and filler-profile contact loads follow the tension history by default:
`compute_neutral_axes(..., core_loads="follow")` with `tension_N` or `contact_tension_N`, and
`compute_mkappa(..., core_loads="follow")` with `contact_tension_history_N`; before, they were
held at the first sample, which stays available as `core_loads="reference"`. Check CF-T
(registered before the run): a tension cycle of 10–70 kN inside bending cycles now meets the
slip-scaled exported law within 0.49–1.19 times its fixed-tension residual (target 1.25);
with the loads held it missed by up to 20 % of the moment range.

- The default slip-scale table of `export_bending_law(..., slip_scale=True)` starts at zero
tension, with the caps of the contact model there (zero without clamping, the clamping caps
otherwise; row MX-group-0), so the scale runs to zero instead of ending at the lowest
Expand Down
48 changes: 47 additions & 1 deletion doc/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ model) is the full construction.
| CIGRE TB880 conductor temperature | MM | PARTIAL |
| Global–local consistency, floating-wind application | I | Full-slip results are upper estimates |
| Laid-core friction (gap R1b), Ménard and Cartraud (2023) six ranges | M | Stated, not gated (unreliable reference). With the transferred 0.3 MPa the cores raise the work (range (b) +30.2 %); identified on (b) with the full accounting, predictions (a) and (c) outside the registered target (+28.5, +26.2 %), (d)–(f) within 16 % |
| Laid-core law, distributed form and contact loads that follow the tension (CF-D, CF-T) | A, I | PASS except CF-D-slip (1.02e-4 against 1e-4 at the default stations: station quadrature, documented) |
| Zeidan (2025) four-point loops, 112 mm three-core cable (Z-EI, Z-ID) | M | Diagnosed on for the shear-stack rule, not independent. Z-EI PASS: measured stick secant 141–240 kN·m² below the no-slip EI_max of 311.1 kN·m² (armour ξ 0.832/1.000; 12.0 kN·m² and ξ 0.009/0.016 before the series stack stopped counting the 8.75 mm EPR of the cores). Z-ID FAIL: P0 759.8 kPa identified on the 40 mm work; predicted work +10.4 to −9.6 %, but branch RMSE 13.7–15.4 % and moment range −33 to −46 % (slip slope near EI_min). Measured curvature axis is the loading-point formula applied to the mid-span deflection (+26 to +29 % on the central curvature of the source's Fig. 18) |
| Fretting regime and wear (gap 3.1): Mindlin/Cattaneo closed forms, Fouvry ratios, limits, rotation | A | PASS |
| Fretting transition, Fouvry et al. (1995) Table 4 | MM | PASS with the printed shear moduli; 1.6–1.7 × the measurements with G = E/2(1 + ν) (stated) |
Expand Down Expand Up @@ -377,7 +378,9 @@ transfer rows move with the stiffer stick (before: armour only 2.71 %,
3.88 % and +18.9 %); CF, CFW and MK-Tcyc read FAIL because the stage also
switches their armour-only references; MX-scale's tension-cycle check on
the Ménard cable reads 2.36 against at most 1.25 (the Ménard core group
then joins the scaled law). No other row moves. The stage stays off by
then joins the scaled law). That run held the core contact loads at the
first sample of the tension history; they now follow it by default
(CF-T-cycle), and the stage has not been rerun. No other row moves. The stage stays off by
default.
- **Su et al. (2026).** No bending loop is published for the 35 kV cable
(axial and torsional results only); not compared.
Expand Down Expand Up @@ -475,6 +478,49 @@ figures (about ±5 % of full scale):
The IEA Wind Task 49 slipping stiffness (Table 13), whose row cites the same
source, is likewise reported code to code.

### Distributed laid-core law and tension-following core loads (CF-D, CF-T)

Registered on 2026-11-19, before any run, in the first commit of the change that adds them. Code
`core_friction_history(..., friction_model=...)` and `core_load_history`
(`cablexsec/mechanics/core_friction.py`), `compute_neutral_axes(..., core_friction_model=...,
core_loads=...)` and `compute_mkappa(..., core_loads=...)`; tests `tests/test_core_friction_distributed.py`.
Case unless stated: the 66 kV IEA Task 49 template, bounded contact, laid cores with the wedged trefoil and the
filler profiles, μ 0.46 on every core and profile contact, 50 kN, default stations and helix nodes. Scale: the
largest core moment magnitude of the history.

The distributed form solves each helical population of the core law (the cores and the filler profiles) with
the distributed helix model of the armour (`friction_model="distributed"`), its contact pressure and stick
coefficient taken from the core law; `"auto"` keeps the direction-tied law on planar paths and uses the
distributed one otherwise, as for the armour.

| ID | Check | Target (registered) | Result | Status |
| --- | --- | --- | --- | --- |
| CF-D-planar | `friction_model="auto"` on planar loop histories (two plane azimuths) against the direction-tied core law; `compute_neutral_axes(friction_model="auto")` against `"direction_tied"` on the same path | moment and work ≤ 1e-12 of scale | 0 | PASS |
| CF-D-rot | Biaxial random walk rotated by 7 station pitches (2π·7/n, a multiple of the helix node spacing) and by 0.3 rad: rotated moment and friction work | ≤ 1e-9 of scale (lattice rotation); ≤ 1e-3 of scale (0.3 rad) | 5.7e-15 (work 1.1e-15); 2.2e-4 (work 1.7e-6) | PASS |
| CF-D-diss | Biaxial random walk and a circular orbit: friction work non-decreasing, energy balance residual | increments ≥ −1e-12 of the final work; residual ≤ 1e-9 of it | smallest increment −9.5e-20; residual 4.4e-15. Work 1.29 (walk) and 2.33 (orbit) times the direction-tied core law | PASS |
| CF-D-mu0 | μ = 0 on every core and profile contact: section moment of `compute_neutral_axes(friction_model="distributed")` against the armour-only section | 0 N·m (bit for bit) | 0 | PASS |
| CF-D-stick | μ = 1e3 on every core and profile contact, amplitude 1e-6 1/m: core-law tangent against its stick stiffness `xi (1/2) EA r_c² cos³β` (cores plus profiles) | ≤ 1e-5 rel. (discrete shear-lag factor `(h²/12)(1 − ξ)`, 6e-6 at the default nodes) | 2.0e-6 | PASS |
| CF-D-slip | Planar monotonic loading to full slip: moment of the core population and of the profile population against `(2/π) n q r² cos²β/sin²β · λ C cosh(λπ/2)/(1 + λ²)`, `C = λπ/(2 sinh(λπ/2))`, `λ = μ sin β` (the closed form of the armour distributed model with the core loads) | ≤ 1e-4 rel. | 1.02e-4 (cores), 1.03e-4 (profiles) at the default 60 stations per core | FAIL (documented below) |
| CF-D-numba | Compiled against reference kernel of the distributed core law (biaxial history with a contact-pressure history) | moments and energies ≤ 1e-10 of scale | 3.4e-16; 2.9e-16 | PASS |
| CF-T-const | Constant tension history equal to the reference: `core_loads="follow"` against `"reference"` (direction-tied and distributed) | ≤ 1e-12 of scale | 0 (both laws) | PASS |
| CF-T-level | Constant tension history at 120 kN on a model built at 50 kN, loads following, against the law built at 120 kN; 0 and 20 MPa armour winding stress | direction-tied ≤ 1e-12 of scale; distributed ≤ 2e-3 of scale (its substeps are set by the onset at the reference) | direction-tied 0 and 2.4e-16; distributed 1.7e-4 and 6.7e-5 (0 and 20 MPa) | PASS |
| CF-T-cycle | Tension cycle 10–70 kN inside bending cycles (amplitudes 3e-4 and 3e-3 1/m), 0 and 20 MPa winding stress: slip-scaled exported law (per group) against `compute_mkappa(contact_tension_history_N=..., core_loads="follow")` | deviation ≤ 1.25 times the fixed-tension residual of the same law at 10 and 70 kN, and < 5e-3 of the range (the MX-scale targets); `core_loads="reference"` reported | deviation 9.8e-4, 1.9e-3 (0 MPa; 0.49 and 1.05 times the residual), 7.9e-4, 1.9e-3 (20 MPa; 0.82 and 1.19 times). Loads held at the first sample: 4.1e-2, 0.198, 7.9e-4, 0.118 of the range | PASS |

**CF-D-slip, the failed target.** The registered 1e-4 compared the model with the continuous integral of
the closed-form field. The model reproduces the sum of that field over its stations to 1e-10 (cores 9e-11,
profiles 5e-10): the field is exact, and the residual is the station quadrature of a field whose slope changes
sign at the extreme fibres, second order in the station spacing (120 stations per core: 2.6e-5). The default
station count of the core law (60 per core) is unchanged; the test pins the documented deviation and the
second-order convergence (`test_cf_d_full_slip_moment_matches_the_closed_form`). The same quadrature is why the
direction-tied CF row carries 5e-3.

**What the checks show.** Under non-proportional curvature the distributed core law takes 1.29 times
(random walk) and 2.33 times (circular orbit) the friction work of the direction-tied core law on the same
path, the rotation deficit of the direction-tied cap that the armour shows too. With the core loads held at the
first sample of a tension cycle the section misses the slip-scaled law by up to 20 % of the moment range
(0 MPa, 3e-3 1/m); with the loads following the tension the miss is the law's own fixed-tension residual
(CF-T-cycle).

### Default of the laid-core law

The law stays off by default. The Ménard test is no longer a gate (its
Expand Down
23 changes: 22 additions & 1 deletion doc/local_analysis_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -948,14 +948,35 @@ print(core.loads, core.xi, core.mu_effective, core.stick_EI_Nm2)
cores use the same direction-tied Papailiou cap and return map as the armour
wires, so biaxial histories work
(`cablexsec.mechanics.core_friction.core_friction_history`).
- Friction model of the cores and profiles, as for the armour:
`core_friction_history(..., friction_model="distributed")` solves each
population with the distributed helix model of the armour (the axial force
of a core as a field along its pitch, with the shear-lag interface of `ξ`
and the slip of every helix node in the direction of its own traction, no
bending direction), and `"auto"` keeps the direction-tied law on planar
paths. Under rotating curvature the direction-tied cap turns with the
bending direction and takes too little friction work (66 kV template, cores
and profiles at μ 0.46: the distributed law takes 1.3 times the work on a
random walk and 2.3 times on a circular orbit). `compute_neutral_axes`
gives the cores the armour's `friction_model` (or `core_friction_model`).
The distributed form needs a compliant interface (`ξ < 1`, the default with
the core insulation shear).
- Over a tension history the core and profile contact loads follow the
tension by default (`core_loads="follow"` of `compute_neutral_axes` and of
`compute_mkappa` with `contact_tension_history_N`; the loads per sample from
`core_load_history`), as the armour contact pressure does; `"reference"`
holds them at the first sample. With the loads held, the section missed the
slip-scaled exported law by up to 20 % of the moment range under a 10–70 kN
tension cycle; with them following, by the law's own fixed-tension residual
(rows CF-D and CF-T of the [benchmark register](benchmarks.md)).
- Normal loads: the solved trefoil contact forces (`contact_model="solved"`)
or a bounded estimate. In the estimate each core carries its capstan load
`C` and one third of the line force `R` inside the innermost armour (winding
stress included) on its outer face; the inward resultant `C + R/3` is
reacted by the two neighbouring cores of a touching trefoil, whose contact
forces sum to `(C + R/3)/sin 60°` (default), or radially by a central
filler (`CoreFrictionSpec(central_filler=True)`). The solved model reads the
core support of the solved radial state. The loads are held fixed during
core support of the solved radial state. The loads are not changed by
bending.
- Filler profiles (`CoreFrictionSpec(filler_profiles=True)`,
`mu_filler_profile`): the non-structural interstitial filler annulus (a
Expand Down
3 changes: 2 additions & 1 deletion doc/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ for screening.
wire screen along the {term}`core lay`, and the strain-life of tapes.
- **{term}`Neutral axis <neutral axis>` under a load history** (`cx.compute_neutral_axes`): where the
armour sticks and slips as the {term}`bending direction` turns, and the biaxial section moment
of the history (armour, optionally with the laid-core law: `core_friction`).
of the history (armour, optionally with the laid-core law: `core_friction`, its friction model
`core_friction_model`, its contact loads following the tension history by default: `core_loads`).

### 2.6 Thermal and electrical

Expand Down
17 changes: 13 additions & 4 deletions src/cablexsec/analysis/beam_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,13 @@ def from_cable(
stress by the distributed helix model of
:mod:`cablexsec.mechanics.distributed_friction` (the fatigue-path
option) and assembles the moment from the wire stresses in the same
way; it substeps internally (``distributed_max_increment``, in units
of the slip-onset curvature, :data:`SECTION_LAW_MAX_INCREMENT` by
default), so its leg property holds to the substep accuracy.
way, and solves the laid cores and filler profiles of
``core_friction`` with the same model
(:func:`~cablexsec.mechanics.core_friction.core_friction_history`,
``friction_model="distributed"``); it substeps internally
(``distributed_max_increment``, in units of the slip-onset curvature,
:data:`SECTION_LAW_MAX_INCREMENT` by default), so its leg property
holds to the substep accuracy.

The contact pressure is that of the one contact state given here.
The pressure and tension histories of
Expand Down Expand Up @@ -351,7 +355,12 @@ def _distributed(kappa: FloatArray) -> SectionResponse:
stored = stored + hist.stored_J_per_m
if law.core_model is not None:
core = core_friction_history(
law.core_model, kx, ky, initial_bending_angle=phi_bend
law.core_model,
kx,
ky,
friction_model="distributed",
nodes_per_pitch=distributed_nodes_per_pitch,
max_increment=distributed_max_increment,
)
moment = moment + core.moment_Nm @ np.array([cos_b, sin_b])
friction = friction + core.work.friction_J_per_m
Expand Down
Loading
Loading