[CFD] Residuals in CFD (Part 1) - Understanding Residuals

Поділитися
Вставка

КОМЕНТАРІ • 202

  • @fluidmechanics101
    @fluidmechanics101  3 роки тому +54

    Hi Everyone, I just wanted to say thank you to those of you who noticed the sign errors on Slides 6 and 7. The coefficients A21 and A23 should be - k L / Delta x. In general for the Laplacian operator, the coefficient of the diagonal (A22) should equal -1 times the sum of the other coefficients, and so the coefficients A21 and A23 should have a - sign! In Equation 1 and 2, Qsource should be negative, as the sign convention here is positive heat fluxes denote heat leaving the cell (so Qsource should be -Qsource as heat is entering the cell). For those of you who support the channel on Patreon, the PDF slides have been corrected there. For everyone else, I have pinned this post so that you are aware of the typos if you go through the derivation in your own work. Thanks again for watching the lectures and supporting the channel :) Aidan

    • @jimeshpitroda937
      @jimeshpitroda937 3 роки тому +4

      can you make how to study transient residuals? big thank you . you are doing great work sir

    • @Hari2100
      @Hari2100 3 роки тому

      I hope youtube provides a way to re-upload with corrections in slides to the video in a much quicker way. It helps everyone. This is because not everyone sees both videos and comments. @Aidan: It may help everyone.

    • @fluidmechanics101
      @fluidmechanics101  3 роки тому +2

      Yes, me too! I haven't found a better way of doing this yet. It would be really good if there was a way of having a 'living lecture' that we can update with corrections and improvements. The best I can think of so far is to pin a comment with corrections / include the corrections in the description

    • @jacks.554
      @jacks.554 11 місяців тому +3

      ​@@fluidmechanics101 Hello there, I think that the explanation stated above could be rather misleading for someone. There are strict rules that should be followed during the calculation procedure. First, we need to specify a positive direction for the heat flux (let´s assume a positive direction for heat flowing INTO the element). Therefore, any heat flowing out of the element will have a minus sign. Then, we need to stick to the second rule which is the fact that heat flows from a higher temperature to a lower one. So, according to our specified diagram, the temperature differences should always be written as follows: (temperature at the tail of the arrow - temperature at the head of the arrow). The trick is that we can specify the directions of the arrows in the diagram arbitrarily as long as we stick to these rules. Hope it helps! Thanks for the great work!

    • @mohammedtosifahmed3730
      @mohammedtosifahmed3730 9 місяців тому

      Sir were can I get 3d navier stock equations in python

  • @edoardolucianobrunetto7819
    @edoardolucianobrunetto7819 3 роки тому +47

    It’s just great to see how you manage to unfold the less intuitive concepts into a super clear explanation based on understanding rather than learning definitions by heart. Keep it up man!

  • @atakan716
    @atakan716 Рік тому +8

    Your mastery over the topic is so great that everything challenging about CFD becomes easy to grasp thanks to your beautifully chosen examples during the lecture.

  • @ashishkaradage
    @ashishkaradage 2 місяці тому +3

    You r my new cfd mentor.

  • @turuncueller
    @turuncueller 2 роки тому +2

    I give you the Nobel of engineering on behalf of the CFD community. Respect!

  • @wallacerosendo596
    @wallacerosendo596 9 місяців тому +3

    Super clear explanation! Congrats for bring to us a very useful topic in an easyful manner.

  • @gabrielcunha1787
    @gabrielcunha1787 Рік тому +1

    What a great video!!! We brazillians are gratefully with your great explanation about residuals in CFD simulation with a clarify inglish.

  • @vyacheslavpetrov159
    @vyacheslavpetrov159 3 роки тому +2

    Hello from Russia. it's really cool that you record such informative and explanatory videos, thank you very much, I really want you to release your videos more often, as they help to better understand the work of cfd code. I'm really looking forward to the second part about the residuals. thank you!

  • @sinansavaskan2132
    @sinansavaskan2132 3 роки тому +2

    You are the best thing happened to CFD guys. Thanks a lot!

  • @asifraj321
    @asifraj321 2 роки тому +4

    Amazing lecture. Now I am able to understand what residual actually is. Thanks a lot for such a wonderful talk.

  • @labibbidabibbadum
    @labibbidabibbadum Рік тому

    Good grief! What a perfectly wonderful explanatory video. After four years of engineering I didn't get it half as well as I got it from your presentation. Thank you!

  • @AliMostafazadeAbolmaali
    @AliMostafazadeAbolmaali 3 місяці тому +1

    Another amazing video! The way you explain the equations is truly impressive, making them easy to remember.

  • @skep2825
    @skep2825 3 роки тому +2

    Really enjoying the talks on the slightly deeper theory behind the more general CFD concepts that people run into!

  • @titox7754
    @titox7754 8 місяців тому +1

    Awesome video buddy! You break down super complex concepts into easy-understanding, bearable videos! Keep it up.

  • @tedonk03
    @tedonk03 3 роки тому +2

    This is great! Finally residuals are being addressed..went through some cfd manuals but there was never really a clear explanation about what or how..thanks for the awesome video. Can't wait to see the next one

  • @jk463
    @jk463 2 роки тому +3

    Great video! I've never seen any other media(clip, text, manual, whatever) describing the basics of residuals as much as this.

  • @jaswindersingh3715
    @jaswindersingh3715 5 місяців тому

    Thanks a lot Aidan. I really enjoyed the whole series. It really explains all the important nuisances one needs to know. Great work.

  • @elainepenguind3481
    @elainepenguind3481 3 роки тому +4

    your crystal clear explanation just saved my day! thank you so much for the effort! :D

  • @thunder852za
    @thunder852za 3 роки тому +3

    Very good talk, and well explained. I like the physical intuition, it is exactly the way I interpret residuals as well. For a typical incompressible solver, the residual normally represents how 'divergence free' your flow is. For our code, we actually use both L_2 and L_inf and have relations between them to assess convergence.
    I am sure you will touch on this in the next parts but felt I would just add the below:
    Another added approach I have seen to residual normals is volume weighting. Here, every cell's residual is multiplied by the volume of the cell, and then the domain volume is divided through instead of N. This allows for small stiff cells to not hold up a simulation. This can be useful on unstructured meshes.
    Yet another thing to do is to divide your residual by b, this normalises the residual in a way that makes the problem less dependent on the dimensionality of the simulation. In this case, the interpretation is more along the lines of how many orders do you want to drop the residual 'relative to the starting point'. This can provide more consistent convergence tolerances being applied.

  • @svenjaherb6001
    @svenjaherb6001 Рік тому +1

    Best explanation I have seen on this; thank you so much!

  • @yousrajemmal13
    @yousrajemmal13 3 роки тому +1

    Many thanks for your detailed clarifications. Excited to watch the next part.

  • @botonb4eg1
    @botonb4eg1 3 роки тому

    Just a few words. Simply the best explanation I have ever heard! Thank you very much!

  • @ssss4391
    @ssss4391 3 роки тому

    Brilliant how you chose a simple heat conduction problem to explain residuals. Excellent talk. Look forward to the next in the series

  • @sanjaykumaryadav3186
    @sanjaykumaryadav3186 Рік тому +2

    Not only useful, extremely useful.

  • @喬きょう-e1l
    @喬きょう-e1l 3 роки тому +9

    Thanks a lot. It’s just very impressive. can't wait watching part 2 3 and 4!

  • @bhavin_patel4917
    @bhavin_patel4917 2 роки тому

    Its is very good that someone can simplfy the complex information and present in a beautiful way .

  • @doodben
    @doodben Рік тому +1

    Great video!! Your breakdowns are extremely easy to understand and implement!

  • @joe_carlson_
    @joe_carlson_ 3 роки тому +1

    Very helpful! I have been waiting for you to make videos on residuals! Looking forward to the next videos!

  • @dhanushyakumarkamatam2310
    @dhanushyakumarkamatam2310 3 роки тому +2

    clear, concise explantion. Looking forward for the next ones.

  • @nabekary
    @nabekary 3 роки тому +2

    It was a great talk indeed. Can't wait for the next parts.

  • @kimiyakasaei1661
    @kimiyakasaei1661 Рік тому +1

    Thanks for this helpful video. Excited about the other parts!

  • @sebleaf8433
    @sebleaf8433 2 роки тому +1

    Terrific presentation, great visuals and excellent pace. Big thumbs up!

  • @rajendrakumar-bn7ch
    @rajendrakumar-bn7ch 3 роки тому +1

    Great video (part 1). Looking forward eagerly to the coming parts.

  • @dmitriykogan8879
    @dmitriykogan8879 4 місяці тому +1

    Thank you so much for such a detailed and perfect explanation!

  • @markonabiy6632
    @markonabiy6632 2 роки тому +3

    thank you ,you are great

  • @prantikdas6218
    @prantikdas6218 3 роки тому +1

    Thank you so much for the explanation. Eagerly waiting for part II. Keep it up!

  • @Abuthi3
    @Abuthi3 3 роки тому +1

    Well organized and explained deeply. Thanks a lot.

  • @ahmedalhusseny5795
    @ahmedalhusseny5795 3 роки тому +1

    Thanks Aidan, I've really enjoyed it and found it quite useful.

  • @86gamemachine
    @86gamemachine 3 роки тому +1

    What a wonderful and beautifully simple explanation! Thank you, sincerely!
    Eagerly awaiting for the next parts.

  • @EngelUniverse
    @EngelUniverse 3 роки тому +1

    Great! It really helps to have a good understanding of what residuals mean! Thanks!

  • @disinlungkamei2869
    @disinlungkamei2869 9 місяців тому +1

    Excellent explanation loved it

  • @thippeswamyv2254
    @thippeswamyv2254 3 роки тому +1

    This video made me feel just WOW!
    Great explanation sir.
    Loved it!!

  • @sergniko
    @sergniko 3 роки тому +1

    I found this video very helpfull and got more understanding in that resudials mean. Going to part 2.

  • @ankitdave9193
    @ankitdave9193 3 роки тому +1

    As always thanks a lot for such a detailed explanation on residuals. Looking forward to learn more on this.

  • @divyajyotibasu3001
    @divyajyotibasu3001 3 роки тому +1

    Great explanation!! Looking forward to many such talks.

  • @joseoswaldoc.2068
    @joseoswaldoc.2068 3 роки тому +2

    Excelente lecture. Waiting for next videos.

  • @TheManolis1984
    @TheManolis1984 3 роки тому +1

    Fantastic explanation of residuals. I finally know what Φ represents. I can't wait for your residual scaling explanation (local v global)

  • @sarojmandal981
    @sarojmandal981 2 роки тому

    Very useful video. Cleared all concepts for me.

  • @hahahaha-hn4qu
    @hahahaha-hn4qu 2 роки тому +1

    awesome video couldn't have explained it better

  • @mansourouahchialamine9477
    @mansourouahchialamine9477 2 роки тому +1

    it was very useful to understand the behavior of residuals during execution

  • @pierro281279
    @pierro281279 3 роки тому +2

    This is exactly what I needed! Thanks

  • @NilanjanMondalbluemotions
    @NilanjanMondalbluemotions Рік тому +1

    So enlightening talk and thank you very much

  • @dawnnee267
    @dawnnee267 2 роки тому

    Thanks, Aidan, for your brilliant explanation on the practice residuals! It really helps me to understand the part of CFD!

  • @alekseisorokin4723
    @alekseisorokin4723 2 роки тому +1

    Thanks a lot, Aidan! It's a perfect explanation

  • @syedsammarabbas551
    @syedsammarabbas551 Рік тому +1

    Thanks for making such a brilliant video

  • @dinnaruto
    @dinnaruto 3 роки тому

    Thank you so much for the explanation. I'm used to follow what my lecturer does since he doesn't explain anything abt residual concept. Now I really understand it after watching this vid. Looking forward for Part II. Keep it up man!

  • @gsambuko
    @gsambuko 3 роки тому

    u are just a god! Thank you for a such incredible explanation of a not so homogen information in different sources!

  • @ashutoshsingh-et7vm
    @ashutoshsingh-et7vm 3 роки тому +4

    Eagerly waiting and excited to hear your talks they are great and help me out very much in my masters studies it an request can you please make some video on Aeroacoustics cfd simulation basics

  • @erangoldstein4674
    @erangoldstein4674 3 роки тому +1

    Very good talk, and well explained. Thank you.

  • @manishankaryadav7307
    @manishankaryadav7307 3 роки тому

    Your lucid way of explanation is just awesome.
    When I have question like how can I get just a value for the residual that may represent residuals of each cells.? And there you explain.
    I do not even recognise that the video has ended.
    Thank you so much for your hardwork.

  • @ibrahimnasr5585
    @ibrahimnasr5585 3 роки тому +2

    That is Great Mate, really helpful cheers!

  • @sudhaupadhyay8080
    @sudhaupadhyay8080 2 роки тому +1

    thanks a lot for these valuable lessons ..

  • @sudhanshumaurya2860
    @sudhanshumaurya2860 3 роки тому

    its good to be back here learning basics of CFD, always the best and informative videos.
    thanks

  • @michaelb.5399
    @michaelb.5399 24 дні тому

    excellent video! so easy to understand! thanks so much for all your videos :)

  • @mareksawicki9070
    @mareksawicki9070 3 роки тому

    Thank You Sir i finally understood what is all about. You are supertalended teacher!

  • @cmojr1
    @cmojr1 3 роки тому +1

    Excellent talk!!!

  • @mahmoudelnaggar8512
    @mahmoudelnaggar8512 3 роки тому +1

    Thanks Man for the informative work, this kind of work over youtube may not be benifitial to you compared to the youtubers who provide silly content but, the gold stays gold and whatever else is whatever else. keep the good work up, we are excited for more !

  • @zettaker2181
    @zettaker2181 2 роки тому +1

    Thanks for sharing! Great explanation. 🙂

  • @CP-zi3eg
    @CP-zi3eg 3 роки тому +3

    Great explanation...thank you.

  • @gokhantasdemir891
    @gokhantasdemir891 3 роки тому

    I found that video series really useful ,and what I would say is I have better understanding of residual plots and convergence process :)
    Thanks

  • @ryzesupremus611
    @ryzesupremus611 2 роки тому +1

    I really really appreciate your videos, these are so informative and very very helpful

  • @benhadjiserradjdjameleddin9110
    @benhadjiserradjdjameleddin9110 3 роки тому +1

    Amazingly explained, thank you

  • @nileshgaikwad5021
    @nileshgaikwad5021 3 роки тому +1

    Nicely Explained. Thanks for such informative video.

  • @mark.hates.u
    @mark.hates.u 3 роки тому +1

    Q: In practice, what do you think is the acceptable range of representative residual values to say that you have good results in your CFD? Some papers say around 10^-4 and below for all transport parameters.
    Can't wait for the next parts of your lecture.

    • @fluidmechanics101
      @fluidmechanics101  3 роки тому +1

      Yes, 10^-4 seems to be pretty good in most CFD solvers (just from personal experience and the experience of others). But as always ... please check other quantities to check you have convergence (forces, moments, point monitors etc). Residuals are not enough by themselves!

  • @basaruoz7127
    @basaruoz7127 2 роки тому

    Thank You so much for this wonderful and beautifully simple explanation, Thank you, sincerely!

  • @killua9369
    @killua9369 3 роки тому

    Wallahi this guy explains things really well! He is a master! Please consider explaining the difference in using fvSolution in openfoam, which is faster GMAC or PCG solvers, smoothers and those complicated topics 😭

  • @r_kamalovich
    @r_kamalovich 3 роки тому +1

    Спасибо! Жду следующее видео!

  • @dustin3291
    @dustin3291 3 роки тому

    Beautifully structured presentation! Thank you so much!

  • @Millie_the_Scammer
    @Millie_the_Scammer 2 роки тому

    YOU "R" A LIFESAVER. Thank you so much.

  • @rafaortwein6646
    @rafaortwein6646 4 місяці тому

    Fantastic lecture, many thanks.

  • @hanidaradkah8973
    @hanidaradkah8973 2 роки тому +1

    Great video! Thank you very much for sharing this!

  • @rram6062
    @rram6062 3 роки тому +1

    Thanks very much. The videos are very helpful.

  • @danielmartin4995
    @danielmartin4995 3 роки тому

    It’s just disappointing, that there are not all parts of your already out! Awesome how easy cou can deliver that complicated stuff in an easy manner. Thanks a lot!

  • @dmitriinesterenko8165
    @dmitriinesterenko8165 3 роки тому +1

    Thank you very much for the explanation! 👍

  • @kekskekskeks112
    @kekskekskeks112 3 роки тому +1

    Fantastic video! Really helped me in better understanding those funny wobbly lines 😁

  • @zadnipryaniy
    @zadnipryaniy 3 роки тому +1

    Thsnk you, please continue the topic

  • @mo_lan1323
    @mo_lan1323 Рік тому +1

    i love it, great work

  • @fsilvamaffei
    @fsilvamaffei Рік тому +1

    Great work!

  • @prakashthirunavukkarasu29
    @prakashthirunavukkarasu29 3 роки тому

    Great presentation! I appreciate for putting in so much effort. Thank you!

  • @zar5989
    @zar5989 3 роки тому +3

    As usual, great content! Thank you a lot, I’m a CFD user but thanks to you I’ve been building up some of the concepts that always slipped away from my understanding.

  • @kshitijghormode8788
    @kshitijghormode8788 3 роки тому +3

    Thanks for this amazing video. Residuals topic can be very confusing at times and it’s difficult to interpret the residual line plots.
    Eagerly looking forward for the subsequent parts.
    Also it would be helpful if you could address oscillating residual plots which I had once encountered in my CFD simulation.

  • @TheHumanNexus
    @TheHumanNexus 11 місяців тому +1

    Great explanation Bro…

  • @mercurial152
    @mercurial152 3 роки тому

    thanks a lot for sharing your knowledge, I hope to see next videos soon.

  • @selimhandogan6693
    @selimhandogan6693 2 роки тому +1

    Thank you very much for all you taught me!

  • @maurotortora5317
    @maurotortora5317 3 роки тому +1

    great video as always!
    Mauro

  • @seongjunpark6593
    @seongjunpark6593 3 роки тому +1

    this video is exactly what I want

  • @AJ-et3vf
    @AJ-et3vf 2 роки тому +1

    Great video! Thank you!

  • @EclecticVibe
    @EclecticVibe 3 роки тому +11

    Just a few days back was researching the residual outputs from solvers in OF! Thank you. Can you please also consider making videos on linear solvers and compressible solves.

  • @MalcolmAkner
    @MalcolmAkner 2 роки тому +3

    Thank you for these lectures once again, you are such a good pedagog on this subject! There is a slight error on the slide at 4:15 where you go through the numerical calculation. The T2 term should be negative overall, following all the algebra.

  • @weili9556
    @weili9556 Рік тому +1

    Great! Really helpful!