Textmeddelande: A thermomechanical framework for constitutive models for rate-independent dissipative materials