Repository navigation
feat: torsional wire stress in the fatigue path from the cable twist rate - #53
Conversation
…rate 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>
|
@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. 👍 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". |
Brings in #51 (Ménard rows gated with an identified clamping; CH-GJ removed). No conflicts. Both changelog entries are kept. The taxonomy from --collect-only is unchanged at 1254 / 77 / 59. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. 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
Until now a twist of the cable only turned the section frame. With this change it also stresses the armour and conductor wires. Three entry points take the new optional input
twist_rate_per_m[rad/m]:compute_fatiguecompute_conductor_fatigueSeaStateBatchOptions(twist_stress=True)The CableDyn reader forms the input from the
Twist<L>N<J>channels. Without the input, every result is unchanged, bit for bit.Mechanics
With plane sections and fixed layer radii, a wire of lay angle$a$ , helix radius $R$ and lay sign $s$ (+1 right hand / Z, −1 left hand / S) strains under the cable strain $\varepsilon$ and twist rate $\tau$ as
This is Knapp (1981), Eq. 11 with a radially rigid core ($\theta = 0$ ), with the twist strain $\gamma = R\tau/\tan a$ of its Eq. 2.
Tension route. With a tension history the tension is held. The section law$T = K_{ee}\varepsilon + K_{et}\tau$ then gives $\varepsilon = (T - K_{et}\tau)/K_{ee}$ , and the wire stress per unit twist rate is
($T = EA,\varepsilon + K\tau$ , $M = GJ,\tau + K\varepsilon$ ). A deck whose $K_{ee}$ , $K_{tt}$ , $K_{et}$ therefore hands CableXSec the strain CableDyn has.
twist_stress_coefficient). This is the law CableDyn solves withGJ|K(EA|GJ|Kare the section'sPrescribed-strain route. With
axial_strainthe strain is held and only the helix term is added.Friction. The twist stress is uniform over a layer. It adds to$\sigma_A$ and leaves the bending slip of every friction model unchanged (direction-tied, distributed, progressive).
Conductor. The plane cable section turns as a whole:
Input: twist rate from
Twist, not torqueCableDyn's element twist is $\mathrm{Twist}_{k+1} - \mathrm{Twist}k = M L_0/GJ - (K/GJ)(l - L_0)$, the material twist. So $(\mathrm{Twist}{k+1} - \mathrm{Twist}_k)/L_0$ is the kinematic twist rate.
CableDynSectionHistory.twist_rate_per_mis formed as follows:Twistchannels neededTorq<L>N<J>The torque is not converted, for three reasons:
Torq = GJ τ + K εserves as a consistency check instead.Signs. CableDyn's
Twistis right-handed about the End A → End B tangent. That is CableXSec's convention (a positive twist tightens a right-hand lay), so no flip is needed.No silent omission.
TwistorTorqat a section but not the channels the rate needs, the reader emitsTorsionalStressWarningnaming the missing channels.twist_stress=False, the default). Withtwist_stress=Trueit refuses a section of a torsion-solved line that has no twist rate.twist_rate_per_mis refused withsection_states, theqpcontact model and a solvednormal_stress_Pa, whose states carry their own zero twist.section_channelsnow listsTwistat the node before a section that lies on a deck node.Verification (row TQ-FT; targets registered before the run)
Further checks:
Limits (documented, recorded in provenance)
The term is the linear fixed-radius helix strain. It does not include:
Gates
CI on 5354c4c, which includes the merge of
origin/devat #51: every check is green.Local, Miniconda env
cablexsec(Python 3.12.16, numpy 2.5.4, numba 0.68.1, scipy 1.18.1):test_core_friction.py::test_coupling_and_provenance, anEI_tangent >= EI_mincomparison at a relative 6e-15. It fails identically ondev(1a595af) in this env, from numpy 2.5.4 round-off, and is not touched here.ruff checkandruff format --check: clean.dev. None of them is on a line this PR changes, and they are left for a separate change.--collect-only: analytical_sanity 1248 → 1254 (the six new TQ-FT tests); independent_method 77 and full_scale 59 are unchanged.Docs
CHANGELOG.mddoc/user_guide.md§2.5doc/global_local_guide.md§2.2 (new: mechanics, input, signs, deck outputs, limits), §3 (batch option), §4 (verification row)doc/benchmarks.mdTQ8 (TQ-FT)VALIDATION.mdandvalidation/validation_report.md: row TQ-FT; analytical_sanity 1248 → 1254validation/scripts/run_validation.py,validation/scripts/check_torque_balance.py