Approach on simulation of solidification and shrinkage of gravity cast salt cores