OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c33stif2el.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!|| c33stif2el ../engine/source/elements/solid/solidez/c33stif2el.f
25!||--- called by ------------------------------------------------------
26!|| mmodul ../engine/source/elements/solid/solidez/mmodul.F
27!||--- calls -----------------------------------------------------
28!|| cbatran3v ../engine/source/elements/solid/solidez/cbatran3v.F
29!||====================================================================
30 SUBROUTINE c33stif2el(NEL ,QC ,QCG ,QGC ,QG ,
31 . C33 ,CC ,G33 ,CG )
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C G l o b a l P a r a m e t e r s
38C-----------------------------------------------
39#include "mvsiz_p.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER NEL
44C REAL
46 . qc(mvsiz,3,3),qcg(mvsiz,3,3),qgc(mvsiz,3,3),qg(mvsiz,3,3),
47 . g3(mvsiz,3),c33(mvsiz,3),cc(mvsiz,3,3),cg(mvsiz,3,3),g33(mvsiz,3,3)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER I,J,K,ISYM
52C REAL
54 . b(mvsiz,3,3)
55C-----------------------------------------------
56 isym = 0
57C
58 DO i=1,nel
59 b(i,1:3,1:3)=zero
60 ENDDO
61 DO j= 1,3
62 DO i=1,nel
63 b(i,j,j)=c33(i,j)
64 ENDDO
65 ENDDO
66 CALL cbatran3v(1,nel ,qc ,b ,qcg,isym)
67C
68 DO j= 1,3
69 DO k= 1,3
70 DO i=1,nel
71 cg(i,j,k)=half*b(i,j,k)
72 ENDDO
73 ENDDO
74 ENDDO
75C---------------[G']->[G33]----
76 isym = 1
77 DO i=1,nel
78 b(i,1:3,1:3)=zero
79 ENDDO
80 DO j= 1,3
81 DO i=1,nel
82 b(i,j,j)=c33(i,j)
83 ENDDO
84 ENDDO
85 CALL cbatran3v(1,nel ,qcg ,b ,qcg,isym)
86C
87 DO j= 1,3
88 DO k= j,3
89 DO i=1,nel
90 g33(i,j,k)=fourth*b(i,j,k)
91 ENDDO
92 ENDDO
93 ENDDO
94C---------------[C']->[CC]----
95 DO i=1,nel
96 b(i,1:3,1:3)=zero
97 ENDDO
98 DO j= 1,3
99 DO i=1,nel
100 b(i,j,j)=c33(i,j)
101 ENDDO
102 ENDDO
103 CALL cbatran3v(1,nel ,qc ,b ,qc,isym)
104C
105 DO j= 1,3
106 DO k= j,3
107 DO i=1,nel
108 cc(i,j,k)=b(i,j,k)
109 ENDDO
110 ENDDO
111 ENDDO
112C
113 DO j= 1,3
114 DO k= j+1,3
115 DO i=1,nel
116 cc(i,k,j)=cc(i,j,k)
117 g33(i,k,j)=g33(i,j,k)
118 ENDDO
119 ENDDO
120 ENDDO
121C
122 RETURN
123 END
subroutine c33stif2el(nel, qc, qcg, qgc, qg, c33, cc, g33, cg)
Definition c33stif2el.F:32
subroutine cbatran3v(jft, jlt, vqi, kk, vqj, isym)
Definition cbatran3v.F:31
subroutine cg(dim, mat, rhs, sol, max_iter, tol)
#define my_real
Definition cppsort.cpp:32