A hyperelastic solid is defined as one for which the stress tensor $\sigma$ can be written as the derivative of some stored energy function $W$ w.r.t. the strain $\varepsilon$:
$\sigma = \frac{\partial W}{\partial\varepsilon}.$
Hyperelastic solids are "nice" because the stored energy function can be identified with the Helmholtz free energy, and the Clausius-Duhem relation is satisfied automatically.
For many viscous incompressible fluids, it's possible to write the deviatoric stress tensor as the derivative of some function $P$ with respect to the strain rate tensor $\dot\varepsilon$:
$\tau = \frac{dP}{d\dot\varepsilon}.$
For example, for a Newtonian viscous fluid, $P = \mu\dot\varepsilon : \dot\varepsilon$. The case I'm interested in is that of a power-law fluid where $\tau = K|\dot\varepsilon|^{m - 1}\dot\varepsilon$ for some positive $m$, in which case $P = \frac{K}{m + 1}|\dot\varepsilon|^{m + 1}$. The particular form doesn't matter so much as the fact that $P$ must be convex.
This type of constitutive relation for fluids is nice for the same reasons that the hyperelastic relation for solids are -- you're automatically assured that the Clausius-Duhem inequality is satisfied, and there's a variational principle for the equilibrium state with a given external forcing. Is there a name for viscous fluids with this type of constitutive relation? If so, is there a term for the "potential" function $P$?