pub struct ShapeMemoryEffect {
pub model: BrinsonModel,
pub deform_temperature: f64,
pub recovery_temperature: f64,
}Expand description
Models the shape memory effect: strain recovery upon heating.
A specimen is deformed in the martensitic state (T < Mf), then heated above Af to recover its original shape.
Fields§
§model: BrinsonModelUnderlying Brinson model.
deform_temperature: f64Reference temperature for the deformation step.
recovery_temperature: f64Recovery temperature (must be > Af).
Implementations§
Source§impl ShapeMemoryEffect
impl ShapeMemoryEffect
Sourcepub fn new(model: BrinsonModel, deform_temp: f64, recovery_temp: f64) -> Self
pub fn new(model: BrinsonModel, deform_temp: f64, recovery_temp: f64) -> Self
Create a new shape memory effect model.
Sourcepub fn simulate_recovery(&self, applied_strain: f64) -> (f64, f64)
pub fn simulate_recovery(&self, applied_strain: f64) -> (f64, f64)
Simulate deformation at low temperature, then thermal recovery.
Returns (residual_strain_before_heating, residual_strain_after_heating).
Sourcepub fn recovery_ratio(&self, applied_strain: f64) -> f64
pub fn recovery_ratio(&self, applied_strain: f64) -> f64
Compute the recovery ratio η = (ε_initial − ε_residual) / ε_initial.
Trait Implementations§
Source§impl Clone for ShapeMemoryEffect
impl Clone for ShapeMemoryEffect
Source§fn clone(&self) -> ShapeMemoryEffect
fn clone(&self) -> ShapeMemoryEffect
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 ShapeMemoryEffect
impl RefUnwindSafe for ShapeMemoryEffect
impl Send for ShapeMemoryEffect
impl Sync for ShapeMemoryEffect
impl Unpin for ShapeMemoryEffect
impl UnsafeUnpin for ShapeMemoryEffect
impl UnwindSafe for ShapeMemoryEffect
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