# How to control the convergence?

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

 November 24, 2009, 18:08 How to control the convergence? #1 Senior Member   Antonio Martins Join Date: Mar 2009 Location: Porto, Porto, Portugal Posts: 112 Rep Power: 10 Hi Foamers, One of the limitations of OpenFoam is the lack of a suitable convergence control, to avoid doing calculations after the simulation has already converged. Does anyone know of some code, or form to implement convergence control in OpenFoam, based on pre determined criteria defined by the user? Regards, Titio

 August 23, 2011, 03:03 #2 Senior Member   Join Date: Mar 2009 Posts: 138 Rep Power: 10 Is there really no answer to this important question?

 September 9, 2011, 11:09 #3 Senior Member     Daniel P. Combest Join Date: Mar 2009 Location: St. Louis, USA Posts: 612 Rep Power: 22 There is an answer and it exists in simpleFoam. Specifically, look at the headers initConvergenceCheck.H and convergenceCheck.H int eh simpleFoam solver directory. They can be used in conjunction with the word "convergence" followed by your desired level of convergence (eg. 1e-6 in your SIMPLE subdictionary in fvSolution. There are a few threads on the forum about this. Hope this helps. Dan

 September 21, 2011, 11:16 #4 Senior Member   Join Date: Mar 2009 Posts: 138 Rep Power: 10 HI Daniel, Thanks for the answer, as you said I've found some threads on this topic Camoesas

 September 21, 2011, 11:29 #5 Senior Member     Daniel P. Combest Join Date: Mar 2009 Location: St. Louis, USA Posts: 612 Rep Power: 22 Also, The convergence control has changed for 2.0.x version of OpenFOAM to something like: Code: ```SIMPLE { nNonOrthogonalCorrectors 2; convergence 1.0e-6;//old way of specifying convergence criteria residualControl//OF 2.0.x { p 1e-5; U 1e-5; "(k|epsilon)" 1e-5; } }```

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post nasdak CFX 2 June 29, 2009 01:17 tippo CFX 2 May 5, 2009 10:55 titio OpenFOAM Running, Solving & CFD 1 March 6, 2008 05:45 Morten Andersen CFX 1 January 8, 2007 12:37 Jesper SÃ¸rensen CFX 16 December 23, 2006 09:40

All times are GMT -4. The time now is 21:35.