pub struct MagneticShape {
pub max_strain: f64,
pub k_u: f64,
pub m_sat: f64,
pub h_critical: f64,
pub eta: f64,
pub elastic_modulus: f64,
}Expand description
Magnetic shape memory effect in Heusler alloys (Ni-Mn-Ga).
Models variant reorientation driven by magnetic field via energy minimization. Strain output up to ~12 % for Ni2MnGa.
Fields§
§max_strain: f64Maximum transformation strain ε_max.
k_u: f64Magnetic anisotropy energy density K_u [J/m³].
m_sat: f64Saturation magnetization M_s [A/m].
h_critical: f64Critical field for reorientation H_cr [A/m].
eta: f64Current variant fraction η ∈ [0, 1].
elastic_modulus: f64Elastic modulus [Pa].
Implementations§
Source§impl MagneticShape
impl MagneticShape
Sourcepub fn new(
max_strain: f64,
k_u: f64,
m_sat: f64,
h_critical: f64,
elastic_modulus: f64,
) -> Self
pub fn new( max_strain: f64, k_u: f64, m_sat: f64, h_critical: f64, elastic_modulus: f64, ) -> Self
Create a magnetic shape memory material.
Sourcepub fn zeeman_energy(&self, h_field: f64, eta: f64) -> f64
pub fn zeeman_energy(&self, h_field: f64, eta: f64) -> f64
Zeeman energy density at field H (field along easy axis) [J/m³].
Sourcepub fn anisotropy_energy(&self, eta: f64) -> f64
pub fn anisotropy_energy(&self, eta: f64) -> f64
Anisotropy energy density [J/m³].
Sourcepub fn blocking_stress(&self) -> f64
pub fn blocking_stress(&self) -> f64
Blocking stress (stress required to prevent strain) [Pa].
Trait Implementations§
Source§impl Clone for MagneticShape
impl Clone for MagneticShape
Source§fn clone(&self) -> MagneticShape
fn clone(&self) -> MagneticShape
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 MagneticShape
impl Debug for MagneticShape
impl Copy for MagneticShape
Auto Trait Implementations§
impl Freeze for MagneticShape
impl RefUnwindSafe for MagneticShape
impl Send for MagneticShape
impl Sync for MagneticShape
impl Unpin for MagneticShape
impl UnsafeUnpin for MagneticShape
impl UnwindSafe for MagneticShape
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