CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Residual converged, solution not, theory behind?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2022, 07:48
Default Residual converged, solution not, theory behind?
  #1
Member
 
Join Date: Apr 2016
Posts: 90
Rep Power: 10
CellZone is on a distinguished road
Hello cfd experts,

can someone explain me, that for RANS steady simulation more or less all of the residuals are really low (below 10-6) but for example the drag coefficient still changes strongly from iteration to iteration (let us say still after 1000 iterations)?

What is the theory behind it?

Actually a low residual tells me, that the numeric solution is really close to the exact solution - so where is this change still coming?

Do I need to be more specific (turbulence model , solver settings , ...) or is this enough to explain me the numerical theory behind it why the characteristical values can still change while it seems to be converged for momentum, mass conservation, ...

Thank you
Cellzone
CellZone is offline   Reply With Quote

Old   May 17, 2022, 10:56
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by CellZone View Post
Hello cfd experts,

can someone explain me, that for RANS steady simulation more or less all of the residuals are really low (below 10-6) but for example the drag coefficient still changes strongly from iteration to iteration (let us say still after 1000 iterations)?

What is the theory behind it?

Actually a low residual tells me, that the numeric solution is really close to the exact solution - so where is this change still coming?

Do I need to be more specific (turbulence model , solver settings , ...) or is this enough to explain me the numerical theory behind it why the characteristical values can still change while it seems to be converged for momentum, mass conservation, ...

Thank you
Cellzone



There is no theory in you case. You have solved the equations, if your residuals are correctly computed and are driven to vanish, your solution reached a convergence (but not necessarily the exact one).

There is no solved equation and no residual for the drag, it is computed from your converged solution by computing the normal derivative of the streamwise velocity. If you see relevant oscillations in the value, you can suppose an error in the computation of the drag. Otherwise, your residuals are wrongly computed and you have a false convergence.
By the way, the drag can be computed only if you have a resolved boundary layer, that is at least 3-4 nodes belove y+=1.
FMDenaro is offline   Reply With Quote

Old   May 17, 2022, 15:12
Default
  #3
agd
Senior Member
 
Join Date: Jul 2009
Posts: 351
Rep Power: 18
agd is on a distinguished road
Another way to put is - you have solved a set of equations. But how does that set of equations compare to what you think you are solving? You need to make sure that the discrete equations you are solving faithfully represent the differential equations being modeled and capture the physics of the problem at hand.
agd is offline   Reply With Quote

Old   May 17, 2022, 15:35
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
I bet on the false convergence.

1e-6 is not at convergence unless you are using single precision (and even in that case it might not be).

It doesn't mean that 1e-6 is always not at convergence, but when you stop there you actually use other monitors like forces to assess convergence. If you want the drag and it flattens when residual are at 1e-6, then you might be ok, but not orherwise.

This is especially so if, say, the force is still varying monotonically (as opposed to a force that instead oscillates around a mean, which opens to another set of issues, depending from the amount of oscillation)
sbaffini 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
laplacianFoam with source term Herwig OpenFOAM Running, Solving & CFD 17 November 19, 2019 13:47
decompose dependent solution arionfard OpenFOAM 3 December 10, 2018 09:36
chtMultiRegionSimpleFoam turbulent case Aditya Patil OpenFOAM Running, Solving & CFD 6 April 24, 2017 22:13
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03


All times are GMT -4. The time now is 11:41.