OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
mvoludt.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
!|| mvoludt ../engine/source/airbag/mvoludt.F
25
!||--- called by ------------------------------------------------------
26
!|| resol ../engine/source/engine/resol.F
27
!||====================================================================
28
SUBROUTINE
mvoludt
(MONVOL,VOLMON)
29
C-----------------------------------------------
30
C I m p l i c i t T y p e s
31
C-----------------------------------------------
32
#include "implicit_f.inc"
33
C-----------------------------------------------
34
C C o m m o n B l o c k s
35
C-----------------------------------------------
36
#include "com04_c.inc"
37
#include "com08_c.inc"
38
#include "param_c.inc"
39
C-----------------------------------------------
40
C D u m m y A r g u m e n t s
41
C-----------------------------------------------
42
INTEGER
MONVOL(*)
43
my_real
44
. volmon(*)
45
C-----------------------------------------------
46
C L o c a l V a r i a b l e s
47
C-----------------------------------------------
48
INTEGER
I, ITYP, K1, KK1
49
C REAL
50
my_real
51
. dtx, dty, gama, p, v, s, rot, al
52
C-----------------------------------------------
53
C
54
dtx=one
55
dty=one
56
k1 = 1
57
kk1 = 0
58
DO
i=1,nvolu
59
ityp=monvol(k1+1)
60
C communication dans resol juste avant mvoludt et envoi a proc0 des volmon
61
C evite difference en parallele quand processeur ne traite pas ts les airbags
62
C voir formules sur min dty / max dtx
63
C debranchement a part pour le proc main (proc ayant a jour p,v,s)
64
IF
(ityp/=1)
THEN
65
gama=volmon(kk1+1)
66
al=volmon(kk1+2)
67
p=volmon(kk1+12)
68
v=volmon(kk1+16)-volmon(kk1+5)
69
s=volmon(kk1+18)
70
rot=volmon(kk1+21)
71
dty=
min
(sqrt(one+al)-al,dty)
72
IF
(rot==zero)
THEN
73
dtx=dty
74
ELSE
75
dtx=
max
(sqrt(one+dt2**2*gama*p*s/v/rot),dtx)
76
ENDIF
77
ENDIF
78
k1 = k1 + nimv
79
kk1 = kk1 + nrvolu
80
ENDDO
81
C
82
dt2=dt2*dty/dtx
83
RETURN
84
END
my_real
#define my_real
Definition
cppsort.cpp:32
min
#define min(a, b)
Definition
macros.h:20
max
#define max(a, b)
Definition
macros.h:21
mvoludt
subroutine mvoludt(monvol, volmon)
Definition
mvoludt.F:29
engine
source
airbag
mvoludt.F
Generated by
1.15.0