ParticlePack
ParticlePack copied to clipboard
how to obtain a randomly uniformly distributed model
Hi, Thank you for sharing this interesting code. I have a question. I want to obtain a random aggregate model of concrete through the code you shared, but when I build the model, small particles will sink below under the action of gravity. I want to know how to obtain a randomly uniformly distributed model. I would like to know if I can achieve my goal by modifying certain parameters.
@kalaklalal you can change the PDF.
- Create a uniform disribution in the PDFs folder with your desired sizes. See exmples in the folder.
- In the parameters.txt file, change the PDF to the filename you created.
Hi, Thank you for sharing this interesting code. I have a question. I want to obtain a random aggregate model of concrete through the code you shared, but when I build the model, small particles will sink below under the action of gravity. I want to know how to obtain a randomly uniformly distributed model. I would like to know if I can achieve my goal by modifying certain parameters.
Hi, Did you succeed on how to obtain a randomly uniformly distributed model. I also want to know how to achieve this goal. Thank you very much. @MosGeo @kalaklalal