An automatic granular structure generation and finite element analysis of heterogeneous semi-solid materials. (September 2015)