JoshTheEngineer | How To: Run XFoil from MATLAB @JoshTheEngineer | Uploaded January 2019 | Updated October 2024, 2 hours ago.
This video shows how to run XFoil from a MATLAB script (for a Python script, see link below). This will come in handy for my future Vortex Panel Method video, where we will compare our pressure coefficient and lift coefficient results with the XFoil results. We'll go through three steps in this video.
1) Run XFoil and output the files we need (airfoil coordinates and pressure coefficient)
2) Load saved files from XFoil into MATLAB and view plots
3) Run XFoil from the MATLAB script itself, and view plots
===== RELEVANT LINKS =====
► You can download the MATLAB script from my website
joshtheengineer.com/2019/01/30/running-xfoil-from-matlab
► Do you want to run XFoil from Python instead? Download the script from my website
joshtheengineer.com/2019/02/06/running-xfoil-from-python
► Download XFoil
https://web.mit.edu/drela/Public/web/xfoil/
GitHub: Panel Methods
► github.com/jte0419/Panel_Methods
===== RELEVANT VIDEOS =====
UIUC Airfoil Database Download Python Code
→ youtube.com/watch?v=nILo18DlqAo
Load Airfoil Coordinates from UIUC Files into MATLAB
→ youtube.com/watch?v=xJYxMfGFrk8
Panel Method Motivation and Introduction
→ Coming soon!
Panel Method Geometry Definitions
→ Coming soon!
Source Panel Derivation and Coding
→ Coming soon!
Vortex Panel Derivation and Coding
→ Coming soon!
===== NOTES =====
► This is not a comprehensive XFoil user guide video. I'm only running the commands I need for my future Vortex Panel Method video.
► If you just want the NACA 4-digit airfoil coordinates, you can also use my NACA 4-Digit Airfoil MATLAB code to generate them.
This video shows how to run XFoil from a MATLAB script (for a Python script, see link below). This will come in handy for my future Vortex Panel Method video, where we will compare our pressure coefficient and lift coefficient results with the XFoil results. We'll go through three steps in this video.
1) Run XFoil and output the files we need (airfoil coordinates and pressure coefficient)
2) Load saved files from XFoil into MATLAB and view plots
3) Run XFoil from the MATLAB script itself, and view plots
===== RELEVANT LINKS =====
► You can download the MATLAB script from my website
joshtheengineer.com/2019/01/30/running-xfoil-from-matlab
► Do you want to run XFoil from Python instead? Download the script from my website
joshtheengineer.com/2019/02/06/running-xfoil-from-python
► Download XFoil
https://web.mit.edu/drela/Public/web/xfoil/
GitHub: Panel Methods
► github.com/jte0419/Panel_Methods
===== RELEVANT VIDEOS =====
UIUC Airfoil Database Download Python Code
→ youtube.com/watch?v=nILo18DlqAo
Load Airfoil Coordinates from UIUC Files into MATLAB
→ youtube.com/watch?v=xJYxMfGFrk8
Panel Method Motivation and Introduction
→ Coming soon!
Panel Method Geometry Definitions
→ Coming soon!
Source Panel Derivation and Coding
→ Coming soon!
Vortex Panel Derivation and Coding
→ Coming soon!
===== NOTES =====
► This is not a comprehensive XFoil user guide video. I'm only running the commands I need for my future Vortex Panel Method video.
► If you just want the NACA 4-digit airfoil coordinates, you can also use my NACA 4-Digit Airfoil MATLAB code to generate them.