Skip to content

feat: a cylindrical layer defined by its section stiffness - #22

Merged
SMI-Lab-Inha merged 1 commit into
devfrom
feat/stiffness-defined-layer
Nov 17, 2026
Merged

SMI-Lab-Inha merged 1 commit into
devfrom
feat/stiffness-defined-layer

Conversation

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner

Summary

A cylindrical layer can be defined by its section stiffness instead of a material, for a component whose properties come from a datasheet:

  - name: datasheet_unit
    layer_type: cylindrical
    r_inner_m: 0.0
    r_outer_m: 0.012
    stiffness:
      EA_N: 2.4e6
      EI_Nm2: 4.1
      GJ_Nm2: 3.2
      mass_kg_per_m: 0.21
      poisson_ratio: 0.35    # optional; default 0.3 (model assumption)
      source: "manufacturer datasheet, rev. B"
Quantity Contribution
Axial stiffness, load sharing EA_N
Bending stiffness (stick and slip) EI_Nm2 (concentric: no parallel-axis term)
Torsional stiffness (fixed-radius matrix $K_{tt}$) GJ_Nm2
Mass mass_kg_per_m
Bounded contact chain placed by its radii
Coupled radial models (qp, solved, coiling, solved torque balance) refused: no radial law

The layer takes no material key. The cable supplies a stand-in material "<name> (stiffness)" in its material scope (not in the YAML materials block): an isotropic solid filling the annulus with $E = EA/A$, bending modulus $EI/I$, density $m/A$, the Poisson ratio of the block (0.3 if absent, labelled a model assumption) and no thermal expansion. It serves the calculations that read a material: the shear support of the armour (finite-support no-slip coefficient), the hoop restraint of the buckling screen and the component stress (no limit). The section stiffness itself is taken from the block. A stiffness-defined layer is structural, cannot be a serving and carries no tape winding or strain-life constants.

Tests

tests/test_stiffness_defined_layer.py:

  • a stiffness block repeating the E A, E I, mass and Poisson ratio of the HDPE bedding of the bundled single-core cable reproduces its EA (fixed and free), EI (slip and stick), GJ, mass and direction-tied fatigue damage to round-off;
  • GJ_Nm2 adds exactly to $K_{tt}$ and changes nothing else;
  • the stand-in material's values and sources; the YAML materials block is untouched;
  • YAML round trip;
  • input rules;
  • qp section state and the solved radial state refuse the layer.

Gates: ruff, mypy (0 errors), full suite with numba and with CABLEXSEC_DISABLE_NUMBA=1, run_validation.py --check (no row moves; no template changes).

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>
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T18:26:37.901905Z 74a085f Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 CableXSec | 🛠️ Build #35964466 | 📁 Comparing 74a085f against latest (240bf9c)

  🔍 Preview build  

18 files changed · ± 18 modified

± Modified

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 74a085f20f

ℹ️ 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".

@SMI-Lab-Inha
SMI-Lab-Inha merged commit c2148dd into dev Nov 17, 2026
22 of 23 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the feat/stiffness-defined-layer branch November 17, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant