pub struct SmaPhaseState {
pub xi: f64,
pub xi_s: f64,
pub xi_t: f64,
pub temperature: f64,
pub stress: f64,
pub strain: f64,
pub transformation_strain: f64,
}Expand description
Internal state variables for an SMA material point.
Fields§
§xi: f64Total martensite volume fraction ξ ∈ [0, 1].
xi_s: f64Stress-induced martensite fraction ξ_S ∈ [0, ξ].
xi_t: f64Temperature-induced martensite fraction ξ_T = ξ − ξ_S.
temperature: f64Current temperature (K).
stress: f64Current uniaxial stress (Pa).
strain: f64Current uniaxial strain (dimensionless).
transformation_strain: f64Accumulated transformation strain.
Implementations§
Source§impl SmaPhaseState
impl SmaPhaseState
Sourcepub fn fully_martensite(temperature: f64) -> Self
pub fn fully_martensite(temperature: f64) -> Self
Create a fully martensitic state.
Sourcepub fn fully_austenite(temperature: f64) -> Self
pub fn fully_austenite(temperature: f64) -> Self
Create a fully austenitic state.
Trait Implementations§
Source§impl Clone for SmaPhaseState
impl Clone for SmaPhaseState
Source§fn clone(&self) -> SmaPhaseState
fn clone(&self) -> SmaPhaseState
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 SmaPhaseState
impl Debug for SmaPhaseState
impl Copy for SmaPhaseState
Auto Trait Implementations§
impl Freeze for SmaPhaseState
impl RefUnwindSafe for SmaPhaseState
impl Send for SmaPhaseState
impl Sync for SmaPhaseState
impl Unpin for SmaPhaseState
impl UnsafeUnpin for SmaPhaseState
impl UnwindSafe for SmaPhaseState
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