Clear Filters
Clear Filters

Generating random non overlaping spheres inside a cylinder having certain volume fraction

2 views (last 30 days)
This article is for 3-d synthetic microstructure generation.
The code given in this article generates random ellipsoid in cubic domain. But my requirement is of a cylindrical domain.
So I need help on how to change this code for cylindrical domain??
Shubham on 9 Dec 2022
@Jan Ellipsoids will do good. It will be more generic.. I am also trying to get the centre of ellipsoids and parameters a,b and c of ellipse as an output so that I can build a cad model out of it. Also the cylindrical domain boundary should also be visible
Jan on 9 Dec 2022
Are the dimensions of the ellipsoids fixed? What do you call a,b,c? The Euler-angles? 2 angles are sufficient already.
Unfortunately the modifications of the code are not trivial, because the test for intersecting ellipsoids is more demanding than of spheres. Did you try this by your own?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!