OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s4upd11t12.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!|| s4upd11t12 ../engine/source/elements/solid/solide4/s4upd11t12.F
25!||--- called by ------------------------------------------------------
26!|| s4forc3 ../engine/source/elements/solid/solide4/s4forc3.F
27!||--- calls -----------------------------------------------------
28!|| s4jac_i ../engine/source/elements/solid/solide4/s4jac_i.F
29!||====================================================================
30 SUBROUTINE s4upd11t12(
31 1 OFFG, OFFG0, XD1, XD2,
32 2 XD3, XD4, YD1, YD2,
33 3 YD3, YD4, ZD1, ZD2,
34 4 ZD3, ZD4, JAC_1, SIG,
35 5 SIGL, NEL, JCVT)
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C G l o b a l P a r a m e t e r s
42C-----------------------------------------------
43#include "mvsiz_p.inc"
44C-----------------------------------------------
45C C o m m o n B l o c k s
46C-----------------------------------------------
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER, INTENT(IN) :: JCVT
51 INTEGER NEL
52C REAL
53 my_real
54 . OFFG(*),OFFG0(*),JAC_1(10,NEL),SIG(NEL,6),SIGL(NEL,6)
55 DOUBLE PRECISION
56 . xd1(mvsiz), xd2(mvsiz), xd3(mvsiz), xd4(mvsiz),
57 . yd1(mvsiz), yd2(mvsiz), yd3(mvsiz), yd4(mvsiz),
58 . zd1(mvsiz), zd2(mvsiz), zd3(mvsiz), zd4(mvsiz)
59C-----------------------------------------------
60C L o c a l V a r i a b l e s
61C-----------------------------------------------
62 INTEGER I ,NCH,INDEX(MVSIZ),J
63 my_real
64 . JAC_I(10,MVSIZ)
65 DOUBLE PRECISION
66 . X1(MVSIZ), X2(MVSIZ), X3(MVSIZ), X4(MVSIZ),
67 . y1(mvsiz), y2(mvsiz), y3(mvsiz), y4(mvsiz),
68 . z1(mvsiz), z2(mvsiz), z3(mvsiz), z4(mvsiz)
69C=======================================================================
70C-----Always in global system and fixed then (not like Ismstr=11
71C-----for JCVT>0 Fixed SAV is rotated w/ local system not like Ismstr=1
72 nch=0
73 DO i=1,nel
74 IF(offg(i)/=offg0(i).AND.abs(offg(i)) > one ) THEN
75 nch = nch +1
76 index(nch) = i
77 END IF
78 END DO
79 IF (nch==0) RETURN
80 DO j=1,nch
81 i= index(j)
82 x1(j)=xd1(i)
83 x2(j)=xd2(i)
84 x3(j)=xd3(i)
85 x4(j)=xd4(i)
86 y1(j)=yd1(i)
87 y2(j)=yd2(i)
88 y3(j)=yd3(i)
89 y4(j)=yd4(i)
90 z1(j)=zd1(i)
91 z2(j)=zd2(i)
92 z3(j)=zd3(i)
93 z4(j)=zd4(i)
94 END DO
95C
96 CALL s4jac_i(
97 . x1 ,x2 ,x3 ,x4 ,
98 . y1 ,y2 ,y3 ,y4 ,
99 . z1 ,z2 ,z3 ,z4 ,
100 . jac_i ,nch )
101#include "vectorize.inc"
102 DO j=1,nch
103 i = index(j)
104 jac_1(1:10,i) = jac_i(1:10,j)
105 sigl(i,1:6) = sig(i,1:6)
106 ENDDO
107C-----------
108 RETURN
109 END
subroutine s4jac_i(x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4, jac_i, nel)
Definition s4jac_i.F:35
subroutine s4upd11t12(offg, offg0, xd1, xd2, xd3, xd4, yd1, yd2, yd3, yd4, zd1, zd2, zd3, zd4, jac_1, sig, sigl, nel, jcvt)
Definition s4upd11t12.F:36