Irreversible thermodynamics modelling of plastic deformation of metals