OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i9sti3.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!|| i9sti3 ../starter/source/interfaces/int09/i9sti3.F
25!||--- called by ------------------------------------------------------
26!|| inint3 ../starter/source/interfaces/inter3d1/inint3.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../starter/source/output/message/message.F
29!|| inelts ../starter/source/interfaces/inter3d1/inelt.F
30!|| insol3 ../starter/source/interfaces/inter3d1/insol3.F
31!|| local_index ../starter/source/interfaces/interf1/local_index.F
32!||--- uses -----------------------------------------------------
33!|| message_mod ../starter/share/message_module/message_mod.F
34!||====================================================================
35 SUBROUTINE i9sti3(
36 1 X ,IRECT ,STF ,IXS ,
37 2 NRT ,
38 3 NINT ,NSN ,NSV ,
39 4 NOINT ,IELE ,
40 5 KNOD2ELS ,NOD2ELS ,IGRSURF ,ISU ,
41 6 IXS10 ,IXS16 ,IXS20 ,ID ,TITR)
42C-----------------------------------------------
43C D e s c r i p t i o n
44C-----------------------------------------------
45C NODE AND SEGMENT STIFFNESS
46C specific case : segment belongs to both solid and shell elem ; shell stiffness is used (if > 0)
47C-----------------------------------------------
48C M o d u l e s
49C-----------------------------------------------
50 USE message_mod
51 USE groupdef_mod
53 use element_mod , only :nixs
54C-----------------------------------------------
55C I m p l i c i t T y p e s
56C-----------------------------------------------
57#include "implicit_f.inc"
58C-----------------------------------------------
59C C o m m o n B l o c k s
60C-----------------------------------------------
61#include "com04_c.inc"
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,ISU
67 INTEGER IRECT(4,*), IXS(NIXS,*),
68 . NSV(*), IELE(*),
69 . KNOD2ELS(*), NOD2ELS(*),
70 . IXS10(*), IXS16(*), IXS20(*)
71 my_real X(3,*), STF(*)
72 INTEGER ID
73 CHARACTER(LEN=NCHARTITLE) :: TITR
74 TYPE (SURF_) , DIMENSION(NSURF) :: IGRSURF
75C-----------------------------------------------
76C L o c a l V a r i a b l e s
77C-----------------------------------------------
78 INTEGER I, INRT, NELS, J, IG, IL
79 my_real area
80C-----------------------------------------------
81C S o u r c e L i n e s
82C-----------------------------------------------
83
84 DO i=1,nrt
85 stf(i)=zero
86 inrt=i
87C
88 IF (isu > 0) THEN
89 CALL inelts(x ,irect ,ixs ,nint ,nels ,
90 . inrt ,area ,noint ,0 ,igrsurf(isu)%ELTYP,
91 . igrsurf(isu)%ELEM)
92 IF(nels/=0) THEN
93 iele(i) = nels
94 cycle
95 END IF
96 ENDIF
97C----------------------
98C SOLID ELEMENTS C----------------------
99 CALL insol3(x,irect,ixs,nint,nels,inrt,
100 . area,noint,knod2els ,nod2els ,0 ,ixs10,
101 . ixs16,ixs20)
102 IF(nels/=0) THEN
103 iele(i) = nels
104 ELSE
105 IF(nint>0) THEN
106 CALL ancmsg(msgid=92,msgtype=msgwarning,anmode=aninfo_blind_2,i1=id,c1=titr,i2=i)
107 ENDIF
108 IF(nint<0) THEN
109 CALL ancmsg(msgid=93,msgtype=msgwarning,anmode=aninfo_blind_2,i1=id,c1=titr,i2=i)
110 ENDIF
111 ENDIF
112C
113 ENDDO
114C---------------------------------------------
115C
116 DO i=1,nrt
117 DO j=1,4
118 ig=irect(j,i)
119 CALL local_index(il,ig,nsv,nsn)
120 irect(j,i)=il
121 ENDDO
122 ENDDO
123C
124 RETURN
125 END
subroutine area(d1, x, x2, y, y2, eint, stif0)
subroutine i9sti3(x, irect, stf, ixs, nrt, nint, nsn, nsv, noint, iele, knod2els, nod2els, igrsurf, isu, ixs10, ixs16, ixs20, id, titr)
Definition i9sti3.F:42
subroutine inelts(x, irect, ixs, nint, nel, i, area, noint, ir, surf_eltyp, surf_elem)
Definition inelt.F:40
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