Repository navigation
feat: contact-pressure friction factor; measured wire-on-tape friction loops - #9
Conversation
…n loops The friction law had one coefficient per contact pair whatever the contact pressure, and no measured armour friction loop was in the validation set. Pressure factor. FrictionLaw(pressure_factor=((P, f), ...)) multiplies the coefficient by a piecewise-linear f(P), clamped at the table ends, at the local friction-setting pressure P = (P1 + P2) g of each wire or helix node at every sample, so it follows a tension or pressure history. It enters where the static/dynamic and rate factors do (effective coefficient m f(P) mu): inside the capstan exponent of the direction-tied bounds (NumPy reference and compiled kernel) and on the whole node bound of the distributed kernel. The direction threshold takes the smallest factor of the table, so it stays below the onset of every wire. The factor is rate independent (no time base) and is refused where a friction law is (progressive model, laid-core friction, termination clamp increment). The exported bending law accepts a law with only a pressure factor at the fixed contact state of each tension and refuses it with slip_scale=True: f(P) moves the coefficient inside the capstan exponent, so M(kappa; rho) = rho M(kappa/rho; 1) no longer holds and the scaling rule is not exact. slider_history takes contact_pressure_Pa. No table, or a table of unit factors, keeps every code path bit for bit. FrictionLaw is not stored in project files; nothing saved before changes. Tests: one slider under pressure steps (falling bound clips the slipping force, rising bound leaves it in stick until the spring reaches it), pressures outside the table and zero contact, breakaway at m_s f(P), energy identity under a pressure history; the full-slip bound of every wire at its own local pressure; a constant table equal to the scaled coefficient and a unit table bit for bit (both kernels and the distributed model); compiled against NumPy to 1e-12 of the stress scale for three laws; the entry points and the export refusals. New validation row FL-P (round-off against 1e-9). Measured loops. Dai, Saevik and Ye, Marine Structures 59 (2018) 423-443, Fig. 4 (p. 429): Test 1 (8, 4 and 1 MPa, 0.01 Hz) and Test 3 (4 MPa, 0.01-0.2 Hz), digitised from the raster embedded in the PDF at its native 300 ppi by validation/scripts/digitise_dai2018_fig4.py (tick-centroid calibration, hue classification, one point per pixel column on the branches and per pixel row on the elastic segments; reading resolution +-0.008 mm / +-0.0021 and +-0.012 mm / +-0.0012), with provenance in the CSV headers. The end-of-stroke rises the paper attributes to the wire's out-of-straightness are kept in the data and excluded from the comparison (last 0.5 mm of each stroke). check_dai2018_friction.py runs slider_history with static_factor = mu_s/mu_d, stick_time_s = 0, no rate terms and each loop's measured stick slope. - DAI18-DIG (PASS): digitised loop maxima 0.2237/0.2405/0.3786 against the printed mu_s 0.22/0.24/0.38, within printed precision plus resolution. - DAI18-RS (PASS): every reversal of all seven loops peaks above the dynamic level; stick_time_s = 0 reproduces all 14 peaks, the default inf none. - DAI18-T1 (INFO): with the printed coefficients the peaks are within -1.8 to +1.0 %, the +x-stroke levels within 3.3 %; the measured -x strokes run 4-14 % lower (model +4.7 to +12.3 %). The force decays from the peak over 0.6-2.3 mm where the law drops in one step; work 1.9-2.6 % low. - DAI18-T3 (INFO): the static peak rises 10.6 % from 0.01 to 0.2 Hz, which the law cannot represent (0.2 Hz peak -7.9/-11.4 %); the dynamic level does not move (-3.5, -2.4, +0.3 %), so no rate term is supported at 0.13-2.5 mm/s. Docs: concepts (pressure factor; measured armour friction re-sticks at every reversal, mu_s/mu_d 1.19-1.22, mu_d 0.32/0.20/0.18 at 1/4/8 MPa, no rate effect on the dynamic level), benchmark register, VALIDATION.md. Provenance of the default mu_on_hdpe = 0.20 (value unchanged): Dai, Saevik and Ye, Marine Structures 55 (2017) 137-161, Sec. 4.3.1, p. 156, an estimate for anti-wear tape on inner armour and steel on steel "at 20 MPa internal pressure" quoted from Saevik (1992); the interface is an anti-wear tape and the contact pressure is 2-4 MPa (Dai et al. 2018, p. 428). 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. Delightful! 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 pressure-table check took `object`, which numpy.iscomplexobj does not accept under the typed NumPy stubs; CI's mypy reported it. 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". |
Summary
The friction law of #7 had no measured data behind it. This PR adds:
FrictionLaw(pressure_factor=...). The same tests show μ falling from 0.32 to 0.18 between 1 and 8 MPa.Neutral settings (no table, or unit factors) keep every code path bit for bit.
1. Measured loops against
slider_historyDigitisation (
validation/scripts/digitise_dai2018_fig4.py):validation/paper_data/dai2018_fig4a_test1.csv(Test 1: 8, 4 and 1 MPa, 0.01 Hz) anddai2018_fig4c_test3.csv(Test 3: 4 MPa, 0.01–0.2 Hz), with provenance headers.Model (
validation/scripts/check_dai2018_friction.py):static_factorstick_time_s = 0, no rate terms;Results:
stick_time_s = 0reproduces all 14; the defaultinfreproduces noneWhat the model cannot represent (stated in the docs):
2. Pressure-dependent coefficient
FrictionLaw(pressure_factor=((P, f), ...))is a piecewise-linear factor, clamped at the table ends.How it is applied:
slider_historytakescontact_pressure_Pa. The docs give the rig conversion: both faces pressed atWhy a
FrictionLawfield rather than a material property:FrictionLawis not stored in project files, so older files load unchanged.Exported bending law:
slip_scale: at each tension's fixed contact state it is a fixed coefficient per wire.slip_scale=True. BecauseTests (
tests/test_friction_pressure.py, 36 cases):compute_mkappa,compute_fatigueand the export, with their refusals.New report row FL-P: 3.0e-16 / 8.7e-16 / 2.5e-15 against a 1e-9 target.
3. Docs
doc/concepts.md: measured armour/anti-wear-tape friction, all from Dai et al. 2018, p. 428:stick_time_s = 0);It also covers the pressure factor, with an example built from these data.
Also updated:
doc/benchmarks.md(DAI18 section, FL-P row),VALIDATION.md, the API page, the validation READMEs and the CHANGELOG.4. Source of the default armour coefficient (0.20, unchanged)
The default comes from Dai, Sævik & Ye 2017 (Marine Structures 55, 137–161, doi 10.1016/j.marstruc.2017.05.010), Sec. 4.3.1, p. 156. It is quoted there as a 1992 estimate of "0.20 at 20 MPa internal pressure", for an anti-wear tape interface.
Dai et al. 2018 (p. 428) put the actual contact pressure there at 2–4 MPa.
library.pynow cites this for the armour steels and states that the interface is anti-wear tape, not HDPE. The same correction is made incheck_saevik2011.pyand the SV11 paragraph ofdoc/benchmarks.md.Checks
CABLEXSEC_DISABLE_NUMBA=1(both wheel sets)ruff check,ruff format --check(CI trees)test_friction_pressure.pyjoins the no-JIT pass)