A discrete numerical model for granular assemblies | Synapse