A method for the generation of 3D representative models of granular based materials | Synapse