Guilin Sun
Ansys Employee

You will either need to use HEAT solver to simulate the temerature, or have refractive index at different temerature if you know the data. You can import the material refractive index at each temperature in a different material name, and sweep the material at different temperature with different material data.

You can refer to this example for FDTD-HEAT simulation: