Prepare FemLite 0.3.1 contact and shell updates

This commit is contained in:
shenw
2026-06-23 19:45:33 +08:00
parent be02684827
commit 8710688540
16 changed files with 470 additions and 123 deletions
+6
View File
@@ -76,9 +76,12 @@ contains
integer :: elem_dofs(MAX_SHELL_TEST_DOF)
integer :: n_elem_dof
real(rk) :: ke(MAX_SHELL_TEST_DOF,MAX_SHELL_TEST_DOF)
real(rk) :: ke_elastic(MAX_SHELL_TEST_DOF,MAX_SHELL_TEST_DOF)
call setup_s4_j2(ierr)
if (ierr .ne. FEM_SUCCESS) call fail(451)
call element_linear_stiffness(1, elem_dofs, n_elem_dof, ke_elastic, ierr)
if (ierr .ne. FEM_SUCCESS) call fail(450)
call apply_x_extension(EXX)
call element_compute_internal_force(ierr, 0.1_rk)
@@ -92,6 +95,9 @@ contains
if (ierr .ne. FEM_SUCCESS) call fail(457)
if (n_elem_dof .ne. 24) call fail(458)
call check_matrix_symmetric(ke, n_elem_dof, 459)
if (ke(1,1) .ge. ke_elastic(1,1)) call fail(461)
if (ke(5,5) .ge. ke_elastic(5,5)) call fail(462)
if (ke(3,3) .le. ZERO) call fail(463)
call database_finalize(ierr)
if (ierr .ne. FEM_SUCCESS) call fail(460)