OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
atur17.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!|| atur17 ../engine/source/ale/turbulence/atur17.F
25!||--- called by ------------------------------------------------------
26!|| mmain ../engine/source/materials/mat_share/mmain.F90
27!||--- calls -----------------------------------------------------
28!|| a17yl2 ../engine/source/ale/turbulence/a17yl2.F
29!|| a17yl3 ../engine/source/ale/turbulence/a17yl3.F
30!||====================================================================
31 SUBROUTINE atur17(
32 1 PM, OFF, RHO, RK,
33 2 RE, GEO, VOLN, MAT,
34 3 DELTAX, NGEO,
35 4 VD2, DVOL, AIRE, EINC,
36 5 PTURB, ALOGEY, NEL,
37 6 LFT, LLT, JPOR)
38
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C G l o b a l P a r a m e t e r s
45C-----------------------------------------------
46#include "mvsiz_p.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50#include "com01_c.inc"
51#include "com04_c.inc"
52#include "com08_c.inc"
53#include "param_c.inc"
54C-----------------------------------------------
55C D u m m y A r g u m e n t s
56C-----------------------------------------------
57 INTEGER, INTENT(IN) :: NEL, LFT, LLT, JPOR
58 my_real PM(NPROPM,NUMMAT), OFF(*), RHO(*), RK(*), RE(*),GEO(NPROPG,NUMGEO),VOLN(MVSIZ),
59 . DELTAX(*), VD2(*), DVOL(*), AIRE(*), EINC(*), ALOGEY(*)
60 my_real,INTENT(INOUT) :: PTURB(1:LLT)
61 INTEGER MAT(*),NGEO(*)
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER I
66 my_real ei(mvsiz), yl(mvsiz), gf, cmu, ax, a, gm, xk
67C-----------------------------------------------
68C S o u r c e L i n e s
69C-----------------------------------------------
70C-----------------
71C YL CALCULATION
72C-----------------
73 IF(jpor /= 2)THEN
74 IF(n2d == 0)THEN
75 CALL a17yl3(
76 1 deltax, yl, nel)
77 ELSE
78 CALL a17yl2(
79 1 deltax, yl, aire, nel)
80 ENDIF
81 DO i=lft,llt
82 gf=pm(50,mat(i))
83 cmu=pm(81,mat(i))
84 ax=pm(47,mat(i))
85 a=pm(49,mat(i))
86 gm=one -gf+gf*alogey(i)
87 pturb(i)=two*rk(i)/(voln(i)*three)
88 ei(i)=gm*einc(i)/alogey(i)-dvol(i)*pturb(i)
89 ei(i)=max(zero,ei(i))
90 rk(i)=rk(i)+(ei(i)-re(i)*dt1)*off(i)
91 rk(i)= max(em15,rk(i)/voln(i))
92 xk=rk(i)/rho(i)
93 re(i)=rho(i)*sqrt(xk*sqrt(cmu))**3*sqrt(sqrt(gm))/(ax*yl(i))
94 re(i)=max(em15,re(i))
95 enddo! next I
96 ELSE
97 DO i=lft,llt
98 ! MESH VELOCITY SUPPOSED LOW REGARDING MATERIALVELOCITY V(QUASI EULERIAN)
99 rk(i)=rho(i)*geo(22,ngeo(i))**2*vd2(i)
100 re(i)=(rk(i)**3/rho(i))**half/geo(23,ngeo(i))
101 ENDDO
102 ENDIF
103 RETURN
104 END
subroutine a17yl2(deltax, yl, aire, nel)
Definition a17yl2.F:30
subroutine a17yl3(deltax, yl, nel)
Definition a17yl3.F:30
subroutine atur17(pm, off, rho, rk, re, geo, voln, mat, deltax, ngeo, vd2, dvol, aire, einc, pturb, alogey, nel, lft, llt, jpor)
Definition atur17.F:38
#define max(a, b)
Definition macros.h:21