gear_train
Generic ISO/AGMA involute spur gear pair designer: pitch/tip/root diameters, center distance, gear ratio, transverse contact ratio, undercut check, tangential/radial forces, Lewis tooth bending stress, Hertzian contact stress, exact 2D involute tooth profiles (gear_profiles.json for solid), and a 3D meshed scene.glb.
- Field
- Mechanics, CAD and finite elements
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 0.05 s
Compiled from source: run sh packs/install.sh once before admitting it.
A real run
- teeth
- 20 and 40
- contact ratio
- 1.63519
- centre distance
- 60 mm
- pinion root stress
- 7.34 MPa
Known answers it must pass
r0001standard 20-deg pair m=2, z1=20, z2=40: center distance 60 mm, ratio 2.0, contact ratio 1.635186, no undercutpassed
center_distance_mm60 ± 1e-0960lockedunder 0.01 % of the tolerance usedgear_ratio2 ± 1e-092lockedunder 0.01 % of the tolerance usedcontact_ratio1.63519 ± 1e-051.63519locked0.36 % of the tolerance usedundercut_warning= falsefalselockedexact matchtangential_force_N50 ± 1e-0950lockedunder 0.01 % of the tolerance usedr000210-tooth pinion at 20 deg triggers undercut warningpassed
undercut_warning= truetruelockedexact matchcenter_distance_mm30 ± 1e-0930lockedunder 0.01 % of the tolerance used
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
module_mm | mm | 2.0 | |
z1 | 20 | ||
z2 | 40 | ||
pressure_angle_deg | deg | 20.0 | |
face_width_mm | mm | 10.0 | |
input_torque_Nm | N m | 1.0 | |
E_MPa | MPa | 200000.0 | |
nu | 1 | 0.3 |
Readings
| Name | Unit | Meaning |
|---|---|---|
gear_ratio | 1 | |
pitch_d1_mm | mm | |
pitch_d2_mm | mm | |
center_distance_mm | mm | |
contact_ratio | 1 | |
tangential_force_N | N | |
radial_force_N | N | |
output_torque_Nm | N m | |
lewis_bending_pinion_MPa | MPa | |
hertz_contact_MPa | MPa | |
gear_profiles.json | ||
scene.glb |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.