Which of the following is not an assumption for a ideal fluid flow for which Bernoulli's principle is valid: