Skip to main content

SpringPot

Struct SpringPot 

Source
pub struct SpringPot {
    pub quasi_property: f64,
    pub alpha: f64,
}
Expand description

Scott-Blair (springpot) element: intermediate between spring and dashpot.

The springpot constitutive law uses the fractional Caputo derivative:

σ(t) = C · D^α ε(t)

where α ∈ [0, 1] interpolates between a purely elastic spring (α=0) and a purely viscous dashpot (α=1).

For sinusoidal excitation ε = ε₀ exp(iωt) the complex modulus is:

E*(ω) = C · (iω)^α

giving storage and loss moduli:

E’(ω) = C ω^α cos(α π/2) E’’(ω) = C ω^α sin(α π/2)

Fields§

§quasi_property: f64

Quasi-property C (Pa·s^α).

§alpha: f64

Fractional order α ∈ [0, 1].

Implementations§

Source§

impl SpringPot

Source

pub fn new(quasi_property: f64, alpha: f64) -> Self

Create a new Scott-Blair springpot.

§Panics

Panics (debug only) if alpha is outside [0, 1].

Source

pub fn storage_modulus(&self, omega: f64) -> f64

Storage modulus E’(ω) = C ω^α cos(απ/2).

Source

pub fn loss_modulus(&self, omega: f64) -> f64

Loss modulus E’’(ω) = C ω^α sin(απ/2).

Source

pub fn loss_tangent(&self) -> f64

Loss tangent tan δ = E’’ / E’ = tan(απ/2).

Note: independent of frequency — a hallmark of fractional models.

Source

pub fn complex_modulus_magnitude(&self, omega: f64) -> f64

Complex modulus magnitude |E*(ω)| = C ω^α.

Source

pub fn phase_angle(&self) -> f64

Phase angle δ = α π/2 (radians).

Trait Implementations§

Source§

impl Clone for SpringPot

Source§

fn clone(&self) -> SpringPot

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 SpringPot

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.