Үүнийг мессежээр илгээх: A thermomechanical framework for constitutive models for rate-independent dissipative materials