OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s4defo3.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!|| s4defo3 ../starter/source/elements/solid/solide4/s4defo3.F
25!||--- called by ------------------------------------------------------
26!|| s4refsta3 ../starter/source/elements/solid/solide4/s4refsta3.F
27!||====================================================================
28 SUBROUTINE s4defo3(
29 . PX1, PX2, PX3, PX4, PY1, PY2, PY3, PY4,
30 . PZ1, PZ2, PZ3, PZ4, VX1, VX2, VX3, VX4,
31 . VY1, VY2, VY3, VY4, VZ1, VZ2, VZ3, VZ4,
32 . DXX, DXY, DXZ, DYX, DYY, DYZ, DZX, DZY,
33 . DZZ, D4, D5, D6, WXX, WYY, WZZ)
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
42 . vx1(*), vx2(*), vx3(*), vx4(*),
43 . vy1(*), vy2(*), vy3(*), vy4(*),
44 . vz1(*), vz2(*), vz3(*), vz4(*),
45 . px1(*), px2(*), px3(*), px4(*),
46 . py1(*), py2(*), py3(*), py4(*),
47 . pz1(*), pz2(*), pz3(*), pz4(*),
48 . dxx(*), dxy(*), dxz(*),
49 . dyx(*), dyy(*), dyz(*),
50 . dzx(*), dzy(*), dzz(*), d4(*), d5(*), d6(*),
51 . wxx(*), wyy(*), wzz(*)
52C-----------------------------------------------
53C C o m m o n B l o c k s
54C-----------------------------------------------
55#include "vect01_c.inc"
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I
60C REAL
61 my_real
62 . DT1D2
63C-----------------------------------------------
64C 12
65 DO i=lft,llt
66 dxx(i)=px1(i)*vx1(i)+px2(i)*vx2(i)+
67 . px3(i)*vx3(i)+px4(i)*vx4(i)
68 dyy(i)=py1(i)*vy1(i)+py2(i)*vy2(i)+
69 . py3(i)*vy3(i)+py4(i)*vy4(i)
70 dzz(i)=pz1(i)*vz1(i)+pz2(i)*vz2(i)+
71 . pz3(i)*vz3(i)+pz4(i)*vz4(i)
72 dxy(i)=py1(i)*vx1(i)+py2(i)*vx2(i)+
73 . py3(i)*vx3(i)+py4(i)*vx4(i)
74 dxz(i)=pz1(i)*vx1(i)+pz2(i)*vx2(i)+
75 . pz3(i)*vx3(i)+pz4(i)*vx4(i)
76 dyx(i)=px1(i)*vy1(i)+px2(i)*vy2(i)+
77 . px3(i)*vy3(i)+px4(i)*vy4(i)
78 dyz(i)=pz1(i)*vy1(i)+pz2(i)*vy2(i)+
79 . pz3(i)*vy3(i)+pz4(i)*vy4(i)
80 dzx(i)=px1(i)*vz1(i)+px2(i)*vz2(i)+
81 . px3(i)*vz3(i)+px4(i)*vz4(i)
82 dzy(i)=py1(i)*vz1(i)+py2(i)*vz2(i)+
83 . py3(i)*vz3(i)+py4(i)*vz4(i)
84 ENDDO
85C
86 DO i=lft,llt
87 d4(i) = dxy(i)+dyx(i)
88 d5(i) = dyz(i)+dzy(i)
89 d6(i) = dxz(i)+dzx(i)
90 wxx(i) = zero
91 wyy(i) = zero
92 wzz(i) = zero
93 ENDDO
94C
95 RETURN
96C
97 END
#define my_real
Definition cppsort.cpp:32
subroutine s4defo3(px1, px2, px3, px4, py1, py2, py3, py4, pz1, pz2, pz3, pz4, vx1, vx2, vx3, vx4, vy1, vy2, vy3, vy4, vz1, vz2, vz3, vz4, dxx, dxy, dxz, dyx, dyy, dyz, dzx, dzy, dzz, d4, d5, d6, wxx, wyy, wzz)
Definition s4defo3.F:34