pub struct PlasticModel {
pub yield_strength_mpa: Fix128,
pub hardening_modulus_mpa: Fix128,
pub hardening_type: HardeningType,
pub youngs_modulus_mpa: Fix128,
}Expand description
Elastoplastic constitutive model parameters.
Fields§
§yield_strength_mpa: Fix128Initial yield stress σ_y0 (MPa).
hardening_modulus_mpa: Fix128Linear hardening modulus H (MPa). Slope of the σ vs ε_p curve.
Typical polymer values: PLA H ≈ 200 MPa, ABS H ≈ 150 MPa. Metals: mild steel H ≈ 1500 MPa, aluminium H ≈ 500 MPa.
hardening_type: HardeningTypeHardening law.
youngs_modulus_mpa: Fix128Young’s modulus (MPa) for elastic strain accumulation.
Implementations§
Source§impl PlasticModel
impl PlasticModel
Sourcepub fn from_fdm_material(m: &MaterialProperties) -> Self
pub fn from_fdm_material(m: &MaterialProperties) -> Self
Construct from an isotropic material. Defaults to isotropic hardening
with H = 0.05 · E (typical elastic-plastic ratio for polymers).
Sourcepub const fn with_hardening(self, ht: HardeningType) -> Self
pub const fn with_hardening(self, ht: HardeningType) -> Self
Override the hardening law, leaving every other parameter unchanged.
Install the result on crate::structural_solver::StructuralSolver::plastic_model
to run a load history under kinematic or combined hardening (the
solver’s own default is the isotropic Self::from_fdm_material).
Trait Implementations§
Source§impl Clone for PlasticModel
impl Clone for PlasticModel
impl Copy for PlasticModel
Source§impl Debug for PlasticModel
impl Debug for PlasticModel
impl Eq for PlasticModel
Source§impl PartialEq for PlasticModel
impl PartialEq for PlasticModel
impl StructuralPartialEq for PlasticModel
Auto Trait Implementations§
impl Freeze for PlasticModel
impl RefUnwindSafe for PlasticModel
impl Send for PlasticModel
impl Sync for PlasticModel
impl Unpin for PlasticModel
impl UnsafeUnpin for PlasticModel
impl UnwindSafe for PlasticModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more