fatigue_check
Calculate fatigue life and safety factor from stress range using S-N Basquin and Goodman mean-stress correction to check if a part survives required cycles.
Instructions
Rate fatigue life (S-N Basquin + Goodman mean-stress correction). σ_a =
stress_range/2; infinite-life SF = 1/(σ_a/σ_e + σ_m/σ_uts); finite life from
an equivalent fully-reversed amplitude on a log-log S-N line. σ_e/σ_uts come
from the material (or overrides). pass = survives cycles (σ_ar ≤ σ_e ⇒
infinite life); a tensile mean ≥ σ_uts fails outright. Returns
{stress_amplitude_mpa, mean_stress_mpa, endurance_mpa, uts_mpa,
equiv_reversed_mpa, safety_factor, life_cycles, required_cycles, pass,
governing_mode, endurance_basis}.
The S-N line runs from (1e3, s1000_fraction·UTS) to (endurance_cycles, σ_e).
Both default to the steel convention (0.9 and 1e6); aluminium and other
non-ferrous alloys have no true endurance knee, so set endurance_cycles to the
life the quoted σ_e was measured at (commonly 5e8).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycles | No | ||
| uts_mpa | No | ||
| material | No | Steel-1045 | |
| endurance_mpa | No | ||
| s1000_fraction | No | ||
| mean_stress_mpa | No | ||
| endurance_cycles | No | ||
| stress_range_mpa | Yes |