Forms of the dissipation function for a class of viscoplastic models