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

residual values >> scale

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

Like Tree2Likes
  • 2 Post By ghost82

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2012, 17:54
Default residual values >> scale
  #1
Senior Member
 
mohamed khedr emam
Join Date: Oct 2011
Location: Egypt
Posts: 121
Rep Power: 5
m5edr is on a distinguished road
what the difference in conversion when i check (or uncheck) scale box?
Attached Images
File Type: jpg ss.jpg (59.1 KB, 43 views)
m5edr is offline   Reply With Quote

Old   November 25, 2012, 19:52
Default
  #2
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 591
Rep Power: 11
LuckyTran is on a distinguished road
Quote:
Originally Posted by m5edr View Post
what the difference in conversion when i check (or uncheck) scale box?
The "scale" option enables/disables the scaling of the residuals that are reported. If not on, the residuals are not scaled. If enabled, then the residuals are scaled.

The unscaled residuals are the sum of the imbalance (mass, momentum, energy, etc.) over all cells in the domain. The scaled residual, is the unscaled residual divided by the appropriate scaling factor.

For most variables (all but continuity), the unscaled residual (sum of imbalance) is divided by the sum of the variable. Sum of momentum imbalance divided by sum of momentum. The sum of the quantity over all cells is the scaling factor.

Continuity is treated differently. For continuity, the unscaled residual is divided by the worst residual encountered during the first five iterations.

It is explained in detail in the Fluent manual 29.15.1.1

Last edited by LuckyTran; November 26, 2012 at 01:22.
LuckyTran is offline   Reply With Quote

Old   November 26, 2012, 01:15
Default
  #3
Far
Super Moderator
 
Far's Avatar
 
Sijal Ahmed Memon (turboenginner@gmail.com)
Join Date: Mar 2009
Location: Islamabad Pakistan
Posts: 3,905
Blog Entries: 6
Rep Power: 38
Far will become famous soon enoughFar will become famous soon enough
Send a message via Skype™ to Far
How you look at the unscaled residuals? What should be the criteria to judge the unscaled residuals?
Far is offline   Reply With Quote

Old   November 26, 2012, 15:20
Default
  #4
Senior Member
 
Emre G
Join Date: May 2011
Location: Turkey
Posts: 109
Rep Power: 6
emreg is on a distinguished road
scale is not too much important..
dont bother this.
emreg is offline   Reply With Quote

Old   November 27, 2012, 03:46
Default
  #5
Senior Member
 
ghost82's Avatar
 
Daniele
Join Date: Oct 2010
Location: Italy
Posts: 899
Rep Power: 15
ghost82 will become famous soon enough
Quote:
Originally Posted by emreg View Post
scale is not too much important..
dont bother this.
Directly from Fluent's guide:

"In general, it is difficult to judge convergence by examining the residuals defined by Equation 25.18-3 since no scaling is employed. This is especially true in enclosed flows such as natural convection in a room where there is no inlet flow rate of with which to compare the residual."

"
The scaled residual is a more appropriate indicator of convergence for most problems".

Far and RodriguezFatz like this.
ghost82 is offline   Reply With Quote

Old   November 27, 2012, 04:18
Default
  #6
Senior Member
 
ghost82's Avatar
 
Daniele
Join Date: Oct 2010
Location: Italy
Posts: 899
Rep Power: 15
ghost82 will become famous soon enough
Quote:
Originally Posted by Far View Post
How you look at the unscaled residuals? What should be the criteria to judge the unscaled residuals?
Fluent's guide says that unscaled residuals should decrease by 3 orders of magnitude, but in my opinion it is not enough to look at the residuals to judge convergence; absolute values of residuals, behaviour and monitoring of key parameters, I think these are the factors we have to look at.

Daniele
ghost82 is offline   Reply With Quote

Old   November 27, 2012, 19:55
Default
  #7
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 591
Rep Power: 11
LuckyTran is on a distinguished road
Quote:
Originally Posted by ghost82 View Post
Fluent's guide says that unscaled residuals should decrease by 3 orders of magnitude, but in my opinion it is not enough to look at the residuals to judge convergence; absolute values of residuals, behaviour and monitoring of key parameters, I think these are the factors we have to look at.

Daniele
Just to further the points made:

If the solver is initialized with the exact solution to the problem. The unscaled residuals will never decrease. The scaled residuals likewise will also not decrease. Hence searching for a reduction in three orders of magnitude of the residuals is not a very good criteria to judge convergence/accuracy.

The residuals do tell the amount of imbalance in the governing equations being solved. However, the residuals do not tell whether the solution has converged. Monitoring actual solution values is definitely needed.

The scaled residuals are suitable in my opinion for considering the amount of imbalance since the scaling factor is the sum of the variables. The scaled residuals are therefore like % imbalances and can be compared directly for different problems. The unscaled residuals can be the same for two different problems and have different meanings depending on magnitude of the solution values. Consider the laboratory flow around a cylinder versus interstellar flow around a galaxy, the difference in length and velocity scales are tremendous!
LuckyTran is offline   Reply With Quote

Reply

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
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
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50
MRFSimpleFOAM goes divergenced! renyun0511 OpenFOAM Running, Solving & CFD 0 November 19, 2009 03:11
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:53.