compdyn / partmc

Particle-resolved stochastic atmospheric aerosol model
http://lagrange.mechse.illinois.edu/partmc/
GNU General Public License v2.0
28 stars 16 forks source link

modify particle creation time #56

Open gradcshou opened 8 years ago

gradcshou commented 8 years ago

For current code, emitted and diluted particles have creation time equal to the current time. That is aero_particle%least_create_time (aero_particle%greatest_create_time) is essentially equal to time = real(i_time, kind=dp) * run_part_opt%del_t in the run_part.F90.

On the other hand, the emitted (diluted) particles all go through one mosaic_timestep at the end of time loop. So would it be more natural to define creation time of particles to be time - del_t rather than time as it is right now? In other words, based on the current definition of creation time, particles created at some time go through one time step of mosaic but what happens after one time step of mosaic is also considered to happen at time, which seemed to be a bit weird.