CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Residual convergence...

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 2, 2006, 05:49
Default Residual convergence...
Posts: n/a
Hello !

I'm simulating a supersonic 30mm shell (Mach2) in the air. The residals are converging, but no more than 5e-3...

Is it important ? can I trust this result ?

And what are exactly the residuals ? (I understand them as the difference beetween 2 cells... Am I wrong ??)

Thank you very much !!

  Reply With Quote

Old   June 2, 2006, 06:17
Default Re: Residual convergence...
Posts: n/a
Residuals are the differences in the value of a quantity (for example x-velocity or y velocity or k,ecc.) between two iterations. This means that the more the residual is low the less the results will change if you will continue to iterate. Residuals depend from the models that you use (for example with natural convention normally they don't decrease a lot because there isn't a strong fluid dynamics component) and from the initialization because if you use an initialization that is very close to the final solution residuals will not decrease a lot as you use an initailisation that is far from the final solution. Often you can find a period during which residuals seem not to decrease but if you continue to iterate they restart to decrease. Furthermore residuals means mathematical convergence; you have to monitorate a quantity that is fundamental for your case (for example the lift or the drag, ecc.) and you have to decide if your case is converged to look both (often to the residuals and to the fundamental quantity (if your fundamental quantity doesn't change even if you continue to iterate your solution will not change more). I hope this helps Regards Emanuele
  Reply With Quote

Old   June 8, 2006, 01:08
Default Re: Residual convergence...
Posts: n/a

I agree with Emanuele's answer, what you can do to decrease the residuals is to do the calculation in double precision (2ddp for 2D case and 3ddp for 3D case).
  Reply With Quote

Old   June 8, 2006, 04:33
Default Re: Residual convergence...
Posts: n/a
The problem, with double precision, will be the time. I'm working with some hudge meshes (about 3-4 1.e6 cells !)

Here is what I've got :

My geometry fits the shockwave. Here is what I study...

What do you think...?
  Reply With Quote

Old   June 8, 2006, 06:30
Default Re: Residual convergence...
Posts: n/a

First of all 3-4 e6 cells, it's really really heavy!! Can't you input a mesh which corsens when you move out from your object of study (use size function for this). You will decrease the number of node elements and therefore earn a lot of time for the calculation.

Furthermore, for shockwave study, you need at least a second order discretization of the pressure and velocity, the first order will give you wrong results.

Check in the Fluent manual if you can't increase the convergence speed with another coupling between pressure and velocity (SIMPLE, SIMPLEC, PISO).

I hope it will help you.
  Reply With Quote

Old   August 25, 2016, 03:05
New Member
Join Date: Jun 2015
Posts: 17
Rep Power: 3
MrNavierStokes is on a distinguished road
I know this thread is 10 years old, but thinking about how much I struggled in the beginning learning CFD only because of false information being spread and that students could read this I'll answer it.
The Residuals are NOT the difference in the value of a quantity between two iterations! Judging the convergence behavior of a simulation based on this would be a poor approach.
Since the governing equations (NS, continuity etc.) describe the conservation of fundamental fluid-quantities and the discretization method is the Finite Volume Method, the residuals are a measure for the imbalance of a fluid-quantity in a finite volume (flow of quantity out of FV - flow of quantity into FV = R). So if we look at the continuity equation for example, the residuals give us a feeling for the mass getting lost or being produced inside our discretized flow domain. The RMS values in CFX are mean values (Root Mean Square) over all finite volumes.

MrNavierStokes is offline   Reply With Quote

Old   August 29, 2016, 09:46
New Member
Join Date: Apr 2013
Posts: 11
Rep Power: 5
wilandlane is on a distinguished road
Thanks for your post. You're right, mis-information can cause lots of problems, so it can be very helpful when you provide any helpful information you can. Your answer is spot and and should prevent confusion for at least a few people.
wilandlane is offline   Reply With Quote

Old   September 1, 2016, 02:44
Default Residual continuity not converging
New Member
Siddharth Budaraju
Join Date: Apr 2015
Posts: 6
Rep Power: 3
sidaero is on a distinguished road
Hi this siddharth. My problem is regrading moist air flow condensation on airfoil in transonic flow. Velocity=258 m/s (M=0.8) Temperature=259 and Pressure=65600 Pa
I am working Komega model with a Y+=2
The continuity residual does not converge when i perform the analysis in pressure based solver- coupled solver.. I am getting divergence and sometimes the continuity residual gets stuck near some place and does not converge.. My mesh aspect ratio is 740 and the transition is also smooth. But still the solution is not converging..
I even tried by putting first order scheme for few iterations and second order later and it also did not work..
can anyone give some suggestions about to how to proceed with this???
Thanks in advance..
sidaero is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 7 April 16, 2014 03:38
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16

All times are GMT -4. The time now is 03:29.