diff --git a/CHANGELOG.md b/CHANGELOG.md index 78fcc67..ddba4ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,26 @@ All notable changes to CableXSec are recorded in this file. The format follows ### Added +- `stick_support` keyword on `compute_mkappa`, `compute_stiffness`, + `SectionLaw.from_cable`, `cable_to_mkappa_specs` and `xi_for_layer`. + - It selects the model of the armour stick coefficient ξ. The default, + `"yun_stack"`, is unchanged, bit for bit. + - The opt-in `"annulus"` (`cablexsec.mechanics.stick_support`) solves the + mode-1 antiplane shear of the layered polymer annulus under the armour, + with its actual inner boundary (rigid support, free bore or axis), plus + the concentration of the load on each wire's width. + - On thin layers over a stiff support it agrees with the default within a + few per cent. A soft or hollow core shears as a beam and gives a much + smaller ξ (free bore: `R(1+ρ²)/(G(1−ρ²))` against the strip's `t/G`). + - Closed-form limits and an independent finite-difference solution in + `tests/test_stick_support.py`. +- Gap G8 documented as a known limitation for 0.2.0 (doc/benchmarks.md, + VALIDATION.md, local analysis guide). + - It covers what fails and by how much, and the eight mechanisms tested with + source inputs and why each was ruled out. + - It states where the model is reliable (rope-filler bundles) and where it + under-predicts the slip stiffness (compact solid-filler bundles), the + direction of the error, and the data that would settle it. - Torsional wire stress in the fatigue path. `compute_fatigue` and `compute_conductor_fatigue` take `twist_rate_per_m`, the material twist rate of the cable [rad/m], positive in the sense that tightens a right-hand (Z) lay. Every armour wire gains the axial stress of its helix strain diff --git a/VALIDATION.md b/VALIDATION.md index 6e48556..bdc406f 100644 --- a/VALIDATION.md +++ b/VALIDATION.md @@ -108,6 +108,16 @@ quantities are those of the passing rows. In particular: no-slip bound since the armour shear stack stops at its support (Z-EI, diagnosed on), but the identified loops miss the moment range by a third or more (Z-ID); absolute dissipation predictions therefore carry the uncertainty shown by WITZ-ID and Z-ID. +- **Known limitation (gap G8, closed for 0.2.0).** + - On a compact, solid-filler three-core cable (Zeidan 2025), the slip-branch tangent is + about 3.5 times softer than measured (Z-ID: 2.5–2.6 against 8.65–9.70 kN·m²). + - With rope fillers (Ménard and Cartraud 2023), the full-slip stiffness is right (BM1). + - Eight mechanisms, each registered and tested with source inputs, were ruled out: + stick-support compliance, residual pressure, neighbour-wire contact, a compacted bundle, + end anchorage, conductor compaction, the metric, and the insulation modulus + (doc/benchmarks.md, "Known limitation: slip-branch stiffness of compact sections"). + - Direction of the error: conservative for curvature-driven quantities, not conservative + for the section moment and the interface loads. - 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 closest to them (median 1.19, 12 of 14 in band, against the 1.18 bound). At diff --git a/doc/benchmarks.md b/doc/benchmarks.md index ac1f77a..bb755d9 100644 --- a/doc/benchmarks.md +++ b/doc/benchmarks.md @@ -1553,6 +1553,65 @@ geodesic) and of tension-coupled re-sticking (Kim 2020). Interlocked carcass and Zeta layer types (G2), orthotropic tapes (G3) and an asymmetric, non-Masing loop law (G8) are open. +### Known limitation: slip-branch stiffness of compact sections + +Gap G8 is closed for release 0.2.0 as a documented known limitation. No +mechanism tested with source inputs closes it. Every candidate below was +registered (formulation, predictions and pass rules) before it was run, with +held-out rows chosen in advance. No band, target or source input was changed. + +**What fails, and by how much.** + +| Row | Measured | Model | +| --- | --- | --- | +| Z-ID (Zeidan 2025, four-point, reading R2) | slip tangent (ascending branch, 0 to 0.8 of the amplitude) 8.65–9.70 kN·m²; stick secant 113–143 kN·m² (plotted curvature) | slip tangent 2.50–2.59 kN·m²; stick secant 215 kN·m²; moment range −33 to −46 % at the identified initial pressure of 760 kPa | +| WITZ-ID, G8-W1, G8-W3 (Witz 1996, 300 bar) | width 1990–2164 N·m; energy/width 1.44–1.57 1/m | width 1356 N·m; energy/width 2.01 1/m (energy −12.8 %, inside its band) | +| HU-3PB (Hu et al. 2022, conductor) | loop area 3.185 N·m/m | +36.7 % (Papailiou cap), +64.4 % (Karlsen–Husøy amplitude) | +| BM1-loop, BM1-ID (Ménard and Cartraud 2023) | loops at one clamping | BM1-loop: clamping identified on range (a), range (b) work −28.8 % and ordered RMSE 5.45 %; BM1-ID: clamping identified on range (b), ranges (a) and (c) work +28.5 % and +26.2 %. No single clamping fits both the small and the large ranges. | + +**Mechanisms tested, and why each was ruled out.** + +| Mechanism | Finding | +| --- | --- | +| Stick-support compliance | Two candidates were tested: the exact layered-annulus shear of the polymer under the armour (now the opt-in `stick_support="annulus"`; the support compliance was checked against an independent model of two verification tubes, not published), and that support with an elastic line contact of round wires on polymer. On every measured section the support is a thin polymer layer over a stiff body, so the annulus moves ξ by 8 % or less. The line contact moves round-wire sections by 5–40 %. Neither moves the Witz width: ξ from ×0.25 to ×1 changes it by 0.0 %, and the line contact leaves it at 1356 N·m with energy/width 2.00. The Ménard work moves by 0.5–1.8 points. | +| Residual (manufacturing) contact pressure | Already represented by the initial pressure identified on each loop. It sets the loop height and slip onset, not the slopes, and the slope errors do not follow it: Ménard's slip slope is right at 216 kPa, Zeidan's is 3.5 times too soft at 760 kPa. | +| Contact between neighbouring wires of one layer | Zeidan's and Ménard's armours have the same coverage, 0.95–0.97, with positive nominal gaps, yet only Zeidan shows the deficit. By magnitude, neighbours slip together to within about 1/n of the slip, and lateral locking acts on the individual wire bending term of order 0.1 kN·m², against a deficit of about 6 kN·m². | +| Compacted laid-core bundle (cores and fillers bonded to the section) | The laid-core law already keeps Zeidan's cores stuck over the whole test range. A bonded bundle gives the registered Z-ID result unchanged to every printed digit. The copper is coupled to the bundle only through the 8.75 mm insulation at its 6 MPa (ξ_core 0.030), so a bonded bundle keeps 0.6 kN·m². Even a rigid bond gives 8.1 kN·m² at uniform curvature, about 6.3 in the plotted reduction. Zeidan's cross-wound armours balance their transverse shear to within 1.4 %, so the bundle carries almost none of it, and its compliance cannot soften the stick branch. Counting the filler depth in series under the inner armour alone (an earlier variant) softens Z-ID's stick for that reason and breaks Z-EI. | +| End anchorage of the specimen | No row with a slip deficit has anchored ends. Zeidan's ends are free: the outer wires moved and partly separated near the cable ends, and the supports carry no axial restraint. A free end makes the slip branch softer near the ends, not stiffer. The one anchored row (SV11) is already over-predicted by the anchored correction. | +| Conductor strand compaction | Zeidan's conductor is already a solid body in the input: a fully stuck conductor adds 0.01 kN·m². Measured compressed and shaped conductors (Yan et al. 2022, China Ocean Engineering 36(4) 629–637, Tables 1 and 3; three conductors of equal section on a 440 mm three-point rig at 0.37 1/m) slip at about 4 % of the solid bending stiffness. | +| The metric | Model and measurement are reduced by the same function: the least-squares tangent over the same curvature range of the simulated and of the measured loop. The model reaches its final tangent at about 0.003 1/m, 37–76 times below the test amplitudes, so the comparison is not a partial-slip tangent set against a full-slip value. | +| The insulation modulus | Zeidan's 6 MPa is the source finite-element model's input (Zeidan et al. 2026, Table 4), with no stated test rate or temperature; no measured value for that compound is in the reference set. Diagnostic only: any value from 6 MPa to 10 GPa gives a slip tangent of at most 4.1 kN·m² at uniform curvature. A stiffer coupling raises the cores' friction demand until they slip in the test range. | + +**Where the model is reliable, and where it is not.** + +- **Rope-filler construction** (Ménard and Cartraud 2023, Sec. 2.2: "fillers, + which are made of polypropylene (PP) ropes"). The full-slip stiffness is + right without calibration (BM1, 0.6 %). So is the reversal stiffness over + the first 0.0025 1/m (50 000–68 000 against 56 000 N·m²). +- **Compact, solid-filler construction.** Zeidan (2025), Ch. 5: interstices + "filled with polymeric fillers and bedding layers that … improve the + transfer of loads between components"; an LDPE filler. The model's slip + branch is about 3.5 times too soft, and its stick secant too stiff. +- **Direction of the error.** A slip branch that is too soft over-predicts the + curvature under a given moment in a global analysis. That is conservative + for curvature-driven quantities (armour stress ranges, fatigue from + curvature). It under-predicts the section moment at a given curvature, and + therefore the loads the section puts on interfaces: bend stiffeners, + hang-offs, and the contact and friction forces inside the section. Those are + **not** conservative. + +**Data that would settle it.** + +- **For the Zeidan test.** The raw time series (force, actuator displacement, + camera), the curvature method used for each plotted loop, the zeroing of the + force channel, and the construction of the metallic screen and the insulation + compound. The thesis cites two test reports for these (its references [6] and + [8]). +- **Or a new test.** A loop test on a compact, solid-filler three-core cable, + with the curvature measured from a deflection profile in a long + uniform-moment zone, the raw records published, and the insulation and + filler moduli measured at the test rate and temperature. + ## Sævik (2011) FBG armour stresses (SV11-PLANE, SV11-GJ) Gap 2.5. The 8-inch non-bonded riser of Sævik (2011, diff --git a/doc/local_analysis_guide.md b/doc/local_analysis_guide.md index 55f7fc0..1921c37 100644 --- a/doc/local_analysis_guide.md +++ b/doc/local_analysis_guide.md @@ -97,6 +97,17 @@ verification gates and active limitations. Read it. validated. - The IEC three-core mutual-heating factor. (Transient heat transfer through the IEC 60287 ladder is available, Section 7.3.) +- The slip-branch bending stiffness of a compact, solid-filler three-core + cable (known limitation, gap G8; [benchmarks.md](benchmarks.md), "Known + limitation: slip-branch stiffness of compact sections"). + - On the one such measured cable, the model's slip tangent is about 3.5 + times softer than measured. + - On a cable with rope fillers, EI_min matches the measurement. + - A slip branch that is too soft over-predicts the curvature for a given + moment, which is conservative for curvature-driven quantities. It + under-predicts the section moment and the loads it puts on interfaces (bend + stiffener, hang-off, the contacts inside the section), which is not + conservative. ## 3. Installation @@ -844,6 +855,25 @@ for state in response.states: - `W_diss_J_per_m` is friction work over the whole supplied history, including conditioning cycles. For closed-cycle loss use `loop.work` and `cablexsec.analysis.curve_comparison.insert_cycle_crossings`. +- `stick_support` selects the model of the armour stick coefficient ξ. It is + accepted by `compute_mkappa`, `compute_stiffness`, `SectionLaw.from_cable` + and `xi_for_layer`. + - The default, `"yun_stack"`, is the series thin-layer stack of Yun et al. + (2020). + - `"annulus"` (opt-in) solves the shear of the layered polymer annulus + under the armour with its actual inner boundary: rigid at a helical layer + or laid cores, free at an empty bore, regular at the axis. It adds the + concentration of the load on each wire's width. + - On thin layers over a stiff support the two agree within a few per cent. + On a soft or hollow core, `"annulus"` is much softer, because the core + shears as a beam. + - It is the exact elastic solution of that annulus: a thin layer on a rigid + support gives t/G, a solid core R/G, and a hollow core with a free bore + R(1+ρ²)/(G(1−ρ²)), several times the thin-strip value. + - The option changes the stick branch, `EI_max` and the slip onset, not + `EI_min`. It does not close gap G8. + - Other entry points, such as the fatigue path and the thermal section, + use the default. - The contact pressure is that of one contact state unless a history is given. `contact_tension_history_N` (one tension per curvature sample) sets the armour `P1+P2` of every sample through the contact model, the same diff --git a/src/cablexsec/analysis/beam_test.py b/src/cablexsec/analysis/beam_test.py index e084d0c..471ca53 100644 --- a/src/cablexsec/analysis/beam_test.py +++ b/src/cablexsec/analysis/beam_test.py @@ -93,6 +93,7 @@ from cablexsec.mechanics.progressive_friction import ProgressiveFriction from cablexsec.mechanics.radial_cable import CableRadialState from cablexsec.mechanics.section_state import SectionState +from cablexsec.mechanics.stiffness import require_stick_support from cablexsec.mechanics.strand_slip import ( CAP_SHAPES, CapShape, @@ -235,6 +236,7 @@ def from_cable( progressive: ProgressiveFriction | None = None, distributed_nodes_per_pitch: int | None = None, distributed_max_increment: float = SECTION_LAW_MAX_INCREMENT, + stick_support: str = "yun_stack", ) -> SectionLaw: """The :func:`~cablexsec.api.compute_mkappa` law of a cable. @@ -264,8 +266,13 @@ def from_cable( The law reads the cable's own materials (its ``materials:`` block) when it is built and every time it is evaluated, also outside a call of :func:`simulate_bending_test`. + + ``stick_support`` selects the armour stick-support model, as in + :func:`~cablexsec.api.compute_mkappa`: ``"yun_stack"`` by default, + ``"annulus"`` opt-in. """ require_fully_specified(cable, "SectionLaw.from_cable") + require_stick_support(stick_support) require_finite(tension_N, "tension_N") require_finite(phi_bend, "phi_bend") if friction_model not in ("direction_tied", "progressive", "distributed"): @@ -301,6 +308,7 @@ def from_cable( radial_state=radial_state, core_spec=resolve_core_friction(core_friction), progressive=settings, + stick_support=stick_support, ) ei_stick = sum(layer.EI_stick for layer in law.layers) + law.ei_min if law.core_model is not None: diff --git a/src/cablexsec/api.py b/src/cablexsec/api.py index b1a3282..22377a4 100644 --- a/src/cablexsec/api.py +++ b/src/cablexsec/api.py @@ -209,6 +209,7 @@ shell_wall_stress, ) from cablexsec.mechanics.stiffness import ( + STICK_SUPPORTS, axial_torsional_matrix, bending_stiffness_by_layer, ea_fixed, @@ -383,7 +384,9 @@ def ei_shear_compliant_Nm2(self) -> float: return self.ei_max_Nm2 -def compute_stiffness(cable: CableData) -> StiffnessResult: +def compute_stiffness( + cable: CableData, *, stick_support: str = "yun_stack" +) -> StiffnessResult: r"""Cross-section axial/torsional/bending stiffness bounds for a cable. Assembles the axial-twist 2x2 reduction, individual bending, and @@ -397,6 +400,10 @@ def compute_stiffness(cable: CableData) -> StiffnessResult: ---------- cable : CableData A fully-specified cable. + stick_support : {"yun_stack", "annulus"}, optional + Stick-support model of ξ and so of `ei_max_Nm2` + (:func:~cablexsec.mechanics.stiffness.xi_for_layer); the default + is the series stack of [Yun2020], `"annulus"` is opt-in. Returns ------- @@ -420,8 +427,15 @@ def compute_stiffness(cable: CableData) -> StiffnessResult: True """ require_fully_specified(cable, "compute_stiffness") + if not isinstance(stick_support, str) or stick_support not in STICK_SUPPORTS: + raise CableSchemaError( + f"stick_support must be one of {STICK_SUPPORTS}, got {stick_support!r}" + ) at = axial_torsional_matrix(cable) - xi_map = {lyr.name: xi_for_layer(cable, lyr.name) for lyr in cable.helical_layers} + xi_map = { + lyr.name: xi_for_layer(cable, lyr.name, stick_support=stick_support) + for lyr in cable.helical_layers + } bending = bending_stiffness_by_layer(cable, xi_map) return StiffnessResult( cable_name=cable.cable.name, @@ -635,6 +649,7 @@ def _prepare_mkappa_law( radial_state: CableRadialState | None, core_spec: CoreFrictionSpec | None, progressive: ProgressiveFriction | None, + stick_support: str = "yun_stack", ) -> _MkappaLaw: """Layer specifications, full-slip stiffness and core model of the law.""" if core_spec is not None and contact_model == "solved" and radial_state is None: @@ -647,6 +662,7 @@ def _prepare_mkappa_law( contact_model=contact_model, section_state=section_state, radial_state=radial_state, + stick_support=stick_support, ) ei_min = ei_min_slip( cable, @@ -687,6 +703,7 @@ def compute_mkappa( friction_law: FrictionLaw | None = None, time_s: FloatArray | None = None, core_loads: CoreLoadMode = "follow", + stick_support: str = "yun_stack", ) -> MkappaResult: r"""Moment-curvature hysteresis of a cable over a curvature history. @@ -817,6 +834,15 @@ def compute_mkappa( slip scale of an exported law assumes; ``"reference"`` holds them at the first sample (the earlier behaviour). Without a tension history the loads are those of the reference state either way. + stick_support : {"yun_stack", "annulus"}, optional + Stick-support model of the armour stick coefficient ξ + (:func:`~cablexsec.mechanics.stiffness.xi_for_layer`). The default, + ``"yun_stack"``, is the series thin-layer stack of [Yun2020]. + ``"annulus"`` (opt-in) solves the shear of the layered polymer annulus + under the armour with its actual inner boundary. It matters for soft + or hollow cores, and moves ξ by a few per cent on thin layers over a + stiff support. It changes the stick branch, ``EI_max`` and the + slip-onset curvature, not ``EI_min``. Returns ------- @@ -857,6 +883,10 @@ def compute_mkappa( raise CableSchemaError( f"core_loads must be one of {CORE_LOAD_MODES}, got {core_loads!r}" ) + if not isinstance(stick_support, str) or stick_support not in STICK_SUPPORTS: + raise CableSchemaError( + f"stick_support must be one of {STICK_SUPPORTS}, got {stick_support!r}" + ) if mu is not None: require_finite(mu, "mu") if mu < 0.0: @@ -963,6 +993,7 @@ def compute_mkappa( radial_state=radial_state, core_spec=resolve_core_friction(core_friction), progressive=progressive_settings, + stick_support=stick_support, ) if tension_history is not None: # pressure only: the crossing loads (unused here) refuse some layer stacks diff --git a/src/cablexsec/cable_adapters.py b/src/cablexsec/cable_adapters.py index 0fde2d9..56f6b30 100644 --- a/src/cablexsec/cable_adapters.py +++ b/src/cablexsec/cable_adapters.py @@ -581,6 +581,7 @@ def cable_to_mkappa_specs( contact_model: str = "bounded", section_state: SectionState | None = None, radial_state: CableRadialState | None = None, + stick_support: str = "yun_stack", ) -> list[HelicalLayerSpec]: r"""Build frozen M-κ specs for a cable's structural armour layers. @@ -593,6 +594,9 @@ def cable_to_mkappa_specs( exploratory inner-foundation reaction is not used as an outer-face load. Independently prescribed distributions can be supplied to the lower-level HelicalLayerSpec, with their force balance and physical face specified. + ``stick_support`` selects the ξ model of + :func:`~cablexsec.mechanics.stiffness.xi_for_layer` (``"yun_stack"``, + the default, or the opt-in ``"annulus"``). Raises ------ @@ -642,6 +646,7 @@ def cable_to_mkappa_specs( youngs_modulus_Pa=section_state.youngs_modulus_Pa if section_state is not None else None, + stick_support=stick_support, ), mu=mu_eff, F_n_axi_N=fn_map[lyr.name], diff --git a/src/cablexsec/mechanics/stick_support.py b/src/cablexsec/mechanics/stick_support.py new file mode 100644 index 0000000..e6b95de --- /dev/null +++ b/src/cablexsec/mechanics/stick_support.py @@ -0,0 +1,154 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright (c) 2026 Jae Hoon Seo, SMI Lab, Inha University +"""Support compliance of a stuck helical wire: layered annulus and contact strip. + +A stuck wire follows the plane-section strain of the body that supports it, +less the relative displacement taken up by the polymer between them. With a +per-wire, per-length stiffness ``K`` the stick coefficient is +``xi = K / (K + EA sin^2(alpha) / r^2)`` +(:func:`~cablexsec.mechanics.yun_coefficient.yun_xi`). + +[Yun2020] take ``K`` as thin-layer strips, ``1/K = sum t_i / (G_i b)``. +That form assumes a support that follows plane sections under the stack, and +local shear of a strip of the wire's width. + +This module supplies the ``"annulus"`` stick support of +:func:`~cablexsec.mechanics.stiffness.xi_for_layer`. On average along the +cable, the friction tractions of a stuck layer do not depend on the axial +position and vary as ``sin(phi)`` around it. The exact elastic response of a +layered annulus to that mode-1 axial surface traction is the antiplane field +``w = (A r + B / r) sin(phi)`` in each layer. Its term ``A r sin(phi)`` is +the transverse shear tilt of the supporting body. + +:func:`annulus_mode1_compliance` gives the surface compliance for three inner +boundaries: + +- a rigid support (``w = 0``): a helical layer or laid cores inside; +- a free bore (no shear stress on an empty inner surface); +- the axis (regular solution). + +For a thin layer on a rigid support it reduces to ``t / G``. A hollow polymer +core, which shears as a beam, is several times softer. + +The traction under each wire is concentrated on a strip of the wire's surface +width. :func:`strip_concentration_compliance` adds the ``k >= 1`` harmonics of +that periodic strip load on the layer under the wire. +""" + +from __future__ import annotations + +import math +from collections.abc import Sequence +from typing import Literal + +import numpy as np + +from cablexsec.cables.schema import _radial_tol + +__all__ = [ + "SupportCondition", + "annulus_mode1_compliance", + "strip_concentration_compliance", +] + +SupportCondition = Literal["rigid", "bore", "axis"] + + +def _propagate( + w: float, sigma: float, r_a: float, r_b: float, g: float +) -> tuple[float, float]: + """Carry (w, sigma_rz) from ``r_a`` to ``r_b`` through one layer.""" + a = 0.5 * (w / r_a + sigma / g) + b = 0.5 * r_a * r_a * (w / r_a - sigma / g) + return a * r_b + b / r_b, g * (a - b / (r_b * r_b)) + + +def annulus_mode1_compliance( + layers: Sequence[tuple[float, float, float]], support: SupportCondition +) -> float: + """Surface compliance ``w(r_c) / tau_z`` [m/Pa] of a layered annulus. + + Parameters + ---------- + layers : sequence of (r_inner, r_outer, G) + Layers from the outside in: radii [m], shear modulus [Pa]. A radial + gap between consecutive layers is rigid: it keeps the displacement + and the shear flow ``sigma r``. An overlap within the cable schema's + radial tolerance is a touching interface; a larger one is refused. + support : {"rigid", "bore", "axis"} + Inner boundary: ``w = 0``; zero shear stress; or regular at ``r = 0`` + (then the innermost layer must start at the axis). + + Returns + ------- + float + Axial surface displacement amplitude per unit axial traction + amplitude at the outer radius; ``0`` for an empty stack. + """ + if not layers: + return 0.0 + seq = list(reversed(layers)) + for r_in, r_out, g in seq: + if not (math.isfinite(r_in) and math.isfinite(r_out) and math.isfinite(g)): + raise ValueError("layer radii and shear modulus must be finite") + if r_out <= r_in or r_in < 0.0 or g <= 0.0: + raise ValueError("each layer needs 0 <= r_inner < r_outer and G > 0") + if support == "axis": + if seq[0][0] != 0.0: + raise ValueError("an axis support needs an innermost layer at r = 0") + w, sigma = seq[0][1], seq[0][2] # w = A r with A = 1 + r_prev = seq[0][1] + seq = seq[1:] + elif support == "rigid": + w, sigma, r_prev = 0.0, 1.0, seq[0][0] + elif support == "bore": + w, sigma, r_prev = 1.0, 0.0, seq[0][0] + else: + raise ValueError(f"unknown support condition {support!r}") + if support != "axis" and r_prev <= 0.0: + raise ValueError("a rigid or bore support needs an inner radius above zero") + for r_in, r_out, g in seq: + if r_in < r_prev: + # Interfaces the cable schema accepts as touching (radius + # rounding) start at the previous outer radius; a genuine + # overlap is refused. + if r_prev - r_in > _radial_tol(r_prev): + raise ValueError("layers must not overlap") + r_in = r_prev + if r_in > r_prev: + sigma *= r_prev / r_in + w, sigma = _propagate(w, sigma, r_in, r_out, g) + r_prev = r_out + return w / sigma + + +def strip_concentration_compliance( + spacing_m: float, + half_width_m: float, + thickness_m: float, + shear_modulus_Pa: float, +) -> float: + """Per-wire compliance [m^2/N] of the concentrated part of the contact load. + + Uniform traction on strips of half-width ``a`` at spacing ``w``, with the + displacement averaged over the strip, on a layer of thickness ``t`` over + a rigid base (antiplane): + ``(2 / (G w)) sum_k sinc^2(q_k a) tanh(q_k t) / q_k`` with + ``q_k = 2 pi k / w``. Zero for full coverage (``2 a >= w``). The mean + (``k = 0``) part is in :func:`annulus_mode1_compliance`. The sum runs to + ``k = max(4000, 200 w / a)`` (at most two million terms), where the strip + weight has fallen below ``1e-6`` of its first value. + """ + w, a, t, g = spacing_m, half_width_m, thickness_m, shear_modulus_Pa + if not all(math.isfinite(x) for x in (w, a, t, g)): + raise ValueError("strip inputs must be finite") + if w <= 0.0 or a <= 0.0 or t <= 0.0 or g <= 0.0: + raise ValueError("spacing, half-width, thickness and modulus must be positive") + if 2.0 * a >= w: + return 0.0 + kmax = int(min(2_000_000, max(4000, math.ceil(200.0 * w / a)))) + k = np.arange(1, kmax + 1, dtype=np.float64) + q = 2.0 * np.pi * k / w + weight = np.sinc(q * a / np.pi) ** 2 + total = float(np.sum(weight * np.tanh(q * t) / q)) + return 2.0 * total / (g * w) diff --git a/src/cablexsec/mechanics/stiffness.py b/src/cablexsec/mechanics/stiffness.py index bf84553..e2b2b04 100644 --- a/src/cablexsec/mechanics/stiffness.py +++ b/src/cablexsec/mechanics/stiffness.py @@ -52,6 +52,7 @@ CylindricalOffsetLayer, CylindricalShellLayer, HelicalLayer, + _radial_tol, is_serving, layer_stiffness, ) @@ -88,6 +89,8 @@ "ea_fixed", "ea_free", "load_sharing", + "STICK_SUPPORTS", + "require_stick_support", "xi_for_layer", "yun_shear_stack", "BendingStiffnessContribution", @@ -539,11 +542,111 @@ def yun_shear_stack( return tuple(stack) +STICK_SUPPORTS: tuple[str, ...] = ("yun_stack", "annulus") +"""Stick-support models of :func:`xi_for_layer`; ``"yun_stack"`` is the default.""" + + +def require_stick_support(stick_support: object) -> str: + """Return ``stick_support`` if it names a model of :data:`STICK_SUPPORTS`.""" + if not isinstance(stick_support, str) or stick_support not in STICK_SUPPORTS: + raise CableInputError( + f"stick_support must be one of {STICK_SUPPORTS}, got {stick_support!r}" + ) + return stick_support + + +def _stack_support( + cable: CableData, + layer_name: str, + stack: tuple[CylindricalLayer | CylindricalOffsetLayer, ...], +) -> str: + """Inner boundary of the stack of :func:`yun_shear_stack`. + + ``"rigid"`` where the walk stops at a helical layer or at laid cores, or + where a layer the stack skips (no isotropic modulus, a shell, a filler) + lies inside it; ``"axis"`` where its innermost layer reaches the cable + axis; ``"bore"`` only where nothing lies inside the innermost layer (an + empty inner surface). + """ + names = [lyr.name for lyr in cable.layers] + inside = cable.layers[: names.index(layer_name)] + for lyr in reversed(inside): + if isinstance(lyr, HelicalLayer): + return "rigid" + if isinstance(lyr, CylindricalOffsetLayer) and not ( + lyr.n_cores == 1 and lyr.r_offset_m == 0.0 + ): + return "rigid" + innermost = stack[-1] + r_bore = innermost.r_inner_m or 0.0 + if r_bore <= 0.0: + return "axis" + in_stack = {lyr.name for lyr in stack} + if any( + lyr.name not in in_stack + and (getattr(lyr, "r_outer_m", None) or 0.0) <= r_bore + _radial_tol(r_bore) + for lyr in inside + ): + # A skipped body inside the stack: keep the plane-section support of + # the default model rather than assume a free bore. + return "rigid" + return "bore" + + +def _annulus_support_stiffness( + cable: CableData, + layer: HelicalLayer, + stack: tuple[CylindricalLayer | CylindricalOffsetLayer, ...], + youngs_modulus_Pa: Mapping[str, float] | None, +) -> float: + """Per-wire stick-support stiffness of the ``"annulus"`` model [N/m²].""" + from cablexsec.mechanics.stick_support import ( # noqa: PLC0415 + annulus_mode1_compliance, + strip_concentration_compliance, + ) + + assert layer.lay_angle_rad is not None and layer.r_helix_m is not None + assert layer.n_wires is not None + rows: list[tuple[float, float, float]] = [] + local = 0.0 + for lyr in stack: + e = ( + youngs_modulus_Pa[lyr.name] + if youngs_modulus_Pa is not None + else _E(lyr.material) + ) + g = shear_modulus(e, library.get_property(lyr.material, "nu")) + r_in, r_out = lyr.r_inner_m or 0.0, lyr.r_outer_m or 0.0 + rows.append((r_in, r_out, g)) + local += (r_out - r_in) / g + support = _stack_support(cable, layer.name, stack) + alpha = abs(layer.lay_angle_rad) + r_contact = rows[0][1] + alpha_c = math.atan(math.tan(alpha) * r_contact / layer.r_helix_m) + spacing = 2.0 * math.pi * r_contact * math.cos(alpha_c) / layer.n_wires + try: + c_axial = annulus_mode1_compliance(rows, support) # type: ignore[arg-type] + compliance = ( + math.cos(alpha) ** 2 * c_axial + math.sin(alpha) ** 2 * local + ) / spacing + strip_concentration_compliance( + spacing, + min(0.5 * layer.wire_surface_width_m, 0.5 * spacing), + rows[0][1] - rows[0][0], + rows[0][2], + ) + except ValueError as error: + raise CableInputError( + f"{layer.name}: the annulus stick support cannot be evaluated: {error}" + ) from error + return math.inf if compliance <= 0.0 else 1.0 / compliance + + def xi_for_layer( cable: CableData, layer_name: str, *, youngs_modulus_Pa: Mapping[str, float] | None = None, + stick_support: str = "yun_stack", ) -> float: """Yun shear coefficient for a helical layer ([Yun2020]). @@ -573,7 +676,20 @@ def xi_for_layer( a support-compliance approximation, not a resolved shear solution of the section. ``youngs_modulus_Pa`` (keyed by layer name) replaces the library moduli of the wire and of the stack layers, for example at a temperature. + + ``stick_support="annulus"`` (opt-in) keeps the same stack and support but + replaces the series strips with the exact mode-1 antiplane shear of the + layered annulus (:mod:`cablexsec.mechanics.stick_support`). The support is + rigid where the walk stops at a helical layer or at laid cores, free at an + empty bore and regular at the axis. The traction is spread over the wire + spacing, plus the concentration of the load on the wire's own width. For a + thin layer on a rigid support it agrees with the default to within the + ratio of the wire width to the spacing. For a soft or hollow core it is + much softer, because the core shears as a beam: a free bore of radius + ratio rho gives `R (1 + rho^2) / (G (1 - rho^2))` against the strip's + `t / G`. """ + require_stick_support(stick_support) layer = cable.get_layer(layer_name) assert isinstance(layer, HelicalLayer) assert ( @@ -582,6 +698,24 @@ def xi_for_layer( and layer.r_helix_m is not None and layer.lay_angle_rad is not None ) + if stick_support == "annulus": + annulus_stack = yun_shear_stack(cable, layer_name) + if not annulus_stack: + return 1.0 + e_wire = ( + youngs_modulus_Pa[layer.name] + if youngs_modulus_Pa is not None + else _E(layer.material) + ) + k_support = _annulus_support_stiffness( + cable, layer, annulus_stack, youngs_modulus_Pa + ) + return yun_xi( + k_support, + e_wire * _wire_area(layer), + layer.lay_angle_rad, + layer.r_helix_m, + ) b = layer.wire_surface_width_m stack: list[tuple[float, float, float]] = [] for lyr in yun_shear_stack(cable, layer_name): diff --git a/tests/test_stick_support.py b/tests/test_stick_support.py new file mode 100644 index 0000000..a2173df --- /dev/null +++ b/tests/test_stick_support.py @@ -0,0 +1,269 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright (c) 2026 Jae Hoon Seo, SMI Lab, Inha University +"""Opt-in ``"annulus"`` stick support of the armour stick coefficient ξ. + +Closed-form limits of the layered-annulus compliance and of the strip +concentration; an independent finite-difference solution of a two-layer +annulus; the default (``"yun_stack"``) unchanged bit for bit through every +entry point; refusal of an unknown model; and the support condition of a hollow +core. +""" + +from __future__ import annotations + +import math +from pathlib import Path + +import numpy as np +import pytest + +import cablexsec as cx +from cablexsec.analysis.beam_test import SectionLaw +from cablexsec.cables.schema import CableData +from cablexsec.exceptions import CableInputError, CableSchemaError +from cablexsec.mechanics.stick_support import ( + annulus_mode1_compliance, + strip_concentration_compliance, +) +from cablexsec.mechanics.stiffness import STICK_SUPPORTS, xi_for_layer + +G = 3.0e8 + + +@pytest.mark.analytical_sanity +def test_thin_layer_on_a_rigid_support_is_the_strip_compliance() -> None: + radius, thickness = 0.05, 0.001 + c = annulus_mode1_compliance([(radius - thickness, radius, G)], "rigid") + assert c * G / thickness == pytest.approx(1.0, abs=2.0 * thickness / radius) + + +@pytest.mark.analytical_sanity +def test_solid_and_hollow_cores_have_their_closed_forms() -> None: + radius, rho = 0.04, 0.5 + assert annulus_mode1_compliance([(0.0, radius, G)], "axis") == pytest.approx( + radius / G, rel=1e-14 + ) + hollow = annulus_mode1_compliance([(rho * radius, radius, G)], "bore") + assert hollow == pytest.approx( + radius * (1 + rho**2) / (G * (1 - rho**2)), rel=1e-14 + ) + # The free bore is several times softer than a thin strip of the same wall. + assert hollow * G / (radius - rho * radius) > 3.0 + + +def _finite_difference( + layers: list[tuple[float, float, float]], support: str, n: int = 1201 +) -> float: + """Mode-1 antiplane annulus (r G w')' - G w / r = 0, unit outer traction.""" + r_in, r_out = layers[-1][0], layers[0][1] + r = np.linspace(r_in, r_out, n) + h = r[1] - r[0] + mid = 0.5 * (r[1:] + r[:-1]) + + def modulus(x: np.ndarray) -> np.ndarray: + g = np.empty_like(x) + for a, b, gi in layers: + g[(x >= a) & (x <= b)] = gi + return g + + g_mid, g_node = modulus(mid), modulus(r) + a = np.zeros((n, n)) + rhs = np.zeros(n) + for i in range(1, n - 1): + a[i, i - 1] = mid[i - 1] * g_mid[i - 1] / h**2 + a[i, i + 1] = mid[i] * g_mid[i] / h**2 + a[i, i] = -(a[i, i - 1] + a[i, i + 1]) - g_node[i] / r[i] + if support == "rigid": + a[0, 0] = 1.0 + else: + a[0, 0], a[0, 1] = -1.0, 1.0 + a[-1, -2], a[-1, -1] = -g_mid[-1] / h, g_mid[-1] / h + rhs[-1] = 1.0 + return float(np.linalg.solve(a, rhs)[-1]) + + +@pytest.mark.independent_method +@pytest.mark.parametrize("support", ["rigid", "bore"]) +def test_two_layer_annulus_matches_finite_differences(support: str) -> None: + layers = [(0.030, 0.040, 1.0e8), (0.020, 0.030, 2.0e9)] + exact = annulus_mode1_compliance(layers, support) # type: ignore[arg-type] + assert _finite_difference(layers, support) == pytest.approx(exact, rel=1e-3) + + +@pytest.mark.analytical_sanity +def test_strip_concentration_limits() -> None: + spacing = 0.006 + # Full coverage: no concentration. + assert strip_concentration_compliance(spacing, spacing / 2, 0.01, G) == 0.0 + # Thin layer (t << a): mean plus concentration is the strip of the contact + # width, t / (2 a G) (Parseval). + half, t = 0.0015, 1.0e-5 + total = t / (G * spacing) + strip_concentration_compliance(spacing, half, t, G) + assert total == pytest.approx(t / (2 * half * G), rel=5e-3) + # Half-space line load: the compliance grows by ln(10) / (pi G) per decade + # of contact width. + wide = strip_concentration_compliance(spacing, 1e-4, 1.0, G) + narrow = strip_concentration_compliance(spacing, 1e-5, 1.0, G) + assert (narrow - wide) * math.pi * G == pytest.approx(math.log(10.0), rel=1e-3) + + +@pytest.mark.analytical_sanity +def test_rounding_overlap_is_a_touching_interface() -> None: + touching = [(0.030, 0.040, 1.0e8), (0.020, 0.030, 2.0e9)] + rounded = [(0.0299999999, 0.040, 1.0e8), (0.020, 0.030, 2.0e9)] + for support in ("rigid", "bore"): + exact = annulus_mode1_compliance(touching, support) # type: ignore[arg-type] + assert annulus_mode1_compliance(rounded, support) == pytest.approx( # type: ignore[arg-type] + exact, rel=1e-12 + ) + with pytest.raises(ValueError, match="overlap"): + annulus_mode1_compliance( + [(0.029, 0.040, 1.0e8), (0.020, 0.030, 2.0e9)], "rigid" + ) + + +@pytest.mark.analytical_sanity +def test_support_inputs_are_refused() -> None: + with pytest.raises(ValueError, match="axis"): + annulus_mode1_compliance([(0.01, 0.02, G)], "axis") + with pytest.raises(ValueError, match="r_inner"): + annulus_mode1_compliance([(0.02, 0.01, G)], "rigid") + with pytest.raises(ValueError, match="unknown"): + annulus_mode1_compliance([(0.01, 0.02, G)], "clamped") # type: ignore[arg-type] + with pytest.raises(ValueError, match="positive"): + strip_concentration_compliance(0.006, 0.0, 0.01, G) + + +def _menard() -> CableData: + return cx.load_cable(cx.menard2023_yaml_path(), geometry_override=None) + + +@pytest.mark.analytical_sanity +def test_default_is_the_yun_stack_bit_for_bit() -> None: + cable = _menard() + kappa = 0.05 * np.sin(np.linspace(0.0, 4.0 * np.pi, 240)) + for layer in cable.helical_layers: + assert xi_for_layer(cable, layer.name) == xi_for_layer( + cable, layer.name, stick_support="yun_stack" + ) + a = cx.compute_mkappa(cable, kappa) + b = cx.compute_mkappa(cable, kappa, stick_support="yun_stack") + assert np.array_equal(a.moment_Nm, b.moment_Nm) + assert a.EI_max_Nm2 == b.EI_max_Nm2 + assert ( + cx.compute_stiffness(cable).ei_max_Nm2 + == cx.compute_stiffness(cable, stick_support="yun_stack").ei_max_Nm2 + ) + assert ( + SectionLaw.from_cable(cable).ei_stick_Nm2 + == SectionLaw.from_cable(cable, stick_support="yun_stack").ei_stick_Nm2 + ) + + +@pytest.mark.analytical_sanity +def test_annulus_is_close_to_the_stack_on_thin_layers_over_a_stiff_support() -> None: + cable = _menard() # sheath and bedding over laid cores and the inner armour + for layer in cable.helical_layers: + yun = xi_for_layer(cable, layer.name) + annulus = xi_for_layer(cable, layer.name, stick_support="annulus") + assert annulus == pytest.approx(yun, rel=0.02) + kappa = 0.05 * np.sin(np.linspace(0.0, 4.0 * np.pi, 240)) + a = cx.compute_mkappa(cable, kappa, stick_support="annulus") + b = SectionLaw.from_cable(cable, stick_support="annulus") + assert a.EI_max_Nm2 == pytest.approx(b.ei_stick_Nm2, rel=1e-12) + assert a.EI_min_Nm2 == cx.compute_mkappa(cable, kappa).EI_min_Nm2 + + +@pytest.mark.analytical_sanity +def test_unknown_stick_support_is_refused_everywhere() -> None: + cable = _menard() + kappa = np.array([0.0, 0.01]) + layer = cable.helical_layers[0].name + assert STICK_SUPPORTS == ("yun_stack", "annulus") + with pytest.raises(CableInputError, match="stick_support"): + xi_for_layer(cable, layer, stick_support="series") + with pytest.raises(CableSchemaError, match="stick_support"): + cx.compute_mkappa(cable, kappa, stick_support="series") + with pytest.raises(CableSchemaError, match="stick_support"): + cx.compute_stiffness(cable, stick_support="series") + with pytest.raises(CableInputError, match="stick_support"): + SectionLaw.from_cable(cable, stick_support="series") + + +_TUBE = """\ +cable: + name: "Armoured tube, hollow core" + description: "Hollow MDPE core 20-40 mm, 40 steel wires of 5 mm at 15 deg, HDPE sheath" + manufacturer: "Test geometry" + source_document: "tests/test_stick_support.py" +initial_state: + external_pressure_Pa: 0.30e6 + identification: assumed_bound + bounds_Pa: [0.0, 0.48e6] + source: "test geometry" +{materials}layers: +{inner} - name: core_tube + layer_type: cylindrical + material: mdpe_janocha2024 + r_inner_m: 0.020 + r_outer_m: 0.040 + source: test + - name: armour + layer_type: helical + material: steel_janocha2024 + n_wires: 40 + d_wire_m: 0.005 + r_helix_m: 0.0425 + lay_angle_deg: 15.0 + lay_direction: left_hand + source: test + - name: sheath + layer_type: cylindrical + material: hdpe_janocha2024 + r_inner_m: 0.045 + r_outer_m: 0.050 + source: test +""" + + +def _tube(tmp_path: Path, *, filled: bool) -> CableData: + materials = ( + "materials:\n yarn_probe:\n description: yarn without a modulus\n" + " rho_kg_m3: {value: 500.0, source: test}\n" + if filled + else "" + ) + inner = ( + " - name: bore_yarn\n layer_type: cylindrical\n material: yarn_probe\n" + " r_inner_m: 0.0\n r_outer_m: 0.020\n source: test\n" + if filled + else "" + ) + path = tmp_path / ("filled.yaml" if filled else "hollow.yaml") + path.write_text(_TUBE.format(materials=materials, inner=inner), encoding="utf-8") + return cx.load_cable(path, geometry_override=None) + + +@pytest.mark.analytical_sanity +def test_hollow_core_shears_as_a_beam(tmp_path: Path) -> None: + hollow = _tube(tmp_path, filled=False) + yun = xi_for_layer(hollow, "armour") + annulus = xi_for_layer(hollow, "armour", stick_support="annulus") + # The free bore is 3.3 times the strip compliance of the 20 mm wall, so + # the stuck wires see a much softer support. + assert annulus < 0.6 * yun + + +@pytest.mark.analytical_sanity +def test_free_bore_only_where_nothing_lies_inside(tmp_path: Path) -> None: + hollow = _tube(tmp_path, filled=False) + filled = _tube(tmp_path, filled=True) + # A layer without an isotropic modulus fills the bore: the stack skips + # it, and the support is then kept rigid (as in the default model), not + # treated as a free bore. + free = xi_for_layer(hollow, "armour", stick_support="annulus") + with filled.material_scope(): + supported = xi_for_layer(filled, "armour", stick_support="annulus") + series = xi_for_layer(filled, "armour") + assert free < 0.6 * supported + assert supported == pytest.approx(series, rel=0.05) diff --git a/validation/validation_report.md b/validation/validation_report.md index c24e45c..c561b68 100644 --- a/validation/validation_report.md +++ b/validation/validation_report.md @@ -18,8 +18,8 @@ Every row is computed from published data or closed-form references in this repo | 1 | OvM | Frictionless contact slip vs Out-von Morgen geodesic (Eqs. 26-28): loxodromic slip = wire-direction component; magnitude within bound; closed forms vs exact geodesic | < 1e-12 relative; ratio <= 1; < 1e-3 relative at k = 1e-4 | identity 1.07e-15; ratio 0.333; closed form 3.76e-04 | PASS | | 1 | OvM-g | Geodesic transverse map (eta = 1) vs Out-von Morgen slip vector (Eqs. 26-28) at mu = 0; vs exact geodesic | < 1e-12 relative; < 1e-3 relative at k = 1e-4 | closed form 1.05e-15; delta*/Eq. 28 - 1 2.9e-15; exact 2.62e-04 | PASS | | 1 | Out89 | Contact plastic slip vs Out (1989) effective curvature change dk - 2 kappa_s (Eq. 1) and damage ratios (Eqs. A8, A11) | < 1e-12 relative; < 1e-4 absolute | Eq. 1 9.63e-16; A8/A11 5.0e-07 | PASS | -| 1 | CF | Laid-core friction: mu = 0 armour-only loop; large mu tangent vs EI_max; full-slip core moment vs closed form; dissipation >= 0; rotation equivariance | 0 N m; < 1e-9; < 5e-3; >= 0; < 1e-9 relative | 0.0e+00 N m; 8.9e-16; 1.0e-04; 4.9e-06; 4.8e-14 | PASS | -| 1 | CFW | Laid-core contact statics (wedged trefoil, central filler) and laid filler profiles: mu = 0 armour-only loop; full-slip profile moment vs closed form; stick tangent vs EI_max + E J_f cos^3 / 2 | < 1e-12 relative; 0 N m; < 5e-3; < 1e-9 | 9.5e-17; 0.0e+00 N m; 1.0e-04; 8.9e-16 | PASS | +| 1 | CF | Laid-core friction: mu = 0 armour-only loop; large mu tangent vs EI_max; full-slip core moment vs closed form; dissipation >= 0; rotation equivariance | 0 N m; < 1e-9; < 5e-3; >= 0; < 1e-9 relative | 0.0e+00 N m; 7.8e-16; 1.0e-04; 4.9e-06; 4.8e-14 | PASS | +| 1 | CFW | Laid-core contact statics (wedged trefoil, central filler) and laid filler profiles: mu = 0 armour-only loop; full-slip profile moment vs closed form; stick tangent vs EI_max + E J_f cos^3 / 2 | < 1e-12 relative; 0 N m; < 5e-3; < 1e-9 | 9.5e-17; 0.0e+00 N m; 1.0e-04; 6.7e-16 | PASS | | 1 | FR | Fretting regime: Mindlin energy vs numerical Masing loop; Fouvry A/D/B at transition; Cattaneo strip I(0) = pi/16; mu = inf stick energy; planar-path rotation | < 1e-9; < 1e-12; < 1e-12; 0 J; < 1e-12 relative | 7.8e-12; 4.4e-16; 1.6e-15; 0.0e+00 J; 4.4e-16 | PASS | | 1 | TQ | Torque balance: Feyrer Ex. 2.8 torque constant c_1S (fixed radius); coupled section vs Knapp (1981) core factor, theta = 2 nu; mirror lay reverses torque and twist | 0.0345 +/- 0.2%; < 1e-4 relative; < 1e-9 relative | 0.03446 (-0.11%); -1.3e-06; 0.0e+00 | PASS | | 1 | TQ-SV | Saint-Venant twist rigidity with free warping (trefoil filler lobes): 2 x 1 rectangle vs series solution; bonded annulus as a mirrored 60 deg sector vs polar moment | < 3e-4 relative; < 1e-6 relative | 1.0e-04; -1.5e-08 | PASS | @@ -29,7 +29,7 @@ Every row is computed from published data or closed-form references in this repo | 1 | M-rec | Assembled per-wire moment vs compute_mkappa (cross-engine, single-core) | < 2% | 0.000% | PASS | | 1 | M-rec-3core | Cross-engine moment vs compute_mkappa with offset-core geometry and shared mean armour pressure | < 2% | 0.000% | PASS | | 1 | MK-Tcyc | compute_mkappa with a tension history cycling within the bending cycles vs the fatigue-path friction stress on the same history; work balance under the changing friction bound | < 1e-12 relative; < 1e-12 relative | 3.4e-16; 8.9e-16 | PASS | -| 1 | MX-scale | Exported law with a slip scaling variable: compute_mkappa at T2 vs the T1 law with the bound scaled (66 kV, cores included); group elements at T2 vs the T1 elements with yield curvatures scaled (Menard, two layers); tension cycle inside the bending cycles, scaled law vs the contact-tension history over the fixed-tension Iwan residual | < 1e-12 relative; < 1e-9 relative; ratio <= 1.25 | 6.9e-16; 1.2e-13; 1.21 | PASS | +| 1 | MX-scale | Exported law with a slip scaling variable: compute_mkappa at T2 vs the T1 law with the bound scaled (66 kV, cores included); group elements at T2 vs the T1 elements with yield curvatures scaled (Menard, two layers); tension cycle inside the bending cycles, scaled law vs the contact-tension history over the fixed-tension Iwan residual | < 1e-12 relative; < 1e-9 relative; ratio <= 1.25 | 5.5e-16; 1.2e-13; 1.21 | PASS | | 1 | FL-P | Pressure-dependent friction coefficient (FrictionLaw.pressure_factor): spring-slider under pressure steps vs closed form; compiled vs NumPy direction-tied kernel under a pressure history (static/dynamic law, local pressures across the table); work balance | < 1e-9 relative; < 1e-9 relative; < 1e-9 relative | 3.0e-16; 8.7e-16; 2.5e-15 | PASS | | 1 | slip-onset | First-to-slip wire at the neutral axis (|cos| → 0, compression side at psi ≈ 3 lam/2; Raoof/Papailiou, not extreme-fibre loop) | |cos| < 0.2 | |cos|=0.156 | PASS | | 1 | xsec-K | Coupling tangent bounds (κ→0=EI_max, κ→∞=EI_min); slip-front local slope | < 0.01% | κ0:1.91e-14% / κ∞:5.99e-13% | PASS | @@ -79,8 +79,8 @@ Every row is computed from published data or closed-form references in this repo ## Test taxonomy (full gate suite) -- analytical_sanity: `1254 passed` -- independent_method: `77 passed` +- analytical_sanity: `1264 passed` +- independent_method: `79 passed` - full_scale: `59 passed` Run `pytest -m ` to reproduce each group.