OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s8zkeg33.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!|| s8zkeg33 ../engine/source/elements/solid/solide8z/s8zkeg33.f
25!||--- called by ------------------------------------------------------
26!|| s10cumg3 ../engine/source/elements/solid/solide10/s10cumg3.F
27!|| s20cumg3 ../engine/source/elements/solid/solide20/s20cumg3.F
28!|| s4cumg3 ../engine/source/elements/solid/solide4/s4cumg3.F
29!|| s8zlke3 ../engine/source/elements/solid/solide8z/s8zlke3.F
30!||====================================================================
31 SUBROUTINE s8zkeg33(LFT,LLT,
32 . PXYI, PYXI ,PXZI,PZXI ,PYZI,PZYI,
33 . PXYJ, PYXJ ,PXZJ,PZXJ ,PYZJ,PZYJ, G33, KIJ,IS)
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C G l o b a l P a r a m e t e r s
40C-----------------------------------------------
41#include "mvsiz_p.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER LFT,LLT,IS
46C REAL
48 . pxyi(*), pyxi(*) ,pxzi(*),pzxi(*) ,pyzi(*),pzyi(*),
49 . pxyj(*), pyxj(*) ,pxzj(*),pzxj(*) ,pyzj(*),pzyj(*),
50 . g33(3,3,*), kij(3,3,*)
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER I,J,EP
55C REAL
57 . bi(3,3,mvsiz),bj(3,3,mvsiz)
58C---+----1----+----2----+----3----+----4----+----5----+----6----+----7--
59 IF (is==1) THEN
60 DO i=lft,llt
61 bi(1,1,i)=pxyi(i)
62 bi(1,2,i)=pyxi(i)
63 bi(1,3,i)=zero
64 bi(2,1,i)=zero
65 bi(2,2,i)=pyzi(i)
66 bi(2,3,i)=pzyi(i)
67 bi(3,1,i)=pxzi(i)
68 bi(3,2,i)=zero
69 bi(3,3,i)=pzxi(i)
70 ENDDO
71 DO i=1,3
72 DO j=i,3
73 DO ep=lft,llt
74 kij(i,j,ep)=kij(i,j,ep)+bi(1,i,ep)*(g33(1,1,ep)*bi(1,j,ep)+
75 1 g33(1,2,ep)*bi(2,j,ep)+g33(1,3,ep)*bi(3,j,ep))+
76 2 bi(2,i,ep)*(g33(2,1,ep)*bi(1,j,ep)+
77 3 g33(2,2,ep)*bi(2,j,ep)+g33(2,3,ep)*bi(3,j,ep))+
78 4 bi(3,i,ep)*(g33(3,1,ep)*bi(1,j,ep)+
79 5 g33(3,2,ep)*bi(2,j,ep)+g33(3,3,ep)*bi(3,j,ep))
80 ENDDO
81 ENDDO
82 ENDDO
83 ELSE
84 DO i=lft,llt
85 bi(1,1,i)=pxyi(i)
86 bi(1,2,i)=pyxi(i)
87 bi(1,3,i)=zero
88 bi(2,1,i)=zero
89 bi(2,2,i)=pyzi(i)
90 bi(2,3,i)=pzyi(i)
91 bi(3,1,i)=pxzi(i)
92 bi(3,2,i)=zero
93 bi(3,3,i)=pzxi(i)
94 ENDDO
95 DO i=lft,llt
96 bj(1,1,i)=pxyj(i)
97 bj(1,2,i)=pyxj(i)
98 bj(1,3,i)=zero
99 bj(2,1,i)=zero
100 bj(2,2,i)=pyzj(i)
101 bj(2,3,i)=pzyj(i)
102 bj(3,1,i)=pxzj(i)
103 bj(3,2,i)=zero
104 bj(3,3,i)=pzxj(i)
105 ENDDO
106 DO i=1,3
107 DO j=1,3
108 DO ep=lft,llt
109 kij(i,j,ep)=kij(i,j,ep)+bi(1,i,ep)*(g33(1,1,ep)*bj(1,j,ep)+
110 1 g33(1,2,ep)*bj(2,j,ep)+g33(1,3,ep)*bj(3,j,ep))+
111 2 bi(2,i,ep)*(g33(2,1,ep)*bj(1,j,ep)+
112 3 g33(2,2,ep)*bj(2,j,ep)+g33(2,3,ep)*bj(3,j,ep))+
113 4 bi(3,i,ep)*(g33(3,1,ep)*bj(1,j,ep)+
114 5 g33(3,2,ep)*bj(2,j,ep)+g33(3,3,ep)*bj(3,j,ep))
115 ENDDO
116 ENDDO
117 ENDDO
118 ENDIF
119 RETURN
120 END
#define my_real
Definition cppsort.cpp:32
subroutine s8zkeg33(lft, llt, pxyi, pyxi, pxzi, pzxi, pyzi, pzyi, pxyj, pyxj, pxzj, pzxj, pyzj, pzyj, g33, kij, is)
Definition s8zkeg33.F:34