Repository navigation
feat: core friction in the biaxial section moment of compute_neutral_axes - #32
Merged
Merged
Conversation
…axes compute_neutral_axes reports the section moment conjugate to a biaxial curvature history, but only of the armour wires and EI_min. With core_friction (True or a CoreFrictionSpec) it now adds the stick-slip law of the laid cores, their internal wire rings and the filler profiles (core_friction_history over the same history), with the bounded contact loads at the reference tension, as compute_mkappa does. A global model's (kx, ky) history then gives the section moment of the full accounting. A planar history reproduces compute_mkappa with the same options to round-off (tests at 0 and 90 degrees); without core_friction the result is unchanged bit for bit. NeutralAxisResult.core_moment_Nm holds the core share and ei_max_Nm2 adds the core stick stiffness. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Owner
Author
|
@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. |
|
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". |
SMI-Lab-Inha
added a commit
that referenced
this pull request
Nov 18, 2026
CHANGELOG keeps both Added entries (Zeidan rows and the biaxial core moment of #32). Taxonomy recounted on the merged tree: 1191 / 76 / 44 passed, as recorded. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
compute_neutral_axesalready returns the biaxial section moment conjugate to a curvature historyb = (kx, ky)(NeutralAxisResult.moment_Nm, shape (samples, 2)). Until now it covered only the armour wires andEI_min b. This PR adds an optionalcore_frictionargument (Trueor aCoreFrictionSpec). With it, the section moment also includes the stick-slip law of the laid power cores, their internal wire rings and the filler profiles, run bycore_friction_historyover the same history.A global model's
(kx, ky, T)station history then gives the section moment of the full accounting, which a global–local consistency check needs. Before, only the planarcompute_mkappaincluded the cores.Behaviour
compute_mkappa(core_friction=...). The armour contact pressure still follows the history.NeutralAxisResult.core_moment_Nmholds the core share.ei_max_Nm2adds the core stick stiffness.core_friction(NoneorFalse) the result is unchanged bit for bit.neutral_axes(...)takescore_moment_Nmandcore_stick_EI_Nm2for a core law computed elsewhere. Both inputs are validated: shape, finite values, sign, and that a stiffness comes with a moment.Tests
compute_mkappa(core_friction=..., phi_bend=...)to 1e-12 of the range;ei_max_Nm2equal to 1e-12core_friction=Falseagainst no argument; on against offChecks
ruff checkandruff format --checkwith the CI command;mypy: 0 errorspytestwith numba and withCABLEXSEC_DISABLE_NUMBA=1validation/scripts/run_validation.py --check