points 1 and 2 lie on a streamline, the fluid has constant density, the flow is steady, and there is no friction. Although these restrictions sound severe, the Bernoulli equation is very useful, ...
In both cases no special care is taken with regard to nucleation and the parameter of time.