pub struct PlaneStrain {
pub material: HookeIsotropic,
}Expand description
Plane strain condition (ε_zz = γ_xz = γ_yz = 0). Thick structures or constrained in z-direction.
Fields§
§material: HookeIsotropicImplementations§
Source§impl PlaneStrain
impl PlaneStrain
pub fn new(material: HookeIsotropic) -> Self
Sourcepub fn strain_from_stress_2d(
&self,
sxx: f64,
syy: f64,
txy: f64,
) -> (f64, f64, f64)
pub fn strain_from_stress_2d( &self, sxx: f64, syy: f64, txy: f64, ) -> (f64, f64, f64)
2D stress → 2D strain under plane strain.
Sourcepub fn stress_from_strain_2d(
&self,
exx: f64,
eyy: f64,
gxy: f64,
) -> (f64, f64, f64)
pub fn stress_from_strain_2d( &self, exx: f64, eyy: f64, gxy: f64, ) -> (f64, f64, f64)
2D strain → 2D stress under plane strain.
Sourcepub fn out_of_plane_stress(&self, sxx: f64, syy: f64) -> f64
pub fn out_of_plane_stress(&self, sxx: f64, syy: f64) -> f64
Out-of-plane stress under plane strain: σ_zz = ν(σ_xx + σ_yy)
Sourcepub fn stiffness_matrix_2d(&self) -> [[f64; 3]; 3]
pub fn stiffness_matrix_2d(&self) -> [[f64; 3]; 3]
Plane strain stiffness matrix (3×3).
Trait Implementations§
Source§impl Clone for PlaneStrain
impl Clone for PlaneStrain
Source§fn clone(&self) -> PlaneStrain
fn clone(&self) -> PlaneStrain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlaneStrain
impl Debug for PlaneStrain
Source§impl<'de> Deserialize<'de> for PlaneStrain
impl<'de> Deserialize<'de> for PlaneStrain
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlaneStrain
impl RefUnwindSafe for PlaneStrain
impl Send for PlaneStrain
impl Sync for PlaneStrain
impl Unpin for PlaneStrain
impl UnsafeUnpin for PlaneStrain
impl UnwindSafe for PlaneStrain
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.