Repository navigation
fix: direct calls read the cable materials; Skeie 2023 credit and row SK23-T1 - #64
Conversation
… SK23-T1 Ninety public functions of 36 submodules that take a cable read the library values when called directly (xi_for_layer gave 1.000 for Zeidan's inner armour instead of 0.832): every submodule now wraps them with scope_entry_points, as cablexsec and cablexsec.api do, and a nested call with the same cable object skips re-entering the scope (no measurable cost). A test walks every module. The coupled intralayer core slip credits Skeie, Sodahl, Pettersen and Verde (2023, OMAE2023-104817); the largest friction stress saturates at pi/3 times the onset, the "full slip" of their Table 1, before the coalescence at 1.209. New reported row SK23-T1 runs their worked case. Documentation: the bonded face's stuck coefficient takes the support and the bond in parallel (unchanged only on a rigid support) and its friction cap is not reduced; the stuck cos^4 normal curvature cites Saevik (2011) Eq. 50; report cells escape a literal |; 0.2.1 version references. Tests: a tolerance instead of exact equality in the curvature-component test; short numba cache folder names. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
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. |
After #63: the SV11 rows of dev and the SK23-T1 row of this branch; escaped cells; taxonomy counts. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 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". |
The keys say what the two printed values are (the source's model and its FE). No value, row or test result changes. 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". |
… SK23-T1 (#64) fix: direct calls read the cable materials; Skeie 2023 credit and row SK23-T1 Ninety public functions of 36 submodules that take a cable read the library values when called directly (xi_for_layer gave 1.000 for Zeidan's inner armour instead of 0.832): every submodule now wraps them with scope_entry_points, as cablexsec and cablexsec.api do, and a nested call with the same cable object skips re-entering the scope (no measurable cost). A test walks every module. The coupled intralayer core slip credits Skeie, Sodahl, Pettersen and Verde (2023, OMAE2023-104817); the largest friction stress saturates at pi/3 times the onset, the "full slip" of their Table 1, before the coalescence at 1.209. New reported row SK23-T1 runs their worked case. Documentation: the bonded face's stuck coefficient takes the support and the bond in parallel (unchanged only on a rigid support) and its friction cap is not reduced; the stuck cos^4 normal curvature cites Saevik (2011) Eq. 50; report cells escape a literal |; 0.2.1 version references. Tests: a tolerance instead of exact equality in the curvature-component test; short numba cache folder names. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Summary
This PR fixes one bug, credits one paper and clears a set of documentation and test items from an external review of 0.2.1. Each item was checked against its source before it was changed.
Fixed: direct calls ignored the cable's own materials
xi_for_layer(zeidan, "inner_armour")returned 1.000 outside a material scope, against 0.832 inside one. The fix:cablexsecandcablexsec.apiwere wrapped withuses_cable_materials. 90 public functions in 36 submodules were not, so called directly they read the library values. Among them arexi_for_layer,yun_shear_stack,ei_min_slip, the adapters, the analysis routes and the plotting.scope_entry_points(globals(), __all__), the helper the two top-level modules already use.library.material_scope(...)is still respected. A workflow benchmark (compute_stiffness,compute_mkappa,compute_fatigue,export_bending_law) takes 0.133 s ondevand 0.134 s on this branch.test_every_public_function_of_every_module_uses_the_cable_materialswalks every module.cablexsecandcablexsec.apiare unchanged. The validation report is regenerated, and only the new row and the escaped cells differ.Credit: Skeie et al. (2023)
The coupled intralayer slip of laid cores (
core_core_coupling="relative", #57) follows Skeie, Sødahl, Pettersen and Verde (2023), OMAE2023-104817, doi:10.1115/OMAE2023-104817. They formulated the relative slip of three cores, its onset and the coalescence of the slip zones. The paper is now cited in:core_frictionandstation_coupling;doc/template_66kv.md;The docs now also state that the largest friction stress saturates at π/3 times the onset, before the slip zones coalesce at 2π/(3√3) = 1.209. That saturation is the "full slip" curvature of their Table 1.
New reported row SK23-T1. It runs their worked case (three tubes, core–core contact only) through CableXSec's coupled stations:
The 0.9 % onset difference is the load convention, a factor cos α. The row is code-to-code and not gated.
tests/test_core_coupled_slip.pychecks it.Documentation
Bonded outer face (0.2.1). When the layer is stuck, the inner support and the bond act in parallel:
doc/benchmarks.mdand the test docstrings are corrected.Stuck-wire curvature. The stuck-wire normal curvature$\cos^4\alpha$ now cites Sævik (2011) Eq. 50, the prescribed normal curvature of the stuck helix.
Validation report. Cells now escape a literal
|, as in|cos|. Before, the rows slip-onset and QP-KKT broke the table. The escaping is done inRow.line, and the staleness check compares escaped values.Version references. The 0.2.1 references are updated in
doc/template_66kv.md, the BibTeX key indoc/citing.rst, andDEVELOPMENT.md.Tests
rtol=1e-15instead of exact equality.cxnb-<8>-gwN. The long names overflowed the 260-character path limit of Windows.Not in this PR
doc/template_66kv.mdSection 4: they need a reproducible generator first.Checks