Simulation of feeding flow and prediction of macro porosity of SGI casting based on microstructure formation