Thispaperintroducesanewgeneratoralgorithmandcomputerprogramfor3-Dnumericalsimulationofpackingcon"gurationinagranularassembliescomposedofellipsoidalparticlesofdi!erenta/baspectratios.Eachellipsoidalparticleisapproximatedbytherevolutionofanellipse,formedbyfou