mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-27 20:26:58 +00:00
8f198752ac
New file src/materials/linear_elastic.jl implementing Hooke's law: - LinearElastic struct with Young's modulus E and Poisson's ratio ν - Input validation: E > 0, -1 < ν < 0.5 - Helper functions: λ() and μ() compute Lamé parameters - compute_stress() implements σ = λ·tr(ε)·I + 2μ·ε - Tangent modulus: 𝔻 = λ·I⊗I + 2μ·��ˢʸᵐ - Zero-allocation with SymmetricTensor types - Simplified interface without state management - 180 lines with comprehensive documentation