Files
JuliaFEM.jl/benchmarks
Jukka Aho 33bf912b99 bench: Add perfect plasticity material performance analysis
Comprehensive benchmarking of J2 plasticity with radial return mapping:

Tests performed:
1. Single evaluation: elastic path (below yield) vs plastic path
2. Zero-allocation verification for both branches
3. Type stability validation
4. State management overhead (fresh vs history)
5. Hardening parameter sensitivity analysis
6. Assembly loop simulation (realistic FEM usage)
7. Comparison to LinearElastic and NeoHookean
8. Strain level scalability (elastic to plastic transition)

Validates:
- Plastic path overhead (radial return vs elastic)
- State handling performance (PlasticityState vs NoState)
- Zero allocations maintained even with mutable state
- Type stability for both converged and trial states

Includes von Mises stress computation, yield surface check, and
algorithmic tangent calculation (320 lines).
2025-11-12 00:19:30 +02:00
..