OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
gettransv.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!|| gettransv ../engine/source/elements/solid/solidez/gettransv.F
25!||--- called by ------------------------------------------------------
26!|| mdama24 ../engine/source/elements/solid/solidez/mdama24.F
27!|| mmodul ../engine/source/elements/solid/solidez/mmodul.F
28!||====================================================================
29 SUBROUTINE gettransv(JFT ,JLT ,GAMA ,QC ,QCG ,
30 . QGC ,QG )
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C G l o b a l P a r a m e t e r s
37C-----------------------------------------------
38#include "mvsiz_p.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER JFT, JLT
43C REAL
45 . gama(mvsiz,6),qc(mvsiz,3,3),qcg(mvsiz,3,3),
46 . qgc(mvsiz,3,3),qg(mvsiz,3,3)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I,J,K
51C REAL
53 . e1(mvsiz,3),e2(mvsiz,3),e3(mvsiz,3)
54C-----------------------------------------------
55 DO j= 1,3
56 DO i=jft,jlt
57 e1(i,j)=gama(i,j)
58 e2(i,j)=gama(i,j+3)
59 ENDDO
60 ENDDO
61 DO i=jft,jlt
62 e3(i,1)=e1(i,2)*e2(i,3)-e1(i,3)*e2(i,2)
63 e3(i,2)=e1(i,3)*e2(i,1)-e1(i,1)*e2(i,3)
64 e3(i,3)=e1(i,1)*e2(i,2)-e1(i,2)*e2(i,1)
65 ENDDO
66C
67 DO j= 1,3
68 DO i=jft,jlt
69 qc(i,1,j)=e1(i,j)*e1(i,j)
70 qc(i,2,j)=e2(i,j)*e2(i,j)
71 qc(i,3,j)=e3(i,j)*e3(i,j)
72C
73 qgc(i,1,j)=e1(i,j)*e2(i,j)
74 qgc(i,2,j)=e2(i,j)*e3(i,j)
75 qgc(i,3,j)=e1(i,j)*e3(i,j)
76 ENDDO
77 ENDDO
78 DO j= 1,3
79 k = j+1
80 IF (k>3) k = 1
81 DO i=jft,jlt
82 qg(i,1,j)=e1(i,j)*e2(i,k)+e2(i,j)*e1(i,k)
83 qg(i,2,j)=e2(i,j)*e3(i,k)+e3(i,j)*e2(i,k)
84 qg(i,3,j)=e3(i,j)*e1(i,k)+e1(i,j)*e3(i,k)
85C
86 qcg(i,1,j)=two*e1(i,j)*e1(i,k)
87 qcg(i,2,j)=two*e2(i,j)*e2(i,k)
88 qcg(i,3,j)=two*e3(i,j)*e3(i,k)
89 ENDDO
90 ENDDO
91C
92 RETURN
93 END
#define my_real
Definition cppsort.cpp:32
subroutine gettransv(jft, jlt, gama, qc, qcg, qgc, qg)
Definition gettransv.F:31