Hi Fu-Kwun Hwang,
Bernoulli's equation (ignoring gravity) can be illustrated with a straight tube connected to a tapering tube connected to another straight tube, with pistons in the straight tubes.
question 1: can this be simulated with an ideal gas between the pistons?
question 2: is Bernoulli's equation  true for an ideal gas?
thanks for thinking about this.