Modeling of thermal stress cycling in refractory materials