Repository navigation
feat: distributed laid-core law and core contact loads that follow the tension - #43
Conversation
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. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b3d4505d8
ℹ️ 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".
4b3d450 to
0758f65
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. 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". |
…ion-following core loads (CF-D, CF-T) Targets registered before any run: planar reduction of "auto" to the direction-tied law, rotation equivariance, dissipation, mu = 0, stick tangent, full-slip closed form and compiled-kernel agreement of the distributed core law; constant-tension identities and a tension cycle against the slip-scaled exported law for core loads that follow the tension history. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…e tension 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>
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…of later samples An unloaded reference (zero tension, no clamping) takes the filler coefficient; when that is zero the core population kept mu = 0 over the whole tension history, so core-core loads of later samples carried no friction under core_loads="follow". The load history now carries the coefficient of the capstan term: the reference one, or that of the most loaded sample when the reference one is zero, and normalises the bound level by the cap at that coefficient. A sample without frictional load gets a zero bound instead of an unscaled one. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
core_friction_history passes max_increment to the distributed helix model (default that of the model), and SectionLaw.from_cable gives the cores its distributed_max_increment, as it gives the armour layers. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The registered CF checks were rerun on the rebased branch: CF-D is unchanged (it holds the cores only), CF-T-cycle moves with the armour stick coefficient to 0.49-1.19 times the fixed-tension residual (PASS). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
0758f65 to
300706d
Compare
|
@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". |
Summary
Two inconsistencies of the laid-core law (cores, their wire rings, filler profiles) against the armour:
"auto"for non-planar paths). On the 66 kV template (cores and profiles, μ 0.46) the distributed core law takes 1.29× the direction-tied friction work on a biaxial random walk and 2.33× on a circular orbit.What changes
Distributed core law
core_friction_history(model, kx, ky, friction_model=...):"direction_tied"(default, unchanged bit for bit);"distributed": each population (cores, filler profiles) is solved with the armour's distributed helix model (distributed_friction_history). The axial force of a core is a field along its pitch with the shear-lag interface of"auto": direction-tied on planar paths (PLANAR_PATH_TOLERANCE, as the fatigue route), distributed otherwise; a rigid population falls back withFrictionModelFallbackWarning.The internal rings keep the strand-slip operator in every model.
Routes:
compute_neutral_axes(..., friction_model="auto")is now accepted for the armour (resolved per layer). The cores take the armour's model unlesscore_friction_model=says otherwise ("progressive"armour → direction-tied cores).SectionLaw.from_cable(friction_model="distributed")solves the cores with the distributed law too.Core loads that follow the tension
core_load_history(cable, model, tension_N, contact_model=...)→CoreLoadHistory. Bounded estimate: exact (affine, two evaluations). Solved model: exact up to 33 tensions, interpolated beyond (as the armour histories). The core bound level follows the population's full-slip friction moment, so a changing load mix (unequal coefficients) enters as it enters the slip-scale group cap.compute_neutral_axes(..., core_loads="follow" | "reference")andcompute_mkappa(..., core_loads=...)(withcontact_tension_history_N). Default"follow";"reference"keeps the earlier behaviour.Checks (registered in
doc/benchmarks.mdbefore the run, first commit of this PR)Case: 66 kV template, bounded contact, cores and filler profiles, μ 0.46, 50 kN, default stations and nodes.
"auto"= direction-tied on planar paths (law andcompute_neutral_axes): ≤ 1e-12"follow"at constant reference tension ="reference", ≤ 1e-12CF-D-slip. The model reproduces the station sum of the closed-form field to 1e-10. The residual against the continuous integral is the station quadrature of a field whose slope changes sign at the extreme fibres: second order (120 stations per core: 2.6e-5). The target is not loosened. The test pins the documented deviation and the convergence order. The default station count is unchanged.
Not changed
distributed_friction.py,fast_slip.py,papailiou.py) are untouched; the core law calls the publicdistributed_friction_history.analysis/kinematics.py(helix fields of the components) keeps the direction-tied core stations.Gates
numpy 2.4.6,scipy 1.17.1) on the branch rebased onto dev 0ffb0f1 (after feat: one exported bending law per friction group, each with its own scale table #42),NUMBA_NUM_THREADS=1: 4646 passed, 4 skipped. WithCABLEXSEC_DISABLE_NUMBA=1: 4530 passed, 120 skipped.python -m mypy: no issues.ruff check/ruff format --checkonsrc tests examples validation release doc: clean.analytical_sanity1219 → 1245 (26 new collected IDs,tests/test_core_friction_distributed.py);independent_method77 andfull_scale58 unchanged.core_load_history), Changed (core loads follow by default).Review fixes and rebase
CoreLoadHistory.core_mu_capstan) and normalises the bound level by the cap at that coefficient; a sample without frictional load gets a zero bound. Testtest_zero_reference_coefficient_with_frictional_loads_later(direction-tied to 1e-12, distributed to 2e-3 against the law built at the loaded tension).SectionLaw.from_cablenow hasdistributed_max_increment, which the cores receive too (core_friction_history(..., max_increment=...)). CF-D unchanged (cores only); CF-T-cycle rerun, 0.49–1.19 times the residual (PASS).