- Timestamp:
- Feb 22, 2012 11:21:19 AM (13 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/advec_particles.f90
r832 r835 4 4 ! Current revisions: 5 5 ! ------------------ 6 ! 6 ! Bugfix: array diss can be used only in case of Wang kernel 7 7 ! 8 8 ! Former revisions: … … 180 180 distance, drdt, drdt_ini, drdt_m, dt_ros, dt_ros_last, & 181 181 dt_ros_next, dt_ros_sum, dt_ros_sum_ini, d2rdt2, d2rdtdr, & 182 dt_gap, dt_particle, dt_particle_m, d_sum, e _a, e_int,&182 dt_gap, dt_particle, dt_particle_m, d_sum, epsilon, e_a, e_int,& 183 183 e_int_l, e_int_u, e_mean_int, e_s, err_ros, errmax, exp_arg, & 184 184 exp_term, fs_int, gg, g1, g2, g3, g4, integral, & … … 639 639 ! 640 640 !-- Determine dissipation class index of this gridbox 641 eclass = INT( diss(k,j,i) * 1.0E4 / 1000.0 * & 642 dissipation_classes ) + 1 643 IF ( hall_kernel .OR. diss(k,j,i) * 1.0E4 < 0.001 ) THEN 641 IF ( wang_kernel ) THEN 642 eclass = INT( diss(k,j,i) * 1.0E4 / 1000.0 * & 643 dissipation_classes ) + 1 644 epsilon = diss(k,j,i) 645 ELSE 646 epsilon = 0.0 647 ENDIF 648 IF ( hall_kernel .OR. epsilon * 1.0E4 < 0.001 ) THEN 644 649 eclass = 0 ! Hall kernel is used 645 650 ELSE -
palm/trunk/SOURCE/lpm_collision_kernels.f90
r829 r835 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix: array diss can be used only in case of Wang kernel 7 7 ! 8 8 ! Former revisions: … … 242 242 radclass(1:radius_classes) = particles(pstart:pend)%radius * 100.0 243 243 244 epsilon = diss(k1,j1,i1) * 1.0E4 ! dissipation rate in cm**2/s**-3 244 IF ( wang_kernel ) THEN 245 epsilon = diss(k1,j1,i1) * 1.0E4 ! dissipation rate in cm**2/s**-3 246 ELSE 247 epsilon = 0.0 248 ENDIF 245 249 urms = 202.0 * ( epsilon / 400.0 )**( 0.33333333333 ) 246 250
Note: See TracChangeset
for help on using the changeset viewer.