The following shows the temperature profile in the solid and the liquid zone for the Stefan Approach.
My issue is that with each time step the temperature in the liquid zone should not reduce, but increase as more heat flows in.
Also, It seems that the temperature in the solid is not changing at all not matter what time step I take hence the problem seems to be incorrect or unphysical.
Distribution of the temperature in the liquid zone
Distribution of the solid temperature
the movement of the interface
As comment, I think that the problem is with the hat function
The following shows the temperature profile in the solid and the liquid zone for the Stefan Approach. My issue is that with each time step the temperature in the liquid zone should not reduce, but increase as more heat flows in. Also, It seems that the temperature in the solid is not changing at all not matter what time step I take hence the problem seems to be incorrect or unphysical. Distribution of the temperature in the liquid zone
Distribution of the solid temperature
the movement of the interface
As comment, I think that the problem is with the hat function