Production of castings, like any other field of technology is aimed at providing high-quality product, free from defects. One of the main causes of defects in castings is the phenomenon of shrinkage of the casting. This phenomenon causes the formation of shrinkage cavities and porosity in the casting. The major preventive measure is supplementing a shortage of liquid metal. For supplement to be effective, it is necessary to use risers in proper shapes. Usually, the risers are selected on the basis of determination the place of formation of hot-spots in the castings. Although in these places the shrinkage defects are most likely to occur, shape and size of these defects are also affected by other factors. The article describes the original program setting out the shape and location of possible cavities in the casting. In the program is also taken into account the effect of temperature on the change in volume of liquid metal and the resultant differences in the shape and size of formed shrinkage cavities. The aim of the article is to describe the influence that have material properties of the mold on the simulation results.