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

convergence criteria

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 12, 2005, 13:58
Default convergence criteria
  #1
Andrew Hayes
Guest
 
Posts: n/a
I am having trouble deciding on what kind of convergence criteria I should apply to my program. I have used MathCAD to develop a 2-D implicit finite difference program using the voticity/stream function method to get velocities. I am currently solving it for the flow in an enclosure with a moving top. In the program I can set determine how large my grid is, but I can't decide on how to set a convergence-criteria that will tell it when to stop iterating. Originally I was able to set the number of iterations. Now, I have it itereate until the absolute value of the center node's x-velocity, Ux, minus the previous iteration's Ux, is below a certain number, ie - .0001. I am not sure if that is a good method or not.

Any suggestions would be helpful.

thanks
  Reply With Quote

Old   August 12, 2005, 15:47
Default Re: convergence criteria
  #2
m. malik
Guest
 
Posts: n/a
A criterion based on just the difference doesn't seem to be right. I use criterion of the follwing forms in variuos iterative problems: Sum(f_new - f_old)^2/Sum(f_new)^2 < a small value or Sum|f_new - f_old|/Sum|f_new| < a small value where Sum = sum on all the nodes

f = field variable new, old = current and previous iteration values
  Reply With Quote

Old   August 12, 2005, 19:24
Default Re: convergence criteria
  #3
Mani
Guest
 
Posts: n/a
Whatever you do, don't just look at one point in the domain. If you're solving an equation f(x,y,...) = 0, determine the R.M.S. residual over the entire domain. Malik's equations provide an equivalent approach, but the exponent 2 should be inside the summation.

Apart from that: Your initial approach to fix a number of iterations was actually more robust. You should still impose an upper limit for the number of iterations, because you never know whether a set residual can even be reached. Always observe the residual, but don't make a fixed residual your only condition for termination.
  Reply With Quote

Old   August 13, 2005, 04:27
Default Re: convergence criteria
  #4
ramp
Guest
 
Posts: n/a
check it out: http://www.cfd-online.com/Forum/main...cgi?read=38497
  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
Force can not converge colopolo CFX 13 October 4, 2011 22:03
What value shall I set for the Convergence criteria? steventay CFX 7 May 14, 2010 12:44
Convergence criteria PrandtlGlawert FLUENT 1 August 13, 2009 18:06
Convergence Criteria edwin FLUENT 1 February 14, 2008 20:24
Convergence criteria Gaurav CD-adapco 0 February 3, 2006 05:53


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