Repository navigation
release: CableXSec 0.2.0 - #56
Conversation
…ion law (#1) compute_thermal_fatigue took the frictional heat of each block from the friction work of the direction-tied wire model, whose cap re-orients with the bending direction and under-counts the slip of rotating curvature. The heat now comes from the distributed helix model through record_friction_work (64 nodes per pitch, 1.0 kappa_on increments: within 0.25 % of the fatigue-path settings at about 1 % of their cost). Fatigue stresses still use the direction-tied model. Large-orbit limits of the orbit/planar work ratio: pi/4 (distributed) against 0.448 (direction-tied). On the 66 kV template at 100 kN the direction-tied heat is 0.16-0.51 of the distributed heat at 2-32 times the slip onset. Whirl record at 4x onset, 50 kN: 0.703 against 0.254 mW/m. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…(1997) (#2) The armour friction bound grew with the capstan term on both sides of the bending neutral axis: sigma0 expm1(lam psi) in the direction-tied model and lam |n| in the helix kernels. Papailiou (1997, Eqs. 9-11, 14, 21) uses the signed helix angle, so a wire whose force falls also loses normal load. The bound is now -sigma0 (1 - exp(-lam psi)) <= sigma_f <= sigma0 expm1(lam psi), lam = mu |sin alpha|, and b = rho g + lam n with signed n in the distributed, along-wire and progressive kernels. A full reversal spans 2 sigma0 sinh(lam psi): the first-order capstan term cancels in the stress range and the moment. The former form overstated the full-slip friction-stress range by 2/(1 + exp(-lam pi/2)): 9 % at 35 deg and mu 0.2, 2.8-6.7 % for the bundled power cables (moment and loop work 6.5 % and 2-5 %). Bulk fatigue damage of the six bundled cables falls by 0-19 %; peak tensile friction stress is unchanged. First slip moves to the compression side at m kappa_on, m = 1 - 3 lam^2/8, and the direction-hold threshold uses m kappa_on to keep its stick guarantee. Ménard BM1-loop and BM1-loop-uniform go from FAIL to PASS (RMSE 2.71 %, work +8.8 %); registered FAIL rows 6 to 4. api._papailiou_slip_fraction and full_slip_curvature used symmetric station caps and are fixed. Every test that pinned the symmetric form is re-derived against a closed form, not re-recorded; tests/test_signed_capstan.py adds seven analytical tests. Stick-range checks end at m kappa_on, and the compiled kernel matches the reference to round-off (vectorised NumPy and the scalar kernel differ by 2e-15 on some builds). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…appa (#3) compute_mkappa held one contact pressure over a bending history, while the fatigue path already refreshed it every sample. contact_tension_history_N (one tension per curvature sample, turned into per-layer pressures by the contact model, pressures only: no crossed-wire line loads, which refuse some layer stacks) and contact_pressure_Pa (the per-sample P1+P2 of every structural armour layer) let the armour friction bound follow the history in the same return map as the fatigue path. The stick and full-slip stiffnesses, the laid-core and ring contact loads and the wire-yield check stay at the reference state; MkappaResult.contact_pressure_Pa returns the pressures used. SectionLaw and the bending-test simulator keep a fixed pressure; the exported law is unchanged. The cap is not a stiffness, so no material-work term arises: a falling bound releases A cos a (c0^2 - c1^2)/(2k) of a slipping wire as friction work plus the integration remainder. Tests: a constant history is the fixed law bit for bit; a constant tension history the scalar tension; pressure steps in stick change nothing; a pressure cycle in full slip dissipates the closed-form work per wire (1e-15); a tension cycle inside bending cycles is the fatigue path's friction stress (3.4e-16 of the moment); per-cycle work at stepped tension follows the closed form; a tension history never forms the crossing loads (bounded, qp, solved). New validation row MK-Tcyc (tier 1, PASS). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The exported bending law held one contact state per tension and was interpolated between tensions, with no rule for its slider states when the tension changes. export_bending_law(..., slip_scale=True) now adds BendingLawExport.slip_scale, a SlipScaleTable: - the law at a reference tension split into friction groups, one per structural armour layer and laid_cores for the core lay stage, each with its Iwan elements (k_i, kappa_y,i), plus EI_slip; - the cap R_g of every group (its planar full-slip friction moment) over a table of tensions and, optionally, external pressures (solved section states), the group scale rho_g = R_g / R_g,ref, the single cap-weighted scale s = sum R_g / sum R_g,ref, and the derivatives d/dT and d/dp_e (central differences of the contact model). Why it is exact per group: the direction-tied wire is a spring-slider of fixed stiffness k_f = xi E cos^2 a whose bounds are proportional to its layer's P1+P2. The return map is positively homogeneous, so a group whose bounds scale by rho obeys M(kappa; rho) = rho M(kappa / rho; 1) over any history (the signed capstan bound included), and its Iwan elements keep k_i while their yield curvatures become rho kappa_y,i. Under a changing state every element follows the return map with the new cap, e_i <- clip(e_i + dkappa, -rho kappa_y,i, rho kappa_y,i), the rule the fatigue kernels and the contact-tension history of compute_mkappa apply to every wire (SlipScaleTable.moment, law_at, dissipated_energy). The caps come from the scalar-tension contact states of compute_mkappa (pressure only; no crossed-wire line loads), so layer stacks whose contact histories are refused still export a scale. Tests (tests/test_bending_law_slip_scale.py): - compute_mkappa at 70 kN is the 20 kN law with the bound scaled over a loop history, cores included (66 kV template, every group ~ T): 4e-16; - every group law decomposed at 60 kN on the grid rho_g kappa is the 10 kN group law with yield curvatures times rho_g (Menard, layers scaling by 2.06 and 1.40; 33 kV three-core with cores): < 1e-13; - with symmetric wire bounds on a grid through every wire's slip curvature, the scaled law under a tension cycle inside bending cycles is compute_mkappa with the contact-tension history, moment and work, to 1e-14; - with the signed bound it misses the history route by at most 1.02 times the fixed-tension Iwan residual (Menard 0.17 %, 66 kV 0.11 % of the range); the frozen law misses by 19 % and 43 %; - table values and slopes, the pressure axis, JSON/CSV, project round trip, input checks, a falling cap at fixed curvature. One scale for all groups is exact when the groups scale alike and keeps the stick stiffness and full-slip moment otherwise. Largest error against the per-group law over 10-150 kN (backbone and cycles to 1.5 times full slip): 66 kV 0; 33 kV three-core 0.10 % (0.29 % with cores); Menard 12 %; with an external pressure of 0-2 MPa 21 % (66 kV), 12 % (33 kV), 19 % (Menard). Torque is not a table variable, and the internal-ring slip of resolved strands is refused. Format: the JSON law with a slip scale is cablexsec.bending_law/2 (a new slip_scale object, version-1 fields unchanged); without one it stays version 1. SlipScaleTable.to_csv writes the table. BendingLawSettings passes the new options. SlipScaleTable.reference_law() is the law at the reference from the group elements, so the JSON law serialises when the reference lies outside the table axes. The project codec accepts a missing field that has a default, so project files written before slip_scale existed still load. export_bending_law refuses contact_pressure_Pa and contact_tension_history_N as options. Fixed: the docs and provenance claimed the exported Iwan law follows compute_mkappa exactly. The signed capstan bound makes each wire's slip interval asymmetric, which no Masing element carries; the residual is about 0.1 % of the moment range near full slip (0.02 % at mu = 0.02, 0.017 % with symmetric bounds on Menard). New validation row MX-scale (tier 1): 4.1e-16; 8.3e-14 (1.1e-13 on CI, the group elements are differences of fitted slopes); ratio 1.02 against < 1e-12; < 1e-9; <= 1.25. Docs: global-local guide Section 8.1, file formats, concepts, benchmark register, VALIDATION.md, changelog. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The ruff hooks matched ^(cablexsec|tests|examples|validation|release)/, but the package lives under src/cablexsec, so pre-commit never linted or formatted it and CI's lint job (ruff over src tests examples validation release doc) caught what pre-commit passed. The hooks now take the same trees as CI, and the hook rev matches the ruff CI installs (0.15.22, within the dev pin >=0.15,<0.16). The whole tree passes the hooks unchanged. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…ce) (#6) Every route that anchors a wire held it rigidly (u = 0 at the anchor). A potted end fitting holds the wire end with a finite stiffness, so the anchor can now be a spring K per wire [N/m] at the anchor node, in parallel with the friction of the node's half segment: - termination correction: TerminationSpec(k_anchor_N_m=K), clamp and along-wire solvers, with or without a curvature field (the far-field reference is unchanged); - along-wire chain: along_wire_history(anchor_stiffness_N_m=(K0, K1)), WireChain.build, WireChainLayer.anchor_stiffness_hat; - along-wire bending test (beam solved with the wires): AlongWireSpec(k_anchor_N_m=(K_left, K_right)); - clamp-layer solver: anchored_wire_response / anchored_wire_field_response (anchor_stiffness, normalised K R / (EA sin a)). None (default) or inf is the rigid anchor on the unchanged code path; 0 is a free wire end. The rigid projection of the clamp layer is untouched; the spring and free ends use the node-wise projection of the along-wire solver, moved to clamp_layer and extended with an elastic first and last node (a convex soft term, still solved exactly). Closed form (uniform imposed strain, spring anchor, slip zone next to the anchor, rigid and elastic stick): anchor force within 1e-5 A, slip length within 1.2 h, dissipation within 5e-4. Clamp solver and chain agree to 5e-15; k = 0 equals the free end; the termination increment tends to the rigid one as 1/k; energy identity 2e-13 of the work; station Jacobian and two-way closed-cycle work checked (doc/benchmarks.md, TA-V1 to TA-V7). The guide derives a shear-lag estimate of K for a potted fitting (about 1e8 to 2e9 N/m per tendon, an order-of-magnitude estimate). The Saevik (2011) termination rows are re-run over the range as a reported sensitivity (validation/scripts/check_saevik2011_anchor.py): from the rigid anchor to a free wire end SV11-PLANE stays at median 1.62 and SV11-GJ at 1.80 (round-off), the along-wire variant at 3.11 and 4.19 (below 5e-4). The end fitting sits 2.3 m before the bellmouth at about 1% of its peak curvature, so the wire next to it stays in stick and the anchor does not reach the stations. No gate, default or registered value changes. Sea-state batch section records carry the key; records without it load with a rigid anchor. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Every contact pair had one rate-independent Coulomb coefficient. A FrictionLaw now gives each wire (direction-tied model) or helix node (distributed model) a factor on its coefficient where the kernel applies it: inside the capstan exponent of the wire bounds and on the whole node bound m (rho g + lam n). - Static/dynamic: static_factor until a wire slips in a stick episode, dynamic_factor while it slips and until it has stuck for stick_time_s, per-wire (per-node) stick timer, either order (breakaway peak or velocity strengthening). - Rate: R(v) = 1 + c ln(1 + v/v0) + v/v_eta on the dynamic factor; the viscous term is t = b sign(v) + eta v with eta = b/v_eta, solved as a backward-Euler (Perzyna) return by safeguarded Newton, unique for c >= 0 and exact per step. BendingWork.viscous_J_per_m carries the rate-dependent dissipation and the balance closes with it. The direction-tied slip rate is the plastic strain rate times r/|sin a|. - Direction-tied: NumPy reference in wire_slip_history and a compiled kernel in fast_slip; distributed: static/dynamic option with breakaway re-solve of the increment (rate terms refused). - compute_mkappa and compute_fatigue take friction_law and time_s; a law that depends on time is refused without sample times, time_s without such a law is refused. The progressive law, core friction, the termination clamp increment and the bending-law export (Masing/Iwan is rate independent) refuse a non-neutral law. - Neutral parameters keep the rate-independent code paths bit for bit. Tests: one-slider closed forms (breakaway peak, strengthening, healing, steady viscous loop area pi eta omega x0^2, steady logarithmic rate), energy identity to round-off, equal factors equal to a scaled mu, compiled kernel against the reference, entry-point refusals. The slip return of a rate-dependent law took Newton steps from the rate-free root and bisected only when a step left the bracket. With a strong viscous term or a short step the bound rises steeply with the slip, the steps shrink to a vanishing share of the bracket, and after 200 iterations the unconverged iterate was returned: its bound (6.6e100 Pa for a trial stress of 1e8 Pa) became the wire stress. - Scalar (compiled) and NumPy returns: Newton steps only inside the bracket and only while the bracket at least halves every second iteration, bisection otherwise, so the bracket shrinks geometrically however steep the bound. Convergence on the residual at round-off of the trial stress or on the bracket at round-off of the slip itself. An unconverged return is NaN and is refused by every caller (wire_slip_history, wire_friction_stress, slider_history) instead of being consumed. - The end-of-step stress is the bound at the slip, never above the trial stress (_return_stress; the NumPy path clips the same way). - The bound exponent is capped at 600 (was 700) so that capped bounds and slopes stay finite in binary64: no overflow inside the bracket. - A zero lay angle has zero capstan bounds; the law paths divided by sin(a) for the slip length. Both paths now give that layer zero friction under any law, as the existing bound and onset helpers do. - wire_friction_stress refuses a law on a layer without stick stiffness, as the reference does. Tests (all fail before this change): the reported return case and a sweep of 864 extreme rate cases (residual <= 1e-14 of the trial stress, bound between the rate-free bound and the trial stress, NumPy equal to scalar); both kernels with a steep viscous term and 1e-6 s steps (stress within the elastic envelope, kernels agree to 1e-12, energy balance); refusal of an unresolved return; static/dynamic and rate laws on a zero-lay-angle layer, compiled and NumPy. Two values were formed for both sides or consumers where only one is valid. - Direction-tied NumPy reference: the end-of-step bound of a slipping wire was evaluated on both sides at its rate factor. Under a strong viscous term the falling bound saturates at sigma0 g (a valid, finite return) while the rising exponential of the same factor overflows, so wire_slip_history raised for a finite solution (e.g. pressure 2e4 Pa, v_eta = 1e-9 m/s: falling bound 7.95e6 Pa, unused exponent 5401). The new _side_bound evaluates each wire on its own side only (with the scalar form's exponent cap); the kept cap of a slipping wire is that bound, and wires without slip, which carry no rate factor, keep both bounds. The NumPy return iteration evaluates bound and slope on each element's side only as well. The compiled kernel already evaluated one side (_bound). - compute_fatigue: time_s serves a ThermalHistory and a time-dependent friction law. A frozen ThermalState refuses any time_s, so a frozen state with a timed law always failed one of the two checks. The times now go to the friction kernel and, for a frozen state, not to the thermal helper; a frozen state given time_s without a timed law is still refused, and a ThermalHistory still takes the times. Tests (each fails before this change): the reported case on both curvature signs, compiled against the NumPy reference, compressed wires on the saturated bound, stresses within the trial stress, finite kept caps; compute_fatigue with a frozen ThermalState and a rate law, equal to the identical-block ThermalHistory, with the existing refusals. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Step 1 of the termination path: the clamp-layer solver in its own regime (one wire fixed at an end fitting, uniform curvature from straight, monotonic, rigid anchor) against the two published FE studies of this problem, which disagree (about 2.2 times the free-field stress at a neutral-axis anchor in Zhu and Tan 2014, almost no rise in Dong et al. 2025). Reported in doc/benchmarks.md (AW-DONG25, AW-ZT14), not gated: the comparison ran before a criterion existed and the two FE figures of Dong et al. for one wire differ by 8 MPa. Nothing fitted, no solver change. - The normalised anchored stress is not friction-independent: the far field divided by its peak is, the anchor layer grows with a = kappa/kappa_c (neutral-axis peak 1.00/1.16/1.70/2.38 at a = 1.5/2/4.92/10). Zhu and Tan do not print mu; their Table 2 rows invert (Eqs. 13, 16) to one u_stk/u_max = 3.987, i.e. a = 4.92, and their Fig. 14 amplitude agrees (58.8 against 58 +- 2.5 MPa). - Dong et al. (Table 1, Eq. 38 friction, 55 deg from the hoop, a = 1.87): at their verification case CableXSec gives 156.4 against 156.9 MPa (FE) at the neutral-axis anchor and the shifted peak within 1.6 % (position 0.217 against 0.22 pitch); intrados and extrados anchors leave the free field (8e-14). - Zhu and Tan: 1.19/1.70 (anchor/peak) against the FE's 2.22. Their FE far field is a cosine (RMS 0.028), not the full-slip triangle (0.154), and their analytical shifted field breaks the Coulomb flow rule (friction along the slip over 90-164 deg for the 90 deg wire). An elastic interface keeping the far field stuck (along-wire "spring", k_hat 0.05-0.25) brackets the FE values; a sensitivity, the FE penalty is not printed. Digitised curves (Dong Figs 9, 14, 25; Zhu-Tan Figs 4-8) with source hash, calibration and reading uncertainty in the headers; script validation/scripts/check_anchored_wire_fe.py (--spring for the sensitivity); tests/test_anchored_wire_fe.py (Table 2 inversion, flow rule of both fields, a-dependence, extreme-fibre exactness, pins). Taxonomy lines updated (+5 analytical_sanity, +2 full_scale, +1 unmarked). Local analysis guide: the termination step no longer says the solver was never compared with a helix FE model. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…n loops (#9) The friction law had one coefficient per contact pair whatever the contact pressure, and no measured armour friction loop was in the validation set. Pressure factor. FrictionLaw(pressure_factor=((P, f), ...)) multiplies the coefficient by a piecewise-linear f(P), clamped at the table ends, at the local friction-setting pressure P = (P1 + P2) g of each wire or helix node at every sample, so it follows a tension or pressure history. It enters where the static/dynamic and rate factors do (effective coefficient m f(P) mu): inside the capstan exponent of the direction-tied bounds (NumPy reference and compiled kernel) and on the whole node bound of the distributed kernel. The direction threshold takes the smallest factor of the table, so it stays below the onset of every wire. The factor is rate independent (no time base) and is refused where a friction law is (progressive model, laid-core friction, termination clamp increment). The exported bending law accepts a law with only a pressure factor at the fixed contact state of each tension and refuses it with slip_scale=True: f(P) moves the coefficient inside the capstan exponent, so M(kappa; rho) = rho M(kappa/rho; 1) no longer holds and the scaling rule is not exact. slider_history takes contact_pressure_Pa. No table, or a table of unit factors, keeps every code path bit for bit. FrictionLaw is not stored in project files; nothing saved before changes. Tests: one slider under pressure steps (falling bound clips the slipping force, rising bound leaves it in stick until the spring reaches it), pressures outside the table and zero contact, breakaway at m_s f(P), energy identity under a pressure history; the full-slip bound of every wire at its own local pressure; a constant table equal to the scaled coefficient and a unit table bit for bit (both kernels and the distributed model); compiled against NumPy to 1e-12 of the stress scale for three laws; the entry points and the export refusals. New validation row FL-P (round-off against 1e-9). Measured loops. Dai, Saevik and Ye, Marine Structures 59 (2018) 423-443, Fig. 4 (p. 429): Test 1 (8, 4 and 1 MPa, 0.01 Hz) and Test 3 (4 MPa, 0.01-0.2 Hz), digitised from the raster embedded in the PDF at its native 300 ppi by validation/scripts/digitise_dai2018_fig4.py (tick-centroid calibration, hue classification, one point per pixel column on the branches and per pixel row on the elastic segments; reading resolution +-0.008 mm / +-0.0021 and +-0.012 mm / +-0.0012), with provenance in the CSV headers. The end-of-stroke rises the paper attributes to the wire's out-of-straightness are kept in the data and excluded from the comparison (last 0.5 mm of each stroke). check_dai2018_friction.py runs slider_history with static_factor = mu_s/mu_d, stick_time_s = 0, no rate terms and each loop's measured stick slope. - DAI18-DIG (PASS): digitised loop maxima 0.2237/0.2405/0.3786 against the printed mu_s 0.22/0.24/0.38, within printed precision plus resolution. - DAI18-RS (PASS): every reversal of all seven loops peaks above the dynamic level; stick_time_s = 0 reproduces all 14 peaks, the default inf none. - DAI18-T1 (INFO): with the printed coefficients the peaks are within -1.8 to +1.0 %, the +x-stroke levels within 3.3 %; the measured -x strokes run 4-14 % lower (model +4.7 to +12.3 %). The force decays from the peak over 0.6-2.3 mm where the law drops in one step; work 1.9-2.6 % low. - DAI18-T3 (INFO): the static peak rises 10.6 % from 0.01 to 0.2 Hz, which the law cannot represent (0.2 Hz peak -7.9/-11.4 %); the dynamic level does not move (-3.5, -2.4, +0.3 %), so no rate term is supported at 0.13-2.5 mm/s. Docs: concepts (pressure factor; measured armour friction re-sticks at every reversal, mu_s/mu_d 1.19-1.22, mu_d 0.32/0.20/0.18 at 1/4/8 MPa, no rate effect on the dynamic level), benchmark register, VALIDATION.md. Provenance of the default mu_on_hdpe = 0.20 (value unchanged): Dai, Saevik and Ye, Marine Structures 55 (2017) 137-161, Sec. 4.3.1, p. 156, an estimate for anti-wear tape on inner armour and steel on steel "at 20 MPa internal pressure" quoted from Saevik (1992); the interface is an anti-wear tape and the contact pressure is 2-4 MPa (Dai et al. 2018, p. 428). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…lt-change notice (#10) compute_fatigue (public and cablexsec.analysis.fatigue) and wire_stress_field take friction_model="auto": the direction-tied cap for a planar curvature path and the distributed helix model for any other. A path is planar when curvature_path_out_of_plane_ratio (largest distance of a sample from the principal line through the origin over the largest curvature) is at most PLANAR_PATH_TOLERANCE = 1e-3. Layers outside the distributed model (xi >= 1, a stick modulus that changes over the record, a rate-dependent friction law) keep the direction-tied cap; the provenance records the ratio, the model of every layer and any fallback. The default stays "direction_tied", bit for bit, and changes to "auto" in the next release. Until then a default call on a non-planar path warns once (DirectionTiedFrictionWarning, a FutureWarning) with the measured bias: under a steadily rotating curvature at twice the slip onset the largest per-wire friction-stress range of the direction-tied cap on the 66 kV inner armour was 0.94 (xi = 0.81, template) and 0.86 (xi = 0.99) of the distributed model's, bulk damage 0.79 and 0.55 at an S-N slope of 4 where friction governs; its friction work per revolution 0.38-0.69 of the planar cycle against 1.8-2.6. On planar and flat paths (minor/major axis up to about 0.3) its ranges are at or above the distributed ones. Cost of the distributed model on one thread: 1.0-1.5x the direction-tied time on the shipped fatigue examples, 13-16x on the 66 kV template. Also: - distributed_bound ("signed" default, unchanged; "uniform" without the capstan term) in compute_fatigue, wire_stress_field and the distributed wrappers; - the distributed model of the fatigue path takes a constant stick modulus other than the layer's (one thermal block) as the Yun coefficient of that state; - the pitch-mean offset of the direction-tied cap in planar full slip, sigma_0 (sinh x0/x0 - 1), x0 = lam pi/2 (1.1 % of the peak on the 66 kV inner armour), is documented and kept: a zero-mean condition couples the wires, and removing it would move ranges by less than 1e-4; - anchored_heat_profile documents its constant bound against the signed bound of the sectional heat (cycle works within 0.25 % on a uniformly bent section); - the guide, concepts page and module notes no longer say the two laws give the same stress ranges under biaxial bending. No default-path result and no validation row changes. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…del is unique (#11) With every helix node on its bound the equations of the distributed model fix the forces, the tractions and u - p, but not a slide common to u and p of all nodes: any slide that keeps every node slipping in the direction of its traction is in equilibrium and does the same friction work. The solver left one node exactly on its bound, chosen between candidate nodes at round-off, so the kept slip field and the armour slip of kinematic_history(friction_model="distributed") (slip_m from p, slipping from the step slip) could move with any round-off change: on a 32-node helix a relative change of 1e-15 in the curvature moved the full-slip slip by 12 % of the largest step slip (uniform bound), and the pitch-mean slip jumped by up to 2.7 % of the step slip between full-slip steps. The increment now takes the slide that gives the step slip a zero pitch mean, or the admissible slide nearest to it (_full_slip_slide). A uniform curvature puts no net axial force on a wire over a pitch and slides no wire as a whole; this is the convention of the pointwise laws in kinematic_history, which keep the pitch mean of the slip over a step in which no station sticks. Partial slip is unchanged. 66 kV template, kinematic_history with the distributed law, planar and rotating bending at 0.01 and 0.05 1/m, 121 and 601 samples: armour slip changes by at most 4.9 um (0.3 % of station slip amplitudes of 0.3-2.0 mm), no slipping flag changes, the pitch-mean slip no longer moves over full-slip steps, stresses and friction work change by at most 1.7e-15 relative. No validation row or documentation example output changes. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…el (#12) The distributed model (friction_model="distributed", and "auto" on non-planar paths) spent all of its time in the compiled increment solver: on an hour of the 66 kV template at 10 Hz about 1.28 million substeps of 0.1 kappa_on, each with 3.8 Newton solves on average. compute_fatigue on one thread, warm: 43.0 s before, 13.1 s after, against 3.2 s for the direction-tied cap (13.6x -> 4.1x); shipped fatigue examples 1.14-1.59x -> 1.01-1.28x of the direction-tied time. _distributed_kernel_fast solves the same increments with the same equations, convergence tests, fall-backs and substep rule: - Newton starts from the increment of the last substep (1.2-1.6 solves per substep instead of 3.8); an increment is solved again from zero, as in the reference, if that start fails, and the slide of a full-slip increment is fixed by the same rule as in the reference (_full_slip_slide), so the start does not reach the kept fields; - the Jacobian factorisation is kept between solves and eliminated from both ends towards the middle row (twisted, with the Sherman-Morrison corner correction), so a changed row refactors only the rows between it and the middle; - residual, bound and stick/slip pattern in one pass per iterate, reciprocals instead of divisions. The previous kernel stays as the reference, used without numba (CABLEXSEC_DISABLE_NUMBA=1). tests/test_distributed_fast.py compares the two (planar, rotating, one-sided, full slip; signed and uniform bound; contact shape, pressure history, pressure factor, static and dynamic law; kept kinematics), checks the kept factorisation against dense algebra after row changes, singular pivots and the fall-backs; the stick_check reference values hold for both kernels. Round-off differences: wire stress at most 3.4e-15 of the largest, damage 1.2e-15 (66 kV template) and at most 1.4e-12 relative (shipped examples), energies 1e-15, kept u, p and step slip to round-off. With a finite healing time heal/break-away events are round-off sensitive in either kernel alone. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…ion (#13) export_bending_law computed its backbones on a geometric grid that started at 1e-4 kappa_max whatever the tension. A slip onset below that floor (66 kV template, kappa_max 0.4 1/m: outer armour 7.3e-6 1/m and inner 2.3e-5 1/m at 10 kN) fell inside the first chord, so the law started partly or fully slipped: stick stiffness 5.80e5 instead of the section's 1.26e6 N m2 at 10 kN, 1.255e6 at 50 kN. With slip_scale=True the default reference is the smallest tension, so every scaled tension inherited the softened group laws (secant M/kappa 0.46-0.65 of compute_mkappa below full slip at 50-200 kN). The grid is now extended below its floor at the same ratio until its first point lies under half the smallest first-slip curvature (the neutral-axis onset times the compression-side factor m(lam), and the smallest sub-element cap of the uniform progressive density; a pressure-dependent coefficient at the state's P1+P2), and it carries the onset and full-slip curvature of every armour layer and of the laid cores at every exported tension and at the slip-scale reference. The linear spacing gets one stick point and the slip points and warns when a transition is narrower than its step; a law that still misses the section's stick stiffness warns. On the 66 kV template at 10-200 kN the exported and the scaled laws start at the section's stick stiffness to round-off and follow compute_mkappa between grid points within 5.2e-4 of the moment. kappa_1_m now holds more than n_points points; the base grid is unchanged. The exported laws of the MX-1, MX-2 and MX-scale rows do not change at their printed precision. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The CI gate "the committed validation report is current" failed on most pull requests although every test passed: the report's test-taxonomy lines carried the deselected count, which is the rest of the suite, so any added test marked the committed report stale. The gate ran after the 45-minute coverage run, so each such failure cost a second hour-long CI round. - run_validation.py records the passed count of each taxonomy marker only; the report's three lines are updated to match. - The workflow checks the committed report before the coverage run (about 14 minutes locally), in the same job, so the job name and the required checks are unchanged. The local check passes on the new report (registered FAIL rows exit non-zero as before; nothing is marked stale). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
#17) The bounded core contact estimate of the laid-core stick-slip law put the capstan load and the ring share of a core on one contact and left out the reaction on its inner side. A core now carries its ring share R/n on its outer face, and the inward resultant C + R/n is reacted by its two neighbours in a touching trefoil (contact forces summing to the resultant over sin(pi/n)) or, with CoreFrictionSpec(central_filler=True), radially by a central filler. The solved route reads its own core support and refuses the switch. CoreFrictionSpec(filler_profiles=True) adds the non-structural interstitial filler as three profiles laid with the cores, sticking and slipping with the same direction-tied cap: effective radius sqrt(J_f/A_f) of the annulus less the core circles, the cores' pitch, the ring force on both faces, their own Yun xi and friction coefficient (mu_filler_profile). They add their moment and work to the core history, their stick term to EI_max, their own group to the exported slip-scale table and their slip curvatures to the core lay stage of the Section properties analysis and its export. A structural filler annulus is refused (it already bends in EI_min). The core screen assessment passes its spec's central_filler. Validation row CFW checks the radial equilibrium of a core in all four load paths, mu = 0 with profiles (bitwise armour-only loop), the full-slip profile moment against the closed form and the stick tangent against EI_max + E J_f cos^3 / 2. On the 66 kV template at 50 kN the bounded core load rises from 9.6 to 16.4 kN/m and the loop half-height with core friction from 0.19 to 0.25 kN m (0.38 kN m with the profiles); results without core friction are unchanged. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The sea-state batch set friction_model="direction_tied" explicitly, so
DirectionTiedFrictionWarning, which compute_fatigue issues only when the
model is left at its default, never fired in the batch or cablexsec-batch,
and the batch would not follow the planned change of the default.
SeaStateBatchOptions.friction_model now defaults to None and the batch
passes it through. The library default is unchanged ("direction_tied", new
constant DEFAULT_FRICTION_MODEL), so results are unchanged bit for bit; the
manifest and the assessment digests record the model the default resolves
to and are unchanged too. Warnings of spawned worker processes, shown only
on the workers' standard error before, are issued again in the caller.
friction_model="auto" kept the direction-tied law silently (only a
provenance limitation) when the distributed model did not cover a layer on a
non-planar path: a rate-dependent friction law, a rigid interface or a
stick modulus that changes over the record. It now warns once per layer
(FrictionModelFallbackWarning) from compute_fatigue and wire_stress_field.
curvature_path_out_of_plane_ratio judged the out-of-plane distance against
the largest curvature, so a static bend hid cycles normal to it (0.05 1/m
with 4e-5 1/m normal cycles: 8e-4, planar). The distance is now judged
against the smaller of the largest curvature and the largest distance from
the mean curvature, floored at 1e-2 of the largest curvature so that a
nearly constant curvature written with six significant digits stays
planar (six digits round by up to 5e-6 of a value: at most 7.1e-4): that path is 0.08 out of plane, with 4e-4 1/m cycles 0.8. Paths without a static offset keep
their ratio. Over the 1203 tests that reach the planarity test and the
shipped fatigue examples and tutorials no verdict changes except in the new
checks.
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
#19) An extruded sheath or bedding can declare its frozen shrinkage, extrusion_shrinkage (hoop_strain, basis, source): the part of its cooling shrinkage that stays as a shrink fit on the layers inside it. The radial solutions carry it as an in-plane initial strain of the layer (hoop and radial, no axial part): the solved radial state, including the ring of a trefoil bundle so that the laid-core law reads the clamped trefoil, and the concentric qp route, whose section-state stress recovery subtracts the same free-strain vector. include_manufacturing=False leaves it out. The bounded pressure chain has no displacement compatibility to carry an interference, so its consumers (armour contact pressure, per-wire normal loads, crossed-wire line loads, the bounded section state, the bounded core contact estimate, the fretting face split and the polymer-crush screen) refuse a non-zero value; an interstitial filler cannot declare one. A shrinkage outside an armour layer counts as that layer's clamping declaration. A calibrated initial_state and a published_calibration armour clamping take calibration_scope (armour_only or all_contacts). A value fitted with the armour friction alone already holds the friction of the other contacts, so the laid-core law warns (ClampingCalibrationWarning) when it is combined with one. The Menard and Cartraud (2023) pressure is tagged all_contacts, the identified Witz (1996) pressures armour_only. MissingClampingStateWarning now says that at low tension the friction moment and the hysteresis tend to zero without a clamping state, so a low-tension hysteresis is unreliable. Checked against the Lame shrink fit of a sleeve with an in-plane eigenstrain on a stiff core (both radial solvers, 1e-4), the identity of a zero or omitted shrinkage, the solved and qp routes and the qp section state, the refusals of the bounded consumers, the clamping state and the calibration warning. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…ed (#21) Menard and Cartraud (2023), targets registered before the run: with the laid cores, the trefoil wedge and the filler profiles (mu 0.2 on every contact) the initial pressure identified on the cycle work of range (b) is 220 kPa (the source's calibration: 300 kPa). Range (b) ordered RMSE 2.99 % (target < 5 %); predicted work of ranges (a), (c), (d), (e), (f) +26.0, +23.7, +12.9, -6.5, -11.7 % against a target of +/-20 %: FAIL on the two smallest ranges. The armour law identified the same way predicts +35.8, +33.5, +21.7, -6.1 and -11.4 %. New validation row BM1-ID. Janocha et al. (2024) is compared code to code: the source is a finite-element model that states no initial contact state. The Fig. 12b knee moments and stick slope are retired as targets: Fig. 12b gives about twice the Fig. 6 moment of the same model at 0.2 1/m and 50 kN, and its inset rises at a secant of 2,500-3,000 kN m^2, above the 1653 kN m^2 plane-section bound of the published section. With the cores and filler profiles the Fig. 6 half-height is 0.38 / 0.37 kN m (bounded / solved) against about 1.0 kN m read from the figure. The 66 kV template Section 4.1, the benchmarks, the limits of validity and the clamping example are rewritten to match. The laid-core law stays off by default. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
`construction: serving` on a cylindrical layer declares a served yarn or a wound tape. It keeps its mass, its radial and hoop stiffness (an annulus of its material in plane stress along the cable axis, in the concentric and the meshed three-core radial solutions) and its shear compliance under the armour, and carries no axial force, bending moment or torque. It adds nothing to the axial, bending or torsional stiffness or the load sharing, and the component response treats it as outside the load path, like a loose screen. A serving is non-structural and never an interstitial filler, and it has no extrusion shrinkage; layers without the key are unchanged. The Chae, Nam and Shim (2023) coiling cable declares its two yarn layers as servings (full-slip EI 47.3 to 30.6 kN m2) and the Thies et al. (2016) cable its outer PP yarn serving. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
compute_fatigue(wire_positions=...) evaluates chosen wires instead of every wire: N equally spaced positions per armour layer, explicit azimuths (the nearest wire to each) or a mapping per layer. Each wire's friction recursion, stress field and rainflow count are independent of the other wires, so every per-wire and per-fibre result of a selected wire equals the full evaluation bit for bit. The direction-tied kernel solves only the selected wires (the layer's wire count is passed for the tributary width); the other friction models, the termination increment and the reference kernels solve the layer and keep the selected rows. FatigueResult.wire_index and wire_azimuth_deg name the rows; the batch options pass the selection and the long-term accumulation requires the same wires in every case. On the 66 kV template, one hour at 10 Hz, both armour layers, one thread: 12 positions per layer take 0.11 s instead of 1.24 s (4 fibres) and 0.31 s instead of 3.72 s (32 fibres). The distributed model's time is all in its compiled increment solver (substep count set by the slip-onset curvature); no avoidable overhead was found outside it. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…leDyn 0.4 docs (#15) read_cabledyn_sections left the per-line .p.out and .t.out readers open after every read (ResourceWarning) and after a failed one: the chunk streams were zipped and the last of them never reached its end. Each stream now reads through pd.read_csv as a context manager and every stream is closed in a finally. The files of one run must also end on the same row; extra rows hidden by a chunk boundary were dropped before. read_cabledyn_deck took the second token of every OPTIONS row as the keyword, so the positional record "uniform 0.0 0.6 0.0 current" became a keyword "0.0". It now reads CableDyn's record forms (value keyword [commentary]; model, numbers, keyword; keyword-first dynamic_solver; a "-" description), the last record of a keyword wins as in CableDyn (the first won), and the aliases gravity, WtrDnsty/water_density, water_depth and dt set g, rhoW, WtrDpth and dtM (they were ignored). run_sea_state_batch checks and digests cable_source before any run is read; a missing file failed only after every section was computed. The global-local guide (Sections 1, 2, 2.1 and 7), ARCHITECTURE.md and the reader's docstring now describe CableDyn 0.4.x: nodal-equilibrium recovery of tension, curvature and bend moment (since 0.2.0), the signed section-axis components CurvX/CurvY and torsion of lines restrained at one end (since 0.4.0), and the node tangent of finite-EI lines in Dec/Azi (since 0.4.2). The compute_mkappa docstring states that tension_N is the true wall tension. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
A `stiffness` block (EA, EI, GJ, mass per length, source, optional Poisson ratio) replaces `material` for a component whose properties come from a datasheet. The layer adds its EA to the axial stiffness and the load sharing, its EI to the stick and slip bending stiffness, its GJ to the torsional stiffness and its mass to the section; the radii place it in the bounded contact chain. A stand-in material, an isotropic solid filling the annulus, serves the calculations that read a material. The coupled radial models refuse the layer, which has no radial law. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
build_capacity_envelope(basis="iso_13628_5") applies one utilisation factor to every element of the section: the allowable stress k_u sigma_y of the armour wires, the conductor's 0.2 % proof stress, screens and sheaths, the allowable strain k_u epsilon_allow of polymers and the buckling screen, the form of the umbilical capacity curve in Skeie et al. (2012, Sec. 3.1). ISO_13628_5_UTILISATION_FACTORS holds the factors that the MecLim II guideline (Sec. 3.5) reports for API 17E / ISO 13628-5 practice; the standard's own text is not reproduced, and its element stress definitions and load categories are not implemented. The default power-cable basis is unchanged; the envelope records its basis. The capacity documentation now states the copper plastic-limit mechanism (the conductor's proof stress as a component limit, separate from fracture), and the 66 kV template page no longer says the envelope lacks it. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
CableDyn 0.4.2 and later write the node's own cubic-Hermite tangent in the L<L>N<J>Dec/Azi channels of a finite-EI line. read_cabledyn_sections placed every value at the mid-arc of the chord between the neighbouring nodes, so the hang-off tangent sat half an element inside the line and, on a non-uniform mesh, interior tangents near a change of element length were shifted too. On the 128-element lazy-wave run of CableDyn 0.4.2 (0.2 m elements at the hang-off) the curvature at node 2 departed from CableDyn's Curv by 52 % and at node 3 by 15 %; without Curv channels the largest curvature 0.25 m from the hang-off came out 14.5 % high. Placed at the nodes, every checked node agrees to 2.5e-4. - tangent_placement="auto" (default): node tangents of finite-EI lines at the nodes, chords of EI = 0 lines at their mid-arcs; "chord" reads finite-EI output of CableDyn 0.4.1 and earlier (the files carry no version marker). The placement is recorded in checks and provenance; a failed curvature check names the option and the tolerance applied. - SeaStateBatchOptions.tangent_placement forwards it from the batch. - tests/data/cabledyn/lw128 regenerated with CableDyn 0.4.2; the v0.1.0 run is kept as lw128_v010. How-to 10 output follows the new run. - Guide: known-limitation text removed; placement, verification row and 0.4.2 results added. CHANGELOG: Changed. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
… axis (#24) The Saint-Venant twist rigidity of the trefoil bundle added the polar moment of the interstitial filler about the cable axis, as if the filler were bonded to the ring with no warping. The filler touches the cores and the ring through frictionless contacts, which carry no axial shear, and the three outer interstices are disjoint lobes, so the lobes now twist as separate bodies with their own warping. saint_venant_rigidity solves the warping of a region of the six-node mesh (psi = 0 on the mirror boundaries; the filler's 60 degree boundary is taken from the mesh keys because its nodes lie off the exact line when the cores do not touch) and returns the polar moment less the warping relief. Cores (about their centres) and bonded ring layers (about the cable axis) are unchanged. Effect: the filler term falls from 7.9 to 0.32 kN m^2 on the Chae, Nam and Shim (2023) cable, whose free torsional stiffness at 0.125 rad/m (unwinding) falls from 89.5 to 81.9 kN m^2 at an armour pitch of 1.8 m and from 58.1 to 50.5 kN m^2 at 3.0 m; and from 3.6 to 0.14 kN m^2 on the Su et al. (2026) 35 kV cable, whose torsional stiffness with the ends fixed axially becomes 199.5 / 177.0 kN m^2 (FE 209.5 / 201.2, test 209.8 / 201.3; before 203.0 / 180.5). The band of that anticlockwise check is widened from 12 to 13 %, with the reason in the test. Validation row TQ-SV (registered before the run): the solver against the series solution of a 2 x 1 rectangle (1.0e-4, target < 3e-4) and a bonded annulus as the mirrored 60 degree sector against its polar moment (-1.5e-8, target < 1e-6). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
read_cabledyn_sections rejected every run whose static solve refined the mesh of a finite-EI line (adaptive_mesh, tensile_safety or the automatic refinement) with "mesh of line ... differs from the deck sections". .static.out, .elements.out and the per-line files list every node of the refined mesh, while the node channels name the deck nodes (CableDyn 0.2.0 and later). The current CableDyn refines the 24 deck elements of the test deck lw24.dat to 43, so that run could not be read. The reader now locates the deck nodes among the mesh nodes by the DeckNode column of .static.out or the "# DeckNode" line of .Line<L>.p.out (failing both, by their arc lengths in .elements.out), reads the node channels at the deck nodes and the positions and segment tensions on the refined mesh, and records the mesh in checks["mesh"]. A deck that does not match the output is still rejected: every file must list the same number of nodes, every DeckNode numbering must name the deck nodes in order and agree with the others, and the deck nodes must lie at the deck-section arc lengths of .elements.out. Without .elements.out the positions are read at the deck nodes, the "auto" tension source takes the node channels, and segment tensions or chord tangents are refused by name. adaptive_mesh without .elements.out is no longer refused, and .elements.out without rows of an EI = 0 line is skipped for that line. tests/data/cabledyn/lw24r.* is CableDyn 0.4.2 output (development build 4b94321) of the lw24 deck for 1 s with tangent channels: from the refined positions the curvature meets every Curv channel within the default 5 %. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…st its core lay (#27) A stated, model-to-model row for the torsional stiffness of the Chae, Nam and Shim (2023) coiling cable, registered before the run. The source's Table 5 gives it from three cross-section tools and no measurement. Free torsional stiffness at the source's twist (0.125 rad/m, unwinding, zero tension), armour pitch 1.8 / 3.0 m: packaged straight cores 81.9 / 50.5 kN m^2; cores laid S as in the source (Sec. 2.1.2) at an assumed pitch of 2.5 m 61.1 / 35.0 and of 3.0 m 64.4 / 37.3 kN m^2; tools 59.6-83.2 / 34.3-44.7 kN m^2. Straight cores are inside the range at 1.8 m and 13 % above it at 3.0 m; S-lay cores are inside at both. Not gated: the core pitch is not published. The packaged file states that its straight cores raise the free torsional stiffness 1.3-1.4 times, and the benchmark page explains the terms and why the source's closed form (Eq. 14 as printed, whose coupling term cancels the armour term for a single layer, and whose published column holds no pitch-independent term) is not used as a reference. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
read_cabledyn_deck rejected GJ|K and GJ|K|Bt in the GJ column (torque-tension coupling and torsional damping, CableDyn 0.4.0) and EI|Bb, EI|-zeta|f and EI|-zeta|f1|f2 in the EI column (bending and Rayleigh damping) as "not numeric", so no deck using them could be read. The line type now keeps the numeric EI and GJ and the extra parts as CableDyn resolves them (bending_damping_Nm2s, mass_damping_1_s, torque_tension_coupling_Nm, torsional_damping, polar_inertia_kg_m, and the columns as written), with CableDyn's checks. The tables are read by position, as CableDyn reads them, instead of by header name: a row without a number token is a header or units row and the token count selects the row form. An 11-column LINE TYPES row is the 10 columns and the VIV Cl, so a header naming its last column GJ no longer turns Cl into a GJ, and stock-MoorDyn headers read. END CONNECTIONS TorsStiffness Free, Zero or 0 now leaves the end free in torsion (any token but none, - and 0 restrained it), EndA/End_A name End A, and the restrained ends follow the anchor-first swap (CableDynLine.torsion_restrained_ends). A finite-EI line from a Fixed point to a rod end is swapped as CableDyn swaps it, an END row closes the OUTPUTS list, a quoted name may hold spaces, exponents may be written with D, and a duplicate line type or line id is refused. A line solved in torsion whose type couples torque and tension twists as it stretches, so read_cabledyn_sections needs its Twist channels even when only one end is restrained, and section_channels lists Twist/Torq for a line restrained at either end. tests/data/cabledyn/lw24g.* is a CableDyn 0.4.2 run (development build 4b94321) of a deck with these tokens: Rayleigh and Kelvin-Voigt bending damping, GJ|K|Bt, End A restrained in torsion, END in OUTPUTS. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…urce's analytical model (#29) test: register Su 35 kV torsion against the source's analytical model Targets registered before the test is run: the armour torque of the filled 35 kV section against the shares of the source's analytical model (Fig. 19: 93.5 % of 184.3 kN m^2 anticlockwise, 94.1 % of 205.1 kN m^2 clockwise; band 2 %), and the interface state at 1000 N m against its Table 11 (separations at armour 1-2 and armour 3-4 anticlockwise, 3-4 gap 0.031 mm within 10 %; pressures within 20 %, the band of the Table 10 check). docs: decompose the Su 35 kV anticlockwise torsion gap The new check passes as registered: armour torque 193.3 / 170.8 kN m^2 clockwise / anticlockwise against the source model's Fig. 19 shares 193.0 / 172.3, and at 1000 N m the separations and pressures of its Table 11 (armour 1-2 and 3-4 open anticlockwise, 3-4 gap 0.029 against 0.031 mm; pressures -7 to +11 %). The benchmark register and the radial model page decompose the -12.0 % anticlockwise gap to the FE and the test: - The source's analytical model neglects the filler's stiffness but ties the binder ring to the cores' outer radius (Eq. 36), so it compares with the filled section. The filler-free section (168.0 kN m^2) lets the ring bend into the empty interstices and is not that model. - Its polymer share (Fig. 19) is twice the thin-wall terms of its own Eq. 11: 12.0 against the exact G J of 6.1 kN m^2. The solved armour plus 12.0 gives 205.3 / 182.8 against its 205.1 / 184.3. - The rest is the armour's direction dependence: the compressed outer armour lifts off armour 3 and expands the outer sheath. The drop from clockwise to anticlockwise is 11.3 % here and 10.1 % in the source's model, against 4.0 % FE and 4.1 % test; the FE's anticlockwise split and the test conditions are not published. Core lay (at most 0.8 kN m^2 for any pitch of 1 m or longer), the axial end condition and a held tension of 100 kN do not close it. No input is changed and the 13 % band stays: nothing in the model is identified as wrong. The test comment no longer says the source's filler-free model locates the gap. Taxonomy: full_scale 33 -> 34. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
EQUIVALENT BUOYANCY rows were ignored, so a line type showed the Diam and MassDenInAir of its LINE TYPES row, not the values CableDyn ran with. A row now replaces the diameter and sets the mass to rhoW pi D^2/4 + w/g, as CableDyn's apply_equivalent_buoyancy does, with its checks; line_types_diameter_m, line_types_mass_kg_m and equivalent_submerged_weight_N_m keep the row's values. CableDyn 0.4.2 gives byte-identical output for the lw24 deck with the row "buoy 0.30 -100.0" and for the deck with buoy written with this diameter and mass. Records are cut and split as CableDyn's scan_comment, is_section_header and token_bounds do: "--" starts a comment at the start of a record or after a separator (a LINES row ending in "-- comment" was refused), a record holding "---" is a header named by its other characters, a byte-order mark is dropped, a repeated section continues (it was refused) and a token opening with a quote runs on to the next separator. "#" and "!" still cut a record inside quotes, as CableDyn does. OUTPUTS rows are split on spaces, tabs and commas with the quotes dropped, and only an unquoted END closes the list. LINE TYPES rows with a negative Cd/Ca, or a 14-column row whose GAs, GJ, Irt and Irn are neither all zero nor all positive, are refused, as by CableDyn. CableDyn solves the torsion of a line restrained at one end only when every section gives GJ, End B is Fixed, a dynamic run is force-blended and a restrained End A on a rod or body is on a Fixed rod or a Rigid6 body (resolve_one_end_torsion); otherwise the line runs as without the torsion columns. CableDynLine.torsion_solved and torsion_note follow these rules (BODIES and RODS rows are read for them), section_channels asks for Twist/Torq only on a solved line, and checks["torsion"] records the case. In the dynamics a solved line twists without torque-tension coupling too (torsional waves of its polar inertia, the roll of the restrained end), so a dynamic run without Twist channels is now refused where it was read twist-free. tests/data/cabledyn/lw24k.* is the lw24g deck with K = 0 run by CableDyn 0.4.2 (development build 4b94321): the line twists by up to -1.7e-3 deg in 1 s (0.18 deg in a 30 s run). Its statics stay twist-free and are read without the channels. The anchor-first swap of a line from a Fixed NodeA to a Free or Connect NodeB applies only when NodeA is not above NodeB, as in CableDyn. run_sea_state_batch compares the deck GJ with the section's lay torsional stiffness K_tt and the coupling ratio K/sqrt(EA GJ) with K_et/sqrt(EA_fixed K_tt), within the new option torsion_rtol (default 25 %), on a 14-column LINE TYPES row. A mismatch stops the batch as one of EA or EI does, unless allow_property_mismatch is set. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…rallel (#45) The test matrix, the NumPy reference path and both coverage passes run on one pytest-xdist worker per core (pytest-xdist joins the dev extra, bounded <4). Under xdist every worker gets its own numba cache directory before numba is imported (tests/conftest.py), so concurrent workers never write the same cache files and each starts from an empty cache, as a serial CI run does. release/check_coverage.py takes --numprocesses N; pytest-cov combines the workers of each pass and the NUMBA_DISABLE_JIT=1 kernel pass is appended to the first exactly as before. The 95 % threshold and the kernel test list are unchanged. run_validation.py takes --jobs=N (default 1, the serial run). The independent row groups (Saevik, Zeidan, anchored wire, Dai, torque, Hu, Witz) run in spawn worker processes while _rows assembles the report, and _rows takes each group's rows where it calls the group, so rows, order and report are those of the serial run. The three taxonomy groups start beside the rows, each on N xdist workers, with their output in temporary files. --check semantics are unchanged. The coverage run and the validation report check run side by side in two jobs; the required check "Coverage and validation report" now needs both and fails unless both succeeded (it also runs, and fails, when either failed or was cancelled). Every job name of the ruleset is unchanged. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…che (#47) numba numbers a new on-disk cache entry from the index it last read and saves the index before the data, so two processes that compile one kernel for different signatures at the same time can both take the same data file and leave the index pointing at the other's overload. The pool workers of run_validation.py --jobs shared numba's default cache directory. Each row-group worker is now a one-process spawn pool started while NUMBA_CACHE_DIR names its own directory; the groups go to the workers in turn, slowest first. Each concurrent taxonomy run takes its own directory too, and under xdist tests/conftest.py makes each worker's directory a subdirectory of an explicit NUMBA_CACHE_DIR instead of sharing it. The required aggregate job gets a 10-minute limit. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
xi_for_layer built the series shear stack of a helical layer from every cylindrical and offset-core layer listed inside it. It counted the conductor screens, insulation and core sheath of laid cores (Zeidan 2025: xi 0.009 / 0.016) and, in flexible pipes, the pressure sheath under the steel pressure armour (Saevik 2011: xi 0.52). - yun_shear_stack (new, stiffness module): walking inward, each concentric cylindrical layer with a modulus and positive thickness is in the stack, interstitial fillers still skipped; the walk stops at the first helical layer inside and at the laid power cores. A single core on the axis keeps its concentric insulation. xi_for_layer uses it; its docstring states the rule and its basis. - The ring stack of a core's wire screen stops at another resolved wire screen inside (same rule; no packaged cable changes). - An armour on the armour inside it now has xi = 1. The distributed helix model takes that rigid interface with the along-wire chain's RIGID_K_HAT instead of refusing it; friction_model="auto" and the frictional heat keep the direction-tied cap for it, as before. - SectionLaw.from_cable(distributed_max_increment=0.02): the test solver bisects along legs, and the fatigue default 0.1 left a sampling residual of 8.5e-8 on the Menard cable with the stiffer stick (2e-9 now). - Validation scripts: the SV11 sensitivity keeps the former stack as a row (it reproduces the former registered values exactly); the Zeidan diagnostic docstring is updated. Results against the registration (bands unchanged): Z-EI FAIL -> PASS, Z-ID FAIL, SV11-PLANE 1.62 -> 2.17 (sectional 1.00 -> 1.19), SV11-GJ 1.80 -> 2.07, all diagnosed on; held out: WITZ-ID energy -14.2 -> -12.8 % (FAIL on the width), BM1-loop +8.8 -> +11.8 % (stated, not gated; target now fails), BM1-ID (a) +26.0 -> +28.5 %, each as predicted. The benchmark register, VALIDATION.md, the validation report, the tutorials, how-to outputs, README and quickstart are regenerated; pinned test values that moved with the physics are re-pinned to the computed values. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…scale table (#42) A global model that carries one slip scale per law cannot follow groups that scale differently with tension; with armour clamping the laid cores do (66 kV template, 20 MPa: cores 0.39, armour and profiles 0.46 of their 100 kN cap at 10 kN). BendingLawExport.slip_group_laws() returns one SlipGroupLaw per friction group: the group's backbone at the reference with its own scale s_g(T), so that the global model sums s_g B_g(kappa / s_g); the first group carries EI_slip. to_group_csv writes a backbone and a scale table per group. The default slip-scale table now starts at zero tension with the caps of the contact model there (zero without clamping), so the scale runs to zero instead of ending at the lowest exported tension. Checks MX-group, registered before the run (66 kV template, cores and profiles, 0/20/40 MPa winding stress, 10-200 kN): summed group laws within 4.4e-4 of the exported backbone (target 0.5 %) and 0.13 % of the cycle work (target 1 %); one scale for all groups misses by up to 5.3 % and 7 %. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The how-to recipe and the coiling check counted a radial-section interface as open when its reported gap exceeded 1e-9 m. A closed contact reports the round-off of the linear solve as its gap: on the 66 kV template at 100 kN and a sealed 2 MPa, about 1.5e-10 m on two interfaces carrying 1.1 MN/m, within the contact solver's own complementarity tolerance in metres (1e-8 of the scaled problem times the square root of the contact flexibility, 2e-10 to 4e-10 m there). macOS runs crossed 1e-9 m and printed "open gaps 1" against the page's 0 (CI runs 44493046003 and 44286053398). The open or closed state is now the contact solver's decision, an exactly zero reaction: RadialSectionResult.interface_open and open_interfaces. The recipe and coiling use them; interface_gap_m keeps the reported gaps. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…e tension (#43) The laid-core law (cores, their wire rings, filler profiles) was direction-tied only: under rotating curvature its cap turned with the bending direction and took too little friction work, while the armour already had the distributed helix model. core_friction_history now takes friction_model "direction_tied", "distributed" or "auto" like the armour: the distributed form solves the core and profile populations with the armour's distributed helix model (field along the pitch, shear-lag interface of xi, slip of every node in the direction of its traction), "auto" keeps the direction-tied law on planar paths and falls back with a warning on a rigid interface. compute_neutral_axes accepts friction_model="auto" and gives the cores the armour's model unless core_friction_model says otherwise; SectionLaw.from_cable with the distributed model solves the cores with it too. The core and profile contact loads followed the reference tension while the armour pressure followed the history. core_load_history evaluates them over a tension history (bounded estimate exact, solved model up to 33 tensions), and compute_neutral_axes and compute_mkappa (with contact_tension_history_N) take core_loads="follow" (default) or "reference" (the earlier behaviour). Checks CF-D and CF-T, registered before the run: all PASS except CF-D-slip, whose continuous closed form is missed by 1.02e-4 against the registered 1e-4 at the default stations (station quadrature of the kinked field; the model reproduces the station sum to 1e-10). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…ection axes on torsion lines, deck records, TMax (#40) The range graph <root>.Line<L>.range.out (OpenFAST <root>.CD.Line<L>.range.out) and the VIV lift file <root>.Line<L>.V.out were not read. They are now read by read_cabledyn_range_graph and read_cabledyn_lift, checked column by column against CableDyn's layout; on the new lw24v run the range extremes equal the extremes of the node channels exactly, as CableDyn documents. Next to a run, read_cabledyn_sections checks either file against it (the mesh and the range window) and records its digest. The hang-off's turn about its own tangent did not reach the material frame: the End A frame was transported in time without twist. On a line CableDyn solves in torsion with End A restrained it is now held by End A's holder: a Fixed point or rod holds it, a Body<N> turns it with its Body<N>Rx/Ry/Rz channels, and a vessel, platform or turbine, whose attitude the output does not record, needs the new hang_off_rotation (attitude matrices, a roll history, or "none"; also a SeaStateRun field), or the run is refused. A line restrained at End B only turns its free End A by -Twist<L> against End B's frame. A line turned rigidly with its body by 40 deg at a 60 deg hang-off read its components turned by 35 deg; it now keeps them to round-off. The deck reader mirrors CableDyn's records: a section header CableDyn does not know was skipped and is refused with its deck line, as are a record over 512 bytes without a comment, a NUL or non-ASCII whitespace character outside a comment, a subnormal number and the END CONNECTIONS rows CableDyn refuses (now kept as CableDynLine.end_connections). Bytes that are not UTF-8 no longer stop it. A standalone deck without TMax (or with TMax 0) runs static and writes one row; it is refused with that reason, and so is a standalone record that ends before TMax. An OpenFAST .CD.out is no longer held against the deck's dtM, which OpenFAST rounds to whole glue steps. Malformed rows and cells, files that are not text, NaN or negative curvature check tolerances, a non-integer line_id and non-numeric section arcs raise CableSchemaError naming the item. The sea-state batch takes the curvature check tolerances of the reader. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…lent (#46) - fretting_regime.range_at_cycles bisected on [1e-6, 1e6] MPa and returned the bound when the life lay outside it (1e12 Pa for a life shorter than the curve's at 1e6 MPa, 1 Pa for a NaN life). It refuses a life that is not finite and positive, or outside its bracket. - The wire-yield guard of compute_mkappa swallowed every ValueError, so a bound that could not be evaluated left no trace. It warns; a cable without a yield-stressed armour layer, which has no bound, is skipped as before. - The bending-test inversion returned its closest cached point as converged when it had no new point to try. It raises CableSolverError with the miss. - A kinematic history whose laid cores have no friction law held them to the cable axis silently. It warns and records it in the provenance. - compute_sheave and the rig-test M-kappa loops ran their internal calls under simplefilter("ignore"), dropping a wire-yield or clamping warning about the caller's own curvature. Each distinct warning is relayed once (provenance.relayed_warnings). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…ed on both kernel paths (#41) An adversarial probe of the public API (cable YAML, compute_fatigue, compute_mkappa, compute_neutral_axes, export_bending_law, compute_thermal, the sea-state batch, the CSV readers; edge and invalid values, with and without the compiled kernels) found: - mu = 1e6 overflowed the capstan factor of the reference return map ("wire history exceeds floating-point range") while the compiled kernels held the wires stuck. The reference bound is now held at a value no wire stress reaches, so both paths give the stuck answer, that of mu = 1. - The critical fibre, wire and layer were an argmax over values equal to round-off at symmetric fibres: 63 deg on one kernel path, 243 deg on the other. Values within 1e-12 of the largest are a tie, won by the first. - compute_thermal took a negative current and temperatures below absolute zero, and n_cores = 0 divided by zero. - export_bending_law raised numpy's TypeError for a fractional n_points. - A layer's schema error was titled with the union of every layer kind and located within the kind; it now names the layer, its index and the file. - read_series_csv raised UnicodeDecodeError on a file that is not UTF-8 and stopped on a row of spaces; both CSV readers took 1_0 as 10. - SeaStateBatchOptions left n_fibres, chunk_rows, mu, exposure_years and design_fatigue_factor to be checked after every run had been evaluated; SeaStateRun did not check line_id. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…_fatigue (#44) compute_fatigue counts every fixed fibre of a layer in one compiled pass (fast_rainflow.fibre_miner_damage): each fibre history is reduced to its turning points while it is formed from the field components, without branches, the reversal scan feeds the three-point stack directly, and one count serves the unit and the termination stress-range factor. The fibre histories are no longer formed in NumPy. The stress field of wire_stress_field is assembled in one compiled pass (fast_field.assemble_wire_field) with the operations of the NumPy expressions in the same order; without numba the NumPy path computes the local bending stress once instead of twice and no longer forms the per-wire copies of the axial and thermal stress. The direction-tied friction kernel keeps its bounds in place instead of allocating them at every sample. All damage is bit for bit equal to the previous build on the throughput workload (one-hour sea state, 66 kV template, every case) and in the suite; entries where the reference would raise are recomputed on the reference path in the order of the former loop. The sea-state batch has no upper limit on the worker count (the pool starts at most one worker per run); MAX_WORKERS is removed. validation/scripts/benchmark_throughput.py records the one-core throughput of the sea-state path, the damage differences from an earlier build and the batch time against the worker count; tests/test_fast_fatigue_path.py checks the fused path against the arithmetic it replaces. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…erflow to inf as Python (#50) A constant curvature cycled in the distributed helix model. The compiled kernel started a sample that repeats the last one from the increment of the last substep and converged to a drift of the Newton tolerance (2e-6 Pa per sample on the 33 kV template's inner armour at 0.01 1/m and 200 kN), which compute_fatigue counted as 1e-58 damage where the reference kernel gave 0. Both kernels also moved the segment forces by one ulp on such a sample (1e-69 damage on the outer armour). Under the Coulomb bound a repeated sample now keeps the state in both kernels, with no substep; under a friction law it is still solved (a node can heal while it sticks), the compiled kernel starting it from a zero increment as the reference does. Run as Python (without numba), the compiled direction-tied and progressive kernels raised OverflowError from math.expm1 where compiled they return inf. friction_law._expm1_or_inf gives inf past log(DBL_MAX) on both, bit for bit equal to math.expm1 below it. Without numba this made compute_fatigue(..., friction_model="progressive", mu=1e6) fail. The reference progressive history holds such a sub-element cap at 1e300 Pa, as the reference Papailiou bound does, so it sticks where the compiled kernel does. Compiled results are unchanged. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…ne (#52) read_cabledyn_sections took every node channel of a section (CurvX/CurvY on the components route, Ten, Twist, Torq) linearly between the two nodes of its element, and required both. A station written at one node, the usual OUTPUTS request, could not be read: a section at the arc length of deck node 21 asked for CurvX/CurvY at node 22 too. A section whose arc length equals a deck node's now reads that node alone; any other section is linear between its two nodes as before, with the same arithmetic, and an error for a section a few micrometres off a node (a rounded arc length) names the node and its arc length. On the components route CableDyn's section axes already carry the twist, so its Twist and Torq histories are now kept at every section whose nodes write them. Before, one section without Twist channels (a hang-off node) dropped the twist of all of them, and checks["torsion"] called the read twist-free. The reconstructed routes still need the twist at every section of a torsion line. The global-local guide no longer says that read_cabledyn_sections does not read CurvX/CurvY, nor lists the hang-off roll as open. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…ved (#51) The unreliable quantity of the Ménard and Cartraud (2023) comparison is the source's 0.3 MPa clamping, a tuning parameter of its own FE model, not the measured loops. BM1-loop and BM1-ID are gated again. BM1-loop no longer transfers the 0.3 MPa: the clamping is identified on the measured cycle work of range (a), the +/-0.05 cycle the source calibrated on (190.1 kPa with the armour law), and range (b) is predicted: ordered RMSE 5.45 %, work 44.4 against 62.3 J/m (-28.8 %), FAIL against the unchanged targets. BM1-ID (identified on range (b)) reads FAIL on ranges (a) and (c). BM1-loop-uniform gave the same numbers at uniform curvature and is removed. check_core_friction.identify_initial_pressure is the bisection of identify_then_predict, unchanged, on any range. CH-GJ compared the torsional stiffness of the Chae, Nam and Shim (2023) cable with the outputs of the source's three cross-section tools, its only reference values; nothing is measured. It is removed from the report and the tool values from the torsion script. The register keeps the core-lay sensitivity as a stated finding: S-lay cores give 21-31 % less than straight cores. A quoted third-party tool name in the register is rephrased. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…rate (#53) A twist of the cable now stresses the armour and conductor wires, not only the section frame. - compute_fatigue and compute_conductor_fatigue take twist_rate_per_m [rad/m], positive in the sense that tightens a right-hand (Z) lay. - Every armour wire gains the axial stress of the helix strain s r sin(a) cos(a) tau (Knapp 1981, Eqs. 2 and 11, fixed radii). With a tension history the tension is held, so the strain also changes by -K_et tau / K_ee, the section law CableDyn solves with GJ|K. - The stress is uniform over a layer, so the slip state of every friction model is unchanged. - Each conductor ring wire gains the strain of the laid core and of the ring twisting with the cable. - The CableDyn reader forms CableDynSectionHistory.twist_rate_per_m from the Twist<L>N<J> channels. Inside an element it is that element's rate; on a deck node it is the mean of the two element rates, as CableDyn defines Torq<L>N<J>. The torque is not converted: it contains the torsional damping and, under a stiffener, the sleeve's share. - TorsionalStressWarning names the missing Twist channels where CableDyn writes twist or torque at a section but the rate cannot be formed. - section_channels lists the extra node. - The sea-state batch applies the stress with twist_stress=True and warns when it omits it. - Without the input every result is unchanged, bit for bit. Verification row TQ-FT (registered before the run): - closed-form stress and damage: 4.5e-15 - torque and tension carried by the wires against K_et, K_tt: 2.2e-16 - mirror lay with reversed twist: 0 - zero twist against none: 0 Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The provenance of compute_coiling also listed CH-EI, CH-P and CH-D, rows that were removed before 0.1.0 and are not in the validation report. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Gap G8 is closed for release 0.2.0 as a documented known limitation. The slip branch of a compact, solid-filler three-core cable is about 3.5 times softer than measured (Z-ID), the 300-bar Witz loop is too narrow (WITZ-ID, G8-W1/W3), and HU-3PB and the Ménard loops at one clamping miss. doc/benchmarks.md states what fails and by how much; the eight mechanisms tested with source inputs (stick-support compliance, residual pressure, neighbour-wire contact, compacted bundle, end anchorage, conductor compaction, the metric, the insulation modulus) and why each was ruled out; where the model is reliable (rope-filler bundles) and where it under-predicts the slip stiffness; the direction of the error; and the data that would settle it. VALIDATION.md and the local analysis guide summarise it. New keyword stick_support on compute_mkappa, compute_stiffness, SectionLaw.from_cable, cable_to_mkappa_specs and xi_for_layer. The default, "yun_stack", is unchanged bit for bit. The opt-in "annulus" (mechanics/stick_support.py) solves the mode-1 antiplane shear of the layered polymer annulus under the armour with its actual inner boundary, plus the concentration of the load on each wire's width. Its closed-form limits (thin layer on a rigid support, solid core, free bore) and an independent finite-difference solution of the two-layer annulus are tested. Across the 67 report rows it changes no status. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Version 0.2.0 in pyproject.toml, cablexsec.__version__, CITATION.cff (released 2026-11-21), the README, the manual's index, installation and citation pages and the development notes. The [Unreleased] notes move to [0.2.0] with a known limitations section: gap G8 on compact solid-filler sections, the SV11 termination correction, the other failed measured rows and the direction-tied default of the fatigue friction law, which stays unchanged. Changelog entries whose validation values a later change of this release moved say so. The planned change of that default now names a later release instead of the next one, in the warning, the docstrings and the manual. The VALIDATION.md summary takes the values of the committed report and gains the CFW, TQ-SV and SV11-EQ88 rows. CableDyn's own versions are written without the leading "v" so that the release metadata check reads only CableXSec versions. The release record validation/RELEASE_0_2_0.md lists the environment and the gate results, and the release-tree audit requires it. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
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: c8d8fd8a1e
ℹ️ 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".
…k support export_bending_law passes its options to compute_mkappa for the backbones, but _law_options dropped stick_support, so the slip transitions and the reference group laws of the slip-scale table were prepared with the default "yun_stack". With stick_support="annulus" the group laws missed the exported backbone at the reference tension by 0.14 % of the moment range on the 66 kV template. The option now reaches every law the export prepares; the default is unchanged. A new analytical test checks that the merged group laws reproduce the annulus backbone to 1e-12 of its range (it fails without the fix), so the analytical_sanity count of the validation report is 1265. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? 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". |
…l checks The 0.2.0 record gives the suite count after the stick-support test (4933 passed, 3 skipped), the validation check in both environments with the taxonomy of 1265 analytical tests, the archive audit, the distribution contents, and the wheel and sdist installs in new conda environments. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! 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". |
Release 0.2.0
Release branch for CableXSec 0.2.0 (dev at
bdf2fa1plus the release metadata). Once this passes review and CI,mainis fast-forwarded to the branch head,v0.2.0is tagged on it, and the GitHub release is published from the tag, which runs the release workflow. Nothing is uploaded to a package index.What the release commit changes
0.2.0inpyproject.toml,cablexsec.__version__,CITATION.cff(released 2026-11-21), README,doc/index.rst,doc/installation.rst,doc/citing.rst,DEVELOPMENT.md,RELEASE.md[Unreleased]→[0.2.0] - 2026-11-21, with a Known limitations section. Entries whose validation values a later change of this cycle moved now say so and give the release value"direction_tied". The warning, the docstrings and the manual now say it changes "in a later release" instead of "in the next release"VALIDATION.mdexport_bending_law(..., stick_support="annulus")now prepares its slip transitions and slip-scale group laws with the selected stick support (Codex finding; new analytical test, which fails without the fix)validation/RELEASE_0_2_0.md, required by the release-tree audit. CableDyn's own versions are written without the leadingv, so the metadata check reads only CableXSec versionsNo default, registered target, band or model input changes. The review fix adds one
analytical_sanitytest, so the taxonomy line reads 1265.Local gates
Run in new conda environments, with the extras installed by pip from the index as in CI, and one thread per process.
pytest, Python 3.12 (NumPy 2.5.5)NUMBA_DISABLE_JITcoverage pass)release/check_coverage.py, Python 3.11 (NumPy 2.4.6)src tests examples validation release doc)mypy(strict, CI configuration on 3.11)run_validation.py --check(3.11 and 3.12)analytical_sanity, 79independent_method, 59full_scale-W --keep-goingcheck_release_metadata.py,audit_release_tree.py --tree .and--archive-ref HEAD,pre-commit run --all-files,git diff --checkpython -m build,twine checkcablexsecand its metadatasmoke_test_wheel.py,cablexsec-batch --help, the README quick start (output identical to the README), all 12 examples, the 4 tutorial and 10 how-to scripts, andcablexsec-batchon the shippedlw128CableDyn run: all passrelease.ymlpreflight (workflow_dispatch, e9b3f8f)4f87920f…a1ef7a85b, sdist4727ea57…fea47b7f1d6The failed rows are BM1-loop, BM1-ID, Z-ID, HU-3PB, WITZ-ID, SV11-PLANE and SV11-GJ. Their registered targets are unchanged.
Known limitations stated in the release
"direction_tied"and warns on non-planar paths.