From 2714527c0f7a10b776d01c1e38d647b156e59146 Mon Sep 17 00:00:00 2001 From: mohd-afeef-badri Date: Tue, 25 Feb 2025 15:18:06 +0100 Subject: [PATCH] [test] add tests with traction --- modules/elasticity/CMakeLists.txt | 2 + ....3D.Dirichlet.traction.bodyForce.hypre.arc | 40 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 modules/elasticity/inputs/bar.3D.Dirichlet.traction.bodyForce.hypre.arc diff --git a/modules/elasticity/CMakeLists.txt b/modules/elasticity/CMakeLists.txt index 7d332b0..eaeaacd 100644 --- a/modules/elasticity/CMakeLists.txt +++ b/modules/elasticity/CMakeLists.txt @@ -64,6 +64,8 @@ if(FEMUTILS_HAS_SOLVER_BACKEND_PETSC) endif() if(FEMUTILS_HAS_SOLVER_BACKEND_HYPRE) + arcanefem_add_gpu_test(NAME [elasticity]3D_Dirichlet_Bodyforce_traction_hypre_bsr COMMAND ./Elasticity ARGS -A,matrix_format=BSR inputs/bar.3D.Dirichlet.traction.bodyForce.hypre.arc) + arcanefem_add_gpu_test(NAME [elasticity]3D_Dirichlet_Bodyforce_traction_hypre_af-bsr COMMAND ./Elasticity ARGS -A,matrix_format=AF-BSR inputs/bar.3D.Dirichlet.traction.bodyForce.hypre.arc) arcanefem_add_gpu_test(NAME [elasticity]3D_Dirichlet_Bodyforce_hypre_bsr COMMAND ./Elasticity ARGS -A,matrix_format=BSR inputs/bar.3D.Dirichlet.bodyForce.hypre.arc) arcanefem_add_gpu_test(NAME [elasticity]3D_Dirichlet_Bodyforce_hypre_af-bsr COMMAND ./Elasticity ARGS -A,matrix_format=AF-BSR inputs/bar.3D.Dirichlet.bodyForce.hypre.arc) arcanefem_add_gpu_test(NAME [elasticity]Dirichlet_pointBC_RowElimination_bsr COMMAND ./Elasticity ARGS -A,matrix_format=BSR inputs/bar.2D.PointDirichlet.DirichletViaRowElimination.hypre.arc) diff --git a/modules/elasticity/inputs/bar.3D.Dirichlet.traction.bodyForce.hypre.arc b/modules/elasticity/inputs/bar.3D.Dirichlet.traction.bodyForce.hypre.arc new file mode 100644 index 0000000..2207592 --- /dev/null +++ b/modules/elasticity/inputs/bar.3D.Dirichlet.traction.bodyForce.hypre.arc @@ -0,0 +1,40 @@ + + + + 3D Linear Elasticity + ElasticityLoop + + + + 1 + + U + + + + + + meshes/bar_dynamic_3D.msh + + + + + 21.0e5 + 0.28 + -1.0 + + surfaceleft + 0.0 0.0 0.0 + + + surfaceright + NULL 1.0 NULL + + RowElimination + + bicgstab + 1e-9 + 0. + + +