Steady Potential Flow through Box with Staggered Inlet and Outlet

Consider the flow through a two-dimensional box with staggered inlet and outlet as show in the figure below:
The flow enters and exits the box with a uniform speed . The aspect ratio of the box is .
The Demonstration plots the streamlines for this potential flow for a user-set value of .
These streamlines are the solution of the equation subject to the boundary conditions:
BC1: at , for and for ,
BC2: at , for and for ,
BC3: at , for , and
BC4: at , for .
The solution methodology is based on Chebyshev orthogonal collocation with collocation points.
This problem also admits an analytical solution given by T. Bennett [1]:
where . We have found excellent agreement between our numerical solution and the analytical solution.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


[1] T. Bennett, Transport by Advection and Diffusion, New York: Wiley, 2012.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.