Changeset 2801 for palm/trunk/SOURCE/lpm_boundary_conds.f90
- Timestamp:
- Feb 14, 2018 4:01:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lpm_boundary_conds.f90
r2718 r2801 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Introduce particle transfer in nested models. 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 230 233 ENDIF 231 234 232 IF ( particles(n)%z >= z u(nz) .AND. particles(n)%particle_mask ) THEN235 IF ( particles(n)%z >= zw(nz) .AND. particles(n)%particle_mask ) THEN 233 236 IF ( ibc_par_t == 1 ) THEN 234 237 ! 235 238 !-- Particle absorption 239 WRITE(9,*) 'particle absorption' 236 240 particles(n)%particle_mask = .FALSE. 237 241 deleted_particles = deleted_particles + 1 … … 239 243 ! 240 244 !-- Particle reflection 241 particles(n)%z = 2.0_wp * z u(nz) - particles(n)%z245 particles(n)%z = 2.0_wp * zw(nz) - particles(n)%z 242 246 particles(n)%speed_z = -particles(n)%speed_z 243 247 IF ( use_sgs_for_particles .AND. &
Note: See TracChangeset
for help on using the changeset viewer.