Additive

Struct Additive 

Source
pub struct Additive<C1, C2>(/* private fields */);
Expand description

A hybrid constitutive model based on the additive decomposition.

Trait Implementations§

Source§

impl<C1: Clone, C2: Clone> Clone for Additive<C1, C2>

Source§

fn clone(&self) -> Additive<C1, C2>

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<C1, C2> Debug for Additive<C1, C2>

Source§

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

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

impl<C1, C2> Elastic for Additive<C1, C2>
where C1: Elastic, C2: Elastic,

Source§

fn cauchy_stress( &self, deformation_gradient: &DeformationGradient, ) -> Result<CauchyStress, ConstitutiveError>

Calculates and returns the Cauchy stress.

\boldsymbol{\sigma}(\mathbf{F}) = \boldsymbol{\sigma}_1(\mathbf{F}) + \boldsymbol{\sigma}_2(\mathbf{F})
Source§

fn cauchy_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, ) -> Result<CauchyTangentStiffness, ConstitutiveError>

Calculates and returns the tangent stiffness associated with the Cauchy stress.

\mathcal{T}(\mathbf{F}) = \mathcal{T}_1(\mathbf{F}) + \mathcal{T}_2(\mathbf{F})
Source§

fn first_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, ) -> Result<FirstPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the first Piola-Kirchhoff stress.

\mathbf{P}(\mathbf{F}) = \mathbf{P}_1(\mathbf{F}) + \mathbf{P}_2(\mathbf{F})
Source§

fn first_piola_kirchhoff_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, ) -> Result<FirstPiolaKirchhoffTangentStiffness, ConstitutiveError>

Calculates and returns the tangent stiffness associated with the first Piola-Kirchhoff stress.

\mathcal{C}(\mathbf{F}) = \mathcal{C}_1(\mathbf{F}) + \mathcal{C}_2(\mathbf{F})
Source§

fn second_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, ) -> Result<SecondPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the second Piola-Kirchhoff stress.

\mathbf{S}(\mathbf{F}) = \mathbf{S}_1(\mathbf{F}) + \mathbf{S}_2(\mathbf{F})
Source§

fn second_piola_kirchhoff_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, ) -> Result<SecondPiolaKirchhoffTangentStiffness, ConstitutiveError>

Calculates and returns the tangent stiffness associated with the second Piola-Kirchhoff stress.

\mathcal{G}(\mathbf{F}) = \mathcal{G}_1(\mathbf{F}) + \mathcal{G}_2(\mathbf{F})
Source§

impl<C1, C2> From<(C1, C2)> for Additive<C1, C2>

Source§

fn from((constitutive_model_1, constitutive_model_2): (C1, C2)) -> Self

Converts to this type from the input type.
Source§

impl<C1, C2> Hyperelastic for Additive<C1, C2>
where C1: Hyperelastic, C2: Hyperelastic,

Source§

fn helmholtz_free_energy_density( &self, deformation_gradient: &DeformationGradient, ) -> Result<Scalar, ConstitutiveError>

Calculates and returns the Helmholtz free energy density.

a(\mathbf{F}) = a_1(\mathbf{F}) + a_2(\mathbf{F})
Source§

impl<C1, C2> Solid for Additive<C1, C2>
where C1: Elastic, C2: Elastic,

Source§

fn bulk_modulus(&self) -> Scalar

Returns the bulk modulus.
Source§

fn shear_modulus(&self) -> Scalar

Returns the shear modulus.

Auto Trait Implementations§

§

impl<C1, C2> Freeze for Additive<C1, C2>
where C1: Freeze, C2: Freeze,

§

impl<C1, C2> RefUnwindSafe for Additive<C1, C2>

§

impl<C1, C2> Send for Additive<C1, C2>
where C1: Send, C2: Send,

§

impl<C1, C2> Sync for Additive<C1, C2>
where C1: Sync, C2: Sync,

§

impl<C1, C2> Unpin for Additive<C1, C2>
where C1: Unpin, C2: Unpin,

§

impl<C1, C2> UnwindSafe for Additive<C1, C2>
where C1: UnwindSafe, C2: UnwindSafe,

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<C> Constitutive for C
where C: Solid,

Source§

fn jacobian<const I: usize, const J: usize>( &self, deformation_gradient: &DeformationGradientGeneral<I, J>, ) -> Result<Scalar, ConstitutiveError>

Calculates and returns the Jacobian.
Source§

impl<T> FirstOrderMinimize for T
where T: Hyperelastic,

Source§

fn minimize( &self, applied_load: AppliedLoad, solver: impl FirstOrderOptimization<f64, TensorRank2<3, 1, 0>>, ) -> Result<TensorRank2<3, 1, 0>, ConstitutiveError>

Solve for the unknown components of the deformation gradient under an applied load. Read more
Source§

impl<T> FirstOrderRoot for T
where T: Elastic,

Source§

fn root( &self, applied_load: AppliedLoad, solver: impl FirstOrderRootFinding<TensorRank2<3, 1, 0>, TensorRank4<3, 1, 0, 1, 0>, TensorRank2<3, 1, 0>>, ) -> Result<TensorRank2<3, 1, 0>, ConstitutiveError>

Solve for the unknown components of the deformation gradient under an applied load. 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> SecondOrderMinimize for T
where T: Hyperelastic,

Source§

fn minimize( &self, applied_load: AppliedLoad, solver: impl SecondOrderOptimization<f64, TensorRank2<3, 1, 0>, TensorRank4<3, 1, 0, 1, 0>, TensorRank2<3, 1, 0>>, ) -> Result<TensorRank2<3, 1, 0>, ConstitutiveError>

Solve for the unknown components of the deformation gradient under an applied load. Read more
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.
Source§

impl<T> ZerothOrderRoot for T
where T: Elastic,

Source§

fn root( &self, applied_load: AppliedLoad, solver: impl ZerothOrderRootFinding<TensorRank2<3, 1, 0>>, ) -> Result<TensorRank2<3, 1, 0>, ConstitutiveError>

Solve for the unknown components of the deformation gradient under an applied load. Read more