Modelling of inelastic bending of a metal sheet with thermal coupling