Aggregate packing generator used for the simulation of aggregate in composites. It can be used especially for meso-scale analysis of concrete and asphalt composites .Example file is provided for the simulation of hollow cylinder "Example.m"
Generates aggregates according to defined volumetric ratios for each diameter.
Generates aggregate with ellipsoids shapes
where the variables defined as:
x,y,z: as vectors defining the specimen dimension. x and y are vectors defining a polygon section in xy plane and z=[zmin zmax] is boundaries of the extrusion of the polygon
x2,y2,z2: as vectors defining the hole dimension to be substracted from the shape of (x,y,z). x2 and y2 are vectors defining a polygon section in xy plane and z2=[zmin2 zmax2] is boundaries of the extrusion of the polygon
Classes_diameters: Particles classes diameters vector (descendingly)
Classes_particle_ratios: Particles volumetric ratio for each class (descendingly)
m: Particles shape distribution factor. m=1 for spheres and m>>1 for elongated ellipsoid shapes.
er: Spacing factor between particles to avoid contact [0.05-0.1].
Classes: A variable containing generated particles and not yet packed into specimen
Ellipsoids: (N*9) array. each column represent:
(:,1): radius of ellipsoids at direction 1
(:,2): radius of ellipsoids at direction 2
(:,3): radius of ellipsoids at direction 3
(:,4): x-cooridante of centroid
(:,5): y-coordinate of centroid
(:,6): z-coordinate of centroid
(:,7): Inclination angle 1
(:,8): Inclination angle 2
(:,9): Inclination angle 3
 Unger, Jörg F., and Stefan Eckardt. "Multiscale modeling of concrete." Archives of Computational Methods in Engineering18.3 (2011): 341.