A model of a casting