Multi-scale modeling of building materials