diff --git a/CHANGELOG.md b/CHANGELOG.md index a02b3b3..672e49d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,15 @@ All notable changes to CableXSec are recorded in this file. The format follows ### Added +- Validation row CH-GJ (stated, model-to-model, registered before the run): free torsional + stiffness of the Chae, Nam and Shim (2023) coiling cable at the source's twist of 0.125 rad/m + (unwinding, zero tension), against the range of the source's three cross-section tools + (Table 5; no measurement). Armour pitch 1.8 / 3.0 m: packaged straight cores 81.9 / 50.5 kN m²; + cores laid S as in the source at an assumed pitch of 2.5 m 61.1 / 35.0 and of 3.0 m + 64.4 / 37.3 kN m² (tools 59.6–83.2 / 34.3–44.7). The packaged file and the benchmark page state + that its straight cores raise the free torsional stiffness by 1.3–1.4 times, and why the + source's closed form (Eq. 14 as printed) is not a reference. + - Validation row BM1-ID (gap R1b), targets registered before the run: on the Ménard and Cartraud (2023) cable with the laid cores, the trefoil wedge and the filler profiles (μ 0.2 on every contact), the initial pressure identified on the cycle work of range (b) is 220 kPa diff --git a/doc/benchmarks.md b/doc/benchmarks.md index 3837c66..46945f6 100644 --- a/doc/benchmarks.md +++ b/doc/benchmarks.md @@ -2044,6 +2044,43 @@ so the coiling stresses themselves are not benchmarked. Request `cablexsec.compute_coiling`, tests `tests/test_coiling.py`. Any coiling result depends on the core lay, which must be stated with it. +### Torsional stiffness of the coiling cable (CH-GJ, model-to-model) + +The source's Table 5 gives the torsional stiffness of its cable from three +cross-section tools; none is measured. CH-GJ reports the free torsional +stiffness of the packaged cable at the source's twist (0.125 rad/m, Table 4; +the sense that unwinds the armour; zero tension), as a stated comparison +without a gate: + +| Core lay | Armour pitch 1.8 m (kN m²) | Armour pitch 3.0 m (kN m²) | +| --- | --- | --- | +| Range of the three tools (Table 5) | 59.6–83.2 | 34.3–44.7 | +| Straight (packaged) | 81.9 | 50.5 | +| S, assumed pitch 2.5 m | 61.1 | 35.0 | +| S, assumed pitch 3.0 m | 64.4 | 37.3 | + +With straight cores the value is inside the tools' range at 1.8 m and 13 % +above its top at 3.0 m; with S-lay cores at either assumed pitch it is inside +at both pitches, at 0.88–0.93 of the middle tool at 1.8 m and 0.79–0.84 at 3.0 m. + +- **Core lay.** The source lays the cores S, like the armour (Sec. 2.1.2), but + gives no core pitch; the packaged file keeps straight cores. Under an + unwinding twist the armour shortens; straight cores resist that shortening + at the free end, whereas S-lay cores shorten with it, so straight cores give + the larger stiffness. The core pitch is not identified on the tools. +- **Terms.** With straight cores at 1.8 m: the fixed-radius armour term + `K_tt − K_et²/K_ee` is 81.9 kN m², the Saint-Venant terms of the cores about + their centres 21.0 kN m² and of the filler lobes 0.3 kN m² (the yarns are + servings and carry no torque); the radial response of the unwinding armour + lowers the armour part of the solved section to about 60 kN m². +- **The closed form of the source (Eq. 14).** As printed, the coupling term + sits inside the sum over helical layers; for one layer it then cancels the + armour term exactly and leaves `Σ G_c J_c`, independent of the pitch. + Komperød (2014), which the source cites, assembles the cable matrix first and + then takes `k22 − k12²/k11` with the cylinders in `k11`. The published column + (69.6–25.1 kN m²) is proportional to `1/P²` within 0.2 % and therefore holds + no pitch-independent `G_c J_c` term; it is not used as a reference here. + ## Planned benchmarks None of these is a completed comparison. Each will be registered under the diff --git a/src/cablexsec/cables/chae2023_coiling.yaml b/src/cablexsec/cables/chae2023_coiling.yaml index 678bdef..f6242dc 100644 --- a/src/cablexsec/cables/chae2023_coiling.yaml +++ b/src/cablexsec/cables/chae2023_coiling.yaml @@ -25,7 +25,12 @@ # annulus between the cores; # the two yarn layers as servings (construction: serving): radial and hoop # stiffness of the Table 2 yarn, no axial, bending or torsional stiffness; -# straight cores (no core_lay block): the core lay pitch is not given; +# straight cores (no core_lay block): the core lay pitch is not given, +# although the source lays the cores S like the armour (Sec. 2.1.2). +# Straight cores hold the armour against the free extension, so they +# raise the free torsional stiffness: at 0.125 rad/m it is 1.3-1.4 x +# that with S-lay cores at an assumed pitch of 2.5-3.0 m (validation row +# CH-GJ); the armour stress at a given twist depends on it too; # zero manufacturing clamping: all tools start from a stress-free state # (Sec. 2.4). cable: diff --git a/validation/scripts/check_section_torsion.py b/validation/scripts/check_section_torsion.py index b4272be..2b7e4ee 100644 --- a/validation/scripts/check_section_torsion.py +++ b/validation/scripts/check_section_torsion.py @@ -22,9 +22,15 @@ from __future__ import annotations import math +import re +import tempfile +from pathlib import Path import numpy as np +import cablexsec as cx +from cablexsec.cables.schema import CableData +from cablexsec.mechanics.radial_cable import solve_cable_radial_state from cablexsec.mechanics.tendon_section import rectangle_torsion_constant from cablexsec.mechanics.trefoil_section import SECTOR, saint_venant_rigidity @@ -85,9 +91,70 @@ def verification_checks() -> dict[str, float]: return {"rectangle": rectangle_error(), "annulus": annulus_error()} +# Chae, Nam and Shim (2023), Table 5: torsional stiffness [N m^2] of the three +# cross-section tools of the source, by armour pitch [m]. No measurement. +CHAE_TABLE5_GJ = { + 1.8: (83170.0, 59566.0, 69244.0), + 3.0: (44683.0, 34311.0, 44533.0), +} +CHAE_TWIST = 0.125 # [rad/m], Table 4 (global twist) +CHAE_HELIX_RADIUS = 0.081 # [m], packaged YAML (assumed there) + + +def chae_cable(pitch_m: float, core_pitch_m: float | None = None) -> CableData: + """The packaged Chae cable re-pitched; optionally with S-lay cores.""" + text = Path(cx.chae2023_yaml_path()).read_text(encoding="utf-8") + angle = math.degrees(math.atan(2 * math.pi * CHAE_HELIX_RADIUS / pitch_m)) + text, count = re.subn( + r"lay_angle_deg: [0-9.]+", f"lay_angle_deg: {angle:.6f}", text + ) + if count != 1: + raise RuntimeError("the packaged Chae cable must have one armour lay angle") + if core_pitch_m is not None: + # The source lays the cores S, as the armour (Sec. 2.1.2). + if "\ncore_lay:" in text or text.count("\nlayers:\n") != 1: + raise RuntimeError("cannot add a core_lay block to the Chae cable") + block = f"\ncore_lay:\n pitch_m: {core_pitch_m}\n lay_direction: left_hand\n" + text = text.replace("\nlayers:\n", block + "\nlayers:\n", 1) + with tempfile.TemporaryDirectory() as folder: + path = Path(folder) / "chae.yaml" + path.write_text(text, encoding="utf-8") + return cx.load_cable(str(path)) + + +def chae_free_torsion(pitch_m: float, core_pitch_m: float | None = None) -> float: + """Free-end secant torsional stiffness [N m^2] at the source's twist. + + Zero tension, 0.125 rad/m in the sense that unwinds the armour (the + coiling sense), solved section with the loose-layer neighbour rule of the + coiling request. + """ + cable = chae_cable(pitch_m, core_pitch_m) + (armour,) = cable.helical_layers + # Positive twist tightens a right-hand lay, so it unwinds a left-hand one. + sign = 1.0 if armour.lay_direction == "left_hand" else -1.0 + state = solve_cable_radial_state( + cable, + 0.0, + prescribed_twist_per_m=sign * CHAE_TWIST, + loose_layers="neighbour", + ) + return abs(float(state.result.torque_Nm)) / CHAE_TWIST + + +def chae_checks() -> dict[str, dict[float, float]]: + """CH-GJ: straight cores (packaged) and S-lay cores at 2.5 and 3.0 m.""" + out: dict[str, dict[float, float]] = {} + for label, core in (("straight", None), ("S 2.5 m", 2.5), ("S 3.0 m", 3.0)): + out[label] = {p: chae_free_torsion(p, core) for p in CHAE_TABLE5_GJ} + return out + + def main() -> None: for name, value in verification_checks().items(): print(f"{name}: {value:.2e}") + for label, values in chae_checks().items(): + print(label, {p: round(v / 1e3, 1) for p, v in values.items()}) if __name__ == "__main__": diff --git a/validation/scripts/run_validation.py b/validation/scripts/run_validation.py index 56365eb..7f46350 100644 --- a/validation/scripts/run_validation.py +++ b/validation/scripts/run_validation.py @@ -19,6 +19,7 @@ import sys from dataclasses import dataclass from pathlib import Path +from types import ModuleType import numpy as np @@ -852,9 +853,37 @@ def _torque_rows() -> list[Row]: and p["uj_test_max"] <= 1.15 else "FAIL", ), + _chae_torsion_row(sv), ] +def _chae_torsion_row(sv: ModuleType) -> Row: + """CH-GJ: model-to-model torsional stiffness of the Chae cable (stated).""" + gj = sv.chae_checks() + pitches = sorted(sv.CHAE_TABLE5_GJ) + + def pair(values: dict[float, float]) -> str: + return " / ".join(f"{values[p] / 1e3:.1f}" for p in pitches) + + tools = " / ".join( + f"{min(sv.CHAE_TABLE5_GJ[p]) / 1e3:.1f}-{max(sv.CHAE_TABLE5_GJ[p]) / 1e3:.1f}" + for p in pitches + ) + return Row( + "2", + "CH-GJ", + "Chae, Nam and Shim (2023) Table 5: free torsional stiffness at " + "0.125 rad/m (unwinding, zero tension), armour pitch 1.8 / 3.0 m, " + "against the range of the source's three cross-section tools [kN m^2]: " + "packaged straight cores; cores laid S as in the source (Sec. 2.1.2) at " + "an assumed pitch of 2.5 m and 3.0 m (the source gives none)", + "stated, not gated (model-to-model; no measurement; core pitch not published)", + f"tools {tools}; straight {pair(gj['straight'])}; S 2.5 m " + f"{pair(gj['S 2.5 m'])}; S 3.0 m {pair(gj['S 3.0 m'])}", + "INFO", + ) + + def _mkappa_tension_cycle(cable: CableData) -> tuple[float, float]: """Tension cycling inside the bending cycles: the M-kappa law against the fatigue path (gap a1). diff --git a/validation/validation_report.md b/validation/validation_report.md index 80e2d82..366e80b 100644 --- a/validation/validation_report.md +++ b/validation/validation_report.md @@ -51,6 +51,7 @@ Every row is computed from published data or closed-form references in this repo | 2 | OST12 | Eq. 19 per layer vs Ostergaard fixed-free plateaus, Fig. 14 (inner, outer, sum) [kN] | 49.5 ± 5%; 48 ± 5%; 98 ± 5% | +1.01%; -0.06%; -0.03% | PASS | | 2 | TQ-KL | Torque-balance outer helix angle vs Kim and Lee (2017) beam FE, 1+6+12 strand, seven pairs [deg] | abs. difference <= 0.3 | -0.26 to -0.06 | PASS | | 2 | TQ-UJ | Fixed-end torque per kN vs Utting and Jones (1987) Part II Table 1, six strands: model/Machida-Durelli theory; model/test | 1.04-1.07; 1.00-1.15 | 1.051-1.059; 1.067-1.136 | PASS | +| 2 | CH-GJ | Chae, Nam and Shim (2023) Table 5: free torsional stiffness at 0.125 rad/m (unwinding, zero tension), armour pitch 1.8 / 3.0 m, against the range of the source's three cross-section tools [kN m^2]: packaged straight cores; cores laid S as in the source (Sec. 2.1.2) at an assumed pitch of 2.5 m and 3.0 m (the source gives none) | stated, not gated (model-to-model; no measurement; core pitch not published) | tools 59.6-83.2 / 34.3-44.7; straight 81.9 / 50.5; S 2.5 m 61.1 / 35.0; S 3.0 m 64.4 / 37.3 | INFO | | 2 | BM1 | Ménard full-slip EI_min (calibration-free) | < 15% | 0.6% (EI_min 3571 N·m²) | PASS | | 2 | BM1-loop | Ménard +/-0.10 M-kappa after published +/-0.05 calibration, four-point test arrangement (Sec. 3: M = Fa L1, LVDT parabola) | ordered RMSE < 5%; matched experimental cycle work within 10% | model -541/541 N·m and W=67.8 J/m vs measured 62.3 J/m; measured -502/526 N·m; ordered RMSE 2.71%; matched experimental work difference 8.8% | PASS (published calibration transfer) | | 2 | BM1-loop-uniform | Ménard +/-0.10 M-kappa after published +/-0.05 calibration, uniform curvature (pre-T1 basis, kept for continuity) | ordered RMSE < 5%; matched experimental cycle work within 10% | model -541/541 N·m and W=67.8 J/m vs measured 62.3 J/m; measured -502/526 N·m; ordered RMSE 2.71%; matched experimental work difference 8.8% | PASS (published calibration transfer) |