OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ig3dfint.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!|| ig3dfint ../engine/source/elements/ige3d/ig3dfint.F
25!||--- called by ------------------------------------------------------
26!|| ig3duforc3 ../engine/source/elements/ige3d/ig3duforc3.F
27!||====================================================================
28 SUBROUTINE ig3dfint(
29 1 PM, MXT, KXIG3D, SIG,
30 2 NCTRL, MATB, FX, FY,
31 3 FZ, VOL, BtDBA, DBA,
32 4 SSP_EQ, STIG, NEL, NFT)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C G l o b a l P a r a m e t e r s
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "param_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER, INTENT(IN) :: NFT
49 INTEGER NCTRL, KXIG3D(NIXIG3D,*), MXT(*),NEL
50 my_real
51 . SIG(NEL,6), VOL(*), PM(NPROPM,*)
52 my_real,
53 . DIMENSION(3*NCTRL,MVSIZ) :: matb
54 my_real
55 . fx(mvsiz,*),fy(mvsiz,*),fz(mvsiz,*),btdba(3*nctrl,mvsiz),
56 . dba(6,mvsiz),stig(mvsiz,*),ssp_eq(*),sumx,sumy,sumz
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER I, J, INCTRL
61 my_real
62 . AA,WIP(MVSIZ),STIN(MVSIZ,NCTRL)
63C-----------------------------------------------
64C _
65C / t
66C F = _/ [B] sig dvol
67C
68C NEL
69C [B] = [dNi/dx dNk/dx .. ] \ 3
70C [dNi/dy dNk/dy .. ] | *
71C [dNi/dz dNk/dz .. ] | N
72C [dNj/dx dNl/dx .. ] | C
73C [dNj/dy dNl/dy .. ] | T
74C [dNj/dz dNl/dz .. ] | R
75C [ .. .. .. ] / L
76C
77 DO i=1,nel
78 sumx=zero
79 sumy=zero
80 sumz=zero
81 DO j=1,nctrl
82 IF( j <= kxig3d(3,i+nft) ) THEN
83 inctrl = (j-1)*3
84 sumx=sumx+abs(matb(inctrl+1,i))
85 sumy=sumy+abs(matb(inctrl+2,i))
86 sumz=sumz+abs(matb(inctrl+3,i))
87 ENDIF
88 ENDDO
89 DO j=1,nctrl
90 IF( j <= kxig3d(3,i+nft) ) THEN
91 inctrl = (j-1)*3
92 fx(i,j)=fx(i,j)-vol(i)*(matb(inctrl+1,i)*sig(i,1)
93 + + matb(inctrl+2,i)*sig(i,4)
94 + + matb(inctrl+3,i)*sig(i,6))
95
96 fy(i,j)=fy(i,j)-vol(i)*(matb(inctrl+1,i)*sig(i,4)
97 + + matb(inctrl+2,i)*sig(i,2)
98 + + matb(inctrl+3,i)*sig(i,5))
99
100 fz(i,j)=fz(i,j)-vol(i)*(matb(inctrl+1,i)*sig(i,6)
101 + + matb(inctrl+2,i)*sig(i,5)
102 + + matb(inctrl+3,i)*sig(i,3))
103 stin(i,j)= half*vol(i)*
104 . (abs(matb(inctrl+1,i))*sumx
105 . + abs(matb(inctrl+2,i))*sumy
106 . + abs(matb(inctrl+3,i))*sumz)
107 aa=pm(89,mxt(i))*ssp_eq(i)*ssp_eq(i)
108 stig(i,j)=stig(i,j)+stin(i,j)*aa
109 ENDIF
110 ENDDO
111 ENDDO
112
113
114 RETURN
115 END
subroutine ig3dfint(pm, mxt, kxig3d, sig, nctrl, matb, fx, fy, fz, vol, btdba, dba, ssp_eq, stig, nel, nft)
Definition ig3dfint.F:33