OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fequilibre.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> 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
32
C------------------------------------------------------
33
C I m p l i c i t T y p e s
34
C------------------------------------------------------
35
#include "implicit_f.inc"
36
C------------------------------------------------------
37
C C o m m o n B l o c k s
38
C------------------------------------------------------
39
#include "com04_c.inc"
40
C------------------------------------------------------
41
C D u m m y A r g u m e n t s
42
C------------------------------------------------------
43
INTEGER
IXC(NIXC,*),IXTG(NIXTG,*)
44
C REAL
45
my_real
46
. a(3,*),fzero(3,4,*)
47
C------------------------------------------------------
48
C L o c a l V a r i a b l e s
49
C------------------------------------------------------
50
INTEGER
I,J,K,L, WA(NUMNOD)
51
C------------------------------------------------------
52
C S o u r c e L i n e s
53
C------------------------------------------------------
54
DO
i=1,numnod
55
wa(i)=0
56
ENDDO
57
C------------------------------------------------------
58
C I m p l i c a t i o n d e s n o e u d s
59
C------------------------------------------------------
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
72
C------------------------------------------------------
73
C M i s e a 0 d e F Z E R O
74
C------------------------------------------------------
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
82
C------------------------------------------------------
83
C S h e l l 4 N
84
C------------------------------------------------------
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
93
C------------------------------------------------------
94
C S h e l l 3 N
95
C------------------------------------------------------
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
104
C------------------------------------------------------
105
C M i s e a 0 d e s a c c e l e r a t i o n s
106
C------------------------------------------------------
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
115
C
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
124
C
125
RETURN
126
END
my_real
#define my_real
Definition
cppsort.cpp:32
fequilibre
subroutine fequilibre(a, fzero, ixc, ixtg)
Definition
fequilibre.F:31
engine
source
elements
shell
fequilibre.F
Generated by
1.15.0