Novel implementation of homogenization method to predict effective properties of periodic materials