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,
74 . A1, A2, A3, A4, D, AREAMX2
75C-----------------------------------------------
76 DO i=1,nel
77 x43 = x4(i) - x3(i)
78 y43 = y4(i) - y3(i)
79 z43 = z4(i) - z3(i)
80 x41 = x4(i) - x1(i)
81 y41 = y4(i) - y1(i)
82 z41 = z4(i) - z1(i)
83 x42 = x4(i) - x2(i)
84 y42 = y4(i) - y2(i)
85 z42 = z4(i) - z2(i)
86C
87 rx(i) = -x41
88 ry(i) = -y41
89 rz(i) = -z41
90 sx(i) = -x42
91 sy(i) = -y42
92 sz(i) = -z42
93 tx(i) = -x43
94 ty(i) = -y43
95 tz(i) = -z43
96C
97 ENDDO
98C
99 DO i=1,nel
100 ji1 = jac_i(1,i)
101 ji2 = jac_i(2,i)
102 ji3 = jac_i(3,i)
103 ji4 = jac_i(4,i)
104 ji5 = jac_i(5,i)
105 ji6 = jac_i(6,i)
106 ji7 = jac_i(7,i)
107 ji8 = jac_i(8,i)
108 ji9 = jac_i(9,i)
109C
110 px1(i)= ji1
111 py1(i)= ji4
112 pz1(i)= ji7
113 px2(i)= ji2
114 py2(i)= ji5
115 pz2(i)= ji8
116 px3(i)= ji3
117 py3(i)= ji6
118 pz3(i)= ji9
119 px4(i)=-(ji1+ji2+ji3)
120 py4(i)=-(ji4+ji5+ji6)
121 pz4(i)=-(ji7+ji8+ji9)
122 ENDDO
123C
124 RETURN
125C
126 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