Channel Flow Solver in Vorticity Streamfunction Formulation

A solver for the 2D channel flow problem in vorticity streamfunction formulation of the Navier-Stokes-Equations
431 Downloads
Updated 11 May 2020

View License

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 (2025). 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 .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0