I no longer work on this project, so I cannot support you. However, this solidification code is not physics based, but geometry based. It aims to create structures which look like typical solidified structures, but not following step-by-step physical process. So maybe this is not what you are looking for. On the other hand, you can code some recrystallisation rules based on your thermal fields. The model is 3D.