Multiscale modeling approach for polymer nanocomposites