Files
JuliaFEM.jl/test
Jukka Aho 3b13a77981 test: Add nodal vs element assembly comparison validation
- Implements BOTH assembly methods for direct comparison on same problem
- Traditional element assembly: builds 12×12 K_e matrices, scatters to global K
- Nodal assembly: computes 3×3 K_ij blocks directly, accumulates per node
- Test problem: linear elasticity on simple Tet4 mesh
- TestLinearElastic material with Lamé parameters (λ, μ from E, ν)
- B-matrix computation: strain-displacement operator (6×3 per node, Voigt notation)
- Element stiffness: K_e = ∫ B^T C B dV with Gauss integration
- Nodal contribution: spider pattern with 3×3 blocks for coupled nodes
- Matrix-vector product comparison: K*v computed both ways
- Validates numerical equivalence: ‖K_element - K_nodal‖ < tol
- Performance characteristics: element (matrix scatter) vs nodal (direct blocks)
- Architectural differences demonstration: gather-scatter vs direct accumulation
- 542 lines validating nodal assembly correctness and comparing approaches
2025-11-12 00:08:06 +02:00
..
2025-11-08 08:50:59 +02:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-11-29 17:40:55 -05:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-11-19 07:44:56 -05:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00
2018-09-06 13:34:26 +03:00