Solution (source code)

= Solution

For this steady, inviscid, constant-density flow without a body force, <Bernoulli's theorem> says that
$$
\boxed{\frac p\rho+\frac12(u^2+v^2)\text{ is constant along each streamline}}.
$$
Its constant may vary from one <streamline> to another because the flow has <vorticity>.