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