OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fvbag_mod.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/.
23C---+----1----+----2----+----3----+----4----+----5----+----6----+----7--
24!||====================================================================
25!|| fvbag_mod ../starter/share/modules1/fvbag_mod.F
26!||--- called by ------------------------------------------------------
27!|| applysort2fvm ../starter/source/airbag/fvmesh0.F
28!|| c_fvbag ../starter/source/airbag/c_fvbag.F
29!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
30!|| fvbric ../starter/source/airbag/fvbric.F
31!|| fvdeal ../starter/source/airbag/fvmesh.F
32!|| fvdim ../starter/source/airbag/fvmesh.F
33!|| fvelinte ../starter/source/airbag/fvelinte.F
34!|| fvmesh0 ../starter/source/airbag/fvmesh0.F
35!|| fvmesh1 ../starter/source/airbag/fvmesh.F
36!|| fvnodbr ../starter/source/airbag/fvmbag1.F
37!|| fvwrestp ../starter/source/restart/ddsplit/fvwrestp.F
38!|| genani1 ../starter/source/output/anim/genani1.F
39!|| hm_thgrki_vent ../starter/source/output/th/hm_thgrki_vent.F
40!|| lectur ../starter/source/starter/lectur.F
41!|| name_fvbag ../starter/source/output/th/hm_thgrki_vent.F
42!|| w_front ../starter/source/restart/ddsplit/w_front.F
43!||====================================================================
44 MODULE fvbag_mod
45C-----------------------------------------------
46C m y _ r e a l
47C-----------------------------------------------
48#include "my_real.inc"
49C-----------------------------------------------
50C D e r i v e d T y p e D e f i n i t i o n s
51C-----------------------------------------------
53C-------------------------------
54C Courant number (DT scale factor) & Time Step options
55C-------------------------------
56 my_real cfl_coef, dtmin
57 my_real lambda ! /DT/FVMBAG param 3
58 my_real dtold ! FVMBAG time step from previous cycle
59 INTEGER l_type ! FVMBAG characteristic length option
60 INTEGER id_dt_option ! /DT/FVMBAG/[ID_DT_OPTION]
61C------------------------------------------------
62C Dispersion of pressure around mean pressure
63C------------------------------------------------
64 my_real pdisp_old, pdisp
65C-------------------------------
66C Donnees briques intersectantes
67C-------------------------------
68 INTEGER, DIMENSION(:,:), POINTER :: bric, tbric
69 my_real,
70 . DIMENSION(:,:), POINTER :: xb
71 my_real,
72 . DIMENSION(:,:,:), POINTER :: sfac
73C-----------
74C Dimensions
75C-----------
76 INTEGER nns, nntr, lenp, npoly, lenh, npolh
77C----------------
78C Anim polyhedres
79C----------------
80 INTEGER npolh_anim, nns_anim, id
81 INTEGER, DIMENSION(:), POINTER :: ifvpoly_anim, ifvtadr_anim,
82 . ifvpolh_anim, ifvpadr_anim,
83 . redir_anim
84 INTEGER, DIMENSION(:,:), POINTER :: ifvtri_anim
86 . , DIMENSION(:,:), POINTER :: nod_anim
87C------------------------
88C Polygones et polyhedres
89C------------------------
90 INTEGER, DIMENSION(:), POINTER :: ifvpoly, ifvtadr,
91 . ifvpolh, ifvpadr, idpolh,
92 . ibpolh
93 INTEGER, DIMENSION(:,:), POINTER :: ifvnod, ifvtri
95 . , DIMENSION(:,:), POINTER :: rfvnod
96C------------------------
97C Variables volumes finis
98C------------------------
100 . , DIMENSION(:), POINTER :: mpolh, epolh, ppolh,
101 . rpolh, gpolh, tpolh,
102 . cpapolh, cpbpolh, cpcpolh,
103 . cpdpolh, cpepolh, cpfpolh,
104 . rmwpolh, vpolh_ini
105 my_real
106 . , DIMENSION(:,:), POINTER :: qpolh
107C---------------------------
108C Variables stability
109C---------------------------
110 my_real
111 . dlh
112 my_real
113 . , DIMENSION(:), POINTER :: dtpolh
114C
115 END TYPE fvbag_data
116C---------------------------
117C Data SPMD
118C---------------------------
120 INTEGER nn_l, nna_l, nnsa, nnsa_l, nsa, nelsa, pmain, nni_l
121 INTEGER, DIMENSION(:,:), POINTER :: ibuf_l, ibufa_l, ibufsa_l,
122 . ixsa, elemsa
123 END TYPE fvbag_spmd
124C-----------------------------------------------
125C G l o b a l V a r i a b l e s D e f i n i t i o n
126C-----------------------------------------------
127 INTEGER nfvbag
128 TYPE(fvbag_data), DIMENSION(:), ALLOCATABLE :: fvdata
129 TYPE(fvbag_spmd), DIMENSION(:), ALLOCATABLE :: fvspmd
130 INTEGER, DIMENSION(:), ALLOCATABLE :: fvid
131
132!$OMP THREADPRIVATE(FVSPMD)
133
134C
135 END MODULE fvbag_mod
#define my_real
Definition cppsort.cpp:32
initmumps id
type(fvbag_spmd), dimension(:), allocatable fvspmd
Definition fvbag_mod.F:129
type(fvbag_data), dimension(:), allocatable fvdata
Definition fvbag_mod.F:128
integer, dimension(:), allocatable fvid
Definition fvbag_mod.F:130
integer nfvbag
Definition fvbag_mod.F:127