OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
q4rrota2.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!|| q4rrota2 ../engine/source/elements/solid_2d/quad4/q4rrota2.F
25!||--- called by ------------------------------------------------------
26!|| q4forc2 ../engine/source/elements/solid_2d/quad4/q4forc2.F
27!|| q4rcoor2 ../engine/source/elements/solid_2d/quad4/q4rcoor2.F
28!||====================================================================
29 SUBROUTINE q4rrota2(
30 1 R22, R23, R32, R33,
31 2 Y1, Y2, Y3, Y4,
32 3 Z1, Z2, Z3, Z4,
33 4 NEL)
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40C-----------------------------------------------
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER, INTENT(IN) :: NEL
45C REAL
46 my_real
47 . R22(*), R23(*), R32(*), R33(*),
48 . y1(*), y2(*), y3(*), y4(*),
49 . z1(*), z2(*), z3(*), z4(*)
50C-----------------------------------------------
51c FUNCTION:
52c ARGUMENTS: (I: input, O: output, IO: input & output, W: workspace)
53c TYPE NAME FUNCTION
54c I R22(*)~R33(*) - [Rij]
55c IO Y1(*)~Z4(*) - {X}-->{X'}
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 . Y,Z
63C-----------------------------------------------
64C S o u r c e L i n e s
65C-----------------------------------------------
66C {X}=[R]{X'} <=> {X'}=T([R]){X}
67C INPUT: [R], {X}
68C OUTPUT: {X'}
69 DO i=1,nel
70 y=r22(i)*y1(i)+r32(i)*z1(i)
71 z=r23(i)*y1(i)+r33(i)*z1(i)
72 y1(i)=y
73 z1(i)=z
74 y=r22(i)*y2(i)+r32(i)*z2(i)
75 z=r23(i)*y2(i)+r33(i)*z2(i)
76 y2(i)=y
77 z2(i)=z
78 y=r22(i)*y3(i)+r32(i)*z3(i)
79 z=r23(i)*y3(i)+r33(i)*z3(i)
80 y3(i)=y
81 z3(i)=z
82 y=r22(i)*y4(i)+r32(i)*z4(i)
83 z=r23(i)*y4(i)+r33(i)*z4(i)
84 y4(i)=y
85 z4(i)=z
86 ENDDO
87C
88 RETURN
89 END
90
subroutine q4rrota2(r22, r23, r32, r33, y1, y2, y3, y4, z1, z2, z3, z4, nel)
Definition q4rrota2.F:34