pub struct TrainingEffect {
pub cycles: u32,
pub residual_strains: Vec<f64>,
pub plateau_stresses: Vec<f64>,
pub base_residual: f64,
pub saturated_residual: f64,
pub rate_residual: f64,
pub base_plateau: f64,
pub plateau_drop_per_decade: f64,
}Expand description
Models the evolution of SMA behaviour under cyclic mechanical loading.
Repeated loading-unloading cycles cause:
- Accumulation of residual (irrecoverable) strain
- Stabilisation of the transformation plateau stress
- Reduction in hysteresis width
- Development of two-way shape memory
Fields§
§cycles: u32Number of completed cycles.
residual_strains: Vec<f64>Accumulated residual strain per cycle (list).
plateau_stresses: Vec<f64>Transformation stress start per cycle (list).
base_residual: f64Base (first cycle) residual strain per cycle.
saturated_residual: f64Saturation residual strain.
rate_residual: f64Rate constant for residual strain saturation.
base_plateau: f64Base plateau stress (Pa).
plateau_drop_per_decade: f64Plateau stress reduction per decade of cycles.
Implementations§
Source§impl TrainingEffect
impl TrainingEffect
Sourcepub fn add_cycle(&mut self)
pub fn add_cycle(&mut self)
Record one additional training cycle and update residual and plateau stress histories.
Sourcepub fn current_residual(&self) -> f64
pub fn current_residual(&self) -> f64
Current residual strain after N cycles.
Sourcepub fn current_plateau_stress(&self) -> f64
pub fn current_plateau_stress(&self) -> f64
Current plateau stress after N cycles.
Trait Implementations§
Source§impl Clone for TrainingEffect
impl Clone for TrainingEffect
Source§fn clone(&self) -> TrainingEffect
fn clone(&self) -> TrainingEffect
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 moreSource§impl Debug for TrainingEffect
impl Debug for TrainingEffect
Auto Trait Implementations§
impl Freeze for TrainingEffect
impl RefUnwindSafe for TrainingEffect
impl Send for TrainingEffect
impl Sync for TrainingEffect
impl Unpin for TrainingEffect
impl UnsafeUnpin for TrainingEffect
impl UnwindSafe for TrainingEffect
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