Changeset 116 for palm/trunk/SOURCE
- Timestamp:
- Oct 11, 2007 2:30:27 AM (17 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r114 r116 7 7 (user_interface). 8 8 9 init_grid, init_pegrid, modules, user_interface 9 Frequence of sorting particles can be controlled with new particles_par 10 parameter dt_sort_particles. Sorting is moved from the SGS timestep loop in 11 advec_particles after the end of this loop. 12 13 advec_particles, check_parameters, init_grid, init_pegrid, modules, package_parin, read_var_list, user_interface, write_var_list 10 14 11 15 -
palm/trunk/SOURCE/advec_particles.f90
r114 r116 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Sorting of particles is controlled by dt_sort_particles and moved from 7 ! the SGS timestep loop after the end of this loop. 6 8 ! Bugfix: pleft/pright changed to pnorth/psouth in sendrecv of particle tail 7 9 ! numbers along y … … 3254 3256 ! ENDDO 3255 3257 3256 !3257 !-- Sort particles in the sequence the gridboxes are stored in the memory3258 CALL sort_particles3259 3260 3258 ! WRITE ( 9, * ) '*** advec_particles: ##9' 3261 3259 ! CALL local_flush( 9 ) … … 3286 3284 3287 3285 ENDDO ! timestep loop 3286 3287 3288 ! 3289 !-- Sort particles in the sequence the gridboxes are stored in the memory 3290 time_sort_particles = time_sort_particles + dt_3d 3291 IF ( time_sort_particles >= dt_sort_particles ) THEN 3292 CALL sort_particles 3293 time_sort_particles = MOD( time_sort_particles, & 3294 MAX( dt_sort_particles, dt_3d ) ) 3295 ENDIF 3288 3296 3289 3297 -
palm/trunk/SOURCE/check_parameters.f90
r114 r116 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Multigrid solver allows topography 6 ! Multigrid solver allows topography, checking of dt_sort_particles 7 7 ! 8 8 ! Former revisions: … … 1500 1500 1501 1501 ! 1502 !-- Check the interval for sorting particles. 1503 !-- Using particles as cloud droplets requires sorting after each timestep. 1504 IF ( dt_sort_particles /= 0.0 .AND. cloud_droplets ) THEN 1505 dt_sort_particles = 0.0 1506 IF ( myid == 0 ) THEN 1507 PRINT*, '+++ WARNING: check_parameters:' 1508 PRINT*, ' dt_sort_particles is reset to 0.0 because ', & 1509 'of cloud_droplets = .TRUE.' 1510 ENDIF 1511 ENDIF 1512 1513 ! 1502 1514 !-- Set the default intervals for data output, if necessary 1503 1515 !-- NOTE: dt_dosp has already been set in package_parin -
palm/trunk/SOURCE/init_grid.f90
r114 r116 789 789 !-- Bit 4: wall to the left 790 790 !-- Bit 5: wall to the right 791 !-- Bit 6: inside / outside building (1/0)791 !-- Bit 6: inside building 792 792 793 793 flags = 0 -
palm/trunk/SOURCE/modules.f90
r114 r116 5 5 ! Actual revisions: 6 6 ! ----------------- 7 ! + flags, wall_flags_1..107 ! +dt_sort_particles, time_sort_particles, flags, wall_flags_1..10 8 8 ! 9 9 ! Former revisions: … … 876 876 LOGICAL, DIMENSION(:), ALLOCATABLE :: particle_mask, tail_mask 877 877 878 REAL :: c_0 = 3.0, dt_min_part = 0.0002, 878 REAL :: c_0 = 3.0, dt_min_part = 0.0002, dt_sort_particles = 0.0, & 879 879 dt_write_particle_data = 9999999.9, dvrp_psize = 9999999.9, & 880 880 end_time_prel = 9999999.9, initial_weighting_factor = 1.0, & … … 883 883 particle_advection_start = 0.0, sgs_wfu_part = 0.3333333, & 884 884 sgs_wfv_part = 0.3333333, sgs_wfw_part = 0.3333333, & 885 time_ write_particle_data = 0.0885 time_sort_particles = 0.0, time_write_particle_data = 0.0 886 886 887 887 REAL, DIMENSION(max_number_of_particle_groups) :: & -
palm/trunk/SOURCE/package_parin.f90
r77 r116 45 45 NAMELIST /particles_par/ bc_par_b, bc_par_lr, bc_par_ns, bc_par_t, & 46 46 density_ratio, radius, dt_dopts, & 47 dt_min_part, dt_prel, 47 dt_min_part, dt_prel, dt_sort_particles, & 48 48 dt_write_particle_data, dvrp_psize, & 49 49 end_time_prel, initial_weighting_factor, & -
palm/trunk/SOURCE/read_var_list.f90
r110 r116 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! +time_sort_particles 7 7 ! 8 8 ! Former revisions: … … 46 46 USE indices 47 47 USE model_1d 48 USE particle_attributes 48 49 USE pegrid 49 50 USE profil_parameter … … 395 396 CASE ( 'time_run_control' ) 396 397 READ ( 13 ) time_run_control 398 CASE ( 'time_sort_particles' ) 399 READ ( 13 ) time_sort_particles 397 400 CASE ( 'timestep_scheme' ) 398 401 READ ( 13 ) timestep_scheme -
palm/trunk/SOURCE/write_var_list.f90
r110 r116 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! +time_sort_particles 7 7 ! 8 8 ! Former revisions: … … 46 46 USE indices 47 47 USE model_1d 48 USE particle_attributes 48 49 USE pegrid 49 50 USE profil_parameter … … 341 342 WRITE ( 14 ) 'time_run_control ' 342 343 WRITE ( 14 ) time_run_control 344 WRITE ( 14 ) 'time_sort_particles ' 345 WRITE ( 14 ) time_sort_particles 343 346 WRITE ( 14 ) 'timestep_scheme ' 344 347 WRITE ( 14 ) timestep_scheme
Note: See TracChangeset
for help on using the changeset viewer.