Modeling amorphous materials: from hydrogel packings to mesoscale models.