Skip to main content

EnergyAbsorption

Struct EnergyAbsorption 

Source
pub struct EnergyAbsorption {
    pub plateau_stress: f64,
    pub densification_strain: f64,
    pub elastic_modulus: f64,
    pub yield_strain: f64,
    pub foam_density: f64,
    pub thickness: f64,
}
Expand description

Energy absorption model for foam impact.

Describes the three characteristic regions of foam compression: linear elastic, plateau (constant stress), and densification.

Fields§

§plateau_stress: f64

Plateau stress [Pa].

§densification_strain: f64

Densification strain (typically 0.5–0.9).

§elastic_modulus: f64

Young’s modulus in the linear elastic region [Pa].

§yield_strain: f64

Yield strain (transition from elastic to plateau).

§foam_density: f64

Foam density [kg/m³].

§thickness: f64

Foam thickness [m].

Implementations§

Source§

impl EnergyAbsorption

Source

pub fn new( plateau_stress: f64, densification_strain: f64, elastic_modulus: f64, yield_strain: f64, foam_density: f64, thickness: f64, ) -> Self

Create a new energy absorption model.

Source

pub fn stress_at_strain(&self, strain: f64) -> f64

Stress at a given engineering strain (simplified tri-linear model).

Source

pub fn energy_density(&self, strain: f64) -> f64

Energy absorbed per unit volume up to a given strain [J/m³].

Integrates the stress-strain curve from 0 to strain.

Source

pub fn plateau_energy_density(&self) -> f64

Total energy absorbed through full plateau region [J/m³].

Source

pub fn efficiency(&self, strain: f64) -> f64

Efficiency at a given strain.

eta = W(strain) / (sigma(strain) * strain)

Source

pub fn ideal_efficiency(&self) -> f64

Ideal energy absorption efficiency (rectangular stress-strain).

eta_ideal = 1 for perfect energy absorber.

Source

pub fn specific_energy(&self, strain: f64) -> f64

Energy absorbed per unit mass up to a given strain [J/kg].

Source

pub fn peak_g_force(&self, drop_height: f64) -> f64

Maximum deceleration during impact for given drop parameters.

G = sigma_plateau / (rho_foam * h) where h is the drop height.

Source

pub fn cushion_factor(&self, strain: f64) -> f64

Cushion factor = peak_stress / energy_density at that strain.

Trait Implementations§

Source§

impl Clone for EnergyAbsorption

Source§

fn clone(&self) -> EnergyAbsorption

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 EnergyAbsorption

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for EnergyAbsorption

Source§

fn eq(&self, other: &EnergyAbsorption) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for EnergyAbsorption

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.