Stagnation flow with a temperature-dependent viscosity