OpenFOAM fvSchemes explained in under 5 mins

All the main settings in the OpenFOAM fvSchemes file explained briefly, along with my personal rules of thumb for which settings to use. Don't take these rules of thumb as law - they're just what worked for me. YMMV.
Main tip: if your sim crashes, it might be your fvSchemes. Try using more stable (but less accurate) schemes.
fvSchemes guide: github.com/niklebedenko/Tutor...
Prerequisites
---------------------
Khan Academy Multivariable Calculus course (Partial derivatives, Gradient, Divergence, Laplacian etc): www.khanacademy.org/math/mult...
Navier-Stokes equation derivation: • Description and Deriva...
Extra Info
---------------
OpenFOAM fvSchemes User Guide: cfd.direct/openfoam/user-guid...
Green-Gauss gradient scheme: • [CFD] Green-Gauss Cell...
Least Squares gradient scheme: • [CFD] Least-Squares Gr...
Mesh Non-Orthogonality: • [CFD] What is Mesh Non...
OpenFOAM divergence scheme comparison: www.openfoam.com/documentatio...
Chapters:
00:00 Intro
00:52 General Guide
01:08 ddtSchemes
01:42 gradSchemes
02:16 divSchemes
03:22 snGradSchemes
03:57 laplacianSchemes
04:21 interpolationSchemes
04:35 Outro

Пікірлер: 24

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

    This may have been the best video on OpenFOAM in regards to quality of presentation and it's content. Thanks for the amazing work!

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

    such a legendary video. it's a pity this channel isn't active anymore. video on fvSolutions would have been epic

  • @LisAmigo
    @LisAmigo8 ай бұрын

    I’m out of words to describe how precisely accurate and concise you pass on information. Thanks a lot mate

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

    Great video! Would love to see similar ones for other concepts in OpenFOAM.

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

    Congratulations! Keep on going. fvSolutions next?! Thank you for such a clear contribution.

  • @aeronerd22
    @aeronerd229 ай бұрын

    Thanks for making this! I'm going to go check your other open foam videos now

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

    Great video! Hope you are still planning to make more videos like this!

  • @atakan716
    @atakan71611 ай бұрын

    Concise and to-the-point, thanks!

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

    I suggest you to include this video and the github link in your fvSchemes tutorial file

  • @TerragonCFD
    @TerragonCFD7 ай бұрын

    Very good explanation, thank you 🙂

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

    cheers!!! could you make one on fvsolutions? it would be dope!

  • @Maxxe4th
    @Maxxe4th5 ай бұрын

    Great info. Thank you!

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

    Very helpful !! Thanks Bro

  • @user-vb2cb8wz1n
    @user-vb2cb8wz1n7 ай бұрын

    Amazing!!Your video is very useful for me!!!

  • @mad_cat_lon974
    @mad_cat_lon9742 ай бұрын

    unbelievably good video..

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

    nice work I appreciate.

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

    thank you !!!

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

    Hi just wanted to ask if you have had any success using LocalEuler ddt scheme to achieve local time stepping? I'd appreciate the help thanks

  • @lq_12
    @lq_129 ай бұрын

    thank you sir

  • @adrianaday7466
    @adrianaday74669 ай бұрын

    For gradschemes, could you tell me what does div(rhoPhi, U), div(phi, Alpha) and div (phi, (k | omega)) mean?

  • @youssefabouhussien9847

    @youssefabouhussien9847

    7 ай бұрын

    phi is the flux which is basically the mass flux for compressible solvers: rho*u (dot) face_normal_vector

  • @srinathmallikarjunan1259
    @srinathmallikarjunan12593 ай бұрын

    The word "Accurate" needs to be explained. Explicit integration schemes are accurate in time. Implicit schemes converge to the correct steady state solution but their time evolution is not accurate. Forward Euler is an example of an explicit scheme. Backwards Euler is an example of an implicit scheme The video also needs to explain when Algebraic multigrid methods can be used in Openfoam

  • @cfdforeveryone-nikl9742

    @cfdforeveryone-nikl9742

    3 ай бұрын

    I completely agree - CFD is a very deep and intricate subject. My goal with this video was simply to give some high-level "rules of thumb" for one particular aspect of OpenFOAM - I didn't want to get too bogged down in the details e.g. Explicit schemes have the same order of accuracy as implicit schemes, the only difference is that implicit schemes don't have a CFL limit but require a matrix solve. But what does this inaccuracy manifest as? Numerical diffusion - negative diffusion in the case of high CFL explicit schemes. And if the implicit scheme doesn't have a CFL limit by itself, but the solver still crashes for large CFL, where does the limit come from? From the CFL limit introduced by pressure-velocity coupling scheme etc. etc. The rabbit hole goes very deep - all very interesting and useful stuff, but can be confusing / offputting for someone new to OpenFOAM. Besides, OpenFOAM doesn't have any explicit schemes, so I wouldn't have an example to show. I had planned on making an fvSolution video which would have certainly included a discussion of Algebraic Multigrid, but I've now written my own CFD code so haven't had the time (or motivation) to do this. The target audience is those people who have the time / motivation for a short 5 minute video, but not much more. I highly recommend reading a CFD textbook (e.g. Versteeg) to anyone who has more time, even if you're proficient with the software.

  • @srinathmallikarjunan1259

    @srinathmallikarjunan1259

    3 ай бұрын

    @@cfdforeveryone-nikl9742 I read and coded CFD solvers a long time ago from Hirsch (Contributed a little bit to rhoCentralFoam) and i would like to use CFD again. So i found your video useful and thought provoking as many old terms got refreshed in my memory