[CFD] Relaxation in CFD (Part 1) - Explicit Relaxation, Under-Relaxation Factor

Поділитися
Вставка
  • Опубліковано 30 жов 2024

КОМЕНТАРІ • 92

  • @mkftagore5225
    @mkftagore5225 2 роки тому +5

    Your videos are really helping me to teach the CFD thing.Thank you,Aiden!!

  • @rahatullah4232
    @rahatullah4232 5 місяців тому +1

    Don't think anyone can do the explanation better than you. Thanks💞

  • @Van-HoangNguyen
    @Van-HoangNguyen 2 роки тому +5

    Thank you for such amazing and deep explanation Prof. Aidan. I hope you post Relaxation in CFD (Part 2) soon.

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

    The stars aligned so this video is released when I'm doing a Cybertruck simulation in Fluent and trying to get it to converge. I had no idea what those factors were and what they did. Thank you very much for your work.

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

      I am surprised that recently so many people are saying that they have issues in convergence in fluent.
      For me fluent was one of the most stable solver and the reason i worked into solver writing. Haven't used fluent last 10 years. Dunno what happened there.

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

      @@parthsavyasachi9348 Fluent is still VERY stable. What I think is one of the issues is that people have less and less knowledge of CFD when they use it (and other software). Not only this, but since computations became quite cheap, compared to what they were not too long ago, people tend to try to simulate things without taking the time to properly prepare geometries, create good meshes, etc.
      I don’t want to be a jerk, but doing simulations without even knowing what under relaxations factors are is the recipe for failure. Other than this, assuming the Cybertruck case is not transient, it’s quite likely it will never properly converge because of the mesh/geometry.

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

      @@dekonildo yes you are right.
      My main thinking is that these people are using coupled solver and it can be very unstable.

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

    so nicely poised video with perfect basics explanation complimented by deeper understanding in the end. Loved it, thank you

  • @CesarLopez-qt9mo
    @CesarLopez-qt9mo 2 роки тому +2

    Thank you for such amazing and deep explanation Prof. Aidan.

  • @murilozucatelli6243
    @murilozucatelli6243 2 роки тому +9

    Adorei conhecer esse canal, tem me ajudado muito a fazer meu trabalho de conclusão de curso!!!

  • @최제준학생기계공학부
    @최제준학생기계공학부 2 роки тому +1

    Thank you. I was tring to change relaxiation factors a lot.. but it diverged every time. but you recommended me to change mesh, and after i did it, it finally works!

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

    I have been following you video for a few weeks and just subscribed. Thanks for the detailed explained videos :D

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

    Loved it Dr. Wimshurst. The CFD community would be really grateful if you could upload two videos per month.

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

      I wish I could! It takes a long time to make a good video. I'd rather make sure the video is really good, rather than rush it

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

    Maybe have a series on "Partitioning"? A brief overview of the different approaches, what is the overhead, and maybe the differences between lets say 8 and 512 core partitioning strategy. With people working more and more on high node cluster systems, a series on highlighting the role of partitioning to achieve optimal speedup would be really cool.

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

    Once again, and your first 10 minutes you reduced my uncertainty of running CFD greatly. If I may use the pun, you offer well posed explanations. :)

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

    Excellent explanation 👍 Thanks Dr. Aidan. Waiting for your next lecture.

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

    Simple explanation for complex problems. I like it. Waiting for implicit unsteady and Your thoughts on inner iterations convergence.

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

    Another excellent presentation. Thanks Aidan.

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

    Excellent lecture, thank you for sharing your knowledge!

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

    Great appreciation Dr.Aidan👌👌👌👌

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

    Outstanding lecture👌

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

    Très clair et concis, bravo !

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

    Thank you for a great explanation

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

    Thanks Dr.Aidan. It is really helpful and well explained.

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

    really good video, thank you very much!

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

    Love CFD

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

    Excellent explanation!!!!!!!!!!!!

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

    wonderful teaching bros

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

    great information and well explained sir

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

    Thank you for excellent talk! It was very usefull. Can't wait for the next part!

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

    Excellent video :)

  • @hernanjaviergomez-zambrano8610
    @hernanjaviergomez-zambrano8610 2 роки тому +1

    I have of the similar problem. I am trying to verify the reported wall shear stress of a model in Ansys Fluent. This two dimensional model uses standard k-e turbulent closure scheme with standard wall functions. The manual says that, it uses Launder and Spalding method. I tried to verify it with my result. However, the results do not match. Fluent results gives wall shear stress around 20.62 N/m2.
    If I follow the process explained in the Fluent manual, it gives me around 8.95 N/m2.
    Now, I am thinking what can be the source of discrepancy. I would appreciate if anyone can suggest me regarding this issue.
    The velocity in the first cell is 1.111 m/s, distance from the wall is 0.0008 m and kinetic energy at the point is 0.059828 m2/s2. Note: I would like to mention that my first cell from the wall is in the log-law region. I have around 2-3 cells in the log-law region.
    If I take yp as 0.0008 and corresponding x-velocity (up) as 1.11141 m/s, density= 998.2 kg/m3, dynamic viscosity= 0.001002, and C_mu= 0.09. y*=yp*c_mu^(0.25)*k^(0.5)*density/dynamic viscosity =107.14.
    taw_w becomes 8.95 N/m2. whereas Fluent gives about 20.62 N/m2. Is there something I am missing? Thank you again for looking in to the issue.
    Regards.

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

    Where is the other parts already? You are a master ❤️

  • @mohame.k5399
    @mohame.k5399 Рік тому +1

    Thanks Aiden

  • @Besselsquach
    @Besselsquach 2 роки тому +5

    I don’t think I’ve ever relaxed while doing CFD but that might just be me

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

      😂

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

      Well, let’s just say that full relaxation, as shown in the video, is not the standard in CFD.

  • @AmmarLaichi-r7m
    @AmmarLaichi-r7m Рік тому

    I have done a mixed convection in circular pipe, in the low Reynolds number, the convergence was very stable, but when increase Reynolds number to the limit of transition 2100 I showed the convergence was not stable, what do you do now

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

    Amazing Talk!
    Thank You Dr. Aidan!!
    I always like your presentation style. What tool do you use for presentation?

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

      Thank you ☺️ I use latex with the 'beamer' package and 'boadilla' style

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

    26:00 Is the same pseudo stability true when using too little CFL values in compressible simulations?

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

    Thank u sir

  • @Mikey-mv5xn
    @Mikey-mv5xn 2 роки тому +3

    Amazing explanation..waiting for next part of this series.
    I would like to ask one question
    Sometimes in ANSYS CFX I got an error message that set your topology estimation factor to be 1.2 instead of default value of 1
    I dont know what is meant that back into solution procedure. If you have any idea of this please let me know. Thanks in advance.

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

    Save me. I am going mad soon lol.
    I am running a combustion modelling (i.e. comprising of species transport Natural Gas + P1 radiation + turbulence model standard ke-rez + shell conduction just 1 layer to account for heat transfer through the wall for energy balance and losses). It looks good as now there is heat losses so my domain should be 'closer' to realistic temperature.
    But the issue is with final converged solution, I been fiddling too much with URF I think every time I am doing that; my Total Sensible Heat Transfer is set back by a value of several thousand kilo watts. Should I stop change URF and stick with one value and run till it reduces down to hundreds of kilowatt? I was advised that the total sensible heat transfer value should be in the order of 2% NET to consider it reaches converged solution. Is it even possible for total sensible heat transfer value at REPORT tab to reach a very low value?
    URF too high at the start the solver exploded (for combustion), too low URF it takes forever. Changing URF incrementally step by step, the total sensible HT keep changing (i.e. up)!
    Lots of nice videos by the way.
    Dr Jee

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

      It sounds like you might have some unsteady flow in your solution, which is causing an imbalance in your thermal power balance. Have you tried switching to a transient solver and running for a short period of time? If not, I would try simplifying your physics (turn off radiation, use 1st order turbulence etc) to get a stable solution and then slowly turn the physics back on

  • @AmmarLaichi
    @AmmarLaichi 3 місяці тому

    what is the suitable under relaxation factor in the case of mixed convection?

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

    Please notice at 17:00, that what you are showing in OpenFOAM that is a "matrix relaxation" when you under-relax your system of equations not the fields. To under-relax the fields you have to introduce a corresponding "fields" sub-dictionary:
    fields {
    p 0.2;
    ....
    }

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

      Yep, I am a bit rusty on my OpenFOAM. Sorry if my syntax was wrong!

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

      @@fluidmechanics101 no problem, just noticed that as an OF veteran) great lecture!

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

    Hi Aidan, as always your videos are the best.... I would love to have this quality of material in other fields. I have 2 questions:
    1. when we under-relax and we achieve "convergece" to ensure that the simulation did converged and it is not an illusion of the under-relaxation, what should we do? stop the simulation stop the under-relaxation and re run it from there?
    2. could you give in the following talks some examples of over-relaxation? not in deep but just to see what cases could it be applied. maybe for the calculation of a potential flow? where we use to approximate an initial condition of our flow field?
    best regards.

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

      1) just run a few extra iterations to check that nothing changes. If you achieved convergence in say 3000 iterations, then running an extra 1000 (without changing the relaxation) is a good way to check.
      2) you can use over relaxation within the solver itself (if you look at Gauss Seidel successive over relaxation) you can find an example there. Otherwise over relaxation is rarely used in CFD

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

    very nice i have a question: if the calculation result is not around the true value , does the relaxation slow down the convergence ?

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

      I am a bit confused by your question. What do you mean by 'true value' (the final converged value or the actual true solution) and 'slow down convergence' I assume you mean by reducing the relaxation factor? Could you give a bit more detail?

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

      @@fluidmechanics101 very happy to see your reply and thank you for your wonderful video. What I mean is the relaxation is based on the fact that the calculation result is oscillating around the physical result with the iteration. So the relaxation can reduce the oscillation. If the iteration has a direction to be closer to the physical result, will it reduce the convergence speed? Or every simulation process is oscillating around the physical result because some reasons I don’t know. Last, you never know how grateful I am when I see your video.

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

    Amazing explanation!
    Could you suggest some reference books to master CFD!?

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

      Sure thing. 'Computational Methods for Fluid Dynamics', by Ferziger and Peric is a great reference. Or 'Notes on Computational Fluid Dynamics: General Principles' by Greenshields and Weller is another great book

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

      Thanks man!

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

    Handsome and smart, I might become gay if you continue with the channel Aidan. Now seriously, amazing explanation, i have been a couple of days trying to understand it and you really put it simple and easy. Very much appreciated the great deal of effort you put in.

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

    Please make a video on Flux-Vector splitting schemes.

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

    Please , what is meant by the referance shear rate in the Comsol program according to the Herschel bulkley papanastasiou ,and how do I détermine its value ,
    Please help me😞

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

      I think you might need to email the Comsol customer support. They should be able to tell you

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

    Thank you for this wonderful video, i just have a question, could we reduce the URF in transient calculation if we have a convergence problem ? or we have to only reduce the time step ?

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

      This should be explained in the next few videos when I actually go through pseudo transients. For now, if you have a true transient the only thing you have access to control is the time step and the number of iterations per time step. Try increasing the number of iterations per time step, that usually helps, particularly near the start of the calculation

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

      @@fluidmechanics101 Thank you for your answer, but i just want to know what happens if i reduce the URF in my transient calculations in order to reduce the residuals ?

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

      Should be fine, you might just need more iterations within each time step to get convergence 👍

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

      ​@@mohamedelbouti6556
      "what happens if i reduce the URF in my transient calculations"
      Short answer is that you will then need lot more inner iterations per time step.
      Long answer is bit complicated. The way urf is applied in Fluent, Starccm etc is by dividing the diagonal term of matrix by the urf value. Now in case of transient simulation the temporal term also acts like an under-relaxation. So the total effect is urf due to time step size and then on top of that another urf that you apply. This could slow down convergence very much. In starccm there is a feature where it compares these two urf and applies the user urf in controlled manner not to apply too much of it.
      Because of this, it is more efficient to reduce the dt by half then to reduce the urf by half.

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

    Sir , as i am knew to your lessons , i am trying to understand how CFD works and your lectures are similar with my professor's lectrures so i choose to follow yours due to the better explaining you do. Even though i have 2 questions , one concerning the lecture above and one concerning CFD in general. The first one is , how do you choose the Tcalc for every iteration . The value a is predecided and the old one is known , but what about the value of Tcalc. If you have already explained it in a previous lecture , could you please guide me through? And the second one , how do you think i should approach the CFD in general , knowing the fact that i have attained all my fluid mechanics lessons and turbomachinery applications and i actually try to apply all this knowledge to practical applications that dont use potential or simplified versions of flow. Thank you in advance , sir.

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

      1) Tcalc is the solution of the energy equation. The CFD code will calculate this for you. 2) I would just jump in and start doing tutorials in whatever CFD code you have access to. The tutorials in OpenFOAM, Fluent and Star CCM are all pretty good for learning

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

      @@fluidmechanics101 thank you sir i reallly appreciate your help.

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

      Happy to help ☺️

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

    Hi Aidan, another great video on CFD. I have a question to ask if you dont mind?. I am simulating a steady state hydrogen leakage(pure hydrogen)
    case from a nozzle into a enclosed room. In my solution i start to get lots of fluctuations when it’s about to converge and doesn’t converge. I also get a reversed flow in the outlet. Do you have any recommendations for me to try?

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

      If you have reversed flow in the outlet, have a look at the solution and see what it is doing. Is it reversing for a reason? A fix which sometimes works is to move the outlet much further downstream. If your flow only has pressure boundaries, consider introducing a really slow cross flow across the outlet (velocity inlet and pressure outlet). This usually helps natural convection

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

    So a helpful lecture =) How did you make figures in slides for example showing points on the grid? using Tikz?

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

      Hello! I make all my figures using inkscape. It's free and a really good tool for vector images. If you would like to learn how, I made a quick course to show exactly how I use inkscape www.udemy.com/course/inkscape-for-scientists-and-engineers/?referralCode=6C8957C2548D1DE7B338

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

    👍

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

    Amazing teacher! One question, if we want to check quickly if the simulation diverge, could we temporarily rise relaxation factors? Thanks, I also recommend Udemy courses of Dr.Aidan.

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

      If you have the default relaxation factors (0.3 - 0.7) then you won't really need to do this. But if you have reduced them (to say 0.1 or below) then it is a good check to see if you have slow divergence or not. If you are running in Fluent you can always switch over to pseudo transient and run for a few more iterations and have a look at the residuals. That is another check you can do

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

      @@fluidmechanics101 Great information! While I did not fully get the trick of switching over to pseudo transient, how does it work? If it is turned on at the beginning for the coupled pressure-based solver, does it still work?

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

      Yep, that should work 👍

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

    like it

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

    please make video on pimple algorithm

  • @alfonsos-q4634
    @alfonsos-q4634 2 роки тому +1

    Sorry to reach you through here. I am a bit desperate. I sent you an email with a couple doubts about a project that maybe you could help. I would enormously appreciate. Thanks in advance. Alfonso.

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

      Hi Alfonso, yes I have seen your email and have sent you a reply. Have a look at your inbox and you should find the answers you are looking for ☺️

  • @AmmarLaichi
    @AmmarLaichi 3 місяці тому

    what is the suitable under relaxation factor in the case of mixed convection?