Automation of the casting process by the use of simulation software