Отправить по sms: A thermomechanical framework for constitutive models for rate-independent dissipative materials