Consider a solid isolated cylinder containing water, in the earth's gravitational field as we know there is a pressure gradient inside the water like:
$\frac{dP}{dz}=-\rho g$ ; (1)
but from postulated thermodynamics,for a simple system in thermodynamic equilibrium the pressure is defined as Eq.(2):
$P\equiv -\left(\frac{\partial U}{\partial V}\right)$ ; (2)
according to Eq.(2), the pressure gradient must be zero in a thermodynamic equilibrium state (i.e., $\nabla P=0$) but in a gravitational field as Eq.(1) says, it is not!!
So, is the mentioned system in thermodynamic equilibrium?
By the way, I've seen this: (Could a gas be in thermodynamical equilibrium even with a gravitational field?) but this question has not pointed to the postulated thermodynamic definition of pressure (Eq.(2)).