CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Residual convergence...

Register Blogs Community New Posts Updated Threads Search

Like Tree12Likes
  • 11 Post By MrNavierStokes
  • 1 Post By wilandlane

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2006, 05:49
Default Residual convergence...
  #1
Cyril
Guest
 
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 !!

Cyril
  Reply With Quote

Old   June 2, 2006, 06:17
Default Re: Residual convergence...
  #2
Emanuele
Guest
 
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...
  #3
Fabrice
Guest
 
Posts: n/a
Hi,

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...
  #4
Cyril
Guest
 
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 : http://img105.imageshack.us/img105/8...nstitre2xk.png.

My geometry fits the shockwave. Here is what I study... http://img149.imageshack.us/img149/6...nstitre2xv.png

What do you think...?
  Reply With Quote

Old   June 8, 2006, 06:30
Default Re: Residual convergence...
  #5
Fabrice
Guest
 
Posts: n/a
Hi,

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
Default
  #6
New Member
 
Alex
Join Date: Jun 2015
Posts: 22
Rep Power: 0
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.

Regards,
Alex.
MrNavierStokes is offline   Reply With Quote

Old   August 29, 2016, 09:46
Default
  #7
New Member
 
William
Join Date: Apr 2013
Posts: 11
Rep Power: 13
wilandlane is on a distinguished road
Alex,
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.
Frank1995 likes this.
wilandlane is offline   Reply With Quote

Old   September 1, 2016, 02:44
Default Residual continuity not converging
  #8
New Member
 
Siddharth Budaraju
Join Date: Apr 2015
Posts: 6
Rep Power: 11
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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 8 July 1, 2022 06:54
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
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 11:56.