CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Definition of convergence criterion in simpleFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 6, 2010, 01:34
Default
  #2
Senior Member
 
su_junwei's Avatar
 
su junwei
Join Date: Mar 2009
Location: Xi'an China
Posts: 151
Rep Power: 20
su_junwei is on a distinguished road
Send a message via MSN to su_junwei
Hi
The variable of convergenceCriterion was defined in initConvergenceCheck.H in simpleFoam solver. The default is zero,and thus the solver will not stop. You can just add a new entry in simple dictionary of fvSolution like following
SIMPLE
{
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
convergence 1e-6;
}
If the initial residual for all the equations are lower than 1e-6, the simulation stops.

regards, Junwei
su_junwei is offline   Reply With Quote

 


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
convergence criterion Dominique FLUENT 5 November 24, 2006 02:36
Setting convergence criterion Vidya FLUENT 5 August 6, 2006 16:46
Convergence Definition of Segregated Solver Amir FLUENT 0 April 18, 2006 06:21
Convergence criterion newbie Main CFD Forum 14 November 21, 2005 00:58
Convergence criterion Moose Main CFD Forum 5 June 9, 2005 20:39


All times are GMT -4. The time now is 20:02.