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
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,48 @@ All notable changes to CableXSec are recorded in this file. The format follows
`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. Riser armour at 35° in stick takes
nearly twice the earlier weak-axis bending stress.

## [0.2.0] - 2026-11-21

The Python interfaces are versioned but may change before `1.0.0`. The evidence for
Expand Down
2 changes: 1 addition & 1 deletion VALIDATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ afterwards: a comparison that misses its target is reported as failed.
| **TQ-SV** | Saint-Venant twist rigidity with free warping: rectangle; bonded annulus as a mirrored 60° sector | series solution; polar moment | 1.0e-4; −1.5e-8 | <3e-4; <1e-6 | Pass |
| **TQ-FT** | Twist-rate wire stress of the fatigue path: stress and damage, torque and tension carried by the wires, mirror lay, zero twist | Knapp (1981), Eqs. 2, 11; `K_et`, `K_tt` | 4.5e-15; 2.2e-16; 0; 0 | <1e-12; <1e-12; <1e-12; 0 | Pass |
| **A11** | Moment–curvature energy closure | loop area against closed form | 0.082 % | <0.1 % | Pass |
| **σ_B** | Radial-fibre bending stress | Ménard and Cartraud (2023), Eq. 14 | 0 | <1e-6 % | Pass |
| **σ_B** | Radial-fibre bending stress: no friction stress (μ = 0), stuck wire, slipping wire; the normal curvature follows the slip state | Ménard and Cartraud (2023), Eq. 14 (μ = 0); `cos²α cos2α + ξ sin²α cos²α` (stuck); Eq. 14 + `(sin²α / r) σ_f / E` (slipping) | 0; 0; 0 | <1e-6 % each | Pass |
| **M-rec, M-rec-3core** | Assembled per-wire moment against the section engine | cross-engine | 0.000 % | <2 % | Pass |
| **MK-Tcyc** | Moment–curvature law with tension cycling inside the bending cycles; work balance under the changing friction bound | fatigue-path friction stress, same kernels | 3.4e-16; 8.9e-16 | <1e-12 | Pass |
| **MX-scale** | Exported bending law with a slip scaling variable: bound homogeneity, scaled group yield curvatures, tension cycle inside the bending cycles | `compute_mkappa` at another tension; contact-tension history | 5.5e-16; 1.2e-13; ratio 1.21 | <1e-12; <1e-9; ≤1.25 | Pass |
Expand Down
27 changes: 26 additions & 1 deletion doc/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ All rows are verification, not validation. Source: the scorecard
| CF | A | Laid-core friction: μ = 0 gives the armour-only loop; large μ 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 rel. | 0; 1.0e-15; 1.0e-4; 5.0e-6; 5.0e-14 | PASS |
| CFW | A | Laid-core contact statics (wedged trefoil and central filler, with and without a filler): radial equilibrium of one core; filler profiles: μ = 0 gives the armour-only loop; full-slip profile moment vs closed form; stick tangent vs `EI_max + E J_f cos³β_f / 2` | < 1e-12 rel.; 0 N·m; < 5e-3; < 1e-9 | 9.5e-17; 0; 1.0e-4; 7.8e-16 | PASS |
| A11 | A | Moment–curvature energy closure (loop area vs closed form) | < 0.1% | 0.082% | PASS |
| σ_B | A | Radial-fibre bending stress vs Ménard Eq. 14 | < 1e-6% | 0 | PASS |
| σ_B | A | Radial-fibre bending stress at φ = 0: μ = 0 vs Ménard Eq. 14; stuck wire vs `cos²α cos2α + ξ sin²α cos²α`; slipping wire vs Eq. 14 + `(sin²α / r) σ_f / E` (section NT) | < 1e-6% each | 0; 0; 0 | PASS |
| M-rec | I | Assembled per-wire moment vs `compute_mkappa`, single core | < 2% | 0.000% | PASS |
| M-rec-3core | I | As M-rec, offset-core geometry | < 2% | 0.000% | PASS |
| MK-Tcyc | I | `compute_mkappa` with a contact-tension history cycling inside the bending cycles vs the moment of the fatigue-path friction stress on the same history; work-balance residual over the friction work | < 1e-12 rel.; < 1e-12 rel. | 3.4e-16; 1.1e-15 | PASS |
Expand Down Expand Up @@ -2980,6 +2980,31 @@ No input is changed and the band is not tightened: the model reproduces the
source's analytical model term by term, and nothing published locates the
FE's or the test's smaller direction dependence.

## Normal wire curvature and the slip state (NT)

The normal (out-of-surface, weak-axis) local bending of a helical wire is
`cos²α cos2α p_n + (sin²α / r) σ_f / E` per unit material length: the curve
curvature of the deformed helix (Out and von Morgen 1997, Eq. 41; Leroy and
Estrier 2001, Eq. 13) plus the initial normal curvature `sin²α / r` times the
axial strain `σ_f / E` the wire carries
(`cablexsec.mechanics.wire_stress.slip_state_normal_curvature`). Earlier
releases used `cos²α cos2α` in every slip state. The stick and slip limits were
checked against an independent finite-element model of a wire on a bent
support (not published). Tests `tests/test_normal_term_slip_state.py`.

| ID | Class | Check | Target | Result | Status |
| --- | --- | --- | --- | --- | --- |
| NT-1 | A | Stuck wire, `ξ = 1`, monotonic ramp below the onset (10°, 20.1°, 35°; compiled and NumPy field): outer-face bending over `E (d/2) p_n` against `cos⁴α` | 1e-12 relative | PASS | PASS |
| NT-2 | A | Stuck wire with `ξ` = 0.35 and 0.8: `cos²α cos2α + ξ sin²α cos²α` | 1e-12 relative | PASS | PASS |
| NT-3 | A | `μ = 0` (no friction stress), direction-tied, distributed and progressive laws, biaxial history: the field equals Ménard Eq. 14 (`cos²α cos2α`) | 1e-12 of scale | PASS | PASS |
| NT-4 | A | Partial slip, cyclic biaxial history, three friction laws, compiled and NumPy: field minus the Eq. 14 value equals `(d/2)(sin²α / r) σ_f`; with a termination increment, `σ_f` includes it | 1e-12 of scale | PASS | PASS |
| NT-5 | A | Spring-slider on a planar history: stick steps take the slope `cos²α cos2α + ξ sin²α cos²α`, slip steps `cos²α cos2α` (no transition on a sample) | 1e-9 relative | PASS | PASS |
| NT-6 | A | Lateral term `cos α (1 + sin²α)` unchanged | 1e-12 of scale | PASS | PASS |
| NT-7 | A | Compiled assembly with friction, termination increment and a modulus history against the NumPy expressions | 1e-12 of scale | PASS | PASS |
| NT-8 | A | `compute_stress` (μ = 0 and the shipped μ), capacity bending (round and rectangular) against the closed form with the per-wire friction stress | 1e-12 | PASS | PASS |
| NT-9 | A | Laid cores: normal gradient `cos⁴β κ_r` stuck, `cos²β cos2β κ_r` free, `cos²β cos2β κ_r + (sin²β / r_c) ε_b` frictional | 1e-12 of scale | PASS | PASS |
| NT-10 | A | Conductor strand slip, outer fibre: stick slope `R cos²α + (d/2) cos⁴α`, slip slope `(d/2) cos²α cos2α`, friction amplitude times `1 + (d/2) sin²α / R`; centroid parameters unchanged | 1e-13 | PASS | PASS |

## Planned benchmarks

None of these is a completed comparison. Each will be registered under the
Expand Down
12 changes: 6 additions & 6 deletions doc/howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,16 @@ tension and curvature, for a section stress map.
```text
core state: frictional
layer kind min MPa max MPa use limit
cu_conductor annulus -34.9 107.1 0.893 yielding
cu_conductor annulus -35.0 107.3 0.894 yielding
conductor_screen annulus -0.2 0.3 - no limit given
xlpe_insulation annulus -0.3 0.4 - no limit given
insulation_screen annulus -0.3 0.4 - no limit given
cu_screen annulus -249.7 309.0 - follows the section
cu_screen annulus -250.0 310.7 - follows the section
hdpe_core_sheath annulus -2.1 2.5 0.037 strain limit
pp_filler annulus -7.0 7.6 - no limit given
hdpe_bedding annulus -4.3 4.6 0.068 strain limit
inner_armour wires -71.4 152.2 0.221 yielding
outer_armour wires -25.7 97.8 0.142 yielding
inner_armour wires -71.9 152.7 0.221 yielding
outer_armour wires -25.7 98.0 0.142 yielding
hdpe_outer_sheath annulus -5.5 5.9 0.086 strain limit
inner_armour: 61 wires, centre line -38.9 to 119.7 MPa
outer_armour: 67 wires, centre line 7.9 to 65.3 MPa
Expand Down Expand Up @@ -218,8 +218,8 @@ all from one record.
<!-- howto-output: howto_06_fatigue_utilities.py -->
```text
armour: critical layer inner_armour, wire at 0 deg, fibre at 0 deg
inner_armour damage in 600 s 5.619e-05
outer_armour damage in 600 s 2.468e-06
inner_armour damage in 600 s 5.749e-05
outer_armour damage in 600 s 2.509e-06
copper fibre: 122 cycles, max amplitude 1568 ue, damage 3.647e-05
curvature: mean 60 s maximum 0.0479 1/m, 1 h most probable 0.0761, 90 % fractile 0.0941 1/m
inner_armour slip range 361.4 um, slipping share 0.56
Expand Down
Binary file modified doc/howto/figures/howto_04_section_stress.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 23 additions & 2 deletions doc/local_analysis_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,22 @@ rotating bending it can be constant while material points cycle. For direct
control use `cx.compute_fatigue(cable, kx, ky, ...)` with one of `tension_N`,
`axial_strain` or `section_states`.

**Local bending follows the slip state.** The normal (radial, weak-axis)
local bending of each wire is `E (t/2) [cos²α cos2α p_n + (sin²α / r) σ_f / E]`
with `p_n = κx cos φ + κy sin φ` and `σ_f` the friction stress the wire carries
at that sample (with any termination increment). The first term is the curve
curvature of the deformed helix (Out and von Morgen 1997, Eq. 41; Leroy and
Estrier 2001, Eq. 13); the second converts it to the rotation of the wire's
cross-section per unit material length, which is what bends the wire. A stuck
wire with the plane-section strain therefore takes `cos⁴α`, with the stick
coefficient `ξ` it takes `cos²α cos2α + ξ sin²α cos²α`, and a wire without
friction stress keeps `cos²α cos2α`. In Coulomb slip the slope stays
`cos²α cos2α`. The lateral term `cos α (1 + sin²α) p_l` does not depend on the
slip state. `radial_Pa` of `WireStressField` holds the sum, so every fibre
recovery and component stress concentration factor uses it. The stick and slip
limits were checked against an independent finite-element model of a wire on a
bent support (not published).

**Selected wire positions.** For long records at many cable locations,
`cx.compute_fatigue(..., wire_positions=12)` evaluates 12 equally spaced wire
positions per armour layer instead of every wire. A list of azimuths in degrees
Expand Down Expand Up @@ -1201,7 +1217,9 @@ tendon on the bent pipe and its transverse equilibrium:
coefficients per unit pipe curvature for a transverse slip fraction `eta`
of the geodesic offset `w_g = r² cos a (1 + sin² a) / sin² a` (Sævik 1992
Eq. 2.30). `eta = 0` is the loxodrome of the fatigue path (lateral
`cos a (1 + sin² a)`, normal `cos² a cos 2a`), `eta = 1` the geodesic
`cos a (1 + sin² a)`, normal `cos² a cos 2a` for a tendon without friction
stress; the stress recovery adds the term of the tendon's slip state,
Section 5, Step 2), `eta = 1` the geodesic
(lateral 0, normal `3 cos² a`, Sævik 1992 Eq. 2.32, Out and von Morgen
1997 Eq. 39; checked against a numerical geodesic on the torus in
`validation/scripts/check_out_von_morgen.py`).
Expand Down Expand Up @@ -2292,7 +2310,10 @@ kin = cx.core_kinematics(cable, kx, ky, state="stuck") # axis strain, gradient
```

