Uploaded December 2014 | Updated September 2026, 1 week ago
This video describes how to plot two lines on the same plot in a GUI axes object, and then selectively delete each of the lines using push buttons.
This video describes how to plot two lines on the same plot in a GUI axes object, and then selectively delete each of the lines using push buttons.
![Explained: Constant Total Enthalpy [Taylor-Maccoll]
In order to use Croccos Theorem for the Taylor-Maccoll problem, it is necessary to show why the total enthalpy along a streamline is constant (within the given assumptions). We start with the energy equation couched in terms of the total enthalpy, and reduce the equation with our assumptions from a previous video in this series. The final result will be used in the derivation of Croccos Theorem. Explained: Constant Total Enthalpy [Taylor-Maccoll]](https://i.ytimg.com/vi/yy5HQ9syrrI/mqdefault.jpg)
![Source Panel Method: Circular Cylinder
Here we are. We finally have all the mathematical information needed to code up the source panel method. In this video, we take the code we had from the panel method geometry video, and add in the following: computation of the source panel strengths, computation of the panel tangential velocities and pressure coefficients, and computation of the grid X and Y velocities (for streamline plotting).
This video uses a circular cylinder geometry because it is a convenient test case where we can compare the pressure coefficients on the panels to an analytical solution. If your code doesnt work with a circular cylinder, its not a good idea to move on to harder geometries.
WHERE ARE WE GOING?
→ The next video will be very similar to this one; the source panel method solution for airfoil geometries.
→ We will see some limitations in the SPM which will motivate the need for the vortex panel method (VPM).
→ I will need to go through the derivations for the geometric integrals for the VPM (which are similar to the SPM derivations).
→ We will then implement the VPM and see some of its limitations. These limitations will motivate the need for a more robust implementation of the VPM.
→ I will derive the combined SPM/VPM formulation and code it to show how good we can get the results for a pretty simple implementation.
→ We can finally extend the SPM/VPM formulation to multiple separate airfoil elements. This will be the last video in the series.
CODE
► My website
http://www.joshtheengineer.com/2020/02/29/source-panel-method-circular-cylinder/
► GitHub
https://github.com/jte0419/Panel_Methods
RELEVANT VIDEOS
► Panel Methods Playlist
https://www.youtube.com/watch?v=bWjo3N9COz4&list=PLxT-itJ3HGuUDVMuWKBxyoY8Dm9O9qstP
► Panel Method Geometry
https://www.youtube.com/watch?v=kIqxbd937PI
► Building More Complex Flows
https://www.youtube.com/watch?v=EKzbwJvKcmw
► Flow Around an Airfoil
https://www.youtube.com/watch?v=cLdv1UfX1g8
► Normal Velocity Geometric Integral [I(ij)]
https://www.youtube.com/watch?v=76vPudNET6U
► Tangential Velocity Geometric Integral [J(ij)]
https://www.youtube.com/watch?v=JRHnOsueic8
► Streamline Geometric Integral SPM [Mx(ij) and My(ij)]
https://www.youtube.com/watch?v=BnPZjGCatcg
► Solving the System of Equations
https://www.youtube.com/watch?v=ep7vPzGYsbw
NOTES
→ I forgot to add the pop filter in front of my microphone for this video, so I apologize in advance.
ERRORS
→ If you see an error in the video, please let me know and I will include it here.
REFERENCES
Note: the links are Amazon affiliate links. If you do happen to want to buy the book and use the link below, it helps me out a little.
► Fundamentals of Aerodynamics, Anderson
https://amzn.to/3emVuXU
► Foundations of Aerodynamics, Kuethe and Chow
https://amzn.to/2yMg1Vi
► Theory of Wing Sections, Abbott and Doenhoff
https://amzn.to/2wvZyUt Source Panel Method: Circular Cylinder](https://i.ytimg.com/vi/zIrDfEz-5mc/mqdefault.jpg)

![Explained: Waitbar Cancel Button [MATLAB]
When youre using a waitbar and your simulation/code is taking too long, it would be nice to have a button that allows you to break out of the iteration loop. The cancel button on the waitbar lets you do just this.
Basic waitbar
http://www.youtube.com/watch?v=k2wKPxRUPiE
Waitbar color change
http://www.youtube.com/watch?v=IjkajdAE8vA Explained: Waitbar Cancel Button [MATLAB]](https://i.ytimg.com/vi/zSGcjtu5iQQ/mqdefault.jpg)
