Skip to main content

ProgressiveDamage

Struct ProgressiveDamage 

Source
pub struct ProgressiveDamage {
    pub e0: f64,
    pub nu: f64,
    pub d11: f64,
    pub d22: f64,
}
Expand description

Progressive stiffness degradation model for composite materials.

Tracks separate damage variables D11 (fiber direction) and D22 (transverse direction). Effective stiffness:

E11_eff = (1 - D11) * E11, E22_eff = (1 - D22) * E22

Fields§

§e0: f64

Undamaged Young’s modulus (isotropic assumption) [Pa].

§nu: f64

Poisson’s ratio.

§d11: f64

Fiber-direction damage variable D11 ∈ [0, 1).

§d22: f64

Transverse-direction damage variable D22 ∈ [0, 1).

Implementations§

Source§

impl ProgressiveDamage

Source

pub fn new(e0: f64, nu: f64, d11: f64, d22: f64) -> Self

Create a new progressive damage model.

Source

pub fn e11_eff(&self) -> f64

Effective fiber-direction stiffness.

Source

pub fn e22_eff(&self) -> f64

Effective transverse stiffness.

Source

pub fn effective_stiffness_tensor(&self) -> [[f64; 3]; 3]

3×3 effective stiffness tensor (plane stress, Voigt notation: 11, 22, 12).

Returns [[C11, C12, 0], [C12, C22, 0], [0, 0, C66]].

Source

pub fn update_damage(&mut self, d11_new: f64, d22_new: f64)

Update damage variables (irreversible – only increases).

Source

pub fn residual_strength(&self, sigma0: f64, _alpha_m: f64) -> f64

Residual strength in fiber direction after damage.

σ_res = σ_0 · (1 - D11)^alpha_f · (1 - D22)^alpha_m

Trait Implementations§

Source§

impl Clone for ProgressiveDamage

Source§

fn clone(&self) -> ProgressiveDamage

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ProgressiveDamage

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.