OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i1chk3.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!|| i1chk3 ../starter/source/interfaces/inter3d1/i1chk3.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!|| local_index ../starter/source/interfaces/interf1/local_index.F
34!||--- uses -----------------------------------------------------
35!|| message_mod ../starter/share/message_module/message_mod.F
36!||====================================================================
37 SUBROUTINE i1chk3(X ,IRECT ,IXS ,NRT ,IXC ,
38 . NINT ,NSN ,NSV ,NOINT ,IXTG ,
39 . GEO ,PM ,KNOD2ELS ,KNOD2ELC ,KNOD2ELTG ,
40 . NOD2ELS ,NOD2ELC ,NOD2ELTG ,IGRSURF ,
41 . THK ,NTY ,IXS10 ,
42 . IXS16 ,IXS20 ,ID,TITR ,IGEO ,
43 . PM_STACK ,IWORKSH )
44C-----------------------------------------------
45C D e s c r i p t i o n
46C-----------------------------------------------
47C CHECK ELEMENT FOR TYPE 1 AND 2 (ISEARCH=1)
48C-----------------------------------------------
49C M o d u l e s
50C-----------------------------------------------
51 USE groupdef_mod
52 USE message_mod
54 use element_mod , only :nixs,nixc,nixtg
55C-----------------------------------------------
56C I m p l i c i t T y p e s
57C-----------------------------------------------
58#include "implicit_f.inc"
59C-----------------------------------------------
60C C o m m o n B l o c k s
61C-----------------------------------------------
62#include "param_c.inc"
63C-----------------------------------------------
64C D u m m y A r g u m e n t s
65C-----------------------------------------------
66 INTEGER NRT, NINT, NSN, NOINT, NTY
67 INTEGER IRECT(4,*), IXS(NIXS,*), IXC(NIXC,*),
68 . NSV(*), IXTG(NIXTG,*),
69 . KNOD2ELS(*), KNOD2ELC(*), KNOD2ELTG(*), NOD2ELS(*), NOD2ELC(*),
70 . NOD2ELTG(*), IXS10(*), IXS16(*), IXS20(*),
71 . IGEO(*), IWORKSH(*)
73 . x(3,*),geo(npropg,*), pm(npropm,*),thk(*),pm_stack(*)
74 INTEGER ID
75 CHARACTER(LEN=NCHARTITLE) :: TITR
76 TYPE (SURF_) :: IGRSURF
77C-----------------------------------------------
78C L o c a l V a r i a b l e s
79C-----------------------------------------------
80 INTEGER I, INRT, NELS, NELC, NELTG, J, IG, IL
82C-----------------------------------------------
83C S o u r c e L i n e s
84C-----------------------------------------------
85 DO i=1,nrt
86 inrt=i
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
92 CALL insol3(x,irect,ixs,nint,nels,inrt,
93 . area,noint,knod2els ,nod2els ,0 ,ixs10,
94 . ixs16,ixs20)
95 CALL incoq3(irect,ixc ,ixtg ,nint ,nelc ,
96 . neltg,inrt,geo ,pm ,knod2elc ,
97 . knod2eltg ,nod2elc ,nod2eltg,thk,nty,igeo,
98 . pm_stack , iworksh )
99 IF(nels+nelc+neltg==0)THEN
100 IF(nint>0) THEN
101 CALL ancmsg(msgid=92,
102 . msgtype=msgwarning,
103 . anmode=aninfo_blind_2,
104 . i1=id,
105 . c1=titr,
106 . i2=i)
107 ENDIF
108 IF(nint<0) THEN
109 CALL ancmsg(msgid=93,
110 . msgtype=msgwarning,
111 . anmode=aninfo_blind_2,
112 . i1=id,
113 . c1=titr,
114 . i2=i)
115 ENDIF
116 ENDIF
117 enddo!next I
118 !THE GLOBAL NODE IS REPLACED BY THE LOCAL NODE IN IRECT
119 DO i=1,nrt
120 DO j=1,4
121 ig=irect(j,i)
122 CALL local_index(il,ig,nsv,nsn)
123 irect(j,i)=il
124 ENDDO
125 ENDDO
126C-----------------------------------------------
127 RETURN
128 END
#define my_real
Definition cppsort.cpp:32
subroutine area(d1, x, x2, y, y2, eint, stif0)
subroutine i1chk3(x, irect, ixs, nrt, ixc, nint, nsn, nsv, noint, ixtg, geo, pm, knod2els, knod2elc, knod2eltg, nod2els, nod2elc, nod2eltg, igrsurf, thk, nty, ixs10, ixs16, ixs20, id, titr, igeo, pm_stack, iworksh)
Definition i1chk3.F:44
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 local_index(il, ig, nodes, n)
Definition local_index.F:37
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:895