OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
alero2.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "com08_c.inc"
#include "vect01_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine alero2 (off, volo, rhon, flux, flu1, w, vy1, vy2, vy3, vy4, vz1, vz2, vz3, vz4, voln, dvol, vd2, nc1, nc2, nc3, nc4, ngl)

Function/Subroutine Documentation

◆ alero2()

subroutine alero2 ( off,
volo,
rhon,
flux,
flu1,
w,
vy1,
vy2,
vy3,
vy4,
vz1,
vz2,
vz3,
vz4,
voln,
dvol,
vd2,
integer, dimension(*) nc1,
integer, dimension(*) nc2,
integer, dimension(*) nc3,
integer, dimension(*) nc4,
integer, dimension(*) ngl )

Definition at line 33 of file alero2.F.

37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE message_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45#include "comlock.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
50 . off(*), volo(*), rhon(*), flux(4,*), flu1(*), w(3,*),
51 . vy1(*),vy2(*),vy3(*),vy4(*),vz1(*),vz2(*),vz3(*),vz4(*),voln(*), dvol(*), vd2(*)
52 INTEGER NC1(*), NC2(*), NC3(*), NC4(*), NGL(*)
53C-----------------------------------------------
54C C o m m o n B l o c k s
55C-----------------------------------------------
56#include "com08_c.inc"
57#include "vect01_c.inc"
58C-----------------------------------------------
59C L o c a l V a r i a b l e s
60C-----------------------------------------------
61 INTEGER I
62 my_real vy, vz
63C-----------------------------------------------
64C S o u r c e L i n e s
65C-----------------------------------------------
66
67 DO i=lft,llt
68 rhon(i)=rhon(i)/voln(i)
69 dvol(i)=voln(i)-volo(i)+dt1*half*(flu1(i)+flux(1,i)+flux(2,i)+flux(3,i)+flux(4,i))
70 volo(i)=voln(i)
71 ENDDO
72C
73 DO i=lft,llt
74 vy=vy1(i)+vy2(i)+vy3(i)+vy4(i)-(w(2,nc1(i))+w(2,nc2(i))+w(2,nc3(i))+w(2,nc4(i)))
75 vz=vz1(i)+vz2(i)+vz3(i)+vz4(i)-(w(3,nc1(i))+w(3,nc2(i))+w(3,nc3(i))+w(3,nc4(i)))
76 vd2(i)=(vy**2+vz**2)/sixteen
77 ENDDO
78C
79 DO i=lft,llt
80 IF(off(i) /= 0.0 .AND. mtn /= 11)THEN
81 IF(rhon(i) <= 0.0)THEN
82 CALL ancmsg(msgid=12,anmode=aninfo,i1=ngl(i),r1=rhon(i))
83 CALL arret(2)
84 ENDIF
85 ENDIF
86 ENDDO
87C-----------------------------------------------
88 RETURN
#define my_real
Definition cppsort.cpp:32
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