gear_rating
Calculate spur-gear tooth bending stress and safety factor via the Lewis formula from tangential force or power and pinion speed, then check against allowable fatigue limits.
Instructions
Rate spur-gear tooth bending (Lewis): sigma=Ft/(bmY). Pass
tangential_force_n, or power_w + pinion_speed_rpm. Returns {tangential_force_n,
pitch_dia_mm, pitch_line_velocity_m_s, lewis_form_factor, bending_stress_mpa,
allowable_bending_mpa, bending_sf, pass}. First-order screen, not full AGMA.
The allowable defaults to the material's fatigue endurance (else 0.3·UTS);
allowable_bending_mpa overrides it with an AGMA/spec number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teeth | Yes | ||
| power_w | No | ||
| material | No | Steel-4140-QT | |
| module_mm | Yes | ||
| face_width_mm | Yes | ||
| pinion_speed_rpm | No | ||
| lewis_form_factor | No | ||
| tangential_force_n | No | ||
| allowable_bending_mpa | No |