MosGeo / ParticlePack

Simulate the formation of three-dimensional packings of spherical and non-spherical (regular and irregular) particles with prescribed size distributions.
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

How to control the volume ratio of different types of particles? #16

Open chenxilong1 opened 5 months ago

chenxilong1 commented 5 months ago

hi! I see ResizeType is ByVolume, so I set Bed 1 Grain 1 Proportion = 0.4,Bed 1 Grain 2 Proportion = 0.6, But this can only control the proportion of particle quantity, but cannot control the volume proportion chen 2

MosGeo commented 4 months ago

You are correct. The proportion is currently by the number of grains/particles. It is not by volume. The resizetype is unrealted.

I will keep this in mind for future updates but at this point, I am considering a whole rewrite which will take time.

in the meantime, I think you can write a script to convert your count proportion to volumetric proportion given your pdfs.