Fundamentals of solidification phenomena