CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Definition of convergence criterion in simpleFoam

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

LinkBack Thread Tools Display Modes
Old   February 5, 2010, 13:25
Default Definition of convergence criterion in simpleFoam
Senior Member
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 8
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.


António Martins
titio is offline   Reply With Quote

Old   February 6, 2010, 02:34
Senior Member
su_junwei's Avatar
su junwei
Join Date: Mar 2009
Location: Xi'an China
Posts: 151
Rep Power: 10
su_junwei is on a distinguished road
Send a message via MSN to su_junwei
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
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


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
convergence criterion Dominique FLUENT 5 November 24, 2006 03: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 01:58
Convergence criterion Moose Main CFD Forum 5 June 9, 2005 20:39

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