Skip to main content

TanakaModel

Struct TanakaModel 

Source
pub struct TanakaModel {
    pub temps: TransformationTemperatures,
    pub a_m: f64,
    pub b_m: f64,
    pub a_a: f64,
    pub b_a: f64,
    pub h_max: f64,
    pub e_a: f64,
    pub e_m: f64,
    pub theta: f64,
}
Expand description

Tanaka exponential kinetics model for SMA phase transformation.

The martensite fraction evolves as:

  • Forward (A→M): ξ = 1 − exp(a_M (Ms − T) + b_M σ)
  • Reverse (M→A): ξ = exp(a_A (As − T) + b_A σ)

where a_M, b_M, a_A, b_A are material constants derived from the transformation temperatures and Clausius-Clapeyron slope.

Fields§

§temps: TransformationTemperatures

Transformation temperatures.

§a_m: f64

Exponential constant for martensitic transformation.

§b_m: f64

Stress constant for martensitic transformation.

§a_a: f64

Exponential constant for austenitic transformation.

§b_a: f64

Stress constant for austenitic transformation.

§h_max: f64

Maximum transformation strain.

§e_a: f64

Austenite elastic modulus (Pa).

§e_m: f64

Martensite elastic modulus (Pa).

§theta: f64

Thermoelastic tensor Θ (Pa / K).

Implementations§

Source§

impl TanakaModel

Source

pub fn new( temps: TransformationTemperatures, cm: f64, ca: f64, h_max: f64, e_a: f64, e_m: f64, theta: f64, ) -> Self

Create a Tanaka model from transformation temperatures and material constants.

§Parameters
  • temps – transformation temperatures
  • cm – Clausius-Clapeyron slope for martensite (Pa / K)
  • ca – Clausius-Clapeyron slope for austenite (Pa / K)
  • h_max – maximum transformation strain
  • e_a – austenite modulus (Pa)
  • e_m – martensite modulus (Pa)
  • theta – thermoelastic tensor (Pa / K)
Source

pub fn forward_fraction(&self, temp: f64, stress: f64) -> f64

Forward transformation (A → M): compute new ξ.

Source

pub fn reverse_fraction(&self, temp: f64, stress: f64) -> f64

Reverse transformation (M → A): compute new ξ.

Source

pub fn phase_fraction(&self, temp: f64, stress: f64) -> f64

Determine the phase fraction for a given (T, σ) state.

Selects forward or reverse based on where the temperature falls relative to the (stress-shifted) transformation temperatures.

Source

pub fn effective_modulus(&self, xi: f64) -> f64

Effective elastic modulus at martensite fraction ξ.

Source

pub fn stress_response( &self, strain: f64, temp: f64, xi: f64, temp_ref: f64, ) -> f64

Constitutive stress for given strain, temperature, and state.

Trait Implementations§

Source§

impl Clone for TanakaModel

Source§

fn clone(&self) -> TanakaModel

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TanakaModel

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.