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
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 "com04_c.inc"
61#include "param_c.inc"
62C-----------------------------------------------
63C D u m m y A r g u m e n t s
64C-----------------------------------------------
65 INTEGER NRT, NINT, NSN, NOINT,ISU
66 INTEGER IRECT(4,*), IXS(NIXS,*),
67 . NSV(*), IELE(*),
68 . KNOD2ELS(*), NOD2ELS(*),
69 . IXS10(*), IXS16(*), IXS20(*)
70 my_real X(3,*), STF(*)
71 INTEGER ID
72 CHARACTER(LEN=NCHARTITLE) :: TITR
73 TYPE (SURF_) , DIMENSION(NSURF) :: IGRSURF
74C-----------------------------------------------
75C L o c a l V a r i a b l e s
76C-----------------------------------------------
77 INTEGER I, INRT, NELS, J, IG, IL
78 my_real area
79C-----------------------------------------------
80C S o u r c e L i n e s
81C-----------------------------------------------
82
83 DO i=1,nrt
84 stf(i)=zero
85 inrt=i
86C
87 IF (isu > 0) THEN
88 CALL inelts(x ,irect ,ixs ,nint ,nels ,
89 . inrt ,area ,noint ,0 ,igrsurf(isu)%ELTYP,
90 . igrsurf(isu)%ELEM)
91 IF(nels/=0) THEN
92 iele(i) = nels
93 cycle
94 END IF
95 ENDIF
96C----------------------
97C SOLID ELEMS
98C----------------------
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:39
subroutine insol3(x, irect, ixs, nint, nel, i, area, noint, knod2els, nod2els, ir, ixs10, ixs16, ixs20)
Definition insol3.F:43
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:889
program starter
Definition starter.F:39