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

Go to the source code of this file.

Functions/Subroutines

subroutine i25pwr3_e2s (itab, inacti, cand_m, cand_s, istok, llt, pene, iwpene, cand_p, n1, n2, m1, m2, noint, nty, irect, id, titr, cand_m_g, cand_s_g, cand_p_g)

Function/Subroutine Documentation

◆ i25pwr3_e2s()

subroutine i25pwr3_e2s ( integer, dimension(*) itab,
integer inacti,
integer, dimension(*) cand_m,
integer, dimension(*) cand_s,
integer istok,
integer llt,
pene,
integer iwpene,
cand_p,
integer, dimension(*) n1,
integer, dimension(*) n2,
integer, dimension(4,*) m1,
integer, dimension(4,*) m2,
integer noint,
integer nty,
integer, dimension(4,*) irect,
integer id,
character(len=nchartitle) titr,
integer, dimension(*) cand_m_g,
integer, dimension(*) cand_s_g,
cand_p_g )

Definition at line 32 of file i25pwr3_e2s.F.

37 USE message_mod
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C C o m m o n B l o c k s
45C-----------------------------------------------
46#include "scr03_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER ITAB(*),CAND_M(*),CAND_S(*),IRECT(4,*),
51 . N1(*), N2(*), M1(4,*), M2(4,*),
52 . CAND_M_G(*),CAND_S_G(*)
53 INTEGER LLT,IWPENE,INACTI,NOINT,NTY,NSN,ISTOK
54C REAL
56 . pene(4,*), cand_p(4,*), cand_p_g(4,*)
57 INTEGER ID, EJ
58 CHARACTER(LEN=NCHARTITLE) :: TITR
59C-----------------------------------------------
60C L o c a l V a r i a b l e s
61C-----------------------------------------------
62 INTEGER I, J, L, IKEEP
63 INTEGER IX1, IX2, IX3, IX4, NSVG
64C REAL
65C-----------------------------------------------
66 DO i=1,llt
67
68 ikeep=0
69 DO ej=1,4
70
71 IF(ej==3.AND.m1(ej,i)==m2(ej,i)) cycle
72
73 IF(pene(ej,i)/=zero)THEN
74C True initial penetration
75 iwpene=iwpene+1
76 IF(ipri>=5)
77 . CALL ancmsg(msgid=1631,
78 . msgtype=msgwarning,
79 . anmode=aninfo_blind_1,
80 . i1=itab(n1(i)),
81 . i2=itab(n2(i)),
82 . i3=itab(m1(ej,i)),
83 . i4=itab(m2(ej,i)),
84 . r1=pene(ej,i),
85 . prmod=msg_cumu)
86 IF(inacti==0)THEN
87C Ignore initial penetrations
88C ELSEIF(INACTI==1) THEN
89C DESACTIVATION DES NOEUDS
90C WRITE(IOUT,'(A)')'NODE STIFFNESS IS SET TO ZERO'
91C STFN(J) = ZERO
92 ELSE IF(inacti==5) THEN
93C
94C Reduction of PENE
95C CAND_P(EJ,I)= PENE(EJ,I)
96 ikeep=1
97 ELSE IF(inacti==-1) THEN
98C
99C CAND_P < 0 <=> Initial penetration into the Starter & Initial forces
100C CAND_P(EJ,I)= -PENE(EJ,I)
101 ikeep=1
102 ENDIF
103 ELSE
104 END IF
105 END DO
106 IF(ikeep/=0)THEN
107 istok=istok+1
108 cand_m_g(istok)=cand_m(i)
109 cand_s_g(istok)=cand_s(i)
110 cand_p_g(1:4,istok)=-pene(1:4,i)
111 END IF
112 END DO
113C
114 RETURN
#define my_real
Definition cppsort.cpp:32
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