OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
atur17.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "com08_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine atur17 (pm, off, rho, rk, re, geo, voln, mat, deltax, ngeo, vd2, dvol, aire, einc, pturb, alogey, nel, lft, llt, jpor)

Function/Subroutine Documentation

◆ atur17()

subroutine atur17 ( pm,
off,
rho,
rk,
re,
geo,
voln,
integer, dimension(*) mat,
deltax,
integer, dimension(*) ngeo,
vd2,
dvol,
aire,
einc,
dimension(1:llt), intent(inout) pturb,
alogey,
integer, intent(in) nel,
integer, intent(in) lft,
integer, intent(in) llt,
integer, intent(in) jpor )

Definition at line 31 of file atur17.F.

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
subroutine a17yl2(deltax, yl, aire, nel)
Definition a17yl2.F:30
subroutine a17yl3(deltax, yl, nel)
Definition a17yl3.F:30
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21