pub struct TwoWaySMA {
pub training_cycles: usize,
pub max_trained_strain: f64,
}Expand description
Two-way shape memory effect (TWSME) model.
After repeated thermomechanical training cycles, SMAs develop an intrinsic martensite preferred orientation that allows them to actuate bidirectionally without external stress.
Fields§
§training_cycles: usizeNumber of completed thermomechanical training cycles.
max_trained_strain: f64Maximum trained strain achievable (dimensionless).
Implementations§
Source§impl TwoWaySMA
impl TwoWaySMA
Sourcepub fn new(training_cycles: usize, max_trained_strain: f64) -> Self
pub fn new(training_cycles: usize, max_trained_strain: f64) -> Self
Create a new two-way SMA model.
Sourcepub fn trained_strain(&self) -> f64
pub fn trained_strain(&self) -> f64
Recoverable trained strain after training_cycles cycles.
The TWSME strain saturates with an empirical logarithmic law:
ε_trained = ε_max · (1 − exp(−n / 10))
where n is the number of training cycles.
Sourcepub fn saturation_fraction(&self) -> f64
pub fn saturation_fraction(&self) -> f64
Fraction of maximum trained strain achieved.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TwoWaySMA
impl RefUnwindSafe for TwoWaySMA
impl Send for TwoWaySMA
impl Sync for TwoWaySMA
impl Unpin for TwoWaySMA
impl UnsafeUnpin for TwoWaySMA
impl UnwindSafe for TwoWaySMA
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