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
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,38 @@ 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).

## [Unreleased]

### Added

- `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.

## [0.2.0] - 2026-11-21

The Python interfaces are versioned but may change before `1.0.0`. The evidence for
Expand Down
34 changes: 32 additions & 2 deletions doc/local_analysis_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,9 @@ for state in response.states:
states of Section 13.1: `sigma_stick_*` (core held to the cable axis,
`"stuck"`), `sigma_frictional_*` (the core friction law of Section 6.1 in
closed form for a monotonic ramp, default `CoreFrictionSpec()`, μ = 0.2 on
every core contact) and `sigma_local_*` (free core slip: each core bends
every core contact; with `core_core_coupling="relative"` the end of a
400-increment proportional ramp, since the coupled stations redistribute
their stress) and `sigma_local_*` (free core slip: each core bends
about its own axis). The stuck state holds only below the slip curvature of
the cores; on the IEA 66 kV template the cores slip at about 3e-4 1/m, so at
any practical curvature the frictional state is close to free slip.
Expand Down Expand Up @@ -978,6 +980,32 @@ print(core.loads, core.xi, core.mu_effective, core.stick_EI_Nm2)
cores use the same direction-tied Papailiou cap and return map as the armour
wires, so biaxial histories work
(`cablexsec.mechanics.core_friction.core_friction_history`).
- Core–core coupling (`CoreFrictionSpec(core_core_coupling=...)`). By default
(`"absolute"`) every contact of a core, its neighbours included, resists the
slip of that core against the plane section, as for a helix on a fixed
cylinder: full slip at `π/2` times the onset curvature. `"relative"` is a
coupled intralayer slip model of laid cores: neighbouring cores touch at
the same axial position, so the friction between them resists their
relative slip `u_i − u_j`, while the filler and ring contacts keep the
absolute slip. 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 is bounded by `σ0 μ_cc (q_cc/q) |sin β| min(ψ, π/n)` (`ψ` from the
neutral axis), the interlayer share by the Papailiou cap with
`μ_a = (μ_cf q_cf + μ_cs q_cs)/q`, and the return map is the closest point
of the group (`cablexsec.mechanics.station_coupling`). With core–core
contact only (three cores) slip starts at the same onset, the largest
frozen friction stress is 2/3 and the full-slip moment `√3/2` of the
absolute values, and full slip comes at `2π/(3√3) = 1.209` times the onset.
An independent field solver of the coupled axial equilibrium of the three
cores (`validation/scripts/coupled_core_slip_reference.py`) gives the same
onset, full-slip curvature, moment–curvature, friction-force distribution
and reversal loop, with and without interlayer friction
(`tests/test_core_coupled_slip.py`). It is a direction-tied law:
`friction_model="distributed"` raises and `"auto"` keeps it on a non-planar
path with a `FrictionModelFallbackWarning`. The stick state, the contact
loads and the onset are those of the default. The default stays
`"absolute"`; the effect on the shipped cables is in
[template_66kv.md](template_66kv.md) Section 4.1.
- Friction model of the cores and profiles, as for the armour:
`core_friction_history(..., friction_model="distributed")` solves each
population with the distributed helix model of the armour (the axial force
Expand Down Expand Up @@ -1033,7 +1061,9 @@ print(core.loads, core.xi, core.mu_effective, core.stick_EI_Nm2)
`export_bending_law(..., core_friction=...)`. The cores stick and carry
their parallel-axis term until slip onset `μ q / (ξ EA_core sin β cos β)`
(Skeie and Sødahl 2012, Eq. 2.31) and all slip from
`q expm1(μ sin β π/2) / (ξ EA_core sin² β cos β)` (Papailiou 1997, Eq. 15);
`q expm1(μ sin β π/2) / (ξ EA_core sin² β cos β)` (Papailiou 1997, Eq. 15;
with `core_core_coupling="relative"` the full-slip curvature of the coupled
stations, `core_full_slip_curvature`);
both curvatures are reported per case and are nodes of the backbone grid.
With `CoreFrictionSpec(core_shear=False, strand_slip=False)` the backbone
starts on `compute_stiffness(cable).ei_max_Nm2`; with the core insulation
Expand Down
14 changes: 14 additions & 0 deletions doc/template_66kv.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,20 @@ What the comparison shows:
Fig. 12b and Table 13), and no input is changed to follow either.
- A synthetic 61-wire conductor (lay ratio 12, Table 2 copper friction 0.30)
raises the half-height by a further 0.03 kN·m.
- **Core–core coupling.** With `CoreFrictionSpec(core_core_coupling="relative")`
(the coupled intralayer slip model of the local analysis guide,
Section 6.1) the friction between neighbouring cores acts on their relative
slip. At 50 kN with the default coefficients (0.2) the bounded trefoil puts
67 % of the core contact load on the core–core contacts; the solved radial
state has no core–core contact force at that tension (98 % of the load is
on the filler), so the two options agree on it. On the bounded state the cores reach full slip at 1.22 instead of
1.61 times their onset curvature, their full-slip friction moment is 9 %
lower and the range of the core-axis friction strain 22 % lower. The
section secant stiffness falls by 2.8, 2.5 and 2.1 % at 2, 5 and 10 times
the core onset (the stick value is unchanged), the cycle work at ±10 times
the onset by 2.4 %, and the exported backbone by 0.5 % at 0.04 1/m and
0.1 % at 0.2 1/m. Armour and conductor damage are curvature driven and do
not change.

### 4.2 Energised cable: temperature history into clamping and fatigue

Expand Down
34 changes: 27 additions & 7 deletions src/cablexsec/analysis/bending_law.py
Original file line number Diff line number Diff line change
Expand Up @@ -1549,8 +1549,16 @@ def _state_law(
def _group_caps(law: _MkappaLaw) -> FloatArray:
"""Planar full-slip friction moment of every friction group [N m]."""
values = [_friction_cap(spec) for spec in law.layers]
if law.core_model is not None:
values += [_friction_cap(spec) for spec in law.core_model.populations]
model = law.core_model
if model is not None:
from cablexsec.mechanics.core_friction import ( # noqa: PLC0415
core_full_slip_moment,
)

# The cores hold the bounds of their own law (relative coupling: the
# interlayer plus the intralayer bound), the profiles the Papailiou cap.
values.append(core_full_slip_moment(model))
values += [_friction_cap(spec) for spec in model.populations[1:]]
return np.asarray(values, dtype=np.float64)


Expand Down Expand Up @@ -1601,14 +1609,26 @@ def _slip_transitions(
if law.progressive is not None and law.progressive.density == "uniform":
n = law.progressive.n_elements
spread = 1.0 - law.progressive.spread * (1.0 - 1.0 / n)
specs = [(spec, spread) for spec in law.layers]
if law.core_model is not None:
specs += [(spec, 1.0) for spec in law.core_model.populations]
specs: list[tuple[HelicalLayerSpec, float, float | None]] = [
(spec, spread, None) for spec in law.layers
]
model = law.core_model
if model is not None:
from cablexsec.mechanics.core_friction import ( # noqa: PLC0415
core_full_slip_curvature,
)

# The coupled stations of the relative core law have their own
# full-slip curvature (core_full_slip_curvature).
core_full = None if model.coupling is None else core_full_slip_curvature(model)
specs += [(model.population, 1.0, core_full)]
specs += [(spec, 1.0, None) for spec in model.populations[1:]]
out = []
for spec, factor in specs:
for spec, factor, full in specs:
if friction_law is not None and friction_law.pressure_dependent:
scale = float(friction_law.pressure_factor_at(spec.contact_pressure_Pa))
spec = dataclasses.replace(spec, mu=spec.mu * scale)
full = None if full is None else full * scale
onset = slip_onset_curvature(spec)
if not (math.isfinite(onset) and onset > 0.0):
continue # no friction: the group is in full slip from zero
Expand All @@ -1618,7 +1638,7 @@ def _slip_transitions(
tension,
onset * _compression_onset_factor(lam) * factor,
onset,
full_slip_curvature(spec),
full_slip_curvature(spec) if full is None else full,
)
)
return out
Expand Down
37 changes: 33 additions & 4 deletions src/cablexsec/analysis/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@
)
from cablexsec.exceptions import CableInputError, CableSchemaError
from cablexsec.materials import library
from cablexsec.mechanics.core_friction import CoreFrictionSpec, build_core_friction
from cablexsec.mechanics.core_friction import (
CoreFrictionSpec,
build_core_friction,
core_station_history,
)
from cablexsec.mechanics.core_kinematics import CORE_SLIP_STATES, CoreSlipState
from cablexsec.mechanics.core_lay import core_angle, core_bending_components
from cablexsec.mechanics.papailiou import wire_slip_stress_bounds
Expand Down Expand Up @@ -133,6 +137,10 @@
)
"""How the stress of a layer outside the load path is obtained, in words."""

#: Increments of the proportional path of the coupled (relative) core law in
#: the frictional core state of one section.
_COUPLED_RAMP_SAMPLES = 400

_STATE_WORDS = {
"stuck": "stuck (cores held to the cable axis)",
"frictional": "frictional core slip",
Expand Down Expand Up @@ -478,6 +486,25 @@ def _core_axis(
if kappa == 0.0:
frictional = np.zeros(layer.n_cores)
slipping = 0
elif model.coupling is not None:
# Relative core-core coupling: the stations of one axial position
# redistribute their stress, so the monotonic state is the end of a
# proportional path from the stress-free state.
stations = np.arange(layer.n_cores) * model.spec.n_stations_per_core
ramp = np.linspace(0.0, 1.0, _COUPLED_RAMP_SAMPLES + 1)[1:]
history = core_station_history(
model,
ramp * kappa_x,
ramp * kappa_y,
initial_bending_angle=math.atan2(kappa_y, kappa_x),
)
stress = np.asarray(history.stress_Pa)[stations, -1]
frictional = stress / population.E_wire_Pa
cosine = np.cos(phases - math.atan2(kappa_y, kappa_x))
stick = population.k_f * population.r_helix_m * cosine * kappa
slipping = int(
np.count_nonzero(np.abs(stress - stick) > 1e-9 * (np.abs(stick) + 1.0))
)
else:
phi_bend = math.atan2(kappa_y, kappa_x)
stations = np.arange(layer.n_cores) * model.spec.n_stations_per_core
Expand All @@ -490,9 +517,11 @@ def _core_axis(
return _CoreAxis(
stuck,
frictional,
f"core friction coefficient {model.mu_effective:.3g}, stick coefficient "
f"{model.xi:.3g}, contact line load {model.loads.total_N_per_m:.4g} N/m per "
f"core; {slipping} of {layer.n_cores} cores slipping in this section",
f"core friction coefficient {model.mu_effective:.3g}"
+ (" (relative core-core slip)" if model.coupling is not None else "")
+ f", stick coefficient {model.xi:.3g}, contact line load "
f"{model.loads.total_N_per_m:.4g} N/m per core; {slipping} of "
f"{layer.n_cores} cores slipping in this section",
)


Expand Down
8 changes: 2 additions & 6 deletions src/cablexsec/analysis/kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
from cablexsec.mechanics.core_friction import (
CoreFrictionSpec,
build_core_friction,
core_station_history,
resolve_core_friction,
)
from cablexsec.mechanics.distributed_friction import distributed_friction_history
Expand Down Expand Up @@ -789,12 +790,7 @@ def _core_field(

model = build_core_friction(cable, spec, tension_N, contact_model=contact_model)
population = model.population
history = wire_slip_history(
population,
drive.kx,
drive.ky,
direction_hold_fraction=spec.direction_hold_fraction,
)
history = core_station_history(model, drive.kx, drive.ky)
phi = np.asarray(population.phi_wires, dtype=np.float64)
lay = cable.core_lay
sign = _lay_sign(lay.lay_direction) if lay is not None else 1
Expand Down
3 changes: 2 additions & 1 deletion src/cablexsec/analysis/section_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
from cablexsec.mechanics.core_friction import (
CoreFrictionSpec,
build_core_friction,
core_full_slip_curvature,
resolve_core_friction,
)
from cablexsec.mechanics.papailiou import full_slip_curvature, slip_onset_curvature
Expand Down Expand Up @@ -1111,7 +1112,7 @@ def _core_slip(
model.mu_effective,
model.xi,
slip_onset_curvature(population),
full_slip_curvature(population),
core_full_slip_curvature(model),
model.stick_EI_Nm2,
None if fillers is None else fillers.line_load_N_per_m,
None if fillers is None else slip_onset_curvature(fillers.population),
Expand Down
17 changes: 14 additions & 3 deletions src/cablexsec/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,12 @@ def compute_mkappa(
else:
method_extra = (
"; laid-core stick-slip (direction-tied Papailiou cap, "
f"{model.loads.source} core contact loads, stick coefficient "
+ (
""
if model.coupling is None
else "relative core-core slip of neighbouring cores, "
)
+ f"{model.loads.source} core contact loads, stick coefficient "
f"{model.xi:.3f}, effective friction coefficient "
f"{model.mu_effective:.3f})"
+ (
Expand Down Expand Up @@ -1140,8 +1145,14 @@ def compute_mkappa(
else "of the reference"
)
+ ", not changed by bending; the layers of a core move together; "
"core-core friction acts on the slip of each core relative to the "
"plane-section field",
+ (
"core-core friction acts on the slip of each core relative to the "
"plane-section field"
if model.coupling is None
else "core-core friction acts on the relative slip of neighbouring "
"cores (coupled stations, constant Coulomb bound of the core-core "
"load)"
),
"internal rings take the core contact line load by line-force "
"conservation (upper estimate) and the cable curvature",
)
Expand Down
Loading
Loading