OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i24pwr3.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| i24pwr3 ../starter/source/interfaces/inter3d1/i24pwr3.F
25!||--- called by ------------------------------------------------------
26!|| inint3 ../starter/source/interfaces/inter3d1/inint3.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../starter/source/output/message/message.F
29!||--- uses -----------------------------------------------------
30!|| message_mod ../starter/share/message_module/message_mod.F
31!||====================================================================
32 SUBROUTINE i24pwr3(ITAB ,INACTI,CAND_E,CAND_N ,PMIN ,
33 1 PENMIN,I_STOK,NSV ,IWPENE ,PENE_OLD,
34 2 NOINT ,NTY ,MSR ,IRTLM ,IRECT ,
35 4 NSN ,ID ,TITR ,ICONT_I,IWPENE0 )
36C-----------------------------------------------
37C A n a l y s e M o d u l e
38C-----------------------------------------------
39#ifndef HYPERMESH_LIB
40 USE message_mod
41#endif
43C-----------------------------------------------
44C C o m m o n B l o c k s
45C-----------------------------------------------
46#include "implicit_f.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50#include "scr03_c.inc"
51#include "com04_c.inc"
52#include "scr05_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 INTEGER ITAB(*),CAND_E(*),CAND_N(*), IRECT(4,*), IRTLM(2,*),
57 . ICONT_I(*)
58 INTEGER I_STOK,NSV(*),MSR(*),IWPENE,INACTI,NOINT,NTY,NSN,IWPENE0
59C REAL
61 . pmin(*),penmin,pene_old(5,*)
62 INTEGER ID
63 CHARACTER(LEN=NCHARTITLE) :: TITR
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER I, L,NI
68 INTEGER IX1, IX2, IX3, IX4, NSVG
69 my_real
70 . pen,tol
71C-----------------------------------------------
72C E x t e r n a l F u n c t i o n s
73C-----------------------------------------------
74 IF (iresp==1.AND.penmin<=em06) penmin = two*em06
75 tol = penmin
76C
77 DO i=1,i_stok
78 ni=cand_n(i)
79 l=cand_e(i)
80C---Cas INACTI=0,1----
81 pen =zero
82 IF(icont_i(ni)==-l)THEN
83C-------Cas INACTI=-1,5
84 pen = pmin(ni)
85 ELSEIF(irtlm(1,ni)==l)THEN
86 pen = pene_old(5,ni)
87 ELSE
88 cycle
89 END IF
90 ix1=irect(1,l)
91 ix2=irect(2,l)
92 ix3=irect(3,l)
93 ix4=irect(4,l)
94 nsvg=nsv(ni)
95C
96 IF(pen/=zero)THEN
97C True initial penetration
98 iwpene=iwpene+1
99 IF(ipri>=5.AND.nsvg<=numnod) THEN
100#ifndef HYPERMESH_LIB
101 CALL ancmsg(msgid=1164,
102 . msgtype=msgwarning,
103 . anmode=aninfo_blind_1,
104 . i1=itab(nsvg),
105 . i2=itab(ix1),
106 . i3=itab(ix2),
107 . i4=itab(ix3),
108 . i5=itab(ix4),
109 . r1=pen ,
110 . prmod=msg_cumu)
111#endif
112 END IF
113 IF (pen<=tol)iwpene0=iwpene0+1
114 END IF
115 END DO !I=1,I_STOK
116C
117 RETURN
118 END
#define my_real
Definition cppsort.cpp:32
subroutine i24pwr3(itab, inacti, cand_e, cand_n, pmin, penmin, i_stok, nsv, iwpene, pene_old, noint, nty, msr, irtlm, irect, nsn, id, titr, icont_i, iwpene0)
Definition i24pwr3.F:36
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