pub trait Plastic{
// Required methods
fn initial_yield_stress(&self) -> Scalar;
fn hardening_slope(&self) -> Scalar;
// Provided method
fn yield_stress(
&self,
equivalent_plastic_strain: Scalar,
) -> Result<Scalar, ConstitutiveError> { ... }
}Expand description
Required methods for plastic fluid constitutive models.
Required Methods§
Sourcefn initial_yield_stress(&self) -> Scalar
fn initial_yield_stress(&self) -> Scalar
Returns the initial yield stress.
Sourcefn hardening_slope(&self) -> Scalar
fn hardening_slope(&self) -> Scalar
Returns the isotropic hardening slope.
Provided Methods§
Sourcefn yield_stress(
&self,
equivalent_plastic_strain: Scalar,
) -> Result<Scalar, ConstitutiveError>
fn yield_stress( &self, equivalent_plastic_strain: Scalar, ) -> Result<Scalar, ConstitutiveError>
Calculates and returns the yield stress.
Y = Y_0 + H\,\varepsilon_\mathrm{p}Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.