Multiscale modeling and mathematical analysis of materials