CFD Example in SU2: Start to Finish

Ғылым және технология

Let's run a CFD simulation from start to finish! In this video, we will be starting from a problem definition, and working our way to a full CFD solution. The problem we will be working through is that of a simple oblique shock. We have already solved this exact oblique shock example in one of my other videos (see link below).
===== NOTES =====
► You can mess around with the settings in the configuration file to see how it changes the solution. For example, you can get more well-defined shock by changing the way the convective fluxes are evaluated.
===== FILES TO DOWNLOAD =====
► Mesh File (.su2) and Configuration File (.cfg)
www.joshtheengineer.com/2018/0...
===== RELEVANT VIDEOS =====
→ Download and Install SU2
goo.gl/KmkUgD
→ Oblique Shock Example
goo.gl/8yjUvy
===== RELEVANT LINKS =====
► SU2 Oblique Shock Test Case
su2code.github.io/tutorials/I...
===== PROGRAMS I USE (ALL FREE) =====
► SU2
su2code.github.io/
► GMSH
gmsh.info/
► Paraview
www.paraview.org/
► VirtualBox
www.virtualbox.org/wiki/Downl...
► Notepad++
notepad-plus-plus.org/
===== REFERENCES =====
→ The SU2 GitHub and website
→ Matt MacLean for introducing me to SU2 along with his GMSH tutorial

