OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
srepiso3.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!|| srepiso3 ../starter/source/elements/solid/solide/srepiso3.F
25!||--- called by ------------------------------------------------------
26!|| srcoor3 ../starter/source/elements/solid/solide/srcoor3.F
27!|| srefsta3 ../starter/source/elements/solid/solide/srefsta3.F
28!||====================================================================
29 SUBROUTINE srepiso3(
30 . X1 ,X2 ,X3 ,X4 ,X5 ,X6 ,X7 ,X8 ,
31 . Y1 ,Y2 ,Y3 ,Y4 ,Y5 ,Y6 ,Y7 ,Y8 ,
32 . Z1 ,Z2 ,Z3 ,Z4 ,Z5 ,Z6 ,Z7 ,Z8 ,
33 . RX ,RY ,RZ ,SX ,SY ,SZ ,TX ,TY ,
34 . TZ ,F1X ,F1Y ,F1Z ,F2X ,F2Y ,F2Z )
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C G l o b a l P a r a m e t e r s
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44C REAL
46 . x1(*), x2(*), x3(*), x4(*), x5(*), x6(*), x7(*), x8(*),
47 . y1(*), y2(*), y3(*), y4(*), y5(*), y6(*), y7(*), y8(*),
48 . z1(*), z2(*), z3(*), z4(*), z5(*), z6(*), z7(*), z8(*),
49 . rx(*) ,ry(*) ,rz(*) ,sx(*) ,sy(*) ,sz(*) ,tx(*) ,ty(*) ,tz(*),
50 . f1x(*),f1y(*),f1z(*),f2x(*),f2y(*),f2z(*)
51C-----------------------------------------------
52C C o m m o n B l o c k s
53C-----------------------------------------------
54#include "vect01_c.inc"
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER I
59C REAL
60 my_real
61 . X17 , X28 , X35 , X46, Y17 , Y28 , Y35 , Y46,
62 . Z17 , Z28 , Z35 , Z46, A17 , A28 , B17 , B28 , C17 , C28
63C=======================================================================
64C Repere isoparametrique
65C
66 DO i=lft,llt
67 f1x(i) = x2(i)+x3(i)-x1(i)-x4(i)
68 f1y(i) = y2(i)+y3(i)-y1(i)-y4(i)
69 f1z(i) = z2(i)+z3(i)-z1(i)-z4(i)
70 f2x(i) = x3(i)+x4(i)-x1(i)-x2(i)
71 f2y(i) = y3(i)+y4(i)-y1(i)-y2(i)
72 f2z(i) = z3(i)+z4(i)-z1(i)-z2(i)
73 ENDDO
74 DO i=lft,llt
75 x17 = x7(i) - x1(i)
76 x28 = x8(i) - x2(i)
77 x35 = x5(i) - x3(i)
78 x46 = x6(i) - x4(i)
79 y17 = y7(i) - y1(i)
80 y28 = y8(i) - y2(i)
81 y35 = y5(i) - y3(i)
82 y46 = y6(i) - y4(i)
83 z17 = z7(i) - z1(i)
84 z28 = z8(i) - z2(i)
85 z35 = z5(i) - z3(i)
86 z46 = z6(i) - z4(i)
87C
88 a17 = x17 + x46
89 a28 = x28 + x35
90 b17 = y17 + y46
91 b28 = y28 + y35
92 c17 = z17 + z46
93 c28 = z28 + z35
94C
95 rx(i) = x17 + x28 - x35 - x46
96 ry(i) = y17 + y28 - y35 - y46
97 rz(i) = z17 + z28 - z35 - z46
98 sx(i) = a17 + a28
99 sy(i) = b17 + b28
100 sz(i) = c17 + c28
101 tx(i) = a17 - a28
102 ty(i) = b17 - b28
103 tz(i) = c17 - c28
104 ENDDO
105C-------------
106 RETURN
107 END SUBROUTINE srepiso3
#define my_real
Definition cppsort.cpp:32
subroutine srepiso3(x1, x2, x3, x4, x5, x6, x7, x8, y1, y2, y3, y4, y5, y6, y7, y8, z1, z2, z3, z4, z5, z6, z7, z8, rx, ry, rz, sx, sy, sz, tx, ty, tz, f1x, f1y, f1z, f2x, f2y, f2z)
Definition srepiso3.F:35