A cable axial strain adds `ε cos²β` to the core axis in every state. The
layers of a core are taken as bonded (they share `ε_c`).
layers of a core are taken as bonded (they share `ε_c`). The normal gradient
`g_r` follows the core slip state like the normal bending of an armour wire
(Section 5, Step 2): `g_r = cos²β cos2β κ_r + (sin²β / r_c) ε_b`, with `ε_b` the
bending part of `ε_c`, which is `cos⁴β κ_r` stuck and `cos²β cos2β κ_r` free.

### 13.2 Wire screens wound about each core (P1)

Expand Down
7 changes: 7 additions & 0 deletions doc/template_66kv.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@ armour governs):
| `direction_tied` (default) | 1.31e-9 | 7.88e-10 |
| `distributed` | 1.30e-9 | 7.77e-10 |

Since the normal local bending of the wires follows their slip state
(CHANGELOG, Unreleased), the largest wire damage of this record (0.1 s
sampling, noise 4e-4 1/m) is 0.23–0.27 % higher for the inner armour and
0.05–0.06 % higher for the outer armour in all four columns, at the same
wire and fibre; the table keeps its earlier values, like the other
stick-dependent values above.

The two friction laws agree within 1 % on this smooth history. Core
friction (Section 4.1) does not change these damages: the fatigue path is
curvature driven, and the armour wire stresses do not depend on the cores. At 50 kN the
Expand Down
10 changes: 5 additions & 5 deletions doc/tutorials/03_global_to_fatigue.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ gives `T_e − p_o A_o`, and use `fatigue_from_series`.
<!-- tutorial-output -->
```text
warnings: DirectionTiedFrictionWarning, MissingClampingStateWarning
inner_armour: 139 wires, damage 7.715e-09 to 1.383e-08, largest on wire 70 at 181.3 deg, fibre 180.00 deg
outer_armour: 145 wires, damage 7.428e-09 to 8.886e-09, largest on wire 73 at 181.2 deg, fibre 180.00 deg
inner_armour: 139 wires, damage 7.715e-09 to 1.382e-08, largest on wire 70 at 181.3 deg, fibre 180.00 deg
outer_armour: 145 wires, damage 7.429e-09 to 8.884e-09, largest on wire 73 at 181.2 deg, fibre 180.00 deg
governing: inner_armour, wire at 181.3 deg, fibre 180.00 deg (bulk damage)
```

