Flow Through a Rectangular Duct

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Consider the fluid flow through a rectangular duct. The flow velocity in the cross section obeys the following governing equation:



The associated boundary conditions are (no slip condition) on the four sides of the duct.

The analytical solution of the partial differential equation obtained using the separation of variables technique [1] is given by:


where .

The Demonstration uses the finite element method embedded in Mathematica's NDSolve to display the velocity distribution at the nodes of the user-set discretization of the domain. A value of the root-mean-square deviation (RMSD) is reported on the plot as an indication of the accuracy of the numerical solution when compared to the exact analytic solution. For the smaller values of the cell measure parameter, one finds excellent agreement between our numerical solution and the analytic solution (i.e. the RMSD is quite small).


Contributed by: Housam Binous, Ahmed Bellagi, and Brian G. Higgins (August 2015)
Open content licensed under CC BY-NC-SA




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

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.