pub struct J2ReturnMapping {
pub shear_modulus: f64,
pub bulk_modulus: f64,
pub sigma_y0: f64,
pub hardening_modulus: f64,
}Expand description
J2 (von Mises) return mapping algorithm with isotropic hardening.
Given a trial elastic stress, compute the corrected plastic stress via the radial return algorithm.
Fields§
§shear_modulus: f64Shear modulus G (Pa).
bulk_modulus: f64Bulk modulus K (Pa).
sigma_y0: f64Initial yield stress (Pa).
hardening_modulus: f64Isotropic hardening modulus H (Pa).
Implementations§
Source§impl J2ReturnMapping
impl J2ReturnMapping
Sourcepub fn new(
shear_modulus: f64,
bulk_modulus: f64,
sigma_y0: f64,
hardening_modulus: f64,
) -> Self
pub fn new( shear_modulus: f64, bulk_modulus: f64, sigma_y0: f64, hardening_modulus: f64, ) -> Self
Create a J2 return mapping integrator.
Sourcepub fn from_young_poisson(E: f64, nu: f64, sigma_y0: f64, h: f64) -> Self
pub fn from_young_poisson(E: f64, nu: f64, sigma_y0: f64, h: f64) -> Self
Create from Young’s modulus and Poisson’s ratio.
Sourcepub fn von_mises(stress: &[f64; 6]) -> f64
pub fn von_mises(stress: &[f64; 6]) -> f64
Von Mises stress (√(3 J₂)) from full Voigt stress [xx,yy,zz,xy,yz,xz].
Sourcepub fn return_map(
&self,
trial_stress: &[f64; 6],
eps_p_bar: f64,
) -> ([f64; 6], [f64; 6], f64)
pub fn return_map( &self, trial_stress: &[f64; 6], eps_p_bar: f64, ) -> ([f64; 6], [f64; 6], f64)
Radial return mapping.
Returns (updated_stress, delta_eps_p, delta_eps_p_equivalent).
Sourcepub fn consistent_tangent_uniaxial(&self) -> f64
pub fn consistent_tangent_uniaxial(&self) -> f64
Consistent tangent modulus (elastic-plastic, uniaxial).
C_ep = 2G * [1 - 3G*Δγ/q_trial - 3G/(3G+H)q_trial/(q_trial)] Simplified scalar: E_ep = EH/(E+H).
Trait Implementations§
Source§impl Clone for J2ReturnMapping
impl Clone for J2ReturnMapping
Source§fn clone(&self) -> J2ReturnMapping
fn clone(&self) -> J2ReturnMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for J2ReturnMapping
impl Debug for J2ReturnMapping
impl Copy for J2ReturnMapping
Auto Trait Implementations§
impl Freeze for J2ReturnMapping
impl RefUnwindSafe for J2ReturnMapping
impl Send for J2ReturnMapping
impl Sync for J2ReturnMapping
impl Unpin for J2ReturnMapping
impl UnsafeUnpin for J2ReturnMapping
impl UnwindSafe for J2ReturnMapping
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