Text this: Curved-pipe flow with boundary conditions involving Bernoulli pressure