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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2010, 13:25
Default Definition of convergence criterion in simpleFoam
  #1
Senior Member
 
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 17
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio
Hi foamers,

In the solver simpleFoam there is the possibility of define a convergence Criterion, to stop the simulations after reaching it. I am having difficulties in understand in which file that value, as no tutorial case for simpleFoam uses that capacity.

Does anyone know how to define the parameter convergenceCriterion in simpleFoam.

Regards,

António Martins
titio is offline   Reply With Quote

Old   February 6, 2010, 02: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

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


All times are GMT -4. The time now is 14:00.