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