DESParticleGen_MP.f failed to generate random distribution multiparticle

Hi all,
I used visual studio to build DESParticleGen_MP.f for getting an executable file. After that, I can use .exe to generate a particle_input.dat file of two different diameters particles with the aligned distribution. However, when I changed 0 to 1 (aligned to random) in Pgen_MP.in file, I got a particle_input.dat with nothing inside. Is it possible to use this method to get random distribution multiparticle? or is there any good method to get a random distribution multiparticle? Thanks.

2 Likes

DESParticleGen_MP.f (5.5 KB)

Try this one, use the Pgen_MP.in as the input file.

Hi Yupeng,

This program works. Appreciate your help.