CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
checktruecontact.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine checktruecontact (ntie, tieset, tietol, elcon, itruecontact, ncmat_, ntmat_)
 

Function/Subroutine Documentation

◆ checktruecontact()

subroutine checktruecontact ( integer  ntie,
character*81, dimension(3,*)  tieset,
real*8, dimension(3,*)  tietol,
real*8, dimension(0:ncmat_,ntmat_,*)  elcon,
integer  itruecontact,
integer  ncmat_,
integer  ntmat_ 
)
21 !
22 ! check whether for face-to-face penalty contact the
23 ! surface behavior definition is such that true contact is
24 ! defined and not just tied contact
25 !
26  implicit none
27 !
28  character*81 tieset(3,*)
29 !
30  integer itruecontact,i,ntie,imat,ncmat_,ntmat_
31 !
32  real*8 tietol(3,*),elcon(0:ncmat_,ntmat_,*)
33 !
34 ! if at least one tied contact is present, itruecontact
35 ! is set to zero and no check is performed whether tension
36 ! occurs in the contact areas
37 !
38  itruecontact=1
39  do i=1,ntie
40  if(tieset(1,i)(81:81).eq.'C') then
41  imat=int(tietol(2,i))
42  if(int(elcon(3,1,imat)).eq.4) then
43  itruecontact=0
44  exit
45  endif
46  endif
47  enddo
48 !
49  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)