OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s4derito3.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!|| s4derito3 ../engine/source/elements/solid/solide4/s4derito3.F
25!||--- called by ------------------------------------------------------
26!|| s4forc3 ../engine/source/elements/solid/solide4/s4forc3.F
27!||====================================================================
28 SUBROUTINE s4derito3(
29 1 OFF, DET, X1, X2,
30 2 X3, X4, Y1, Y2,
31 3 Y3, Y4, Z1, Z2,
32 4 Z3, Z4, PX1, PX2,
33 5 PX3, PX4, PY1, PY2,
34 6 PY3, PY4, PZ1, PZ2,
35 7 PZ3, PZ4, RX, RY,
36 8 RZ, SX, SY, SZ,
37 9 TX, TY, TZ, JAC_I,
38 A NEL)
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43#include "comlock.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER, INTENT(IN) :: NEL
48 my_real
49 . OFF(*),DET(*),
50 . PX1(*), PX2(*), PX3(*), PX4(*),
51 . PY1(*), PY2(*), PY3(*), PY4(*),
52 . PZ1(*), PZ2(*), PZ3(*), PZ4(*),
53 . RX(*), RY(*), RZ(*), SX(*), SY(*), SZ(*),TX(*), TY(*), TZ(*),
54 . JAC_I(10,*)
55 DOUBLE PRECISION
56 . X1(*), X2(*), X3(*), X4(*),
57 . y1(*), y2(*), y3(*), y4(*),
58 . z1(*), z2(*), z3(*), z4(*)
59C-----------------------------------------------
60C C o m m o n B l o c k s
61C-----------------------------------------------
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER I
66C REAL
67C 12
68 my_real
69 . X41, Y41, Z41, X42, Y42, Z42, X43, Y43, Z43
70 my_real
71 . JI1, JI2, JI3,
72 . JI4, JI5, JI6,
73 . JI7, JI8, JI9
74C-----------------------------------------------
75 DO i=1,nel
76 x43 = x4(i) - x3(i)
77 y43 = y4(i) - y3(i)
78 z43 = z4(i) - z3(i)
79 x41 = x4(i) - x1(i)
80 y41 = y4(i) - y1(i)
81 z41 = z4(i) - z1(i)
82 x42 = x4(i) - x2(i)
83 y42 = y4(i) - y2(i)
84 z42 = z4(i) - z2(i)
85C
86 rx(i) = -x41
87 ry(i) = -y41
88 rz(i) = -z41
89 sx(i) = -x42
90 sy(i) = -y42
91 sz(i) = -z42
92 tx(i) = -x43
93 ty(i) = -y43
94 tz(i) = -z43
95C
96 ENDDO
97C
98 DO i=1,nel
99 ji1 = jac_i(1,i)
100 ji2 = jac_i(2,i)
101 ji3 = jac_i(3,i)
102 ji4 = jac_i(4,i)
103 ji5 = jac_i(5,i)
104 ji6 = jac_i(6,i)
105 ji7 = jac_i(7,i)
106 ji8 = jac_i(8,i)
107 ji9 = jac_i(9,i)
108C
109 px1(i)= ji1
110 py1(i)= ji4
111 pz1(i)= ji7
112 px2(i)= ji2
113 py2(i)= ji5
114 pz2(i)= ji8
115 px3(i)= ji3
116 py3(i)= ji6
117 pz3(i)= ji9
118 px4(i)=-(ji1+ji2+ji3)
119 py4(i)=-(ji4+ji5+ji6)
120 pz4(i)=-(ji7+ji8+ji9)
121 ENDDO
122C
123 RETURN
124C
125 END
subroutine s4derito3(off, det, x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4, px1, px2, px3, px4, py1, py2, py3, py4, pz1, pz2, pz3, pz4, rx, ry, rz, sx, sy, sz, tx, ty, tz, jac_i, nel)
Definition s4derito3.F:39