Expand Down Expand Up @@ -250,7 +250,7 @@ wire about its own axes. `at_fibre(angle)` combines them at any fibre.
<!-- tutorial-output -->
```text
inner_armour: same damage as compute_fatigue True, 1 Hz equivalent range 2.18 to 12.39 MPa
outer_armour: same damage as compute_fatigue True, 1 Hz equivalent range 2.11 to 11.10 MPa
outer_armour: same damage as compute_fatigue True, 1 Hz equivalent range 2.11 to 11.09 MPa
```

With the contact pressure history of `armour_contact_histories` and the
Expand All @@ -272,10 +272,10 @@ local analysis guide, and the `count_from_sample` argument of
```text
S-N curve saevik_2011_flat_steel: slope m = 4, [Saevik2011] Eq. (89)
stress at the governing fibre: 16.1 to 48.8 MPa
rainflow: 153.0 cycles, largest range 32.74 MPa
rainflow: 153.0 cycles, largest range 32.73 MPa
equivalent range over the counted cycles 17.44 MPa
equivalent range at 1 Hz, 600 cycles 12.39 MPa
damage from the equivalent range 1.3829e-08, from compute_fatigue 1.3829e-08
damage from the equivalent range 1.3816e-08, from compute_fatigue 1.3816e-08
```

