underrelaxation factors > level of residuals
Hi,
I have a question regarding the underrelaxation factors. If I use the default values I can’t get convergence so I started to decrease the underrelaxation values (to about 1/3 of default), as the user’s guide recommends this. So then I do not get divergence and my simulation is running. It seems, that it would take quite a while to get good convergence. I then started to increase the underrelaxation factors, which results in a rise of residuals. The residuals begin to drop again, but they do not reach the level as before! After a couple of iterations the residuals start to oscillate around a level, but with lower underrelaxation factors I can reach a lower level of residuals (difference is half a level of magnitude). So I wondered, if I should use the lower underrelaxation factors and iterate until the residuals do not change any more. This would mean, I have more iterations (at all) but the level of residuals would be less. So what do you think? Thanks in advance! 
No magic here, that's what's supposed to happen. Unless your solution is diverging, do not bother with the underrelaxation factors. If it is diverging, do as you did, lower the factors until you can a stable solution, and then raise them again if possible. If not, then it is a hint that there is an inherent stability issues in the problem you are trying to solve or perhaps one of your modeling parameters is incorrect.
All your observations are correct. Lowering the underrelaxation factors will limit the change in the solution per iteration, which will make the residuals appear to change less per iteration. Be careful, as this can give a false sense of "oh, my solution is now converged". That is why residuals are not a good measure of solution convergence, they are really only useful for determining if the solution is diverging. Underrelaxation factors does not change the way the solution evolves in the long run, you still arrive at the same solution more or less (unless the solution diverges) it just takes you longer to get there. As a test (do this as a mental exercise to not waste compute hours), setting all your underrelaxation factors to 0 will make the residuals constant because the solution does not change between iterations. It is possible to obtain very very very small residuals by setting the underrelaxation factors to very small fractions. Again, this does not mean that the solution is converged. So in general, and this was obvious from the start, you want the highest underrelaxation factors. In fact, overrelaxation (underrelaxation factor greater than 1.0) would be ideal in the sense that you would arrive at the converged solution in the least number of iterations. However, because of the numerical schemes involved there are stability problems, and conservative values for the underrelaxation are necessary to prevent the solution from diverging. 
Hi LuckyTram,
thanks for this answer!!! Really good explanation. Quote:
But just hypothetically, if I iterate until residuals are not changing any more (maybe the start oscillating around a level) the results should be the same no matter how high/low the underrelaxation factors are??? Am I right with this? Quote:
Exactly, but for my problem (impingement configuration of a rotating leading edge) I have to increase the underrelaxation factors very slowly (otherwise I get divergence). So I am not sure if I can reach the default values at all (I actually don’t think so). So how could I judge if my results are converged? Because the wall heat flux distribution is changing, when I start to increase the numbers of iterations. But the distribution is not moving in one direction, so I do not achieve convergence right now with the lowest underrelaxation factors ….. 
Quote:
On the same note, once the residuals reach constant, with small oscillations around a level then that is the limit of your simulation (most likely your solution has long been converged already). Iterating more will not improve anything. On the other hand, it is possible for a solution to be well converged (depending on how you define convergence) but residuals have not reached a constant level and are still decreasing. Both are acceptable! Quote:

