Commit Graph

6 Commits

Author SHA1 Message Date
Jukka Aho b9534e2c55 test(solvers): add modal analysis new API visionary test
New 560-line test file for modal analysis NEW API (test-driven development):
- Visionary tests for ModalSolver and EigenvalueProblem
- Tests single Tet4 element modal analysis
- Tests with and without geometric stiffness
- Tests heat transfer modal analysis
- Extensive documentation of intended API design
- Tests currently skipped (@test_skip) until implementation complete
- Documents eigenvalue problem K φ = λ M φ
- Documents mass matrix assembly and mode shape normalization

This test file serves as both test suite and API design documentation
for the new modal analysis solver interface.
2025-12-15 16:19:59 +02:00
Jukka Aho 782c252719 test(solvers): add modal elasticity test 2
New 59-line test file for modal elasticity analysis:
- Tests modal analysis of two cylinder meshes (CYLINDER1 and CYLINDER20)
- Compares eigenfrequencies with Code Aster results (Tet4 elements)
- Tests 3 lowest eigenfrequencies for each cylinder
- Uses legacy Element/Problem API

Validates modal analysis accuracy for different cylinder geometries
by comparing with reference Code Aster results.
2025-12-15 13:45:46 +02:00
Jukka Aho f3f42fd115 test(solvers): add modal elasticity test
New 102-line test file for modal elasticity analysis:
- Tests modal analysis of long rod with fixed-fixed boundary conditions
- Compares eigenfrequencies with Code Aster results (Tet10 elements)
- Validates against analytical solution (fixed-fixed beam)
- Tests 5 lowest eigenfrequencies
- Uses legacy Element/Problem API

Validates modal analysis accuracy by comparing with reference
Code Aster results and analytical beam theory.
2025-12-15 13:44:13 +02:00
Jukka Aho b7c26835c9 test(solvers): add postprocess test
New 97-line test file for postprocessing functionality:
- Tests postprocessing fields (strain, stress, reaction force, contact pressure)
- Tests contact problem with two blocks (upper and lower)
- Tests XDMF output writer
- Tests field extraction at specific points
- Tests nodal vector extraction
- Validates contact interface displacement uniformity

Tests complete postprocessing workflow including field computation,
output writing, and field querying at arbitrary points.
2025-12-15 13:35:01 +02:00
Jukka Aho b9389a1331 test(solvers): add modal analysis test
New 110-line test file for modal analysis:
- Tests modal analysis with Tet4 element (eigenvalue computation)
- Tests with and without geometric stiffness
- Tests Poisson problem modal analysis (heat equation)
- Uses legacy Element/Problem API
- Contains commented-out test for mesh tie (future work)

Validates eigenvalue computation for structural and thermal modal analysis.
2025-12-15 13:31:43 +02:00
Jukka Aho a2ae06bd47 test(solvers): add modal zero eigenmodes test
New 33-line test file for modal analysis:
- Tests modal analysis with Tet10 element
- Validates zero eigenmodes (rigid body modes)
- Tests eigenvalue computation for modal analysis
- Uses legacy Element/Problem API

Tests that modal analysis correctly identifies rigid body modes
as zero eigenvalues.
2025-12-15 13:31:26 +02:00