Flow around arbitrary body Solver.
% Notes:
% 1) That this code SOLVES the flow over NACA 4-digit, Joukowski Airfoils and Cylinders.
% 2) This code solves the PDE: [[\psi_{xx} + \psi_{yy} = 0]] "where E is the Stream Function"
% 3) Number of nodes in x and y should be EQUAL.
% 4) The Grid used in this solution is a H-Grid .
% 5) The solver uses PSOR (Non-Updating) Scheme.
N.B.: After running the Flow Solver.m file it will requires to enter information about the body in the command window <Some thing like this>:
Enter "J" for Jokowski Airfoil , "N" for NACA Airfoils or "C" for Cylinder: 'J'
Enter The Airfoil max. Thickness/Chord and max. Camber/Chord as [t/c C/c]: [0.06 0.05]
Enter The Airfoil Chord Length: 1
Joukowski Airfoil: Thickness/Chord = 0.06
Camber/Chord = 0.05
Chord = 1
Cite As
Mohamed Elmezain (2024). Flow around arbitrary body Solver. (https://www.mathworks.com/matlabcentral/fileexchange/57213-flow-around-arbitrary-body-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.