pub struct TransformationTemperatures {
pub ms: f64,
pub mf: f64,
pub as_: f64,
pub af: f64,
}Expand description
The four characteristic transformation temperatures of an SMA.
Convention: mf < ms < as_ < af for a well-posed alloy.
Fields§
§ms: f64Martensite start temperature (K).
mf: f64Martensite finish temperature (K).
as_: f64Austenite start temperature (K).
af: f64Austenite finish temperature (K).
Implementations§
Source§impl TransformationTemperatures
impl TransformationTemperatures
Sourcepub fn new(ms: f64, mf: f64, as_: f64, af: f64) -> Self
pub fn new(ms: f64, mf: f64, as_: f64, af: f64) -> Self
Create a new set of transformation temperatures.
Sourcepub fn shifted(&self, stress: f64, cm: f64, ca: f64) -> Self
pub fn shifted(&self, stress: f64, cm: f64, ca: f64) -> Self
Return temperatures shifted by the Clausius-Clapeyron relation.
delta_T = sigma / C_m where C_m is the slope (Pa / K).
Sourcepub fn martensite_range(&self) -> f64
pub fn martensite_range(&self) -> f64
Temperature range for martensitic transformation.
Sourcepub fn austenite_range(&self) -> f64
pub fn austenite_range(&self) -> f64
Temperature range for austenitic transformation.
Sourcepub fn hysteresis(&self) -> f64
pub fn hysteresis(&self) -> f64
Hysteresis width af - ms.
Trait Implementations§
Source§impl Clone for TransformationTemperatures
impl Clone for TransformationTemperatures
Source§fn clone(&self) -> TransformationTemperatures
fn clone(&self) -> TransformationTemperatures
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 TransformationTemperatures
impl Debug for TransformationTemperatures
impl Copy for TransformationTemperatures
Auto Trait Implementations§
impl Freeze for TransformationTemperatures
impl RefUnwindSafe for TransformationTemperatures
impl Send for TransformationTemperatures
impl Sync for TransformationTemperatures
impl Unpin for TransformationTemperatures
impl UnsafeUnpin for TransformationTemperatures
impl UnwindSafe for TransformationTemperatures
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