Closed random Sphere Pack
10 views (last 30 days)
Show older comments
Hi Guys
I need a Closed Random sphere pack with radius distribution for my Master Thesis.
i write code and its run good.
but i have 1 problem.
When Matlab Place Some Spheres and check their Overlapping, some spheres have free space between each other and matlab cant place another sphere there. i need a porous space that have porosity about 35-37%. but matlab take too many time for make that porous. if anyone can help me plz reply. i need make closed sphere pack or transfer spheres to near each other.
Tnx
3 Comments
Ismail Can Karaoglu
on 3 Nov 2020
Hi, I also need such a code for my thesis. Could you please share the code with me?
My mail: ismailckaraoglu@gmail.com
Thanks in advance.
Answers (1)
Giao Vu
on 15 Nov 2019
are you using only 1 size sphere? you could try to make the spheres size adjustable (+-20%)and adjust the you code to 'shrink' or expand a little when needed.
3 Comments
Giao Vu
on 15 Nov 2019
for one size particle you can only obtain up to 35% porosity. (https://en.wikipedia.org/wiki/Random_close_pack). The higher the max_size/min_size ratio the smaller the porosity you can get. You can try first to randomly embed sphere in the medium, if successful, make the next step to expain it (for example 20%, if it doesn't work try sth like 19% and so forth).
In the case of overlapping, one coud try to calculate how much overlapping and shrink the particle accordingly (up to 20% less, for example).
There are different techniques, like in DEM (Discrete Element Method), after fill up the geometry, they start to run simulation to compact them. or you could also use periodic packing/boundary. You could try to look into opensource software like Woo or Yade where they have implemented this packing method.
Giao Vu
on 15 Nov 2019
I just saw this one, not sure if it would help :)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!