Mathematical modeling of rock glacier flow with temperature effects