Modular-based multiscale modeling on viscoelasticity of polymer nanocomposites