OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sdefot3.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!|| sdefot3 ../engine/source/elements/solid/solide/sdefot3.F
25!||--- called by ------------------------------------------------------
26!|| jacob_f0 ../engine/source/elements/solid/solide8e/jacob_f0.F
27!|| sforc3 ../engine/source/elements/solid/solide/sforc3.F
28!|| szforc3 ../engine/source/elements/solid/solidez/szforc3.F
29!||====================================================================
30 SUBROUTINE sdefot3(
31 1 PX1, PX2, PX3, PX4,
32 2 PY1, PY2, PY3, PY4,
33 3 PZ1, PZ2, PZ3, PZ4,
34 4 VX1, VX2, VX3, VX4,
35 5 VX5, VX6, VX7, VX8,
36 6 VY1, VY2, VY3, VY4,
37 7 VY5, VY6, VY7, VY8,
38 8 VZ1, VZ2, VZ3, VZ4,
39 9 VZ5, VZ6, VZ7, VZ8,
40 A DXX, DXY, DXZ, DYX,
41 B DYY, DYZ, DZX, DZY,
42 C DZZ, NEL)
43C-----------------------------------------------
44C I m p l i c i t T y p e s
45C-----------------------------------------------
46#include "implicit_f.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER, INTENT(IN) :: NEL
54 my_real
55 . VX1(*), VX2(*), VX3(*), VX4(*), VX5(*), VX6(*), VX7(*), VX8(*),
56 . VY1(*), VY2(*), VY3(*), VY4(*), VY5(*), VY6(*), VY7(*), VY8(*),
57 . VZ1(*), VZ2(*), VZ3(*), VZ4(*), VZ5(*), VZ6(*), VZ7(*), VZ8(*),
58 . PX1(*), PX2(*), PX3(*), PX4(*),
59 . PY1(*), PY2(*), PY3(*), PY4(*),
60 . PZ1(*), PZ2(*), PZ3(*), PZ4(*),
61 . DXX(*), DXY(*), DXZ(*),
62 . DYX(*), DYY(*), DYZ(*),
63 . DZX(*), DZY(*), DZZ(*)
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER I, J
68 my_real
69 . VX17, VY17, VZ17,
70 . VX28, VY28, VZ28,
71 . VX35, VY35, VZ35,
72 . VX46, VY46, VZ46
73C-----------------------------------------------
74 DO I=1,nel
75 vx17=vx1(i)-vx7(i)
76 vx28=vx2(i)-vx8(i)
77 vx35=vx3(i)-vx5(i)
78 vx46=vx4(i)-vx6(i)
79 vy17=vy1(i)-vy7(i)
80 vy28=vy2(i)-vy8(i)
81 vy35=vy3(i)-vy5(i)
82 vy46=vy4(i)-vy6(i)
83 vz17=vz1(i)-vz7(i)
84 vz28=vz2(i)-vz8(i)
85 vz35=vz3(i)-vz5(i)
86 vz46=vz4(i)-vz6(i)
87!
88 dxx(i)=px1(i)*vx17+px2(i)*vx28+
89 . px3(i)*vx35+px4(i)*vx46
90 dyy(i)=py1(i)*vy17+py2(i)*vy28+
91 . py3(i)*vy35+py4(i)*vy46
92 dzz(i)=pz1(i)*vz17+pz2(i)*vz28+
93 . pz3(i)*vz35+pz4(i)*vz46
94 dxy(i)=py1(i)*vx17+py2(i)*vx28+
95 . py3(i)*vx35+py4(i)*vx46
96 dxz(i)=pz1(i)*vx17+pz2(i)*vx28+
97 . pz3(i)*vx35+pz4(i)*vx46
98 dyx(i)=px1(i)*vy17+px2(i)*vy28+
99 . px3(i)*vy35+px4(i)*vy46
100 dyz(i)=pz1(i)*vy17+pz2(i)*vy28+
101 . pz3(i)*vy35+pz4(i)*vy46
102 dzx(i)=px1(i)*vz17+px2(i)*vz28+
103 . px3(i)*vz35+px4(i)*vz46
104 dzy(i)=py1(i)*vz17+py2(i)*vz28+
105 . py3(i)*vz35+py4(i)*vz46
106 ENDDO
107C-----------
108 RETURN
109 END
subroutine sdefot3(px1, px2, px3, px4, py1, py2, py3, py4, pz1, pz2, pz3, pz4, vx1, vx2, vx3, vx4, vx5, vx6, vx7, vx8, vy1, vy2, vy3, vy4, vy5, vy6, vy7, vy8, vz1, vz2, vz3, vz4, vz5, vz6, vz7, vz8, dxx, dxy, dxz, dyx, dyy, dyz, dzx, dzy, dzz, nel)
Definition sdefot3.F:43