Random fiber generation not uniform in certain directions
Hi,
Thanks for the workshop of yesterday!
As I tried to explain (sorry for my bad internet connection), the random fiber generator does not produce uniformly distributed fibers.
A way to see it is to force the fibers to start in the center of the box, and use 90,90,20 as in the figure attached.

This has little effect because in the normal code each fiber starts in a different random location. However, I have done some testing and it is somewhat visible if you rotate the geometries 45deg.
I think a formulation using azimuth and elevation would be more appropriate (I think I saw it yesterday in pumapy).
I already implemented a possibility for PuMA V2.2 (hacking a bit the code because I do not know how to modify the graphical interface...).
In the Import_az_elevation.cpp, I set the azimuth as a uniform distributed (if you want them in 360 degrees, set angle X=0, angle Y=360).
And then Z, I defined it as a gaussian distribution (since it is appropriate for the studies I am carrying out now), with mean 0, and std defined by angle Z in the GUI.
If it is unclear, we can further discuss it.
Regards, Fran