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

Is this convergence real?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2011, 20:11
Default Is this convergence real?
  #1
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Hi,

I am performing a steady state simulation. At low Re, i am able to get convergence by using a small physical timescale of 1e-4 s. At higher Re, I start the simulation with the same physical timescale. However, I have to progressively reduce the timescale to reduce the residuals. Please refer the attached figure for the behavior of the momentum residuals. I impose a convergence criteria of 1e-6 and a conservation target of 0.1%.

1. With the physical timescale of 1e-4 s, residuals stabilize and I reduce the timescale to 1e-5 s. The residuals reduce but again stabilize at a lower level.

2. Then I gradually reduce the timescale to 1e-9 s but it has no effect on the residuals.

3. On reduction of timescale further to 1e-10 s and 1e-11 s, the residuals reduce sharply (within 2-3 iterations of reduction of residuals each time) but again stabilize at lower level.

4. Finally, when I reduce the timescale to 1e-12 s, residuals reduce sharply in the very next iteration to below the convergence criteria and the simulation stops giving the message that the convergence criteria and conservation targets have been met.

These sudden reductions with residuals seem very unreal. Has the simulation actually converged or I am looking a numerical instability which is just fortuitously resulting in a somewhat false reduction of residuals?
Attached Images
File Type: jpg Momentum_residuals.jpg (48.9 KB, 57 views)
Chander is offline   Reply With Quote

Old   October 20, 2011, 06:31
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Probably a numerical round off thing. It is unusual that it reduces the residual, it normally increases it. Try using double precision numerics and see if the same thing happens.
ghorrocks is offline   Reply With Quote

Old   October 20, 2011, 06:32
Default
  #3
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Hi Glen,

I am using double precision numerics only.
Chander is offline   Reply With Quote

Old   October 20, 2011, 06:39
Default
  #4
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Glen,

This is the same problem that I discussed with you in the thread
http://www.cfd-online.com/Forums/cfx...s-numbers.html

Following your recommendation, I had done transient simulation for this case and it evolved into steady state successfully. However, I was using a very fine mesh there. What I need is to get steady state solution using a steady state simulation. The transient simulation takes a lot of time.
So I have made the mesh much coarser so as to avoid any local transient flow phenomena that I may be resolving in the very fine mesh. And I have used this coarse mesh in the simulation whose residuals I am displaying above in this thread.
Chander is offline   Reply With Quote

Old   October 20, 2011, 06:54
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I see. In that case I suspect you just about got to the ultimate accuracy of your computer and simulation at 500 iterations, and are definitely there at 1000 iterations. The stuff beyond that is just numerical round-off playing tricks and can be ignored.
ghorrocks is offline   Reply With Quote

Old   October 20, 2011, 07:04
Default
  #6
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
But Can I regard it as a QUANTITATIVELY converged steady state solution ?

Because according to the CFX 12.1 manual, for RMS Residual Level :
The Residual
• Values larger than 1e-4 may be sufficient to obtain a qualitative understanding of the flow field.
• 1e-4 is relatively loose convergence, but may be sufficient for many engineering applications.
• 1e-5 is good convergence, and usually sufficient for most engineering applications.
• 1e-6 or lower is very tight convergence, and occasionally required for geometrically sensitive problems.
Chander is offline   Reply With Quote

Old   October 20, 2011, 07:20
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
As ever, the best way to determine this is with a sensitivity analysis. Choose an output parameter of interest to your simulation (pressure loss, heat loss, whatever but preferably something which is a single number) and plot it against different convergence residuals. When the parameter of interest to you has converged to within a tolerance you are happy with then you can define your convergence tolerance.
ghorrocks is offline   Reply With Quote

Old   October 20, 2011, 08:44
Default
  #8
Senior Member
 
Julio Mendez
Join Date: Apr 2009
Location: Fairburn, GA. USA
Posts: 290
Rep Power: 18
juliom is on a distinguished road
Send a message via Skype™ to juliom
As Glenn said in his last post, try defining a variable to monitor, and looka t it if it is stable.
I had the same behaviour once, and it is not a good resiudal plot.
If I were you, I would selec the Autotime scale, and there you will see if your phusical time scale is good..
Furthemore, you might have a numerical error, try to evaluate some parameter such as Courant and Reynolds.
I do not think it is a transient problem, because when you have tranisent problem the behaviour is different, for example, when you change the Physical time scale you do not change your residual plot....
Good luck!
juliom is offline   Reply With Quote

Old   October 21, 2011, 19:59
Default
  #9
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Thanks Glen and juliom for ur replies..will check it
Chander is offline   Reply With Quote

Reply

Tags
12.1, cfx, convergence issues, steady


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
error: uninitialized local variable 't' used MASOUD Fluent UDF and Scheme Programming 5 October 17, 2016 04:24
Force can not converge colopolo CFX 13 October 4, 2011 22:03
defining a term for a domain using DEFINE_ADJUST MASOUD Fluent UDF and Scheme Programming 1 September 24, 2010 05:08
enum MASOUD Fluent UDF and Scheme Programming 0 June 5, 2010 00:49
udf error Rashmi FLUENT 0 December 27, 2005 05:35


All times are GMT -4. The time now is 15:12.