ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
OpenFOAM fvSchemes explained in under 5 mins
ฝัง
- เผยแพร่เมื่อ 17 ส.ค. 2024
- 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/nik...
Prerequisites
---------------------
Khan Academy Multivariable Calculus course (Partial derivatives, Gradient, Divergence, Laplacian etc): www.khanacadem...
Navier-Stokes equation derivation: • Description and Deriva...
Extra Info
---------------
OpenFOAM fvSchemes User Guide: cfd.direct/ope...
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.c...
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
This may have been the best video on OpenFOAM in regards to quality of presentation and it's content. Thanks for the amazing work!
I’m out of words to describe how precisely accurate and concise you pass on information. Thanks a lot mate
such a legendary video. it's a pity this channel isn't active anymore.
video on fvSolutions would have been epic
Great video! Would love to see similar ones for other concepts in OpenFOAM.
Congratulations! Keep on going. fvSolutions next?! Thank you for such a clear contribution.
Great video! Hope you are still planning to make more videos like this!
I suggest you to include this video and the github link in your fvSchemes tutorial file
Thanks for making this! I'm going to go check your other open foam videos now
cheers!!! could you make one on fvsolutions? it would be dope!
Concise and to-the-point, thanks!
Very good explanation, thank you 🙂
unbelievably good video..
Great info. Thank you!
Amazing!!Your video is very useful for me!!!
Very helpful !! Thanks Bro
thank you !!!
nice work I appreciate.
thank you sir
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
For gradschemes, could you tell me what does div(rhoPhi, U), div(phi, Alpha) and div (phi, (k | omega)) mean?
phi is the flux which is basically the mass flux for compressible solvers: rho*u (dot) face_normal_vector
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
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.
@@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