Changeset 2632 for palm/trunk
- Timestamp:
- Nov 20, 2017 3:35:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lpm_exchange_horiz.f90
r2630 r2632 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix in write statement 28 ! 29 ! 2630 2017-11-20 12:58:20Z schwenkel 27 30 ! Enabled particle advection with grid stretching. Furthermore, the CFL- 28 31 ! criterion is checked for every particle at every time step. … … 1139 1142 particles => grid_particles(k,j,i)%particles(1:number_of_particles) 1140 1143 DO n = 1, number_of_particles 1141 1142 1144 IF(ABS(particles(n)%speed_x) > & 1143 1145 (dx/(particles(n)%age-particles(n)%age_m)) .OR. & … … 1146 1148 ABS(particles(n)%speed_z) > & 1147 1149 ((zw(k)-zw(k-1))/(particles(n)%age-particles(n)%age_m))) THEN 1148 WRITE( message_string, * ) 'PARTICLE VIOLATED CFL CRITERION'& 1149 ': particle with id ',particles(n)%id,' will be deleted!' 1150 WRITE( message_string, * ) & 1151 'Particle violated CFL-criterion: particle with id ', & 1152 particles(n)%id,' will be deleted!' 1150 1153 CALL message( 'lpm_check_cfl', 'PA0475', 0, 1, 0, 6, 0 ) 1151 1154 particles(n)%particle_mask= .FALSE.
Note: See TracChangeset
for help on using the changeset viewer.