Excellent work! This is an invaluable resource for information. It's gems like this that make RUclips worthwhile. Heading back for the potential flow video now! Many thanks for your time and selflessness
Amazing work Josh, perfect combination of theory and code implementation. RUclips is such an underestimated learning resource thanks to people like you (I try to pitch in too). Thank you so much!
You can use either direction for your code, but you have to be consistent with it all the way through your derivation, otherwise you'll have weird things happen to the results. I just decided to choose clockwise, but you can choose counter-clockwise if you want; you'll just have to change the appropriate equations if you do.
I can't say I'm familiar with integer geometry, but you'll notice that at line 80 of my code, I'm actually making a parametric definition of a circle. For a lot of CFD codes, when you define the grid cells you'll also need to know their face normals so you can compute fluxes, so this method of computing the panel geometry is relevant beyond just panel methods!
You're welcome! It's not available yet, but it will be soon. I generally post code when I get to that particular video, so when I post the video that goes over my airfoil source panel method code, I'll post the MATLAB and Python code as well. Should be in the near future.
I responded to your email, but I'll put the same information here if anyone is having trouble. You need to make sure you have the LOAD_AIRFOIL_SELIG.m function in the same directory as the main script. You also need a directory called "Airfoil_DAT_Selig" in that directory, which houses all the necessary airfoil files. If you need any of the code, see my GitHub page (github.com/jte0419/Panel_Methods).
Thanks! You can find the code for how to define an ellipse in my COMPUTE_CIRCULATION functions (for either MATLAB or Python). Here's the link to my GitHub where you can find those files: github.com/jte0419/Panel_Methods
Thanks for your video on panel method geometry! Is the code only defines the x and y coordinate of the circle? How to calculate the coordinates of boundary points when it is airfoil?
You're welcome! The code has options for both a circle and an airfoil. You can see me switch from the circle to the airfoil at 18:40. I'm just loading in the airfoil data, using some code from my previous videos in this Panel Methods playlist.
Excellent material - I'm working through each video as a refresher. I did this at Uni almost 40 years ago. After more than 35 years in industry, you sometimes forget the basics! One minor comment on the code I downloaded from your github. When I run the airfoil for goe623, I don't get exactly the same results as you show in the video. The first panel ends up being the trailing edge thickness surface between upper and lower surfaces rather than the first 2 lower surface panels. Something to do with flipping from ccw to cw or maybe you're not closing the airfoil?
Excellent work! This is an invaluable resource for information. It's gems like this that make RUclips worthwhile. Heading back for the potential flow video now! Many thanks for your time and selflessness
Thanks for the kind words! Comments like yours are part of the motivation that keeps me going.
By far the easiest understandable lesson on panel method ever made. Great work!
Thanks!
Amazing work Josh, perfect combination of theory and code implementation. RUclips is such an underestimated learning resource thanks to people like you (I try to pitch in too). Thank you so much!
4 years of Engineering and 1 year of working in the Aerospace Industry and this is the most convincing explanation of the panel method. Good work !
Thanks!
I didn't understand your reasoning behind taking clockwise direction, It is at 4:35 in video. If you can explain it. Thanks in advance
You can use either direction for your code, but you have to be consistent with it all the way through your derivation, otherwise you'll have weird things happen to the results. I just decided to choose clockwise, but you can choose counter-clockwise if you want; you'll just have to change the appropriate equations if you do.
You are literally a hero. This makes so much sense now. *bows* Thanks!!
You're welcome!
Could you explain why angle beta is used when calculating CN and CA in lines 204 & 205 of VP_Airfoil.m?
Could this variable defining also apply to parametric equations and integer geometry in python?
I can't say I'm familiar with integer geometry, but you'll notice that at line 80 of my code, I'm actually making a parametric definition of a circle. For a lot of CFD codes, when you define the grid cells you'll also need to know their face normals so you can compute fluxes, so this method of computing the panel geometry is relevant beyond just panel methods!
Can't wait the next video! Very nice and clear explanation :) Thank you!
Thanks Nikolai! I have everything written already, just takes some motivation to film it.
Thanks for going over all this!! Is the source_panel code that you showed at 19:36 available? I didn't see it in the GitHub repo, did I miss it?
You're welcome! It's not available yet, but it will be soon. I generally post code when I get to that particular video, so when I post the video that goes over my airfoil source panel method code, I'll post the MATLAB and Python code as well. Should be in the near future.
Will you explain implementing the panel method for multi element airfoil?
I will! I already have the code ready for it, I just need to finish filming the videos that come before the multi-element airfoil one.
I couldn't run the code for Airfoil in Matlab, but the circle works only.
please guide
thanks
i am facing the same problem in python code
plz respond
I responded to your email, but I'll put the same information here if anyone is having trouble. You need to make sure you have the LOAD_AIRFOIL_SELIG.m function in the same directory as the main script. You also need a directory called "Airfoil_DAT_Selig" in that directory, which houses all the necessary airfoil files. If you need any of the code, see my GitHub page (github.com/jte0419/Panel_Methods).
@@JoshTheEngineer Thanks, its working now
@@WaqasAhmad-0 same, how you solve it, please help me, i receive this message: could not convert string to float
@@Dani-ox6yw please can you tell us how you fix it or please would you send me the third file on my email:Bilalzyassin@gmail.com
Hello, great video!
How can I do the code for an ellipse? can you help me?
Thanks! You can find the code for how to define an ellipse in my COMPUTE_CIRCULATION functions (for either MATLAB or Python). Here's the link to my GitHub where you can find those files: github.com/jte0419/Panel_Methods
Thanks for your video on panel method geometry! Is the code only defines the x and y coordinate of the circle? How to calculate the coordinates of boundary points when it is airfoil?
You're welcome! The code has options for both a circle and an airfoil. You can see me switch from the circle to the airfoil at 18:40. I'm just loading in the airfoil data, using some code from my previous videos in this Panel Methods playlist.
Thank you for your clear explanation, help me to understand some gaps that I had.
No problem, glad to hear it!
Excellent material - I'm working through each video as a refresher. I did this at Uni almost 40 years ago. After more than 35 years in industry, you sometimes forget the basics!
One minor comment on the code I downloaded from your github. When I run the airfoil for goe623, I don't get exactly the same results as you show in the video. The first panel ends up being the trailing edge thickness surface between upper and lower surfaces rather than the first 2 lower surface panels. Something to do with flipping from ccw to cw or maybe you're not closing the airfoil?
You are my savior.
Great video, sir! Thank you very much ❤❤
Amazing videos. My proffesor should teach like that
Love your videos
I appreciate it!
Good work. Could you tell me rules to make 3d polygon using panel method. Plz reply
Thanks! I'm sorry, I haven't done any 3D panel method work.
Great video
Thanks!
Dude you are amazing
Thanks!
These are Awesome!!! Thanks a lot!!!
You're welcome!
Good job
Thank you!
Thank you 👍❤
You're welcome!
Thank you very much, very didactic!
No problem!
Thank you very much :)
You're welcome!