OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
srrota3.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!|| srrota3 ../engine/source/elements/solid/solide/srrota3.F
25!||--- called by ------------------------------------------------------
26!|| s8cforc3 ../engine/source/elements/thickshell/solide8c/s8cforc3.F
27!|| s8eforc3 ../engine/source/elements/solid/solide8e/s8eforc3.F
28!|| s8forc3 ../engine/source/elements/solid/solide8/s8forc3.F
29!|| s8zforc3 ../engine/source/elements/solid/solide8z/s8zforc3.F
30!|| scforc3 ../engine/source/elements/thickshell/solidec/scforc3.F
31!|| sforc3 ../engine/source/elements/solid/solide/sforc3.F
32!|| srcoor3 ../engine/source/elements/solid/solide/srcoor3.F
33!|| suser43 ../engine/source/elements/solid/sconnect/suser43.F
34!|| szforc3 ../engine/source/elements/solid/solidez/szforc3.F
35!||====================================================================
36 SUBROUTINE srrota3(
37 1 R11, R12, R13, R21,
38 2 R22, R23, R31, R32,
39 3 R33, X1, X2, X3,
40 4 X4, X5, X6, X7,
41 5 X8, Y1, Y2, Y3,
42 6 Y4, Y5, Y6, Y7,
43 7 Y8, Z1, Z2, Z3,
44 8 Z4, Z5, Z6, Z7,
45 9 Z8, NEL)
46C-----------------------------------------------
47C I m p l i c i t T y p e s
48C-----------------------------------------------
49#include "implicit_f.inc"
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 . R11(*), R12(*), R13(*),
56 . R21(*), R22(*), R23(*),
57 . R31(*), R32(*), R33(*),
58 . X1(*), X2(*), X3(*), X4(*), X5(*), X6(*), X7(*), X8(*),
59 . Y1(*), Y2(*), Y3(*), Y4(*), Y5(*), Y6(*), Y7(*), Y8(*),
60 . Z1(*), Z2(*), Z3(*), Z4(*), Z5(*), Z6(*), Z7(*), Z8(*)
61C-----------------------------------------------
62C C o m m o n B l o c k s
63C-----------------------------------------------
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER I
68C REAL
69 my_real
70 . X,Y,Z
71C-----------------------------------------------
72C X=RX' <=> X'=t(R)X chgt de base.
73 DO 10 I=1,nel
74 x=r11(i)*x1(i)+r21(i)*y1(i)+r31(i)*z1(i)
75 y=r12(i)*x1(i)+r22(i)*y1(i)+r32(i)*z1(i)
76 z=r13(i)*x1(i)+r23(i)*y1(i)+r33(i)*z1(i)
77 x1(i)=x
78 y1(i)=y
79 z1(i)=z
80 x=r11(i)*x2(i)+r21(i)*y2(i)+r31(i)*z2(i)
81 y=r12(i)*x2(i)+r22(i)*y2(i)+r32(i)*z2(i)
82 z=r13(i)*x2(i)+r23(i)*y2(i)+r33(i)*z2(i)
83 x2(i)=x
84 y2(i)=y
85 z2(i)=z
86 x=r11(i)*x3(i)+r21(i)*y3(i)+r31(i)*z3(i)
87 y=r12(i)*x3(i)+r22(i)*y3(i)+r32(i)*z3(i)
88 z=r13(i)*x3(i)+r23(i)*y3(i)+r33(i)*z3(i)
89 x3(i)=x
90 y3(i)=y
91 z3(i)=z
92 x=r11(i)*x4(i)+r21(i)*y4(i)+r31(i)*z4(i)
93 y=r12(i)*x4(i)+r22(i)*y4(i)+r32(i)*z4(i)
94 z=r13(i)*x4(i)+r23(i)*y4(i)+r33(i)*z4(i)
95 x4(i)=x
96 y4(i)=y
97 z4(i)=z
98 x=r11(i)*x5(i)+r21(i)*y5(i)+r31(i)*z5(i)
99 y=r12(i)*x5(i)+r22(i)*y5(i)+r32(i)*z5(i)
100 z=r13(i)*x5(i)+r23(i)*y5(i)+r33(i)*z5(i)
101 x5(i)=x
102 y5(i)=y
103 z5(i)=z
104 x=r11(i)*x6(i)+r21(i)*y6(i)+r31(i)*z6(i)
105 y=r12(i)*x6(i)+r22(i)*y6(i)+r32(i)*z6(i)
106 z=r13(i)*x6(i)+r23(i)*y6(i)+r33(i)*z6(i)
107 x6(i)=x
108 y6(i)=y
109 z6(i)=z
110 x=r11(i)*x7(i)+r21(i)*y7(i)+r31(i)*z7(i)
111 y=r12(i)*x7(i)+r22(i)*y7(i)+r32(i)*z7(i)
112 z=r13(i)*x7(i)+r23(i)*y7(i)+r33(i)*z7(i)
113 x7(i)=x
114 y7(i)=y
115 z7(i)=z
116 x=r11(i)*x8(i)+r21(i)*y8(i)+r31(i)*z8(i)
117 y=r12(i)*x8(i)+r22(i)*y8(i)+r32(i)*z8(i)
118 z=r13(i)*x8(i)+r23(i)*y8(i)+r33(i)*z8(i)
119 x8(i)=x
120 y8(i)=y
121 z8(i)=z
122 10 CONTINUE
123c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 RETURN
125 END
subroutine srrota3(r11, r12, r13, r21, r22, r23, r31, r32, r33, x1, x2, x3, x4, x5, x6, x7, x8, y1, y2, y3, y4, y5, y6, y7, y8, z1, z2, z3, z4, z5, z6, z7, z8, nel)
Definition srrota3.F:46