Machine Shaft
machine_shaftCalculate static and fatigue stresses for round shafts using von Mises/Tresca, Marin endurance, and Goodman/Soderberg/Gerber/ASME checks; optionally include twist and critical speed.
Instructions
Round shaft: von Mises/Tresca static stress, Marin endurance and Goodman/Soderberg/Gerber/ASME fatigue. Signed loads at one outer fibre; fatigue parts separate. Optional TL/GJ twist and Rayleigh/Dunkerley critical speed from static deflections. Elastic steel fatigue estimates. With only alternating/mean loads the static check is at |mean|+alternating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"outer_diameter": "<outer_diameter>"
},
"name": "machine_shaft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ka | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| kb | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| kc | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| kd | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| ke | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| kf | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| kt | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| kfs | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| kts | No | Finite dimensionless coefficient; zero selects the documented automatic value where supported. | |
| length | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| torque | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | 0 N*m |
| load_type | No | Marin kc choice: 'combined' or 'bending'=1, 'axial'=.85, 'torsion'=1 (shear enters as von Mises equivalent, so .59 is not applied). | combined |
| axial_force | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | 0 N |
| mean_torque | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| reliability | No | Marin reliability percentage: 50, 90, 95, 99, 99.9 or 99.99; a nondefault percentage conflicts with direct ke. | |
| unit_system | No | Output units: 'metric' (mm, N, MPa) or 'imperial' (inch, lbf, ksi). | metric |
| mean_bending | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| shear_modulus | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| bending_moment | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | 0 N*m |
| inner_diameter | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | 0 mm |
| outer_diameter | Yes | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| surface_finish | No | Optional 'ground', 'machined', 'hot_rolled', 'as_forged' to estimate ka; conflicts with direct ka. | |
| yield_strength | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| ultimate_strength | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| alternating_torque | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. | |
| static_deflections | No | Optional semicolon list, e.g. '1 mm; 3 mm'; each is a static deflection from one mass acting alone. Max 50. | |
| alternating_bending | No | Physical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Non-quantity payload (reports, listings) | |
| error | No | ||
| value | No | Primary quantity result | |
| values | No | All named quantity results (includes the primary) | |
| warnings | No | ||
| artifacts | No | ||
| provenance | Yes | What produced the result and from which inputs. | |
| review_status | No | unreviewed |