Expand description
§solid-mechanics
Solid mechanics library implementing stress, strain, and deformation of solids.
§Modules
- tensor: Stress and strain tensors (Cauchy stress, infinitesimal strain)
- constitutive: Constitutive relations (Hooke’s law, isotropic/anisotropic elasticity)
- mohr: Mohr’s circle (principal stresses, maximum shear)
- beam: Beam mechanics (Euler-Bernoulli beam, deflection, bending moments)
- fem: Finite element basics (1D bar elements, assembly, boundary conditions)
- yield_criteria: Yield criteria (von Mises, Tresca)
- plane: Plane stress and plane strain
- energy: Energy methods (strain energy, Castigliano’s theorem)
Re-exports§
pub use tensor::StressTensor;pub use tensor::StrainTensor;pub use constitutive::HookeIsotropic;pub use constitutive::ElasticityTensor;pub use mohr::MohrCircle;pub use beam::EulerBernoulliBeam;pub use fem::BarElement1D;pub use fem::FemAssembler1D;pub use yield_criteria::VonMises;pub use yield_criteria::Tresca;pub use plane::PlaneStress;pub use plane::PlaneStrain;pub use energy::StrainEnergy;
Modules§
- beam
- Euler-Bernoulli beam mechanics — deflection, bending moments, shear forces.
- constitutive
- Constitutive relations — Hooke’s law and elasticity tensors.
- energy
- Energy methods — strain energy, Castigliano’s theorem.
- fem
- Finite element basics — 1D bar elements, assembly, boundary conditions.
- mohr
- Mohr’s circle for stress transformation and principal stress analysis.
- plane
- Plane stress and plane strain conditions.
- tensor
- Stress and strain tensors for continuum mechanics.
- yield_
criteria - Yield criteria — von Mises and Tresca.