OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
mvoludt.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "com08_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine mvoludt (monvol, volmon)

Function/Subroutine Documentation

◆ mvoludt()

subroutine mvoludt ( integer, dimension(*) monvol,
volmon )

Definition at line 28 of file mvoludt.F.

29C-----------------------------------------------
30C I m p l i c i t T y p e s
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C C o m m o n B l o c k s
35C-----------------------------------------------
36#include "com04_c.inc"
37#include "com08_c.inc"
38#include "param_c.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER MONVOL(*)
44 . volmon(*)
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48 INTEGER I, ITYP, K1, KK1
49C REAL
51 . dtx, dty, gama, p, v, s, rot, al
52C-----------------------------------------------
53C
54 dtx=one
55 dty=one
56 k1 = 1
57 kk1 = 0
58 DO i=1,nvolu
59 ityp=monvol(k1+1)
60C communication in resol just before mvoludt and sending to proc0 of volmon
61C avoid difference in parallel when processor does not handle all airbags
62C see formulas on min dty / max dtx
63C separate branch for the main proc (proc having updated 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
81C
82 dt2=dt2*dty/dtx
83 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20
#define max(a, b)
Definition macros.h:21