The behaviour of a lava flow is reproduced by a two-dimensional model of a Bingham liquid flowing down a uniform slope. Such a liquid is described by two rheological parameters, yield stress and viscosity, both of which are strongly temperature-dependent. Assuming a flow rate and an initial temperature of the liquid at the eruption vent, the temperature decrease due to heat radiation and the consequent change in the rheological parameters are computed along the flow. Both full thermal mixing and thermal unmixing are considered. The equations of motion are solved analytically in the approximation of a slow downslope change of the flow parameters. Flow height and velocity are obtained as functions of the distance from the eruption vent; the t...