pub struct FatigueLifePredictor {
pub sn: BasquinCurve,
pub sigma_ult: f64,
}Expand description
Fatigue life predictor combining a Basquin S-N curve with a Goodman mean-stress correction.
N = (σ_ar / A)^(1/B) where σ_ar = σ_a / (1 - σ_m / σ_ult)
Fields§
§sn: BasquinCurveBasquin S-N curve.
sigma_ult: f64Ultimate tensile strength for Goodman correction (Pa).
Implementations§
Source§impl FatigueLifePredictor
impl FatigueLifePredictor
Sourcepub fn new(sn: BasquinCurve, sigma_ult: f64) -> Self
pub fn new(sn: BasquinCurve, sigma_ult: f64) -> Self
Create a new predictor.
Sourcepub fn predict_cycles(&self, sigma_a: f64, sigma_m: f64) -> f64
pub fn predict_cycles(&self, sigma_a: f64, sigma_m: f64) -> f64
Predict cycles to failure for a given stress amplitude and mean stress.
Uses Goodman correction: σ_ar = σ_a / (1 - σ_m / σ_ult) then applies the Basquin S-N curve.
Trait Implementations§
Source§impl Clone for FatigueLifePredictor
impl Clone for FatigueLifePredictor
Source§fn clone(&self) -> FatigueLifePredictor
fn clone(&self) -> FatigueLifePredictor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FatigueLifePredictor
impl RefUnwindSafe for FatigueLifePredictor
impl Send for FatigueLifePredictor
impl Sync for FatigueLifePredictor
impl Unpin for FatigueLifePredictor
impl UnsafeUnpin for FatigueLifePredictor
impl UnwindSafe for FatigueLifePredictor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more