You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This code solves the 2D-channel-flow problem (steady, incompressible) in vorticity-streamfunction formulation using finite difference approximations. After computing initial values for the vorticity field, the iteration starts with solving for the streamfunction using the Jacobi Iteraition. Subseuqently, the vorticity on the boundary is found and the transport equation solved by an upwind scheme to counter numerical diffusion. Finally, U and V velocities are extracted from the streamfunction.
NOTE: As we are looking for the steady state solution, a single computation of the Jacobi Iteration is enough. The computation of residuals is only necessary for unsteady computations.
Reference: Salih, A. (2013, March). Streamfunction-Vorticity Formulation. Indian Institute of Space Science and Technology, Department of Aerospace Engineering. Retrieved May 11, 2020, from https://www.iist.ac.in/sites/default/files/people/psi-omega.pdf
Cite As
Raphael Springer (2026). Channel Flow Solver in Vorticity Streamfunction Formulation (https://in.mathworks.com/matlabcentral/fileexchange/75471-channel-flow-solver-in-vorticity-streamfunction-formulation), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (651 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