Quote:
I am just running some simulations (different under relaxation, everything else same) and I'll see the results tomorrow. So far, the residuals are not changing very much, but the heat flux distribution is changing (> no convergence at the moment). But the case with higher under relaxation shows a more excepted distribution and I am not sure if the case with lower under relaxation will ever get to this distribution...... 
Quote:
If you can afford to wait until the residuals become steady then sure. But for large problems, then definitely not! 
Quote:
What I just wanted to say, if my residuals are at one level the distribution should not change any more, right. OItherwise I have some other problems (settings, mesh etc) .... 
So I could manage to increase the under relaxation factors (not to the default values, but around 2/3 of them).
So now I am at the point where residuals do not decrease any more, they oscillate around a level. But when I calculate the Nusselt distribution (span wise averaged) the characteristic is almost constant but the level differs. So lets say I have a specific distribution after 20000 iterations and I do another 3000 iterations the level is different (18% derivation). If I do another 3000 iteration I get almost exactly the first distribution. And again 3000 iterations give me again almost exactly the second one. So I thought if my problem is not steady state, then steady state will give me an average of the transient one, but it seems the steady state solution is oscillating.... Any idea? edit: or is this behavior due to the implicit formulation for the pressure based solver? 
Quote:
if the flow is inherently unsteady, then the steady solver tends to collapse into one of the preferentially stable modes and can sometimes switch back and forth, producing oscillatory solutions like you are describing. The steady solver does not give you the average of the transient simulation. A crude way of imagining it, is that the steady solver will give you 1 instantaneous solution of the unsteady flow. if this is the case, it may be necessary to run an unsteady simulation and collect statistics to get meaningful timeaveraged data. 
Quote:
1. Create some surface monitors. 2. Firstly, iterate with default underrelaxation factors. 3. If the solver divergence, then decrease the underrelaxation factors. 4. If the residual don't drop any more, then watch the convergence history of the surface monitors. If all monitors convergence, then you can stop calculation. 5. If the residual don't drop any more but the monitored value oscillate, then decrease the underrelaxation factors and continue to iterate. 6. Repeat step 4 and step 5 again and again. Some additional tips: Don't decrease all underrelaxation factors at the same time. It usually doesn't work. The correct method is try to decrease one kind of underrelaxation factors at a time(for example, decrease underrelaxation factors of all species), then iterate for a while, then ,if it doesn't work, return to the previous solution and try to decrease another kind of underrelaxation factors. 
Hi,
Quote:
I only have this problem with the highest rotation number, for the other cases it's fine ... Quote:
But I have a question about point 5). Why should a decrease in underrelaxation factor bring my solution to convergence? As far as I know with lower under relaxation the change in solution is limited and therefore it would take longer to get a solution. But the problem LuckyTran (instantaneous solution of unsteady flow) would still exist, right? 
In my experience it is often more productive to address the root cause of the convergence issue, which is typically poor mesh quality (high skewness), insufficient mesh resolution in the boundary layer or regions of high gradient, illposed boundary conditions or the wrong turbulence model. Once these issues are resolved then the default underrelaxation factors should be used at the start of the calculation. The model should be allowed to run for a reasonable number of iterations before attempting to change the URF's. Decreasing the URF's at the start of the calculation, impedes the speed of convergence by limiting the size of the step taken for each variable from one iteration to the next. This can produce misleading results unless convergence is verified by monitoring other variables such as mass and energy balance, temperature and pressure monitors, etc. The advice is don't just automatically reduce the URF's because it causes the residuals to immediately decrease, but allow the solver time to reach overall global convergence without impeding it with URF's.
Others users feedback and experience would be greatly appreciated.:) 
Automatic change of Under_Relaxation_Factors
Godd afternoon everyone
I´m working in a laminar diffusive flame in fluent. In the firsts iterations is important to keep the URF very small to avoid blowup, but after some time is possible going to increase the URF slowly to acelerate the convergence,so, I was thinking on use some kind of automatic underrelaxation factors (in Fluent´s option or with an UDF). Please, anyone know how set up fluent to automatically change the underrelaxiation factors? Or it´s not posible to do that? Thank´s 
Hi All,
I am trying to model flow through the a circular pipe from rectangular reservoir. After some iteration, divergence in xmomentum message appeared. Then I reduce relaxation factor from 1 to 0.1, now its running, but residual upto 500 run, it was almost constant, but from 500800, its oscillating with increasing value. What does it mean. if anyone can suggest anything, that will be really very helpful. Thanks in advance. 
Under relaxation factor
After reducing under relaxation factor I am getting convergence. My doubt is after getting the convergence whether I have to increase the under relaxation factor again and to run the iteration? Or whether I can take the result obtained as it is. Kindly help.

Quote:
http://postimg.org/image/iivzck3xl/http://postimg.org/image/dgy6iygrr/ http://postimg.org/image/dgy6iygrr/ http://postimg.org/image/iivzck3xl/ 
Thank you bro...
It helped me...

I am facing same problem in my analysis
I am doing air compressor analysis
inlet BC mass flow inlet (0.5 kg/s) outlet BC  pressure outlet (back pressure 3.5bar) compressor walls  wall BC with ambient temp the mesh is very complex as the screw inside the air compressor makes it complex and there are much more elements in my mesh When I run the solution with laminar model and energy eq ON it runs for few iterations I get reversed flow in pressure outlet also I get temperature limited to 1.0000e1 warnings during iteratins later it diverges because of the temperature Kindly anybody can help me to get solution would under relaxation factor help in this regard? 
All times are GMT 4. The time now is 05:28. 