Repository navigation
release: CableXSec 0.2.1 - #61
Conversation
CoreFrictionSpec(core_core_coupling="relative") is a coupled intralayer slip model of laid cores. Neighbouring cores touch at the same axial position, so the friction between them acts on their relative slip, while the filler and ring contacts keep the slip of each core against the plane section. The default, "absolute", is the earlier law and is unchanged, bit for bit. The n stations of the cores at one axial position form a group. A station's stress is an interlayer share, bounded by the Papailiou cap with the interlayer coefficient (mu_cf q_cf + mu_cs q_cs) / q, plus an intralayer share, bounded by sigma_0 mu_cc (q_cc / q) |sin b| min(psi, pi / n), and the intralayer shares of a group sum to zero. The return map is the closest point of the group on that set, exact through a scalar multiplier whose root is found from sorted breakpoints (mechanics/station_coupling.py, a NumPy path and a numba kernel that agree to round-off). For three cores in core-core contact only, slip starts at the same onset, the largest frozen friction stress is 2/3 and the full-slip moment sqrt(3)/2 of the absolute law, and full slip comes at 2 pi / (3 sqrt 3) = 1.209 times the onset instead of pi / 2. An independent field solver of the coupled axial equilibrium of the three cores (validation/scripts/coupled_core_slip_reference.py: one field per core, elastic-Coulomb contacts, semismooth Newton on the incremental energy) gives the same onset, full-slip curvature, moment-curvature, friction-force distribution and reversal loop with and without interlayer friction, to about 7e-5 of the full-slip moment. The core law, compute_mkappa, the bending-law export (group cap and slip transitions), the section properties, the core kinematics and the component states route through the coupled stations; core_station_history, core_station_bounds, core_full_slip_moment and core_full_slip_curvature are new. The relative law is direction-tied: the distributed model raises and "auto" keeps it on a non-planar path with a FrictionModelFallbackWarning. On the 66 kV template at 50 kN (bounded trefoil, 67 % of the core load on core-core contact) the section secant stiffness falls by 2.1-2.8 % between 2 and 10 times the core onset and the exported backbone by 0.5 % at 0.04 1/m; the 30 kV wire-screen bulk damage falls to 0.56-0.61 of the absolute value from 0.05 1/m. Armour and conductor damage are curvature driven and do not change. tests/test_core_coupled_slip.py adds 13 analytical and 13 independent-method tests, so the taxonomy counts of the validation report are 1278 and 92. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
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>
feat: bonded outer armour face (gap G8) A helical layer may declare bonded_face: outer. Its outer face is bonded to the polymer outside it (a sheath extruded onto the wires, or a bitumen or compound bond) and does not slip: the wires slide on their inner face only, so the friction-setting pressure keeps the inner face's share of the bounded radial chain, and the bond is an elastic spring through the polymer outside (an inner-loaded layered annulus free at the cable surface, plus the strip concentration). The stuck layer is unchanged; in full slip the bond keeps xi_bond of the layer's plane-section stiffness, added in parallel to the law and to compute_stiffness's EI_min. The bending law (compute_mkappa, SectionLaw, the exported law) and compute_stiffness use it; the wire-stress, fatigue and capacity routes refuse a bonded cable, which would miss the bond's share of the wire force. Bounded contact model only, without winding stress or pretension. The Zeidan (2025) input declares it, as an identified input: its sheath sits on the wires with no tape, and the bonded state matches the measured post-slip slope. Z-ID now passes (P0 1085.9 kPa; work +9.9/-4.7/-9.0 %, RMSE 6.4/4.3/4.4 %, range -4.4/-8.5/-8.0 %); Z-EI fails narrowly (EI_min 10.09 against 8.65-9.70 kN m2 in the plotted curvature). Menard and Witz keep sliding faces and are unchanged. compute_mkappa with contact_tension_history_N keeps the inner face's share at every sample; a user-supplied contact_pressure_Pa history is refused for a bonded layer. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Every figure now uses one MATLAB-style look: MATLAB's default line colours in MATLAB's order, a Helvetica/Arial face, a closed box with inward ticks on all sides, no grid and a square opaque legend. Labels carry true Greek letters and sub- and superscripts in the same face, with numerals upright; style.LABELS holds the standard axis labels. The tutorial and how-to scripts apply the style (their figures were plain matplotlib defaults) and are regenerated; the examples use the same labels. The user guide documents the figures and the style. The docs figures are saved at 200 dpi, under the docs tests' size cap; the micro prefix is upright and axis offsets read x10^-8. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Version 0.2.1 in pyproject.toml, the package, CITATION.cff, the README and the docs; the changelog moves the unreleased notes to 0.2.1 and adds its known limitations. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
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>
Environments, gate results, distribution and install checks of the 0.2.1 release. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b796cbaa7a
ℹ️ 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".
At a zero lay angle the bond carries the whole layer (xi_bond = 1) and the slider has no stick stiffness, which the slip integrators refused, so compute_mkappa, SectionLaw and the exported law could not evaluate a valid straight bonded layer. A zero stick stiffness now gives an elastic-only history (no stress, slip or friction work) in the default and the progressive law; a partly zero history is still refused. The law at 0 deg is the small-angle limit (moments within 1e-9). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
The final tree's test count, and which gates ran before the review fix. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
This PR releases CableXSec 0.2.1 from
dev. The record of the release checks isvalidation/RELEASE_0_2_1.md.What 0.2.1 contains
bonded_face: outer(gap G8)CoreFrictionSpec(core_core_coupling="relative")"absolute")Release commits
Release 0.2.1:pyproject.toml, the package,CITATION.cff, the README and the docs;docs:commit): the README anddoc/quickstart.rstprinted the damage from 0.2.0. fix: the normal wire curvature follows the wire's axial slip state #58 raised the largest damage by 2.0 % (inner armour) and 1.5 % (outer armour). The install checks found this, because the quick-start output is not under test.Release record 0.2.1.Local release checks
All checks ran in new conda environments, Python 3.11 and 3.12, with one thread per process.
run_validation.py --check(3.11, 3.12)-Wcablexsec-batch --help, README quick start identical, 12 examples and 14 manual scriptsEI_min10.09 kN·m², against a measured slope of 8.65–9.70 kN·m² in the plotted curvature.