66 sxn,syn,szn,cpgas,mm,rl,rul,rvl,rwl,rr,rur,rvr, &
82 INTEGER,
INTENT(IN) :: bcoptfixed,bcopttype
84 REAL(RFREAL),
INTENT(IN) :: betah, betav, cpgas, mach, mm, sxn, syn, szn, &
85 ptot, rl, rul, rvl, rwl, ttot
86 REAL(RFREAL),
INTENT(OUT) :: rer, rr, rur, rvr, rwr, pr
89 REAL(RFREAL) :: al, ar, a02, cp, disc, eta,
g, gm1, igm1, ql, rgas, rm, &
90 sl, sr , tr, ul, ur, vl, vr, wl, wr
100 IF ( bcopttype == bcopt_subsonic .OR. bcopttype == bcopt_mixed )
THEN
102 igm1 = 1.0_rfreal/gm1
111 ql = ul*sxn + vl*syn + wl*szn
115 IF ( abs(ql) < al )
THEN
116 sl =
sqrt(ul*ul + vl*vl + wl*wl)
118 IF ( bcoptfixed == bcopt_fixed_no )
THEN
119 IF ( sl > 1.0e-6_rfreal )
THEN
128 rm = al - 0.5_rfreal*gm1*ql
129 disc = 0.5_rfreal*gm1*eta**2* &
130 (a02/(rm*rm)*(1.0_rfreal + 0.5_rfreal*gm1*eta**2) - 1.0_rfreal)
132 IF ( disc < 0.0_rfreal )
THEN
138 ar = rm/(1.0_rfreal + 0.5_rfreal*gm1*eta*eta)*(1.0_rfreal+
sqrt(disc))
146 ur = sr*
cos(betah)*
cos(betav)
148 wr = sr*
cos(betah)*
sin(betav)
158 IF ( bcopttype == bcopt_mixed )
THEN
164 ur = mach*ar*
cos(betah)*
cos(betav)
165 vr = mach*ar*
sin(betah)
166 wr = mach*ar*
cos(betah)*
sin(betav)
183 ur = mach*ar*
cos(betah)*
cos(betav)
184 vr = mach*ar*
sin(betah)
185 wr = mach*ar*
cos(betah)*
sin(betav)
real(rfreal) function mixtperf_eo_dgpvm(D, G, P, Vm)
real(rfreal) function mixtperf_r_m(M)
real(rfreal) function mixtperf_c_dgp(D, G, P)
real(rfreal) function mixtperf_t_cgr(C, G, R)
real(rfreal) function mixtperf_po_cgpuvw(C, G, P, U, V, W)
real(rfreal) function mixtperf_d_prt(P, R, T)
real(rfreal) function mixtperf_vm_c2co2g(C2, Co2, G)
real(rfreal) function mixtperf_c_co2guvw(Co2, G, U, V, W)
real(rfreal) function mixtperf_c2_grt(G, R, T)
real(rfreal) function mixtperf_po_gptto(G, P, T, To)
subroutine bcondinflowperf(bcOptType, bcOptFixed, ptot, ttot, betah, betav, mach, sxn, syn, szn, cpgas, mm, rl, rul, rvl, rwl, rr, rur, rvr, rwr, rer, pr)
real(rfreal) function mixtperf_c_grt(G, R, T)
real(rfreal) function mixtperf_t_gmato(G, Ma, To)
real(rfreal) function mixtperf_eo_dgpuvw(D, G, P, U, V, W)
real(rfreal) function mixtperf_co2_cguvw(C, G, U, V, W)
real(rfreal) function mixtperf_p_gpotto(G, Po, T, To)
real(rfreal) function mixtperf_g_cpr(Cp, R)
real(rfreal) function mixtperf_p_gmapo(G, Ma, Po)