37 INTEGER,
INTENT(IN) :: NP
39 DOUBLE PRECISION,
INTENT(OUT) :: pGAMMA
44 INTEGER IMJK, IJMK, IJKM
46 DOUBLE PRECISION,
PARAMETER :: THIRD = (1.0d0/3.0d0)
55 DOUBLE PRECISION cUg, cVg, cWg
56 DOUBLE PRECISION Us, Vs, Ws
75 cug = avg_x_e(
u_g(imjk),
u_g(ijk), 1)
76 cvg = avg_y_n(
v_g(ijmk),
v_g(ijk))
78 us = des_vel_new(np,1)
79 vs = des_vel_new(np,2)
83 slip = sqrt((cug-us)**2 + (cvg-vs)**2)
85 cwg = avg_z_t(
w_g(ijkm),
w_g(ijk))
86 ws = des_vel_new(np,3)
87 slip = sqrt((cug-us)**2 + (cvg-vs)**2 + (cwg-ws)**2)
99 n_re = (2.0d0*des_radius(np)*slip*
ro_g(ijk)) /
mu_g(ijk)
105 n_nu = 2.0d0 + 0.6d0 *((n_re)**
half * (n_pr)**third)
108 pgamma = (n_nu *
k_g(ijk))/(2.0d0 * des_radius(np))
111 WRITE(*,*)
'INVALID DES CONVECTION MODEL' 112 error_stop
'INVALID DES CONVECTION MODEL'
integer, parameter ranz_1952
integer des_conv_corr_enum
subroutine mfix_exit(myID, normal_termination)
double precision, dimension(:), allocatable v_g
double precision, dimension(:), allocatable w_g
double precision, parameter half
double precision, parameter large_number
double precision, dimension(:), allocatable mu_g
double precision, dimension(:), allocatable u_g
double precision, dimension(:), allocatable k_g
double precision, dimension(:), allocatable ro_g
subroutine calc_gamma_des(NP, pGAMMA)
double precision, parameter zero
double precision, dimension(:), allocatable c_pg