OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
blero2.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "mvsiz_p.inc"
#include "param_c.inc"
#include "com08_c.inc"
#include "vect01_c.inc"
#include "scr17_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine blero2 (alph, volo, rhon, flux, flu1, off, pm, ngl, voln, aire, d1, d2, d3, d4, d5, d6, vd2, dvol, vy1, vy2, vy3, vy4, vz1, vz2, vz3, vz4, mat)

Function/Subroutine Documentation

◆ blero2()

subroutine blero2 ( alph,
volo,
rhon,
flux,
flu1,
off,
pm,
integer, dimension(*) ngl,
voln,
aire,
d1,
d2,
d3,
d4,
d5,
d6,
vd2,
dvol,
vy1,
vy2,
vy3,
vy4,
vz1,
vz2,
vz3,
vz4,
integer, dimension(*) mat )

Definition at line 33 of file blero2.F.

38 USE message_mod
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43#include "comlock.inc"
44C-----------------------------------------------
45C G l o b a l P a r a m e t e r s
46C-----------------------------------------------
47#include "mvsiz_p.inc"
48C-----------------------------------------------
49C C o m m o n B l o c k s
50C-----------------------------------------------
51#include "param_c.inc"
52#include "com08_c.inc"
53#include "vect01_c.inc"
54#include "scr17_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
59 . alph(*), volo(*), rhon(*), flux(4,*), flu1(*),
60 . off(*), pm(npropm,*),voln(mvsiz),
61 . aire(*), d1(*), d2(*), d3(*), d4(*), d5(*), d6(*), vd2(*), dvol(*),
62 . vy1(*), vy2(*), vy3(*), vy4(*),
63 . vz1(*), vz2(*), vz3(*), vz4(*)
64 INTEGER MAT(*)
65C-----------------------------------------------
66C L o c a l V a r i a b l e s
67C-----------------------------------------------
68 INTEGER I, II, NGL(*)
70 . vy, vz, scal
71C-----------------------------------------------
72
73 DO i=lft,llt
74 voln(i)=voln(i)*alph(i)
75 aire(i)=aire(i)*alph(i)
76 rhon(i) = rhon(i) / max(em30,voln(i))
77 dvol(i) = voln(i)-volo(i)+dt1*half*(flu1(i)
78 . +flux(1,i)+flux(2,i)+flux(3,i)+flux(4,i))
79 volo(i)=voln(i)
80 ENDDO
81
82 DO i=lft,llt
83 IF(alph(i)==zero)THEN
84 rhon(i) =pm( 1,mat(i))
85 dvol(i) =zero
86 off(i) =zero
87 idel7nok = 1
88 ENDIF
89 ENDDO
90
91 DO i=lft,llt
92 vy=vy1(i)+vy2(i)+vy3(i)+vy4(i)
93 vz=vz1(i)+vz2(i)+vz3(i)+vz4(i)
94 vd2(i)=(vy**2+vz**2)/sixteen
95 ENDDO
96
97 DO i=lft,llt
98 IF((mtn==11).OR.(rhon(i)>zero))THEN
99 IF(alph(i)<one)THEN
100 scal=abs(dvol(i))/
101 . max(em15,voln(i)*dt1*abs(d1(i)+d2(i)+d3(i)))
102 scal= min(one,scal)
103 d1(i)=d1(i)*scal
104 d2(i)=d2(i)*scal
105 d3(i)=d3(i)*scal
106 d4(i)=d4(i)*scal
107 d5(i)=d5(i)*scal
108 d6(i)=d6(i)*scal
109 ENDIF
110 ELSE
111 ii = nft+i
112 CALL ancmsg(msgid=12,anmode=aninfo,
113 . i1=ngl(i),r1=rhon(i))
114 CALL arret(2)
115 ENDIF
116 ENDDO !next I
117
118 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20
#define max(a, b)
Definition macros.h:21
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889
subroutine arret(nn)
Definition arret.F:87