I get extremely confused in fluid dynamics problem where the pressure in some points is required.
Consider the ideal fluid in the tank in the following picture. I would like to understand what is the pressure of the fluid in the point a. under the condition of steady flow ($A_1 \gg A_2$). The point a. is located immediately before the start of the hole, so it is still contained in the tank.
My guess: In such problems, where the fluid in the tank is considered to not move at all, I can treat the tank as a static fluid, and the fluid in the tube as a fluid in motion. That means that the pressure in $a.$ is $P_a=P_1+\rho g h$, while the pressure in $b.$, from Bernoulli and continuity equation, is $P_b=P_2$, since $v_b=v_2$ and $h_b=h_2$.
Of course there are very big approximations here, but is this the correct way to think about the problem in the limits of steady flow?
The other option would be that the velocity in $a.$ is equal to $v_b$, but in that case it would be $P_a=P_b=P_2$, from Bernoulli equation, which is even more strange.
If I meet the same problem with a fluid which is not ideal, still incompressible but with viscosity $\eta \neq 0$, would anything change? Would the consideration $P_a=\rho g h +P_1$ still be valid?