For an S–N curve of a single slope `m`, the damage-equivalent stress range
Expand Down
26 changes: 13 additions & 13 deletions doc/tutorials/04_contact_and_fretting.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ loading; they are not the stresses of the deformed contact.
contact loads at 150 kN; extreme fibre of the dynamic bending at -4.0 deg
inner_armour/outer_face on outer_armour: mu 0.12, load 209.7 N, p0 3112 MPa, transition amplitude 1.11 um
largest slip amplitude 364 um; cycles in stick 0%, partial slip 16%, gross slip 84%
damage per year at the contact fibre 9.597 at 1 deg from the extreme fibre; largest wear at 88 deg
damage per year at the contact fibre 9.687 at 1 deg from the extreme fibre; largest wear at 88 deg
outer_armour/inner_face on inner_armour: mu 0.12, load 209.7 N, p0 3112 MPa, transition amplitude 1.11 um
largest slip amplitude 402 um; cycles in stick 0%, partial slip 15%, gross slip 85%
damage per year at the contact fibre 2.169 at 4 deg from the extreme fibre; largest wear at 88 deg
damage per year at the contact fibre 2.149 at 4 deg from the extreme fibre; largest wear at 88 deg
outer_armour/outer_face: no normal load on this face
```

Expand Down Expand Up @@ -254,18 +254,18 @@ strain histories.

<!-- tutorial-output -->
```text
wire 109 (gross slip): largest bulk cycle 373.0 MPa about 106.9 MPa
SWT of the bulk cycle alone 0.2598 MPa
wire 109 (gross slip): largest bulk cycle 373.9 MPa about 107.1 MPa
SWT of the bulk cycle alone 0.2610 MPa
x = +0.0 a, z = 0.5 b: SWT 0.0000 MPa
x = -1.0 a, z = 0.5 b: SWT 0.2911 MPa
x = -1.1 a, z = 0.5 b: SWT 0.3546 MPa
x = -1.1 a, z = 0.05 b: SWT 0.8058 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.10 b: SWT 0.7393 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.20 b: SWT 0.6116 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.30 b: SWT 0.5033 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.50 b: SWT 0.3546 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.75 b: SWT 0.2665 MPa, plane normal 10 deg from the wire axis
x = -1.1 a, z = 1.00 b: SWT 0.2345 MPa, plane normal 10 deg from the wire axis
x = -1.0 a, z = 0.5 b: SWT 0.2923 MPa
x = -1.1 a, z = 0.5 b: SWT 0.3560 MPa
x = -1.1 a, z = 0.05 b: SWT 0.8079 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.10 b: SWT 0.7413 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.20 b: SWT 0.6134 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.30 b: SWT 0.5049 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.50 b: SWT 0.3560 MPa, plane normal 8 deg from the wire axis
x = -1.1 a, z = 0.75 b: SWT 0.2677 MPa, plane normal 10 deg from the wire axis
x = -1.1 a, z = 1.00 b: SWT 0.2356 MPa, plane normal 10 deg from the wire axis
```

The script builds one cycle at the crossing of the inner-armour wire with the
Expand Down
Binary file modified doc/tutorials/figures/tutorial_03_damage_circumference.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/tutorials/figures/tutorial_03_governing_fibre_stress.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/tutorials/figures/tutorial_04_swt_depth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading