OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i2chk3.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!|| i2chk3 ../starter/source/interfaces/inter3d1/i2chk3.F
25!||--- called by ------------------------------------------------------
26!|| inint3 ../starter/source/interfaces/inter3d1/inint3.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../starter/source/output/message/message.F
29!|| incoq3 ../starter/source/interfaces/inter3d1/incoq3.F
30!|| ineltc ../starter/source/interfaces/inter3d1/inelt.F
31!|| inelts ../starter/source/interfaces/inter3d1/inelt.F
32!|| insol3 ../starter/source/interfaces/inter3d1/insol3.F
33!||--- uses -----------------------------------------------------
34!|| message_mod ../starter/share/message_module/message_mod.F
35!||====================================================================
36 SUBROUTINE i2chk3(X ,IRECT ,IXS ,NRT ,IXC ,
37 1 NINT,NSN ,NSV ,NOINT ,
38 2 IXTG,IRTL ,ST ,DMIN ,GEO ,
39 3 PM ,KNOD2ELS ,KNOD2ELC ,KNOD2ELTG ,NOD2ELS ,
40 4 NOD2ELC ,NOD2ELTG ,IGRSURF ,THK ,
41 5 NTY ,IXS10 ,IXS16 ,IXS20 ,IGEO ,
42 6 PM_STACK , IWORKSH )
43C-----------------------------------------------
44C M o d u l e s
45C-----------------------------------------------
46 USE message_mod
47 USE groupdef_mod
48 use element_mod , only :nixs,nixc,nixtg
49C---------------------------------------------------------------------
50C CHECK ELEMENT FOR TYPE 2 (ISEARCH=2)
51C THE GLOBAL NODE IS NOT REPLACED BY THE LOCAL NODE IN IRECT
52C---------------------------------------------------------------------
53C-----------------------------------------------
54C I m p l i c i t T y p e s
55C-----------------------------------------------
56#include "implicit_f.inc"
57C-----------------------------------------------
58C C o m m o n B l o c k s
59C-----------------------------------------------
60#include "param_c.inc"
61C-----------------------------------------------
62C D u m m y A r g u m e n t s
63C-----------------------------------------------
64 INTEGER NRT, NINT, NSN, NOINT,NTY
65 INTEGER IRECT(4,*), IXS(NIXS,*), IXC(NIXC,*),
66 . NSV(*), IXTG(NIXTG,*),IRTL(*),
67 . KNOD2ELS(*), KNOD2ELC(*), KNOD2ELTG(*), NOD2ELS(*), NOD2ELC(*),
68 . NOD2ELTG(*),IXS10(*), IXS16(*), IXS20(*),
69 . IGEO(*),IWORKSH(*)
70C
72 . x(3,*),st(2,*),dmin(*),geo(npropg,*), pm(npropm,*),thk(*),
73 . pm_stack(*)
74 TYPE (SURF_) :: IGRSURF
75C-----------------------------------------------
76C L o c a l V a r i a b l e s
77C-----------------------------------------------
78 INTEGER I, INRT, NELS, NELC, NELTG
79 my_real AREA
80C-----------------------------------------------
81C E x t e r n a l F u n c t i o n s
82C-----------------------------------------------
83C
84 DO i=1,nrt
85 inrt=i
86C
87 CALL inelts(x ,irect,ixs ,nint,nels ,
88 . inrt ,area ,noint,0 ,igrsurf%ELTYP,
89 . igrsurf%ELEM)
90 CALL ineltc(nelc ,neltg ,inrt ,igrsurf%ELTYP, igrsurf%ELEM)
91 IF(nels+nelc+neltg/=0) cycle
92C
93 CALL insol3(x,irect,ixs,nint,nels,inrt,
94 . area,noint,knod2els ,nod2els ,0 ,ixs10,
95 . ixs16,ixs20)
96 CALL incoq3(irect,ixc ,ixtg ,nint ,nelc ,
97 . neltg,inrt,geo ,pm ,knod2elc ,
98 . knod2eltg ,nod2elc ,nod2eltg,thk,nty,igeo,
99 . pm_stack , iworksh )
100C
101 IF(nels+nelc+neltg==0)THEN
102 CALL ancmsg(msgid=93,
103 . msgtype=msgwarning,
104 . anmode=aninfo_blind_2,
105 . i2=noint,
106 . i1=i)
107 ENDIF
108 ENDDO
109C
110 DO i=1,nsn
111 irtl(i)=0
112 st(1,i)=nine
113 st(2,i)=nine
114 dmin(i)=ep20
115 ENDDO
116C
117 RETURN
118 END
#define my_real
Definition cppsort.cpp:32
subroutine i2chk3(x, irect, ixs, nrt, ixc, nint, nsn, nsv, noint, ixtg, irtl, st, dmin, geo, pm, knod2els, knod2elc, knod2eltg, nod2els, nod2elc, nod2eltg, igrsurf, thk, nty, ixs10, ixs16, ixs20, igeo, pm_stack, iworksh)
Definition i2chk3.F:43
subroutine incoq3(irect, ixc, ixtg, nint, nel, neltg, is, geo, pm, knod2elc, knod2eltg, nod2elc, nod2eltg, thk, nty, igeo, pm_stack, iworksh)
Definition incoq3.F:46
subroutine inelts(x, irect, ixs, nint, nel, i, area, noint, ir, surf_eltyp, surf_elem)
Definition inelt.F:40
subroutine ineltc(nelc, neltg, is, surf_eltyp, surf_elem)
Definition inelt.F:134
subroutine insol3(x, irect, ixs, nint, nel, i, area, noint, knod2els, nod2els, ir, ixs10, ixs16, ixs20)
Definition insol3.F:44
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:895