Пікірлер: 41

  • @JC-kb8vb
    @JC-kb8vb3 жыл бұрын

    Maybe not all appreciate the time and effort it takes to do a good video like this one. Kind regards!

  • @JoshTheEngineer

    @JoshTheEngineer

    3 жыл бұрын

    Thanks! It definitely took a little time to put it all together.

  • @stackoverflow2155
    @stackoverflow21553 жыл бұрын

    Hey Josh, I hope you see this. I have been coming to this video again and again for the last year because I absolutely love to use the oblique shock example as a validation of my own hypersonic CFD solvers. I can appreciate the amount of effort you have put into this video, and I'm thankful for it. Best regards ~stk

  • @JoshTheEngineer

    @JoshTheEngineer

    3 жыл бұрын

    Thanks, I appreciate it! Yea, the oblique shock problem is a great test case. It's nice to have analytical solutions for comparison, and it's a nice stable problem for CFD solvers.

  • @stackoverflow2155

    @stackoverflow2155

    3 жыл бұрын

    @@JoshTheEngineer absolutely!

  • @rodrigotorresvillanueva4991
    @rodrigotorresvillanueva49917 ай бұрын

    Excellent video, Thank you, helped me a lot!

  • @Arkturium
    @Arkturium4 жыл бұрын

    Haha, where were you when I needed you in 2017, this is great (:

  • @JoshTheEngineer

    @JoshTheEngineer

    4 жыл бұрын

    I knew you needed this back in 2017, so I made sure to wait until 2018 to post it so I could inconvenience you.

  • @MA-nx3xj
    @MA-nx3xj6 жыл бұрын

    Great methodology and tutorial, thanks!

  • @JoshTheEngineer

    @JoshTheEngineer

    6 жыл бұрын

    No problem! I'm glad it was easy to follow.

  • @VinayNandurdikar
    @VinayNandurdikar2 ай бұрын

    Thanks...it's a really nice video..

  • @naraharihunsur3987
    @naraharihunsur39875 жыл бұрын

    Great video , keep going. My help the students if you can make a similar video for M6 wing

  • @sreejasunder7605
    @sreejasunder76052 жыл бұрын

    thank you

  • @Ptr-NG
    @Ptr-NG4 жыл бұрын

    Very helpful... Many thanks

  • @JoshTheEngineer

    @JoshTheEngineer

    4 жыл бұрын

    No problem!

  • @josebulnes5745
    @josebulnes574511 ай бұрын

    Buenas tardes desde España! Muchas gracias por el vídeo. Te quería preguntar, ¿qué tengo que implementar en el código para obtener las variables conservativas? En el archivo history.csv se ubican los RMS de rho, rho_U, etc. pero no lo valores de rho, rho_U. Gracias!

  • @ghumakkadshastra..ajourney3762
    @ghumakkadshastra..ajourney37622 жыл бұрын

    whenever i m trying to install and open SU2, it is showing that configuration file is missing. not able to open only. please help

  • @chandrasekharjinendran6844
    @chandrasekharjinendran68444 жыл бұрын

    Thanks for the video. Can you explain configuration file for structural mechanics and how to do a 3D analysis ?

  • @JoshTheEngineer

    @JoshTheEngineer

    4 жыл бұрын

    You're welcome! I actually don't have any experience doing structural analysis or 3D simulations, so I won't be able to help you unfortunately.

  • @swapnilahire5281
    @swapnilahire52814 жыл бұрын

    Dear Josh, Thank you for uploading excellent video for new users of Gmesh and SU2. I followed all steps for generating the mesh with GMESH and mesh saved in .su2 format is of size 2.3mb, i.e. "Your_Mesh_Name.su2". Whereas the file you are using is of size 3.4mb, i.e. "Mesh_OS_Single". I can run the code successfully in SU2 with 3.4mb ("Mesh_OS_Single" downloaded from your website) file but not with 2.3mb file ("Your_Mesh_Name.su2").

  • @swapnilahire5281

    @swapnilahire5281

    4 жыл бұрын

    In the tutorial, you have forgotten to add Geometry > physical group > add > surface

  • @ajitrokade2473
    @ajitrokade2473 Жыл бұрын

    hi could you please make tutorial on how to run SU2 with MPI paralley

  • @adarshvk6564
    @adarshvk65643 жыл бұрын

    Excellent tutorial, very helpful.. Can you please share the MATLAB code used in this tutorial?

  • @JoshTheEngineer

    @JoshTheEngineer

    3 жыл бұрын

    Thanks! And oh boy, I'd have to look through all my stuff to find it. I might try to finally upload my reflected shock video, and if I do, I'll be able to find the other code for this video.

  • @aeroboi2862
    @aeroboi28622 жыл бұрын

    Can this be done on windows 10?

  • @cliffordbradford8910
    @cliffordbradford89105 жыл бұрын

    One comment re the top boundary condition: you've made it a slip surface BC like the lower one but I'd like to see how to make a ore arbitrary BC that didn't depend on the fact that the shock exited the outlet boundary.

  • @pavanpal3504
    @pavanpal35042 жыл бұрын

    Hi, on my version of Gmsh I do not have "line" under physical groups. How do I name a line boundary? Any guidance will be much appreciated.

  • @pavanpal3504

    @pavanpal3504

    2 жыл бұрын

    I figured out how to name my physical groups. I just user the "curve" option. However I am not stuck at the configuration file. Can anyone explain or link a video that can help. Do I have to customise my configuration file for each simulation I do or can I use the master code?

  • @hannuvepsalainen74
    @hannuvepsalainen746 жыл бұрын

    Hi, great video. Can you also post the Matlab file too?

  • @JoshTheEngineer

    @JoshTheEngineer

    6 жыл бұрын

    Thanks! I'll post the MATLAB file after I make my reflected shock video. I've been really busy lately, but I'll have that video up soon-ish, and along with it, the code.

  • @thodorisefstathiou6894
    @thodorisefstathiou68943 жыл бұрын

    Can I export animations in obj, Collada, etc?

  • @JoshTheEngineer

    @JoshTheEngineer

    3 жыл бұрын

    I don't know that answer to that, sorry.

  • @xtina3237
    @xtina32374 жыл бұрын

    Mach number is relative or absolute?

  • @JoshTheEngineer

    @JoshTheEngineer

    4 жыл бұрын

    The Mach number is always based on the local quantities at that particular point. So in this case, the Mach number upstream of the oblique shock is a function of the upstream speed of sound and upstream velocity. The Mach number downstream of the oblique shock is a function of the downstream speed of sound and downstream velocity. Another way of saying it in words is that the Mach number is equal to the local velocity divided by the local speed of sound.

  • @antoinertd7125
    @antoinertd7125 Жыл бұрын

    Has anyone the config file ? I haven't acces on the link

  • @JoshTheEngineer

    @JoshTheEngineer

    Жыл бұрын

    The link should work again since I've fixed the problem with my website. However, this config file is for an earlier version of SU2, so you might need to update it based on whatever version you're running.

  • @vivekdixit9208
    @vivekdixit92083 жыл бұрын

    I am getting vtu file instaed of vtk . can anyone tell me the reason why is it happening , because I can't load vtu file in paraview

  • @JoshTheEngineer

    @JoshTheEngineer

    3 жыл бұрын

    In the configuration file, find the "OUTPUT_FILES" variable, and instead of the default "PARAVIEW" entry, use "PARAVIEW_ASCII" instead. That should give your flow file the .vtk extension you're looking for.

  • @vivekdixit9208

    @vivekdixit9208

    3 жыл бұрын

    @@JoshTheEngineer Thanks. It works 🙏

  • @vivekdixit9208

    @vivekdixit9208

    3 жыл бұрын

    I need to open an existing mesh file ( .su2 ), How can I open this file in Gmsh ? Please help me to open this also . because when I am opening from open option , it is showing syntax error

Келесі