OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fequilibre.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!|| fequilibre ../engine/source/elements/shell/fequilibre.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- uses -----------------------------------------------------
28!|| element_mod ../common_source/modules/elements/element_mod.F90
29!||====================================================================
30 SUBROUTINE fequilibre(A,FZERO,IXC,IXTG)
31 use element_mod , only : nixc,nixtg
32C------------------------------------------------------
33C I m p l i c i t T y p e s
34C------------------------------------------------------
35#include "implicit_f.inc"
36C------------------------------------------------------
37C C o m m o n B l o c k s
38C------------------------------------------------------
39#include "com04_c.inc"
40C------------------------------------------------------
41C D u m m y A r g u m e n t s
42C------------------------------------------------------
43 INTEGER IXC(NIXC,*),IXTG(NIXTG,*)
44C REAL
46 . a(3,*),fzero(3,4,*)
47C------------------------------------------------------
48C L o c a l V a r i a b l e s
49C------------------------------------------------------
50 INTEGER I,J,K,L, WA(NUMNOD)
51C------------------------------------------------------
52C S o u r c e L i n e s
53C------------------------------------------------------
54 DO i=1,numnod
55 wa(i)=0
56 ENDDO
57C------------------------------------------------------
58C I m p l i c a t i o n d e s n o e u d s
59C------------------------------------------------------
60 DO j=1,4
61 DO i=1,numelc
62 k=ixc(j+1,i)
63 wa(k)=wa(k)+1
64 ENDDO
65 ENDDO
66 DO j=1,3
67 DO i=1,numeltg
68 k=ixtg(j+1,i)
69 wa(k)=wa(k)+1
70 ENDDO
71 ENDDO
72C------------------------------------------------------
73C M i s e a 0 d e F Z E R O
74C------------------------------------------------------
75 DO j=1,4
76 DO l=1,3
77 DO i=1,(numelc+numeltg)
78 fzero(l,j,i) = zero
79 ENDDO
80 ENDDO
81 ENDDO
82C------------------------------------------------------
83C S h e l l 4 N
84C------------------------------------------------------
85 DO j=1,4
86 DO l=1,3
87 DO i=1,numelc
88 k=ixc(j+1,i)
89 fzero(l,j,i)=a(l,k)/wa(k)
90 ENDDO
91 ENDDO
92 ENDDO
93C------------------------------------------------------
94C S h e l l 3 N
95C------------------------------------------------------
96 DO j=1,3
97 DO l=1,3
98 DO i=1,numeltg
99 k=ixtg(j+1,i)
100 fzero(l,j,(i+numelc))=a(l,k)/wa(k)
101 ENDDO
102 ENDDO
103 ENDDO
104C------------------------------------------------------
105C M i s e a 0 d e s a c c e l e r a t i o n s
106C------------------------------------------------------
107 DO j=1,4
108 DO l=1,3
109 DO i=1,numelc
110 k=ixc(j+1,i)
111 a(l,k) = zero
112 ENDDO
113 ENDDO
114 ENDDO
115C
116 DO j=1,3
117 DO l=1,3
118 DO i=1,numeltg
119 k=ixtg(j+1,i)
120 a(l,k) = zero
121 ENDDO
122 ENDDO
123 ENDDO
124C
125 RETURN
126 END
#define my_real
Definition cppsort.cpp:32
subroutine fequilibre(a, fzero, ixc, ixtg)
Definition fequilibre.F:31