OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i21pwr3.F File Reference
#include "implicit_f.inc"
#include "scr03_c.inc"
#include "units_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i21pwr3 (itab, inacti, cand_e, cand_n, stfn, x, i_stok, nsv, iwpene, peni, noint, nty, gap_s, msr, irtlm, irect, xm0, gapmin, gapmax, depth, nsn, itag, drad, id, titr)

Function/Subroutine Documentation

◆ i21pwr3()

subroutine i21pwr3 ( integer, dimension(*) itab,
integer inacti,
integer, dimension(*) cand_e,
integer, dimension(*) cand_n,
stfn,
x,
integer i_stok,
integer, dimension(*) nsv,
integer iwpene,
peni,
integer noint,
integer nty,
gap_s,
integer, dimension(*) msr,
integer, dimension(2,*) irtlm,
integer, dimension(4,*) irect,
xm0,
gapmin,
gapmax,
depth,
integer nsn,
integer, dimension(*) itag,
drad,
integer id,
character(len=nchartitle) titr )

Definition at line 33 of file i21pwr3.F.

38 USE message_mod
40 USE format_mod , ONLY : fmw_5i
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48#include "scr03_c.inc"
49#include "units_c.inc"
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER ITAB(*),CAND_E(*),CAND_N(*), IRECT(4,*), IRTLM(2,*),ITAG(*)
54 INTEGER I_STOK,NSV(*),MSR(*),IWPENE,INACTI,NOINT,NTY,NSN
55 my_real stfn(*),x(3,*),peni(*),gap_s(*),xm0(3,*),gapmin,gapmax,depth,drad
56 INTEGER ID
57 CHARACTER(LEN=NCHARTITLE) :: TITR
58C-----------------------------------------------
59C L o c a l V a r i a b l e s
60C-----------------------------------------------
61 INTEGER I, J, L,JWARN
62 INTEGER IX1, IX2, IX3, IX4, NSVG
63C-----------------------------------------------
64 jwarn = 0
65 DO 100 i=1,i_stok
66 j=cand_n(i)
67 l=cand_e(i)
68 IF(irtlm(1,j)==cand_e(i))THEN
69
70 ix1=msr(irect(1,l))
71 ix2=msr(irect(2,l))
72 ix3=msr(irect(3,l))
73 ix4=msr(irect(4,l))
74 nsvg=nsv(j)
75 IF(peni(j)>zero)THEN
76 IF(ipri>=1)THEN
77 WRITE(iout,fmt=fmw_5i) itab(nsvg), itab(ix1),itab(ix2), itab(ix3),itab(ix4)
78 END IF
79c IF(PENI(J)>ZERO)THEN
80 WRITE(iout,1000)peni(j)
81c ENDIF
82 IF(inacti/=6)THEN
83 IF(inacti==1) THEN
84C DESACTIVATION DES NOEUDS
85 WRITE(iout,'(A)')'NODE STIFFNESS IS SET TO ZERO'
86 stfn(j) = zero
87 ELSE IF(inacti==2) THEN
88C DESACTIVATION DES ELEMENTS
89 WRITE(iout,'(A)')
90 . 'INACTI=2 IS NOT AVAILABLE FOR INTERFACE TYPE21'
91 ELSE IF(inacti==3) THEN
92C CHANGE LES COORDONNEES DES NOEUDS SECND
93 WRITE(iout,'(A)')
94 . 'INACTI=3 IS NOT AVAILABLE FOR INTERFACE TYPE21'
95 ELSE IF(inacti==4) THEN
96C CHANGE LES COORDONNEES DES NOEUDS MAIN
97 WRITE(iout,'(A)')
98 . 'INACTI=4 IS NOT AVAILABLE FOOR INTERFACE TYPE21'
99 ELSE IF(inacti==5) THEN
100C REDUCTION DU GAP
101 jwarn = 1
102 ENDIF
103 ELSE
104C INACTI==6
105C REDUCTION DU GAP
106 jwarn = 1
107C
108 peni(j)=peni(j)
109 . +zep05*(min(max(gap_s(j),gapmin),gapmax)+depth-peni(j))
110 END IF
111 iwpene=iwpene+1
112 ENDIF
113 ENDIF
114 100 CONTINUE
115 IF (jwarn /= 0) WRITE(iout,'(A)')'REDUCE INITIAL GAP'
116C
117 IF(iwpene/=0) THEN
118 CALL ancmsg(msgid=499,
119 . msgtype=msgwarning,
120 . anmode=aninfo_blind_1,
121 . i1=id,
122 . c1=titr,i2=iwpene)
123 ENDIF
124C
125 1000 FORMAT(2x,'** INITIAL PENETRATION =',1pg20.13)
126 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20
#define max(a, b)
Definition macros.h:21
initmumps id
integer, parameter nchartitle
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889