|
[Sponsors] |
October 29, 2015, 07:36 |
relative high residual of continuity
|
#1 |
New Member
Mina
Join Date: Jul 2015
Location: Deutschland
Posts: 21
Rep Power: 10 |
I am doing a simulation for a gas quenching process in ansys Fluent 16.1. the equations are: Navier-Stokes Equation SST k-omega and Energy equations which are solved in couple mode. Applied gases are Nitrogen and helium in 8bar and 10bar respectively.inlet velocity in 35 m/s. Inlet temperature(in steady) is 1143°K. The gases density are temperature dependent(piecewise-linear) I have 10 million elements. in steady mode I have to consider 0.0027 for residual of continuity otherwise I will not get convergence. where this high residual come from? Maybe it is helpful to know that I use Polyhedral mesh. |
|
October 30, 2015, 08:07 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66 |
Is everything else okay other than continuity residual being high?
The continuity residuals are scaled based on the worst residual encountered during the first 5 iterations. If your worst residual during these 5 is not high, then you'll end up with relatively high residuals. For example, if you initialize the flow with the (numerically) exact solution, your continuity residual will be stuck at 1 even though your solution is perfect. Last edited by LuckyTran; November 2, 2015 at 10:10. |
|
November 2, 2015, 09:29 |
|
#3 | |
New Member
Mina
Join Date: Jul 2015
Location: Deutschland
Posts: 21
Rep Power: 10 |
thanks for yourexplanation.
yes the others behave pretty good.Althogh omega is decreasing a bit slower than k. I use hibrid initialization.You think I have to check the standard one? can you lease explain this sentence by an excample? " the worst residual encountered during the first 5 iterations. If your worst residual during these 5 is not high, then you'll end up relatively high residuals." Quote:
|
||
November 2, 2015, 10:24 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66 |
The residuals you see outputted by Fluent are scaled/normalized.
Let's say you run 10 iterations and get the two following raw residuals for continuity. 0 50 150 10 5 4 3 2 1 1 The worst of the first five residuals is 150, therefore from iterations 6 onwards the residuals you see output by Fluent are 4/150, 3/150, 2/150, 1/150 Now say you have a different set of initial conditions and you get these residuals instead 0 50 50 10 5 4 3 2 2 2 The raw residual values for iterations 6 and onwards are greater than before, but because the worst residual is not 50 instead of 150, you will see scaled residuals output as 4/50, 3/50, 2/50, 2/50, 2/50. Thus if you solution is well-behaved during the first five iterations, you can see smaller scaled continuity residuals even though the actual imbalance of mass is greater than the first case. In the extreme example, if you initialize your simulation with the exact numerical solution you will get the following residuals: 1e-16 1e-16 1e-16 1e-16 1e-16 1e-16 1e-16 1e-16 1e-16 1e-16 Now the worst residual during the first five iterations is 1e-16 and scaled residuals from iterations 6 onwards are 1 1 1 1 1. Now 1 is much larger than the previous residuals (1/150 or 2/50) however, the solution is indeed the exact numerical solution to the problem. If you are to judge convergence and accuracy by continuity residuals alone then you would erroneously conclude that the exact solution is NOT the solution you are after or that it is not yet converged. If everything else in your simulation is okay except for the continuity residual, I am suggesting that this may be the cause. To verify if this is the case, reset your residual history and run your simulation for some more iterations. If the continuity residual is stuck at 1 then you have confirmed it. Note that only the continuity residuals are scaled this way. The other quantities have much more meaningful scalings. |
|
November 3, 2015, 05:30 |
|
#5 | |
New Member
Mina
Join Date: Jul 2015
Location: Deutschland
Posts: 21
Rep Power: 10 |
very usefull information!
if I understand correctly I have to set my continiuity residual exactly the same as the number it has converged and re-do the calculation without initialization to check if this you have explained happens in my case? Quote:
|
||
September 9, 2016, 13:25 |
|
#6 |
Member
Abdulaziz Abutunis
Join Date: Aug 2014
Posts: 43
Rep Power: 11 |
Hi Mina_Mbg
I have the same problem. Have you tried the suggested method? would you please share your experience if you have solved the continuity high residual convergence.. Thanks in advance Aziz |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with chtMultiregionFoam radiation boundary condition | baran_foam | OpenFOAM Running, Solving & CFD | 10 | December 17, 2019 17:36 |
time step continuity problem in VAWT simulation | lpz_michele | OpenFOAM Running, Solving & CFD | 5 | February 22, 2018 19:50 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 18:17 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 06:37 |