If I understood correctly then if you have a 'pressure field' and you have a pressure difference between two points in it, then there is a force acting. (This is the explanation of Archimedes principle , the upthrust is due to pressure difference at top and bottom of immersed object)
So, I've started to think of pressure as a 'potential' of sorts sort of like 'voltage'. Now the problem is you define pressure using the equation
$${p} * \vec{dA} = \vec{dF}$$
But on the other hand, $$\vec{F} = -q \nabla V$$
What is weird to mean is that voltage is related to force (indirectly) by an integral while pressure is a potential defined using a derivative of sorts.
Particularly speaking can 'potential functions' be both defined by derivatives and integrals? I was of the opinion that you can only get them using integrals
Now coming to the main question, clearly force points in the direction of steepest descent of potential in the electrodynamics case. However how would one figure out the direction due to pressure?