Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,132 @@ All notable changes to CableXSec are recorded in this file. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.1] - 2026-11-23

The Python interfaces are versioned but may change before `1.0.0`. The evidence for
every item below is in
[VALIDATION.md](https://github.com/SMI-Lab-Inha/CableXSec/blob/main/VALIDATION.md); its
generated table is reproduced by `python validation/scripts/run_validation.py`. The
entries under Changed for the normal wire curvature and under Added for the Zeidan
(2025) input change results; the new options default to the 0.2.0 behaviour.

### Added

- `bonded_face: outer` on the outermost helical layer (gap G8): the outer face
of the armour is bonded to the polymer outside it (a sheath extruded onto the
wires with no tape, or a bitumen or compound bond) and does not slip.
- The wires slide on their inner face only: the friction-setting pressure
keeps the inner face's share of the bounded radial chain.
- The bond is an elastic spring through the polymer outside, an inner-loaded
layered annulus free at the cable surface
(`annulus_mode1_compliance_inner`) plus the strip concentration. It keeps
`xi_bond = K_b / (K_b + EA_w sin^2(a) / r_h^2)` of the layer's
plane-section stiffness in full slip (`bonded_face_terms`,
`bonded_face_ei`). The stuck layer is unchanged. At a zero lay angle the bond
carries the whole layer: the slider has no stick stiffness and is elastic-only
(no stress, slip or friction work; `elastic_only_history`).
- Used by the bending law (`compute_mkappa`, `SectionLaw`, the exported law)
and `compute_stiffness` (whose `ei_min_Nm2` then includes the bond). The
wire-stress, fatigue and capacity routes refuse such a cable, because they
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. Its construction shows no tape between
the outer armour and the sheath, and the bonded state is the one that
matches the measured post-slip slope of the stabilised loops. It is an
identified input, not a published one.

- `CoreFrictionSpec(core_core_coupling="relative")`: 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 stations of the cores at one axial position form a group whose
intralayer friction shares sum to zero. The intralayer share of a station
has the constant Coulomb bound `σ0 μ_cc (q_cc/q) |sin β| min(ψ, π/n)`, the
interlayer share the Papailiou cap with `μ_a = (μ_cf q_cf + μ_cs q_cs)/q`.
The return map is the closest point of the group
(`cablexsec.mechanics.station_coupling`, a NumPy path and a numba kernel
that agree to round-off).
- Three cores in core–core contact only: same slip onset, the largest frozen
friction stress 2/3 and the full-slip moment `√3/2` of the default law,
full slip at `2π/(3√3) = 1.209` times the onset instead of `π/2`.
- Verified against an independent field solver of the coupled axial
equilibrium of the cores (`validation/scripts/coupled_core_slip_reference.py`):
onset, full-slip curvature, moment–curvature, friction-force distribution
and reversal loop, with and without interlayer friction
(`tests/test_core_coupled_slip.py`).
- Routes: `core_friction_history`, `compute_mkappa`, the bending-law export
(group cap and transitions), the section properties, the core kinematics,
the component states and the screen, tape and sheath fatigue of the cores.
It is a direction-tied law: `friction_model="distributed"` raises and
`"auto"` keeps it on a non-planar path with a `FrictionModelFallbackWarning`.
- New helpers `core_station_history`, `core_station_bounds`,
`core_full_slip_moment` and `core_full_slip_curvature`.
- The default stays `"absolute"`; its results are unchanged, bit for bit.

### Changed

- The normal (out-of-surface, weak-axis) local bending of a helical wire follows the
wire's axial slip state. This is a correction and the new default; it changes results.
- Before, every recovery used the curve curvature of the deformed helix,
`cos²α cos2α` per unit projected curvature (Out and von Morgen 1997 Eq. 41; Leroy
and Estrier 2001 Eq. 13), in every slip state. That value belongs to 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²α / r`, so the
axial strain `σ_f / E` that the wire carries adds `(sin²α / r) σ_f / E`
(`cablexsec.mechanics.wire_stress.slip_state_normal_curvature`). A stuck wire with
the plane-section strain takes `cos⁴α`; with the stick coefficient ξ,
`cos²α cos2α + ξ sin²α cos²α`; a wire without friction stress keeps `cos²α cos2α`;
a wire in Coulomb slip keeps that slope and carries the offset of its friction
stress. On the outer face the term is `(t/2)(sin²α / r) σ_f`.
- Before, a stuck wire's weak-axis bending stress was low by
`cos⁴α / (cos²α cos2α) − 1`: 3.2 % at 10°, 15.5 % at 20.1° and 96 % at 35°. The
stick and slip limits were checked against an independent finite-element model of
a wire on a bent support (not published).
- It 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 helix field of `compute_kinematics`, the rig-test gauges,
the laid cores (core normal curvature of `core_kinematics`, the component states and
utilisation), the frictional tape state and the outer-fibre strand-slip parameters
of conductors (stick slope `R cos²α + (d/2) cos⁴α`, friction amplitude times
`1 + (d/2) sin²α / R`). The lateral term `cos α (1 + sin²α)` and the section
stiffness are unchanged.
- `local_bending_fibre_stress`, `local_bending_stress` and `local_bending_amplitude`
take the friction stress and the helix radius as keyword arguments; without them
they return the value of a wire without friction stress, as before.
- Validation row σ_B now checks the three states (μ = 0 against Ménard Eq. 14, a stuck
wire, a slipping wire); its target is unchanged. No other row changes. Tests:
`tests/test_normal_term_slip_state.py`.
- Effect on the power-cable examples is small, because their wires slip in most of each
cycle and `(t/2) sin²α / r` is about 1e-3: on the 66 kV template record of
doc/template_66kv.md Section 4 the largest wire damage rises 0.23–0.27 % (inner
armour) and 0.05–0.06 % (outer armour) in all four model combinations; tutorial 3
moves by −0.1 % (the governing inner face takes the term with the opposite sign) and
the tutorial and how-to outputs are regenerated. The largest damage of the README quick
start (the Ménard cable at 100 kN) rises 2.0 % (inner) and 1.5 % (outer armour). Riser
armour at 35° in stick takes nearly twice the earlier weak-axis bending stress.

- **Figures use a MATLAB-style look** (`cablexsec.plotting.style`):
- MATLAB's default line colours in MATLAB's order (`MATLAB_ORDER`; `COLORS` maps the names to those hues);
- a Helvetica or Arial face at 10 pt;
- a closed box with inward ticks on all sides and no grid;
- a square, opaque legend.
- **Labels carry true Greek letters and sub- and superscripts** in the same face (κ, EI_min, σ_A, m⁻¹), with numerals upright. The new `style.LABELS` holds the standard axis labels.
- **The tutorial and how-to scripts apply the style.** Their figures were plain matplotlib defaults before; they are regenerated. The examples follow the same labels.

### Known limitations

- A bonded outer face (`bonded_face: outer`) is supported by the bending law and
`compute_stiffness` only. The wire-stress, fatigue and capacity routes refuse such a
cable, so `compute_mkappa` cannot check its curvature history against the wire-yield
curvature and warns that it does not.
- The bonded state of the Zeidan (2025) cable is identified from its measured loops, not
published. With it, Z-ID passes and Z-EI fails narrowly (`EI_min` 10.09 kN·m² against
a measured slip slope of 8.65–9.70 kN·m² in the plotted curvature). The predicted
cycle work differs from the measured by +9.9 / −4.7 / −9.0 % at 30 / 50 / 60 mm.
- The measured comparisons that failed in 0.2.0, other than Z-ID, still fail; their
tolerances are not relaxed.

## [0.2.0] - 2026-11-21

The Python interfaces are versioned but may change before `1.0.0`. The evidence for
Expand Down Expand Up @@ -1180,5 +1306,6 @@ generated table is reproduced by `python validation/scripts/run_validation.py`.
- A passing test does not establish that the model predicts every physical cable
construction or a validated service life.

[0.2.1]: https://github.com/SMI-Lab-Inha/CableXSec/releases/tag/v0.2.1
[0.2.0]: https://github.com/SMI-Lab-Inha/CableXSec/releases/tag/v0.2.0
[0.1.0]: https://github.com/SMI-Lab-Inha/CableXSec/releases/tag/v0.1.0
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ authors:
repository-code: "https://github.com/SMI-Lab-Inha/CableXSec"
url: "https://github.com/SMI-Lab-Inha/CableXSec"
license: Apache-2.0
version: 0.2.0
date-released: 2026-11-21
version: 0.2.1
date-released: 2026-11-23
keywords:
- dynamic power cable
- cross-section mechanics
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ with absolute `https://github.com/SMI-Lab-Inha/CableXSec/blob/main/...` URLs.
python -m build --outdir dist
python -m twine check dist/*
python -m venv wheel-test
wheel-test\Scripts\python -m pip install dist\cablexsec-0.2.0-py3-none-any.whl
wheel-test\Scripts\python -m pip install dist\cablexsec-0.2.1-py3-none-any.whl
wheel-test\Scripts\python release\smoke_test_wheel.py --version 0.2.0
```

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ damage of the armour, the conductor and the metallic sheaths.
It reads the results of global analyses (CableDyn, RIFLEX, and time-history CSV exports such as
those of OrcaFlex) and turns them into local stresses and damage, and it exports a hysteretic
bending law for use in global analysis. The
current release is `v0.2.0`; interfaces are versioned and may change before `1.0.0`.
current release is `v0.2.1`; interfaces are versioned and may change before `1.0.0`.

## What CableXSec does

Expand Down Expand Up @@ -74,7 +74,7 @@ Install the release wheel from the
3.12), or install straight from the repository:

```powershell
python -m pip install "cablexsec[fast] @ git+https://github.com/SMI-Lab-Inha/CableXSec.git@v0.2.0"
python -m pip install "cablexsec[fast] @ git+https://github.com/SMI-Lab-Inha/CableXSec.git@v0.2.1"
```

The `fast` extra adds `numba` for the compiled slip-stress and rainflow kernels; without it the
Expand Down Expand Up @@ -106,8 +106,8 @@ for layer, damage in fatigue.D_total_per_wire.items():
```text
EA = 280 MN, EI full slip = 3571 N m^2, EI no slip = 189.8 kN m^2
peak moment 541 N m, friction work 218.0 J/m over the history
inner_armour: largest Miner damage 1.774e-06 over the record
outer_armour: largest Miner damage 3.005e-07 over the record
inner_armour: largest Miner damage 1.809e-06 over the record
outer_armour: largest Miner damage 3.050e-07 over the record
```

For a set of CableDyn sea-state runs, `cablexsec-batch batch.json --output-directory results`
Expand Down Expand Up @@ -154,7 +154,7 @@ in [`validation/`](validation/README.md), including the data of the companion jo

## Citation

If you use CableXSec in academic work, please cite the software release (CableXSec 0.2.0);
If you use CableXSec in academic work, please cite the software release (CableXSec 0.2.1);
[CITATION.cff](CITATION.cff) contains the entry (GitHub **Cite this repository**) and the
manual's [How to cite](https://cablexsec.readthedocs.io/en/latest/citing.html) page gives
BibTeX. The journal article that describes the method is under review; its reference will be
Expand Down
Loading
Loading