Skip to content

Add mass moment of inertia, kinematic coupling, bolt preload and press-fit calculators - #20

Merged
ehcrea merged 1 commit into
mainfrom
claude/project-thread-9t7nna
Nov 10, 2026
Merged

ehcrea merged 1 commit into
mainfrom
claude/project-thread-9t7nna

Conversation

@ehcrea

@ehcrea ehcrea commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Requested by Eren · project thread

New calculators

Calculator Group Based on What it gives
Mass moment of inertia Contact & dynamics JPE "Mass moment of inertia" Mass and J of a cylinder, tube, block or sphere about the centre axes and a parallel axis, radius of gyration
Kinematic coupling preload Contact & dynamics Hertz (Johnson), Slocum 1992 Force and Hertz pressure per contact for 3 balls in 3 V-grooves, settling, and vertical, horizontal, tilt and rotational stiffness, with an optional pressure check
Bolt preload & tightening torque Joints & fasteners (new) VDI 2230-1, ISO 898-1, ISO 724 M3–M24 in 8.8/10.9/12.9 with a socket or hex head: max assembly preload, tightening torque and how it splits; preload and equivalent stress for a given torque
Press fit (interference fit) Joints & fasteners DIN 7190-1, Lamé Joint pressure after smoothing, hub and shaft stress and utilisation, hub outer diameter growth, transmissible torque and axial force

The three calculators without a JPE article show "Based on: …" instead of the JPE source link. This applies on the page, in the help popup, in the PDF and on the generated pages, and they use a neutral disclaimer.

Every new calculator has theory notes and all its texts in DE, NL, TR and ES. Running tools/build-pages.js now writes 105 pages.

Checks

  • npm test: 896 passed. That includes 22 new tests:
    • M8 8.8 at µ = 0.12 against the VDI 2230 formula worked by hand: 18.6 kN and 24.6 Nm with a hex head.
    • The coupling's contact pressure and stiffness cross-checked against the existing Hertz calculator.
    • Closed-form inertia cases and the Lamé pressure.
    • At its own tightening torque, the bolt's torque check returns exactly the chosen yield utilisation.
  • Playwright: all four pages in EN, DE and TR at 360 px with no overflow and no page errors, the US units switch, and a PDF export.
  • Small fix: on phones, result values no longer break inside a number (the wrapping added in Own page per calculator, phone layout fixes, author in the header #19 split "33.6" into "33." and "6").

Generated by Claude Code

…s-fit calculators

- Mass moment of inertia (JPE article): cylinder, tube, block, sphere;
  mass from density or entered, J about the centre axes, radius of
  gyration, parallel axis.
- Kinematic coupling preload: three balls in three V-grooves; Hertz
  sphere-on-flat contact per flank, contact pressure, settling, vertical,
  horizontal, tilt and rotational stiffness, optional pressure check.
- Bolt preload & tightening torque (VDI 2230): M3-M24 coarse, 8.8/10.9/12.9,
  socket or hex head; max assembly preload, torque and its split, and the
  preload and equivalent stress for a given torque.
- Press fit (DIN 7190 / Lame): pressure after smoothing, hub and shaft
  equivalent stress and utilisation, hub outer diameter growth,
  transmissible torque and axial force.
- Calculators without a JPE article show "Based on: <standard>" instead of
  the JPE source link (page, help, PDF, generated pages).
- Theory notes and all texts in DE, NL, TR, ES; 20 new pages (105 in all).
- 22 new tests (VDI hand calculation, cross-check with the Hertz
  calculator, closed-form inertia and Lame cases).
- Result values no longer break inside a number on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtSyM5HXUjVKVXDMRw2Hht
@ehcrea
ehcrea merged commit 13da130 into main Nov 10, 2026
2 checks passed
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.

2 participants