Add basic rigid plane contact support
This commit is contained in:
@@ -12,6 +12,7 @@ module fem_api
|
||||
use fem_solver_implicit
|
||||
use fem_coupling
|
||||
use fem_boundary
|
||||
use fem_contact
|
||||
use fem_output_csv
|
||||
implicit none
|
||||
|
||||
@@ -764,6 +765,9 @@ contains
|
||||
call boundary_apply_mpc_forces(ierr)
|
||||
if (ierr .ne. FEM_SUCCESS) return
|
||||
|
||||
call contact_apply_plane_forces(ierr)
|
||||
if (ierr .ne. FEM_SUCCESS) return
|
||||
|
||||
do dof = 1, ndof
|
||||
rhs = fext(dof) + fsph(dof) + fcontact(dof) - fint(dof)
|
||||
a(dof) = rhs / mass_diag(dof)
|
||||
|
||||
Reference in New Issue
Block a user