pub trait Viscoplasticwhere
Self: Plastic,{
// Required methods
fn rate_sensitivity(&self) -> Scalar;
fn reference_flow_rate(&self) -> Scalar;
// Provided methods
fn plastic_stretching_rate(
&self,
deviatoric_mandel_stress_e: MandelStressElastic,
yield_stress: Scalar,
) -> Result<StretchingRatePlastic, ConstitutiveError> { ... }
fn yield_stress_evolution(
&self,
plastic_stretching_rate: &StretchingRatePlastic,
) -> Result<Scalar, ConstitutiveError> { ... }
}Expand description
Required methods for viscoplastic fluid constitutive models.
Required Methods§
Sourcefn rate_sensitivity(&self) -> Scalar
fn rate_sensitivity(&self) -> Scalar
Returns the rate_sensitivity parameter.
Sourcefn reference_flow_rate(&self) -> Scalar
fn reference_flow_rate(&self) -> Scalar
Returns the reference flow rate.
Provided Methods§
Sourcefn plastic_stretching_rate(
&self,
deviatoric_mandel_stress_e: MandelStressElastic,
yield_stress: Scalar,
) -> Result<StretchingRatePlastic, ConstitutiveError>
fn plastic_stretching_rate( &self, deviatoric_mandel_stress_e: MandelStressElastic, yield_stress: Scalar, ) -> Result<StretchingRatePlastic, ConstitutiveError>
Calculates and returns the rate of plastic stretching.
\mathbf{D}_\mathrm{p} = d_0\left(\frac{|\mathbf{M}_\mathrm{e}'|}{Y(S)}\right)^{\footnotesize\tfrac{1}{m}}\frac{\mathbf{M}_\mathrm{e}'}{|\mathbf{M}_\mathrm{e}'|}Sourcefn yield_stress_evolution(
&self,
plastic_stretching_rate: &StretchingRatePlastic,
) -> Result<Scalar, ConstitutiveError>
fn yield_stress_evolution( &self, plastic_stretching_rate: &StretchingRatePlastic, ) -> Result<Scalar, ConstitutiveError>
Calculates and returns the evolution of the yield stress.
\dot{Y} = \sqrt{\frac{2}{3}}\,H\,|\mathbf{D}_\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.