OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fvdim.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
!|| fvdim ../engine/source/airbag/fvdim.F
25
!||--- called by ------------------------------------------------------
26
!|| resol ../engine/source/engine/resol.F
27
!||--- uses -----------------------------------------------------
28
!|| fvbag_mod ../engine/share/modules/fvbag_mod.F
29
!||====================================================================
30
SUBROUTINE
fvdim
(MONVOL)
31
C-----------------------------------------------
32
C M o d u l e s
33
C-----------------------------------------------
34
USE
fvbag_mod
35
C-----------------------------------------------
36
C I m p l i c i t T y p e s
37
C-----------------------------------------------
38
#include "implicit_f.inc"
39
C-----------------------------------------------
40
C C o m m o n B l o c k s
41
C-----------------------------------------------
42
#include "com04_c.inc"
43
#include "param_c.inc"
44
C-----------------------------------------------
45
C D u m m y A r g u m e n t s
46
C-----------------------------------------------
47
INTEGER
MONVOL(*)
48
C-----------------------------------------------
49
C L o c a l V a r i a b l e s
50
C-----------------------------------------------
51
INTEGER
K1, N, ITYP
52
C
53
k1=1
54
nfvbag
=0
55
DO
n=1,nvolu
56
ityp=monvol(k1-1+2)
57
IF
(ityp==6.OR.ityp==8)
THEN
58
monvol(k1-1+57)=0
59
nfvbag
= monvol(k1-1+29)
60
ENDIF
61
k1=k1+nimv
62
ENDDO
63
C
64
RETURN
65
END
66
!||====================================================================
67
!|| fv_switch_crit ../engine/source/airbag/fvdim.F
68
!||--- called by ------------------------------------------------------
69
!|| resol ../engine/source/engine/resol.F
70
!||--- uses -----------------------------------------------------
71
!|| fvbag_mod ../engine/share/modules/fvbag_mod.F
72
!||====================================================================
73
SUBROUTINE
fv_switch_crit
(MONVOL,CHECK_NPOLH)
74
C checks if at least one FVMBAGS is using NPOLH to switch to UP
75
C In that case, additional communication is needed
76
C
77
C-----------------------------------------------
78
C M o d u l e s
79
C-----------------------------------------------
80
USE
fvbag_mod
81
C-----------------------------------------------
82
C I m p l i c i t T y p e s
83
C-----------------------------------------------
84
#include "implicit_f.inc"
85
C-----------------------------------------------
86
C C o m m o n B l o c k s
87
C-----------------------------------------------
88
#include "com04_c.inc"
89
#include "param_c.inc"
90
C-----------------------------------------------
91
C D u m m y A r g u m e n t s
92
C-----------------------------------------------
93
INTEGER
MONVOL(*)
94
LOGICAL
CHECK_NPOLH
95
C-----------------------------------------------
96
C L o c a l V a r i a b l e s
97
C-----------------------------------------------
98
INTEGER
K1, N, ITYP
99
C
100
101
check_npolh = .false.
102
k1=1
103
DO
n=1,nvolu
104
ityp=monvol(k1-1+2)
105
IF
(ityp==8)
THEN
106
IF
(monvol(k1-1+37) > 0) check_npolh = .true.
107
ENDIF
108
k1=k1+nimv
109
ENDDO
110
C
111
RETURN
112
END
113
fv_switch_crit
subroutine fv_switch_crit(monvol, check_npolh)
Definition
fvdim.F:74
fvdim
subroutine fvdim(monvol)
Definition
fvdim.F:31
fvbag_mod
Definition
fvbag_mod.F:44
fvbag_mod::nfvbag
integer nfvbag
Definition
fvbag_mod.F:127
engine
source
airbag
fvdim.F
Generated by
1.15.0