In my YouTube video called “Source Panel Method: Circular Cylinder“, we were finally able to put together all the derivations from my previous videos (see my “Panel Methods” playlist), and code up the source panel method (SPM) for the flow over a circular cylinder. Below are the files necessary for running the code. The main file is called SP_Circle. In order to run it without errors, you will need to also download the two functions (COMPUTE_IJ_SPM and STREAMLINE_SPM) and place them all in the same directory/folder. The first three files are for MATLAB.
To run this program without errors, you need to also download COMPUTE_IJ_SPM.m and STREAMLINE_SPM.m. All three files must be placed in the same directory/folder.
The next three files listed are for Python.
To run this program without errors, you need to also download COMPUTE_IJ_SPM.py and STREAMLINE_SPM.py. All three files must be placed in the same directory/folder.
Note: I can’t upload “.py” files, so this is a “.txt” file. Just download it and change the extension to “.py”, and it should work fine.
Note: I can’t upload “.py” files, so this is a “.txt” file. Just download it and change the extension to “.py”, and it should work fine.
Note: I can’t upload “.py” files, so this is a “.txt” file. Just download it and change the extension to “.py”, and it should work fine.