Oscillating residuals and no convergence!
Hi all,
I am facing a problem while using buoyantBoussinesqSimpleFoam to solve a problem in natural convection. My residuals plot is attached herewith. There is huge oscillation in the residuals as the case runs. My last time step residuals are Code:
DILUPBiCG: Solving for Ux, Initial residual = 1.13167e-09, Final residual = 1.13167e-09, No Iterations 0 Code:
solvers Q: Why hasn't the solution converged even though the SIMPLE tolerances have been met? Any help would be great! |
1 Attachment(s)
Apologies.
The snapshot of the Residuals. |
Hi.
Well, eventually the residuals look fine, after about 17000 iterations. The noise looks like numerical noise to me. Why do they jump like that in the beginning? Is there any sort of additional regulation (flux, ...) in you setup? |
Hi,
There is nothing in the setup that would cause that jump, so even I'm assuming that it has to be numerical. I'm just not able to pinpoint the reason which is why I posted my fvSolution file to see if there needs to be any change made. UPDATE: I have tried increasing the pseudo time step in the controlDict. There are no oscillation if I do that but the solution diverges after a few iterations. Again, have no idea why. I'm using OF 2.2.2, by the way |
1) Did you try to start with a better initialization? Such as one made by potentialFoam?
2) If you increase the pseudo time step you will of course get divergence at some point. It's like increasing the under-relaxation. You need to decrease the time step if you encounter numerical problems. |
1) Could you explain 'better initialisation'. Its primarily buoyancy driven flow without any initial velocity field. What should I expect the potentialFoam run to give me?
2) My bad. I'll correct that and re run. Sorry if the questions are too novice-llike |
1) But you run for steady-state. If your initial values are closer to the final steady-state you can expect better convergence. There is no reason to initialize with velocity=0. For a complete buoyancy driven flow (without inlet and outlet) I don't know how to find a good initialization...
|
Thank you for your inputs. :) I'll give a very small uniform velocity field initially and see if the solution readjusts and converges.
Will get back with results. |
All times are GMT -4. The time now is 04:51. |