Bridging the length and time scales: from ab initio electronic structure calculations to macroscopic proportions