OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
alero2.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| alero2 ../engine/source/ale/ale2d/alero2.F
25!||--- called by ------------------------------------------------------
26!|| qforc2 ../engine/source/elements/solid_2d/quad/qforc2.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../engine/source/output/message/message.F
29!|| arret ../engine/source/system/arret.F
30!||--- uses -----------------------------------------------------
31!|| message_mod ../engine/share/message_module/message_mod.F
32!||====================================================================
33 SUBROUTINE alero2(OFF,VOLO,RHON,FLUX,FLU1,W,
34 . VY1,VY2,VY3,VY4,VZ1,VZ2,VZ3,VZ4,
35 . VOLN,DVOL,VD2,
36 . NC1,NC2,NC3,NC4,NGL)
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
89 END
subroutine alero2(off, volo, rhon, flux, flu1, w, vy1, vy2, vy3, vy4, vz1, vz2, vz3, vz4, voln, dvol, vd2, nc1, nc2, nc3, nc4, ngl)
Definition alero2.F:37
#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