OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
animig3d.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!|| animig3d ../engine/source/output/anim/generate/animig3d.F
25!||--- called by ------------------------------------------------------
26!|| genani ../engine/source/output/anim/generate/genani.F
27!||--- calls -----------------------------------------------------
28!|| projecig3d ../engine/source/elements/ige3d/projecig3d.f
29!||--- uses -----------------------------------------------------
30!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
31!|| message_mod ../engine/share/message_module/message_mod.F
32!||====================================================================
33 SUBROUTINE animig3d(ELBUF_TAB,IPARG ,X ,D , V ,A ,
34 . WIGE ,KXIG3D ,IXIG3D,IG3DSOLID,NANIM3D_L,X_TEMP,
35 . D_TEMP ,V_TEMP ,A_TEMP,TABSTRESL,IGEO ,KNOT ,
36 . ITAB ,IPARTIG3D,IPART , CONT, CONT_TEMP,
37 . FINT, FINT_TEMP, FEXT, FEXT_TEMP, FREAC, FREAC_TEMP,KNOTLOCPC,KNOTLOCEL)
38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
41 USE elbufdef_mod
42 USE message_mod
43C-----------------------------------------------
44C I m p l i c i t T y p e s
45C-----------------------------------------------
46#include "implicit_f.inc"
47C-----------------------------------------------
48C G l o b a l P a r a m e t e r s
49C-----------------------------------------------
50#include "mvsiz_p.inc"
51C-----------------------------------------------
52C C o m m o n B l o c k s
53C-----------------------------------------------
54#include "vect01_c.inc"
55#include "com01_c.inc"
56#include "com04_c.inc"
57#include "param_c.inc"
58#include "scr17_c.inc"
59C-----------------------------------------------
60C D u m m y A r g u m e n t s
61C-----------------------------------------------
62 INTEGER KXIG3D(NIXIG3D,*),IXIG3D(*),IGEO(NPROPGI,*),
63 . NANIM3D_L, IPARG(NPARG,*), ITAB(*) ! DISCUTER AVEC SEB DE COMMENT RENVOYER NANIM3D_L
64 INTEGER IG3DSOLID(8,27,*),IPARTIG3D(*),IPART(LIPART1,*)
65 TYPE (ELBUF_STRUCT_), TARGET, DIMENSION(NGROUP) :: ELBUF_TAB
67 . x(3,*),d(3,*),v(3,*),a(3,*),wige(*),knot(*),
68 . x_temp(3,*),d_temp(3,*),v_temp(3,*),
69 . a_temp(3,*),tabstresl(6,*),cont(3,*),cont_temp(3,*),
70 . fint(3,*),fint_temp(3,*),fext(3,*),fext_temp(3,*),
71 . freac(6,*),freac_temp(3,*),knotlocpc(*),knotlocel(*)
72C-----------------------------------------------
73C L o c a l V a r i a b l e s
74C-----------------------------------------------
75 INTEGER NISOELCUT, NG, NBG, NCTRL, ITEST, NEL_P, I, PX,PY,PZ
76C----------------------------------------------------------
77 NISOELCUT = 0
78 ng=1
79 DO WHILE (ng<=ngroup)
80 nel_p = 0
81 itest = 0
82 IF (iparg(5,ng)==101) THEN
83 nft=iparg(3,ng)
84 IF (ng==ngroup) THEN
85 nel_p = iparg(2,ng)
86 ELSE
87 i=nft+1
88 nel_p=nel_p+1
89 DO WHILE (i<numelig3d)
90 IF (ipartig3d(i+1)==ipartig3d(i)) THEN
91 nel_p=nel_p+1
92 i=i+1
93 ELSE
94 EXIT
95 END IF
96 END DO
97 ENDIF
98 nbg = (nel_p-1)/nvsiz + 1
99 nctrl = iparg(75,ng)
100 px = igeo(41,iparg(62,ng))
101 py = igeo(42,iparg(62,ng))
102 pz = igeo(43,iparg(62,ng))
103 CALL projecig3d(elbuf_tab, iparg , x , d, v,a,
104 . wige , kxig3d , ixig3d,
105 . ig3dsolid, nanim3d_l, x_temp, d_temp, v_temp,a_temp,
106 . tabstresl, igeo , knot ,
107 . ng , nbg , nisoelcut,
108 . nctrl , nel_p , itab ,cont , cont_temp,
109 . fint, fint_temp, fext, fext_temp, freac, freac_temp,
110 . px, py, pz,knotlocpc,knotlocel)
111 ng=ng+nbg
112 ELSE
113 ng=ng+1
114 ENDIF
115 ENDDO
116C-----------
117 RETURN
118 END
subroutine animig3d(elbuf_tab, iparg, x, d, v, a, wige, kxig3d, ixig3d, ig3dsolid, nanim3d_l, x_temp, d_temp, v_temp, a_temp, tabstresl, igeo, knot, itab, ipartig3d, ipart, cont, cont_temp, fint, fint_temp, fext, fext_temp, freac, freac_temp, knotlocpc, knotlocel)
Definition animig3d.F:38
#define my_real
Definition cppsort.cpp:32
subroutine projecig3d(elbuf_tab, iparg, x, d, v, a, wige, kxig3d, ixig3d, ig3dsolid, nanim3d_l, x_temp, d_temp, v_temp, a_temp, tabstresl, igeo, knot, ng, nbg, nisoelcut, nctrl, nel_p, itab, cont, cont_temp, fint, fint_temp, fext, fext_temp, freac, freact_temp, px, py, pz, knotlocpc, knotlocel)
Definition projecig3d.F:41