Effects of thermal history on crystal nucleation in silicate melt: Numerical simulations