OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fvelprint.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!|| fvelprint ../starter/source/airbag/fvelprint.F
25!||--- called by ------------------------------------------------------
26!|| fvmesh0 ../starter/source/airbag/fvmesh0.F
27!|| init_monvol ../starter/source/airbag/init_monvol.F
28!||====================================================================
29 SUBROUTINE fvelprint(IXC, IXTG, NEL, ITAGEL, ELTG,
30 . IBAGHOL, ILVOUT, IFLAG )
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C C o m m o n B l o c k s
37C-----------------------------------------------
38#include "com04_c.inc"
39#include "param_c.inc"
40#include "units_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER IXC(NIXC,*), IXTG(NIXTG,*)
45 INTEGER, DIMENSION(NEL), INTENT(IN) :: ELTG
46 INTEGER, DIMENSION(NEL), INTENT(IN) :: ITAGEL
47 INTEGER NEL, ILVOUT, IFLAG
48 INTEGER IBAGHOL(NIBHOL,*)
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER I, IFOUND
53 INTEGER IVENT,IVENTYP
54C--------------------------
55C OUTPUT
56C--------------------------
57 WRITE(iout,1000)
58 DO i=1,nel
59 ifound=eltg(i)
60 IF (ifound>numelq.AND.ifound<=numelq+numelc) THEN
61 IF (iflag == 0.AND.itagel(i) == 0.AND.ilvout >= 2) THEN
62 WRITE(iout,1100) i,ixc(nixc,ifound-numelq)
63 ELSEIF (itagel(i) > 0) THEN
64 WRITE(iout,1101) i,ixc(nixc,ifound-numelq),itagel(i)
65 ELSEIF (iflag == 0.AND.itagel(i) < 0) THEN
66 ivent =-itagel(i)
67 iventyp=ibaghol(13,ivent)
68 IF(iventyp == 0) THEN
69 WRITE(iout,1102) i,ixc(nixc,ifound-numelq),ivent
70 ELSE
71 WRITE(iout,1103) i,ixc(nixc,ifound-numelq),ivent
72 ENDIF
73 ENDIF
74 ELSEIF (ifound>numelq+numelc) THEN
75 IF (iflag == 0.AND.itagel(i) == 0.AND.ilvout >= 2) THEN
76 WRITE(iout,1110) i,ixtg(nixtg,ifound-numelq-numelc)
77 ELSEIF (itagel(i) > 0) THEN
78 WRITE(iout,1111)
79 . i,ixtg(nixtg,ifound-numelq-numelc),itagel(i)
80 ELSEIF (iflag == 0.AND.itagel(i) < 0) THEN
81 ivent =-itagel(i)
82 iventyp=ibaghol(13,ivent)
83 IF(iventyp == 0) THEN
84 WRITE(iout,1112) i,ixtg(nixtg,ifound-numelq-numelc),ivent
85 ELSE
86 WRITE(iout,1113) i,ixtg(nixtg,ifound-numelq-numelc),ivent
87 ENDIF
88 ENDIF
89 ENDIF
90 ENDDO
91C
92 1000 FORMAT(/5x,'FVMBAG - AIRBAG ELEMENTS <-> SHELL or SH3N ELEMENTS'
93 . /5x,'---------------------------------------------------')
94 1100 FORMAT(20X,'elem: ',I8,' <-> shell: ',I10)
95 1101 FORMAT(20X,'elem: ',I8,' <-> shell: ',I10,' - inflator : ',I8)
96 1102 FORMAT(20X,'elem: ',I8,' <-> shell: ',I10,' - vent hole: ',I8)
97 1103 FORMAT(20X,'elem: ',I8,' <-> shell: ',I10,' - porous surface: ',I8)
98 1110 FORMAT(20X,'elem: ',I8,' <-> sh3n : ',I10)
99 1111 FORMAT(20X,'elem: ',I8,' <-> sh3n : ',I10,' - inflator : ',I8)
100 1112 FORMAT(20X,'elem: ',I8,' <-> sh3n : ',I10,' - vent hole: ',I8)
101 1113 FORMAT(20X,'elem: ',I8,' <-> sh3n : ',I10,' - porous surface: ',I8)
102C
103 RETURN
104 END
subroutine fvelprint(ixc, ixtg, nel, itagel, eltg, ibaghol, ilvout, iflag)
Definition fvelprint.F:31