- Timestamp:
- Nov 29, 2011 3:11:20 AM (13 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/Makefile
r668 r790 4 4 # Current revisions: 5 5 # ------------------ 6 # +wang_kernel 6 7 # 7 8 # Former revisions: … … 104 105 user_particle_attributes.f90 user_read_restart_data.f90 \ 105 106 user_spectra.f90 user_statistics.f90 wall_fluxes.f90 \ 106 write_3d_binary.f90 write_compressed.f90 write_var_list.f90 107 wang_kernel.f90 write_3d_binary.f90 write_compressed.f90 \ 108 write_var_list.f90 107 109 108 110 OBJS = advec_particles.o advec_s_bc.o advec_s_pw.o advec_s_up.o \ … … 146 148 user_module.o user_parin.o user_particle_attributes.o \ 147 149 user_read_restart_data.o user_spectra.o user_statistics.o \ 148 wall_fluxes.o write_3d_binary.o write_compressed.o write_var_list.o 150 wall_fluxes.o wang_kernel.o write_3d_binary.o write_compressed.o \ 151 write_var_list.o 149 152 150 153 CC = cc … … 175 178 176 179 177 advec_particles.o: modules.o random_function.o 180 advec_particles.o: modules.o random_function.o wang_kernel.o 178 181 advec_s_bc.o: modules.o 179 182 advec_s_pw.o: modules.o … … 322 325 user_statistics.o: modules.o user_module.o 323 326 wall_fluxes.o: modules.o 327 wang_kernel.o: modules.o user_module.o 324 328 write_3d_binary.o: modules.o random_function.o 325 329 write_compressed.o: modules.o -
palm/trunk/SOURCE/data_output_2d.f90
r772 r790 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! bugfix: calculation of 'pr' must depend on the particle weighting factor 6 7 ! 7 8 ! Former revisions: … … 303 304 s_r4 = 0.0 304 305 DO n = psi, psi+prt_count(k,j,i)-1 305 s_r3 = s_r3 + particles(n)%radius**3 306 s_r4 = s_r4 + particles(n)%radius**4 306 s_r3 = s_r3 + particles(n)%radius**3 * & 307 particles(n)%weight_factor 308 s_r4 = s_r4 + particles(n)%radius**4 * & 309 particles(n)%weight_factor 307 310 ENDDO 308 311 IF ( s_r3 /= 0.0 ) THEN -
palm/trunk/SOURCE/data_output_3d.f90
r772 r790 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! bugfix: calculation of 'pr' must depend on the particle weighting factor, 7 ! nzt+1 replaced by nz_do3d for 'pr' 6 8 ! 7 9 ! Former revisions: … … 207 209 DO i = nxl, nxr 208 210 DO j = nys, nyn 209 DO k = nzb, nz t+1211 DO k = nzb, nz_do3d 210 212 psi = prt_start_index(k,j,i) 211 213 s_r3 = 0.0 212 214 s_r4 = 0.0 213 215 DO n = psi, psi+prt_count(k,j,i)-1 214 s_r3 = s_r3 + particles(n)%radius**3 215 s_r4 = s_r4 + particles(n)%radius**4 216 s_r3 = s_r3 + particles(n)%radius**3 * & 217 particles(n)%weight_factor 218 s_r4 = s_r4 + particles(n)%radius**4 * & 219 particles(n)%weight_factor 216 220 ENDDO 217 221 IF ( s_r3 /= 0.0 ) THEN … … 227 231 DO i = nxlg, nxrg 228 232 DO j = nysg, nyng 229 DO k = nzb, nz t+1233 DO k = nzb, nz_do3d 230 234 local_pf(i,j,k) = tend(k,j,i) 231 235 ENDDO -
palm/trunk/SOURCE/diffusion_e.f90
r668 r790 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! diss is also calculated in case that the Wang kernel is used 6 7 ! 7 8 ! Former revisions: … … 160 161 !-- Store dissipation if needed for calculating the sgs particle 161 162 !-- velocities 162 IF ( use_sgs_for_particles ) THEN163 IF ( use_sgs_for_particles .OR. wang_collision_kernel ) THEN 163 164 DO j = nys, nyn 164 165 DO k = nzb_s_inner(j,i)+1, nzt … … 250 251 !-- Store dissipation if needed for calculating the sgs particle 251 252 !-- velocities 252 IF ( use_sgs_for_particles ) THEN253 IF ( use_sgs_for_particles .OR. wang_collision_kernel ) THEN 253 254 DO j = nys, nyn 254 255 DO k = nzb_s_inner(j,i)+1, nzt … … 264 265 ! 265 266 !-- Boundary condition for dissipation 266 IF ( use_sgs_for_particles ) THEN267 IF ( use_sgs_for_particles .OR. wang_collision_kernel ) THEN 267 268 DO i = nxl, nxr 268 269 DO j = nys, nyn … … 368 369 ! 369 370 !-- Store dissipation if needed for calculating the sgs particle velocities 370 IF ( use_sgs_for_particles ) THEN371 IF ( use_sgs_for_particles .OR. wang_collision_kernel ) THEN 371 372 DO k = nzb_s_inner(j,i)+1, nzt 372 373 diss(k,j,i) = dissipation(k) -
palm/trunk/SOURCE/init_3d_model.f90
r788 r790 7 7 ! Current revisions: 8 8 ! ------------------ 9 ! 9 ! diss is also allocated in case that the Wang kernel is used 10 10 ! 11 11 ! Former revisions: … … 331 331 !-- 3D-array for storing the dissipation, needed for calculating the sgs 332 332 !-- particle velocities 333 IF ( use_sgs_for_particles ) THEN333 IF ( use_sgs_for_particles .OR. wang_collision_kernel ) THEN 334 334 ALLOCATE ( diss(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 335 335 ELSE -
palm/trunk/SOURCE/modules.f90
r786 r790 5 5 ! Current revisions: 6 6 ! ----------------- 7 ! 7 ! +turbulence_effects_on_collision, wang_collision_kernel 8 8 ! 9 9 ! Former revisions: … … 1170 1170 INTEGER, DIMENSION(:,:,:), ALLOCATABLE :: prt_count, prt_start_index 1171 1171 1172 LOGICAL :: particle_advection = .FALSE., random_start_position = .FALSE., & 1172 LOGICAL :: turbulence_effects_on_collision = .FALSE., & 1173 particle_advection = .FALSE., random_start_position = .FALSE., & 1173 1174 read_particles_from_restartfile = .TRUE., & 1174 1175 uniform_particles = .TRUE., use_particle_tails = .FALSE., & 1175 1176 use_sgs_for_particles = .FALSE., & 1177 wang_collision_kernel = .FALSE., & 1176 1178 write_particle_statistics = .FALSE. 1177 1179 -
palm/trunk/SOURCE/package_parin.f90
r484 r790 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! +turbulence_effects_on_collision, wang_collision_kernel in particles_par 7 7 ! 8 8 ! Former revisions: … … 83 83 random_start_position, & 84 84 read_particles_from_restartfile, & 85 skip_particles_for_tail, use_particle_tails, & 86 use_sgs_for_particles, & 85 skip_particles_for_tail, & 86 turbulence_effects_on_collision, & 87 use_particle_tails, use_sgs_for_particles, & 87 88 vertical_particle_advection, & 89 wang_collision_kernel, & 88 90 write_particle_statistics 89 91 NAMELIST /spectra_par/ averaging_interval_sp, comp_spectra_level, & -
palm/trunk/SOURCE/sum_up_3d_data.f90
r772 r790 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! bugfix: calculation of 'pr' must depend on the particle weighting factor 6 7 ! 7 8 ! Former revisions: … … 295 296 s_r4 = 0.0 296 297 DO n = psi, psi+prt_count(k,j,i)-1 297 s_r3 = s_r3 + particles(n)%radius**3 298 s_r4 = s_r4 + particles(n)%radius**4 298 s_r3 = s_r3 + particles(n)%radius**3 * & 299 particles(n)%weight_factor 300 s_r4 = s_r4 + particles(n)%radius**4 * & 301 particles(n)%weight_factor 299 302 ENDDO 300 303 IF ( s_r3 /= 0.0 ) THEN -
palm/trunk/SOURCE/time_integration.f90
r708 r790 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! exchange of ghostpoints for array diss 7 7 ! 8 8 ! Former revisions: … … 208 208 CALL exchange_horiz( prho, nbgp ) 209 209 ENDIF 210 IF (humidity .OR. passive_scalar) CALL exchange_horiz( q_p, nbgp )210 IF (humidity .OR. passive_scalar) CALL exchange_horiz( q_p, nbgp ) 211 211 IF ( cloud_droplets ) THEN 212 212 CALL exchange_horiz( ql, nbgp ) … … 215 215 CALL exchange_horiz( ql_vp, nbgp ) 216 216 ENDIF 217 IF ( wang_collision_kernel ) CALL exchange_horiz( diss, nbgp ) 217 218 218 219 CALL cpu_log( log_point(26), 'exchange-horiz-progn', 'stop' ) -
palm/trunk/SOURCE/write_3d_binary.f90
r777 r790 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! bugfix: output of 'ql' also if cloud droplets are used 6 7 ! 7 8 ! Former revisions: … … 141 142 ENDIF 142 143 WRITE ( 14 ) 'q_m '; WRITE ( 14 ) q_m 143 IF ( cloud_physics )THEN144 IF ( cloud_physics .OR. cloud_droplets ) THEN 144 145 WRITE ( 14 ) 'ql '; WRITE ( 14 ) ql 145 146 IF ( ALLOCATED( ql_av ) ) THEN
Note: See TracChangeset
for help on using the changeset viewer.