Irreversible thermodynamics and variational principles with applications to viscoelasticity | lit.salon