Ignore:
Timestamp:
Nov 23, 2018 9:20:21 AM (5 years ago)
Author:
raasch
Message:

bugfix to guarantee correct particle releases in case that the release interval is smaller than the model timestep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/lpm_init.f90

    r3524 r3560  
    2525! -----------------
    2626! $Id$
     27! set the first particle release time
     28!
     29! 3524 2018-11-14 13:36:44Z raasch
    2730! added missing working precision
    2831!
     
    260263                curvature_solution_effects, density_ratio, grid_particles,     &
    261264                isf,i_splitting_mode, initial_weighting_factor, ibc_par_b,     &
    262                 ibc_par_lr, ibc_par_ns, ibc_par_t, iran_part, log_z_z0,        &
     265                ibc_par_lr, ibc_par_ns, ibc_par_t, iran_part,                  &
     266                last_particle_release_time, log_z_z0,                          &
    263267                max_number_of_particle_groups, min_nr_particle,                &
    264268                number_concentration,                                          &
     
    654658       iran_part = iran_part + myid
    655659
    656        CALL lpm_create_particle (PHASE_INIT)
     660!
     661!--    Create the particle set, and set the initial particles
     662       CALL lpm_create_particle( phase_init )
     663       last_particle_release_time = particle_advection_start
     664
    657665!
    658666!--    User modification of initial particles
Note: See TracChangeset for help on using the changeset viewer.