OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
flow1.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!|| flow1 ../engine/source/fluid/flow1.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| daaacc ../engine/source/fluid/daaacc.F
29!||====================================================================
30 SUBROUTINE flow1(IFLOW, RFLOW, NBGAUGE, A)
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C C o m m o n B l o c k s
37C-----------------------------------------------
38#include "com01_c.inc"
39#include "flowcom.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER IFLOW(*), NBGAUGE
44 my_real rflow(*), a(3,*)
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48 INTEGER N, NEL, NNO, II1, II2, II3, II4, II5, II6
49 INTEGER IR1, IR2, IR3, IR4, IR5, IR6, IR7, IR8
50 INTEGER IADI, IADR, ITYP, JFORM, NDIM, FREESURF
51C
52 iadi=0
53 iadr=0
54 ii4 = 0
55 ii6 = 0
56 DO n=1,nflow
57 ityp=iflow(iadi+2)
58 IF (ityp==3) THEN
59 jform = iflow(iadi+4)
60 nno = iflow(iadi+5)
61 nel = iflow(iadi+6)
62 freesurf = iflow(iadi+25)
63 ii1=iadi+1
64 ii2=ii1+niflow
65 ii3=ii2+nno
66 IF(jform==1) THEN
67 ii4=ii3+3*nel
68 ii5=ii4+nno
69 ii6=ii5
70 ndim=3
71 ELSEIF(jform==2) THEN
72 ii4=ii3+5*nel
73 ii5=ii4+nno
74 ii6=ii5+nbgauge
75 ndim=5
76 ENDIF
77 ir1=iadr+1
78 ir2=ir1+nrflow
79 ir3=ir2+nel*3
80 ir4=ir3+nel*freesurf
81 ir5=ir4+nel
82 ir6=ir5+nel*freesurf
83 ir7=ir6+nel*freesurf
84 ir8=ir7+nel*nel
85 CALL daaacc(ndim, nno, nel, iflow(ii1), iflow(ii2), iflow(ii3), iflow(ii4), iflow(ii6),
86 . a, rflow(ir2), rflow(ir8))
87 ENDIF
88 IF(n < nflow) THEN
89 iadi=iadi+iflow(iadi+14)
90 iadr=iadr+iflow(iadi+15)
91 ENDIF
92 ENDDO
93C
94 RETURN
95 END
96
#define my_real
Definition cppsort.cpp:32
subroutine daaacc(ndim, nno, nel, iflow, ibuf, elem, ibufl, cnp, a, normal, accf)
Definition daaacc.F:31
subroutine flow1(iflow, rflow, nbgauge, a)
Definition flow1.F:31